summaryrefslogtreecommitdiffstats
path: root/init.tuna.rc
diff options
context:
space:
mode:
authorKen Sumrall <ksumrall@android.com>2011-07-25 13:34:15 -0700
committerKen Sumrall <ksumrall@android.com>2011-08-26 19:13:16 -0700
commit136899fc1abd0766b3f93b89e7d0f7c6d4bb41a0 (patch)
treed388c1e48b2dfd7e818d1ed9f39bfaf5ae653836 /init.tuna.rc
parent0283f8e52519b97625f1fe597c00dd8094294496 (diff)
downloaddevice_samsung_tuna-136899fc1abd0766b3f93b89e7d0f7c6d4bb41a0.zip
device_samsung_tuna-136899fc1abd0766b3f93b89e7d0f7c6d4bb41a0.tar.gz
device_samsung_tuna-136899fc1abd0766b3f93b89e7d0f7c6d4bb41a0.tar.bz2
Fixes to properly enable encryption on Tuna.
Set all the necessary properties to get encryption working properly on Tuna. Change-Id: I1fb5e4003296b24f180d68788725c86795050e24
Diffstat (limited to 'init.tuna.rc')
-rwxr-xr-xinit.tuna.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 67cb638..060372b 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -29,9 +29,11 @@ on boot
on fs
mkdir /efs 0775 radio radio
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro
+ setprop ro.crypto.tmpfs_options size=128m,mode=0771,uid=1000,gid=1000
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/userdata /data wait noatime nosuid nodev nomblk_io_submit
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/cache /cache wait noatime nosuid nodev nomblk_io_submit
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/efs /efs wait noatime nosuid nodev nomblk_io_submit
+ setprop ro.crypto.fuse_sdcard true
# change permissions for Tiler driver
chmod 0777 /dev/tiler