fstab: remove option to use FDE

* Full-disk encryption (FDE) has been deprecated for devices launching
  with Android 10 or higher but now it's been removed in Android 13.
* File-based encryption (FBE) i.e. replacing this with
  'fileencryption=aes-256-xts' works but there's some performance
  issues with it especially when running from slow storage devices
  such as sdcards that are used on Raspberry Pi. Recovery also can't
  decrypt FBE which is another issue.
* There's no longer need to resize userdata partition to leave space
  for crypto footer.
This commit is contained in:
Konsta
2022-08-16 23:07:09 +03:00
parent 1951d76f1e
commit 3ca55b2c31
2 changed files with 1 additions and 2 deletions

View File

@@ -63,7 +63,6 @@ echo "Copying vendor..."
sudo dd if=${OUTDIR}/vendor.img of=/dev/mapper/${LOOPDEV}p3 bs=1M
echo "Creating userdata..."
sudo mkfs.ext4 /dev/mapper/${LOOPDEV}p4 -I 512 -L userdata
sudo resize2fs /dev/mapper/${LOOPDEV}p4 1212156
sync
sudo kpartx -d "/dev/${LOOPDEV}"