From 48f28f8dc69fe3b586d726f5d77965257d1a8324 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Fri, 23 May 2014 17:09:11 +0530 Subject: KitKat Blobs Change-Id: I4cb0782fe4f95a6ff20351d2cc29220db4542d9a --- rootdir/lpm.rc | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) (limited to 'rootdir') diff --git a/rootdir/lpm.rc b/rootdir/lpm.rc index 2a94492..f1601f9 100644 --- a/rootdir/lpm.rc +++ b/rootdir/lpm.rc @@ -2,6 +2,7 @@ on early-init start ueventd on init + export PATH /sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin export LD_LIBRARY_PATH /vendor/lib:/system/lib export ANDROID_ROOT /system @@ -9,6 +10,7 @@ on init export EXTERNAL_STORAGE /sdcard symlink /system/etc /etc + symlink /system/vendor /vendor mkdir /sdcard mkdir /preload @@ -19,31 +21,32 @@ on init mkdir /tmp mkdir /dbdata mkdir /mnt 0775 root root - #mount /tmp /tmp tmpfs + #mount /tmp /tmp tmpfs on early-fs - mount ext4 /dev/block/mmcblk0p9 /system ro wait noatime - mount ext4 /dev/block/mmcblk0p12 /data wait nosuid nodev noatime discard,noauto_da_alloc,journal_async_commit - mkdir /data/log 0777 - chmod 0666 /dev/log/radio - chmod 0666 /dev/log/main - chmod 0666 /dev/log/event + mount ext4 /dev/block/platform/dw_mmc/by-name/SYSTEM /system ro wait noatime + mount ext4 /dev/block/platform/dw_mmc/by-name/USERDATA /data rw wait noatime nosuid nodev discard noauto_da_alloc journal_async_commit + mkdir /data/log 0777 + + chmod 0666 /dev/log/radio + chmod 0666 /dev/log/main + chmod 0666 /dev/log/event on boot -# write /sys/class/sec/switch/usb_sel PDA +# write /sys/class/sec/switch/usb_sel PDA # CPU Frequency Governor - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq + write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq # EHCI runtime enable for LPA - write /sys/devices/platform/s5p-ehci/power/control auto + write /sys/devices/platform/s5p-ehci/power/control auto - ifup lo - hostname localhost - domainname localdomain + ifup lo + hostname localhost + domainname localdomain - class_start default + class_start default service debuggerd /system/bin/debuggerd @@ -53,13 +56,7 @@ service ueventd /sbin/ueventd service console /system/bin/sh console -service playlpm /system/bin/playlpm - user root - -service immvibed /system/bin/immvibed - oneshot - -service lpmkey /system/bin/lpmkey +service lpm /system/bin/lpm user root # adbd is controlled by the persist.service.adb.enable system property @@ -75,4 +72,3 @@ on property:persist.service.adb.enable=1 on property:persist.service.adb.enable=0 stop adbd - -- cgit v1.1