3
0

Move encryption key to footer

Fixes the "format_volume: failed to open /efs/metadata" error on recovery
while trying to wipe user data

Change-Id: Ic3f72d72fc34495ec05deffd8aa849bcfa65b29c
This commit is contained in:
Caio Schnepper 2015-10-02 21:58:21 -03:00 committed by Gerrit Code Review
parent 05a285749a
commit 8e74055376
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ EXTENDED_FONT_FOOTPRINT := true
TARGET_USERIMAGES_USE_EXT4 := true TARGET_USERIMAGES_USE_EXT4 := true
BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608 BOARD_BOOTIMAGE_PARTITION_SIZE := 8388608
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 536870912
BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147483648 BOARD_USERDATAIMAGE_PARTITION_SIZE := 2147467264
BOARD_FLASH_BLOCK_SIZE := 4096 BOARD_FLASH_BLOCK_SIZE := 4096
# Releasetools # Releasetools

View File

@ -7,7 +7,7 @@
/dev/block/mmcblk0p9 /system ext4 ro,noatime wait /dev/block/mmcblk0p9 /system ext4 ro,noatime wait
/dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo /dev/block/mmcblk0p7 /cache ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo
/dev/block/mmcblk0p1 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo /dev/block/mmcblk0p1 /efs ext4 noatime,nosuid,nodev,journal_async_commit,errors=panic wait,check_spo
/dev/block/mmcblk0p10 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check_spo,encryptable=/efs/metadata /dev/block/mmcblk0p10 /data ext4 noatime,nosuid,nodev,noauto_da_alloc,journal_async_commit,errors=panic wait,check_spo,encryptable=footer,length=-16384
/dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait /dev/block/mmcblk0p12 /preload ext4 noatime,nosuid,nodev,journal_async_commit wait
# vold-managed volumes ("block device" is actually a sysfs devpath) # vold-managed volumes ("block device" is actually a sysfs devpath)