whyred: Switch to FBE

Change-Id: I7c71c0e43128fd71c802598b3853009265a8a9c6
This commit is contained in:
Michael Bestas 2023-06-26 05:25:27 +03:00
parent c6c621068b
commit 9da62c2c73
No known key found for this signature in database
GPG key ID: CC95044519BE6669
4 changed files with 3 additions and 15 deletions

View file

@ -13,9 +13,6 @@ DEVICE_PATH := device/xiaomi/whyred
TARGET_SCREEN_HEIGHT := 2160
TARGET_SCREEN_WIDTH := 1080
# Crypto
TARGET_HW_DISK_ENCRYPTION := true
# Display
TARGET_SCREEN_DENSITY := 440

View file

@ -30,10 +30,6 @@ PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
# HW crypto
PRODUCT_PACKAGES += \
vendor.qti.hardware.cryptfshw@1.0-service-qti.qsee
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl \

View file

@ -9,9 +9,4 @@
<transport>hwbinder</transport>
<fqname>@1.0::IGoodixBiometricsFingerprint/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.cryptfshw</name>
<transport>hwbinder</transport>
<fqname>@1.0::ICryptfsHw/default</fqname>
</hal>
</manifest>

View file

@ -11,8 +11,8 @@
# Non-A/B fstab.qcom variant
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime,errors=panic wait,check,encryptable=footer,quota
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,quota,encryptable=footer
/dev/block/bootdevice/by-name/userdata /data ext4 nosuid,nodev,barrier=1,noauto_da_alloc,discard,noatime,lazytime,errors=panic wait,check,fileencryption=ice,quota
/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,quota,fileencryption=ice
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/bootdevice/by-name/modem /vendor/firmware_mnt vfat ro,shortname=lower,uid=1000,gid=1000,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/dev/block/bootdevice/by-name/bluetooth /vendor/bt_firmware vfat ro,shortname=lower,uid=1002,gid=3002,dmask=227,fmask=337,context=u:object_r:bt_firmware_file:s0 wait
@ -21,7 +21,7 @@
/dev/block/bootdevice/by-name/cache /cache ext4 nosuid,nodev,noatime,barrier=1 wait
/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,quota
/dev/block/bootdevice/by-name/persist /mnt/vendor/persist ext4 nosuid,nodev,barrier=1,noatime wait,check
/devices/soc/c084000.sdhci/mmc_host* auto auto nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=footer
/devices/soc/c084000.sdhci/mmc_host* auto auto nosuid,nodev wait,voldmanaged=sdcard1:auto,encryptable=userdata
/dev/block/bootdevice/by-name/system /system ext4 ro,barrier=1 wait,recoveryonly
/dev/block/bootdevice/by-name/vendor /vendor ext4 ro,barrier=1 wait,recoveryonly