We're hiring! Apply Now

Hovatek Forum DEVELOPMENT Android [Please help] Infinix NOTE 12 PRO

[Please help] Infinix NOTE 12 PRO

[Please help] Infinix NOTE 12 PRO

Pages (2): 1 2 Next
Gargoyle
Gargoyle
Gargoyle
Contributor
541
22-01-2023, 07:16 AM
#1



Have a nice day,

I have a few questions, I bought an Infinix Note 12 PRO 4G, 8GB/256GB

There is no problem with rooting, but ... the system partitions product_a.img, system_a.img, system_ext_a.img, vendor_a.img are erofs "Huawei EROFS Filesystem", so nothing can be deleted, modified, etc.

If I create a new .img etx2 or ext4, copy "cp -a" the files from the original images, edit fstab in vendor, erofs to ext4, flashing the system does not boot.

Anyone have any advice on how to proceed?


Edit: After install GSI, haptic response not working.
This post was last modified: 22-01-2023, 01:46 PM by Gargoyle.
Attached Files
.jpg
screen-2023-01-22-[1].jpg
Size: 263.33 KB / Downloads: 16
maxpayne
maxpayne
maxpayne
Intern
4,288
26-01-2023, 11:13 AM
#2
(22-01-2023, 07:16 AM)Gargoyle Have a nice day,

I have a few questions, I bought an Infinix Note 12 PRO 4G, 8GB/256GB

There is no problem with rooting, but ... the system partitions product_a.img, system_a.img, system_ext_a.img, vendor_a.img are erofs "Huawei EROFS Filesystem", so nothing can be deleted, modified, etc.

If I create a new .img etx2 or ext4, copy "cp -a" the files from the original images, edit fstab in vendor, erofs to ext4, flashing the system does not boot.

Anyone have any advice on how to proceed?


Edit: After install GSI, haptic response not working.

Just curious, did you modify the product and vendor prior to flashing the GSI like you did when flashing your own system img?

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Gargoyle
Gargoyle
Gargoyle
Contributor
541
26-01-2023, 11:29 AM
#3
I did not make any modifications, product and vendor are efros, cannot be written to partitions.
Gargoyle
Gargoyle
Gargoyle
Contributor
541
19-04-2023, 06:13 AM
#4
Solved :-)

All partitions in super.img converted to ext4-rw,
the system is now writable, the only modification needed was in vendor_boot.img in fstab.
This post was last modified: 21-12-2023, 11:50 PM by Gargoyle.
maxpayne
maxpayne
maxpayne
Intern
4,288
20-04-2023, 11:29 AM
#5



(19-04-2023, 06:13 AM)Gargoyle Solved :-)

All partitions in super.img converted to ext4-rw,
the system is now writable, the only modification needed was in boot.img in fstab.

What was the modification? Can you share the steps

Note!
We have a reply schedule for Free Support. Please upgrade to Private Support if you can't wait.
Gargoyle
Gargoyle
Gargoyle
Contributor
541
20-04-2023, 12:14 PM
#6
(20-04-2023, 11:29 AM)maxpayne
(19-04-2023, 06:13 AM)Gargoyle Solved :-)
All partitions in super.img converted to ext4-rw,
the system is now writable, the only modification needed was in boot.img in fstab.

What was the modification? Can you share the steps

Extract super.img from the stock firmware.
Convert EROFS to EXT4 odm.img, product.img, system.img, vendor.img
Edit fstab.mt6768 in boot.img

stock fstab
Code:

system    /system    erofs    ro    wait,,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
system    /system    f2fs    ro    wait,,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
system    /system    ext4    ro    wait,,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
vendor    /vendor    erofs    ro    wait,,avb,logical,first_stage_mount
product    /product    erofs    ro    wait,,avb,logical,first_stage_mount
odm    /odm    erofs    ro    wait,,avb,logical,first_stage_mount

edit fstab
Code:

system    /system    ext4    rw    wait,,avb=vbmeta_system,logical,first_stage_mount,avb_keys=/avb/q-gsi.avbpubkey:/avb/r-gsi.avbpubkey:/avb/s-gsi.avbpubkey
vendor    /vendor    ext4    rw    wait,,avb,logical,first_stage_mount
product    /product    ext4    rw    wait,,avb,logical,first_stage_mount
odm    /odm    ext4    rw    wait,,avb,logical,first_stage_mount

EDIT:

This is from a Samsung A14 device,
I'm just getting ready for Infinix, I'm actively using it.
This post was last modified: 20-04-2023, 12:31 PM by Gargoyle.
Attached Files
.jpg
Screenshot_20230420_132948_Root Explorer.jpg
Size: 331.34 KB / Downloads: 17
.jpg
Screenshot_20230420_133002_Root Explorer.jpg
Size: 185.32 KB / Downloads: 13
.jpg
Screenshot_20230420_133016_Root Explorer.jpg
Size: 322.58 KB / Downloads: 12
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,584
20-04-2023, 11:33 PM
#7
Just flash the latest flashable zip the whole partitions will enter r/w
Gargoyle
Gargoyle
Gargoyle
Contributor
541
20-04-2023, 11:58 PM
#8
(20-04-2023, 11:33 PM)kelvinchinedu Just flash the latest flashable zip the whole partitions will enter r/w

How do you make EROFS r/w?

... and twrp is not available.

of what?
"latest flashable zip "
This post was last modified: 21-04-2023, 12:22 AM by Gargoyle.
skyboii1986
skyboii1986
skyboii1986
Newbie
2
20-12-2023, 05:07 AM
#9
sorry im a little confused...so after all the only thing you needed to modify is the "fstab" file in boot.img? not any of the other img's (vendor, product, system, system_ext,vendor_dlkm)
kelvinchinedu
kelvinchinedu
kelvinchinedu
Contributor
1,584
21-12-2023, 06:12 PM
#10
If u are using root lunch magisk manager and flash this module

https://sourceforge.net/projects/multi-f...p/download

And reboot and use termux to make system r/w by typing su

And also ro2rw

And follow the instructions
Pages (2): 1 2 Next
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
Join us
WhTlYt