d0b854b31d
This commit will add EROFS Filesystem mount support Since Huawei announced the new file system EROFS and successfully merged into mainline. More and more OEMs switch the ext4 filesystem to EROFS filesystem for system/vendor/odm/product partitions like Oplus (OPPO / Realme / OnePlus). Test: Import the latest fstab from system, build and boot. EROFS-based partions like system and vendor partitions were sucessfully mounted. Notes: Although I tried to change 'ext4' to 'erofs' for correct partition in twrp.flags, but it was still recognized as 'ext4'. So you can just copy the line related erofs partitions from recovery.fstab and TWRP will failed to recognize the line in twrp.flags, and then skip this line, so the issue was solved. Signed-off-by: GarfieldHan <2652609017@qq.com> Change-Id: I49a04e4465f1d92eb589ad6d86b6db9b58d720eb
106 KiB
Executable File
106 KiB
Executable File