From 1e204d8766322124f3ea617e77d351f7fc729923 Mon Sep 17 00:00:00 2001 From: Captain Throwback Date: Tue, 8 Sep 2020 17:05:42 -0400 Subject: [PATCH] fstab: change default filesystem to ext4 Fixes non-booting Tencent devices --- recovery.fstab | 2 +- recovery/root/system/etc/twrp.flags | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recovery.fstab b/recovery.fstab index 4eecc13..4d90091 100644 --- a/recovery.fstab +++ b/recovery.fstab @@ -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 diff --git a/recovery/root/system/etc/twrp.flags b/recovery/root/system/etc/twrp.flags index 4685843..5aaa468 100644 --- a/recovery/root/system/etc/twrp.flags +++ b/recovery/root/system/etc/twrp.flags @@ -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