Skip to content

Commit

Permalink
fstab: change default filesystem to ext4
Browse files Browse the repository at this point in the history
Fixes non-booting Tencent devices
  • Loading branch information
CaptainThrowback committed Sep 8, 2020
1 parent 5a66ef8 commit 1e204d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion recovery.fstab
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ product /product e
vendor /vendor ext4 ro,barrier=1,discard wait,slotselect
#odm /odm ext4 ro,barrier=1,discard wait,slotselect
/dev/block/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard wait,formattable,wrappedkey
/dev/block/bootdevice/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier wait,check,formattable,fileencryption=ice,wrappedkey,keydirectory=/metadata/vold/metadata_encryption
/dev/block/bootdevice/by-name/userdata /data ext4 noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier wait,check,formattable,fileencryption=ice,wrappedkey,keydirectory=/metadata/vold/metadata_encryption
/dev/block/bootdevice/by-name/persist /persist ext4 noatime,nosuid,nodev,barrier=1 wait
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/batinfo /batinfo ext4 noatime,nosuid,nodev,barrier=1 wait
Expand Down
2 changes: 1 addition & 1 deletion recovery/root/system/etc/twrp.flags
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ vendor /vendor ext4 slotselect;display="Vendor";logical
product /product ext4 slotselect;display="Product";logical
#odm /odm ext4 slotselect;display="Odm";logical
/metadata ext4 /dev/block/bootdevice/by-name/metadata
/data f2fs /dev/block/bootdevice/by-name/userdata flags=fileencryption=ice:aes-256-cts;wrappedkey;keydirectory=/metadata/vold/metadata_encryption
/data ext4 /dev/block/bootdevice/by-name/userdata flags=fileencryption=ice:aes-256-cts;wrappedkey;keydirectory=/metadata/vold/metadata_encryption
/recovery emmc /dev/block/bootdevice/by-name/recovery flags=slotselect;display="Recovery";backup=1;flashimg=1
/firmware vfat /dev/block/bootdevice/by-name/modem flags=slotselect;display="Firmware";mounttodecrypt;fsflags=ro
/misc emmc /dev/block/bootdevice/by-name/misc
Expand Down

0 comments on commit 1e204d8

Please sign in to comment.