summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorCaio Schnepper <caioschnepper@gmail.com>2015-10-02 21:58:21 -0300
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-10-05 12:24:47 -0700
commit8e740553768bb7ca136c1db8397066b206921ddd (patch)
tree16927e9c7610b5e6b3c99e34eeb7740a863dcb49 /rootdir
parent05a285749a65fb7ef1e2b0ec6a81617aaf1573fc (diff)
downloaddevice_samsung_galaxys2-common-8e740553768bb7ca136c1db8397066b206921ddd.zip
device_samsung_galaxys2-common-8e740553768bb7ca136c1db8397066b206921ddd.tar.gz
device_samsung_galaxys2-common-8e740553768bb7ca136c1db8397066b206921ddd.tar.bz2
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
Diffstat (limited to 'rootdir')
-rwxr-xr-xrootdir/fstab.smdk42102
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/fstab.smdk4210 b/rootdir/fstab.smdk4210
index 5d8b38a..cf03e47 100755
--- a/rootdir/fstab.smdk4210
+++ b/rootdir/fstab.smdk4210
@@ -7,7 +7,7 @@
/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/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
# vold-managed volumes ("block device" is actually a sysfs devpath)