diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-04-21 18:49:49 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2014-04-21 18:49:49 +0200 |
commit | dc8b83974476cd4e114dcf2b9937fbd716a279cc (patch) | |
tree | 18603b02fb099036960e2924e9064a9e78f757ee /rootdir | |
parent | 630a0a55fbb8d3b3a7e7154fd865346987a7b318 (diff) | |
download | device_goldelico_gta04-dc8b83974476cd4e114dcf2b9937fbd716a279cc.zip device_goldelico_gta04-dc8b83974476cd4e114dcf2b9937fbd716a279cc.tar.gz device_goldelico_gta04-dc8b83974476cd4e114dcf2b9937fbd716a279cc.tar.bz2 |
Encryption support through /boot/crypt
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/fstab.gta04 | 4 | ||||
-rw-r--r-- | rootdir/init.gta04.rc | 7 |
2 files changed, 6 insertions, 5 deletions
diff --git a/rootdir/fstab.gta04 b/rootdir/fstab.gta04 index 4aaa1cb..862e7af 100644 --- a/rootdir/fstab.gta04 +++ b/rootdir/fstab.gta04 @@ -1,4 +1,4 @@ -/dev/block/mmcblk0p1 /mnt/boot vfat ro wait +/dev/block/mmcblk0p1 /boot vfat rw wait /dev/block/mmcblk0p2 /system ext4 ro wait /dev/block/mmcblk0p3 /cache ext4 nosuid wait -/dev/block/mmcblk0p4 /data ext4 nosuid wait +/dev/block/mmcblk0p4 /data ext4 nosuid wait,encryptable=/boot/crypt diff --git a/rootdir/init.gta04.rc b/rootdir/init.gta04.rc index 57f81f1..2d14556 100644 --- a/rootdir/init.gta04.rc +++ b/rootdir/init.gta04.rc @@ -1,7 +1,8 @@ import init.gta04.usb.rc on init - mkdir /mnt/boot 0700 system system + mkdir /boot 0700 system system + symlink /boot /mnt/boot mkdir /mnt/shell/emulated 0700 shell shell mkdir /storage/emulated 0555 root root @@ -21,8 +22,6 @@ on init symlink /storage/usbdisk /mnt/usbdisk symlink /mnt/usbdisk /usbdisk - symlink /mnt/boot /boot - chmod 0660 /dev/cpuctl on boot @@ -54,5 +53,7 @@ on fs on post-fs-data mkdir /data/media 0770 media_rw media_rw + setprop vold.post_fs_data_done 1 + service sdcard /system/bin/sdcard /data/media /mnt/shell/emulated 1023 1023 class late_start |