From 8ea296f4d8251c6389ae261dfb8ec5c14f2e32bd Mon Sep 17 00:00:00 2001 From: Joel Stein Date: Sun, 2 Feb 2020 19:08:00 +0100 Subject: [PATCH] fp3: Update fstab for flashing full stock zips --- recovery/root/etc/twrp.fstab | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/recovery/root/etc/twrp.fstab b/recovery/root/etc/twrp.fstab index f5909db..ee2f882 100644 --- a/recovery/root/etc/twrp.fstab +++ b/recovery/root/etc/twrp.fstab @@ -1,11 +1,11 @@ # mount point fstype device device2 flags /boot emmc /dev/block/bootdevice/by-name/boot flags=slotselect -/dtbo emmc /dev/block/bootdevice/by-name/dtbo flags=slotselect;backup=1 -/system_root ext4 /dev/block/bootdevice/by-name/system flags=slotselect +/dtbo emmc /dev/block/bootdevice/by-name/dtbo flags=slotselect;backup=1;flashimg;display="DTBO" +/system_root ext4 /dev/block/bootdevice/by-name/system flags=fsflags=ro;slotselect;backup=0 /system_image emmc /dev/block/bootdevice/by-name/system flags=slotselect -/vendor ext4 /dev/block/bootdevice/by-name/vendor flags=slotselect +/vendor ext4 /dev/block/bootdevice/by-name/vendor flags=fsflags=ro;slotselect /vendor_image emmc /dev/block/bootdevice/by-name/vendor flags=slotselect -#/product ext4 /dev/block/bootdevice/by-name/product flags=slotselect;display="Product" +/product ext4 /dev/block/bootdevice/by-name/product flags=fsflags=ro;slotselect;display="Product" /product_image emmc /dev/block/bootdevice/by-name/product flags=slotselect;backup=1;display="Product Image" /data ext4 /dev/block/bootdevice/by-name/userdata flags=fileencryption=aes-256-xts:aes-256-cts /efs1 emmc /dev/block/bootdevice/by-name/modemst1 flags=backup=1;display="EFS" @@ -18,6 +18,19 @@ /misc emmc /dev/block/bootdevice/by-name/misc /persist ext4 /dev/block/bootdevice/by-name/persist +# Needed for flashing full stock images +/aboot emmc /dev/block/bootdevice/by-name/aboot flags=slotselect +/cmnlib64 emmc /dev/block/bootdevice/by-name/cmnlib64 flags=slotselect +/cmnlib emmc /dev/block/bootdevice/by-name/cmnlib flags=slotselect +/devcfg emmc /dev/block/bootdevice/by-name/devcfg flags=slotselect +/keymaster emmc /dev/block/bootdevice/by-name/keymaster flags=slotselect +/lksecapp emmc /dev/block/bootdevice/by-name/lksecapp flags=slotselect +/mdtp emmc /dev/block/bootdevice/by-name/mdtp flags=slotselect +/rpm emmc /dev/block/bootdevice/by-name/rpm flags=slotselect +/sbl1 emmc /dev/block/bootdevice/by-name/sbl1 flags=slotselect +/tz emmc /dev/block/bootdevice/by-name/tz flags=slotselect +/vbmeta emmc /dev/block/bootdevice/by-name/vbmeta flags=slotselect + # Removable storage /external_sd auto /dev/block/mmcblk1p1 /dev/block/mmcblk1 flags=storage;wipeingui;removable /usb-otg auto /dev/block/sda1 /dev/block/sda flags=storage;wipeingui;removable