diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2014-07-04 14:33:53 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2014-07-04 14:33:53 +0530 |
commit | 26f0f4e94622efda671dc8123e64c66f99471c8e (patch) | |
tree | f616f46e66e009ed3c89eb7a9d0581b4853f6c0a | |
parent | 1cd09b5ef09e9be1eeac7aec6dc9abcd39af4e6b (diff) | |
download | juno-26f0f4e94622efda671dc8123e64c66f99471c8e.tar.gz |
init.juno.rc: align this init script with init.fvpbase.rc
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rw-r--r-- | init.juno.rc | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/init.juno.rc b/init.juno.rc index 8b7d50c..b6bc20e 100644 --- a/init.juno.rc +++ b/init.juno.rc @@ -1,6 +1,6 @@ - -on early-init - mount debugfs debugfs /sys/kernel/debug +on init + # mount debugfs + mount debugfs /sys/kernel/debug /sys/kernel/debug on init # disable transparent huge pages @@ -18,10 +18,17 @@ on init symlink /storage/emulated/legacy /storage/sdcard0 symlink /mnt/shell/emulated/0 /storage/emulated/legacy + # Disabled virtual memory randomization + # (if randomization is enabled the AEM-JIT will have a lower cache hit rate) + write /proc/sys/kernel/randomize_va_space 0 + on fs mount_all /fstab.juno setprop ro.crypto.fuse_sdcard true +on post-fs-data + mkdir /data/media 0770 media_rw media_rw + on post-fs # insert HDLCD display and Mali kernel modules insmod /system/modules/hdlcd.ko @@ -34,6 +41,7 @@ on post-fs chmod 0666 /dev/graphics/fb0 on boot + setprop ARGH ARGH setprop ro.radio.use-ppp no setprop ro.build.product generic @@ -66,6 +74,10 @@ on boot # like NetworkLocationProvider and LocationCollector setprop ro.com.google.locationfeatures 1 + # change permissions for process groups + # https://bugs.launchpad.net/bugs/1037611 + chmod 0660 /dev/cpuctl + # enable test harness setprop ro.test_harness true |