Skip to content

Commit

Permalink
whyred: rootdir: fstab: Switch to FBE
Browse files Browse the repository at this point in the history
Change-Id: I07450369d0667ac7c91fae97f3239674bc7c57a5
  • Loading branch information
SakilMondal committed Sep 21, 2021
1 parent 8335acf commit 84dc7ab
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
3 changes: 0 additions & 3 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 0 additions & 4 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ PRODUCT_PACKAGES += \
[email protected] \
[email protected]

# HW crypto
PRODUCT_PACKAGES += \
[email protected]

# Keymaster
PRODUCT_PACKAGES += \
[email protected] \
Expand Down
5 changes: 0 additions & 5 deletions manifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,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>
6 changes: 3 additions & 3 deletions rootdir/etc/fstab.qcom
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 84dc7ab

Please sign in to comment.