diff options
author | Utkarsh Gupta <utkarsh.eminem@gmail.com> | 2014-05-23 17:09:11 +0530 |
---|---|---|
committer | Utkarsh Gupta <utkarsh.eminem@gmail.com> | 2014-07-07 12:28:05 +0530 |
commit | 48f28f8dc69fe3b586d726f5d77965257d1a8324 (patch) | |
tree | ad0259bb5998b3cf77be13da7fe2a3453a85682f /rootdir | |
parent | 7cb91744dd6af0757c5ead7a4738c2f61c141779 (diff) | |
download | device_samsung_smdk4412-common-48f28f8dc69fe3b586d726f5d77965257d1a8324.zip device_samsung_smdk4412-common-48f28f8dc69fe3b586d726f5d77965257d1a8324.tar.gz device_samsung_smdk4412-common-48f28f8dc69fe3b586d726f5d77965257d1a8324.tar.bz2 |
KitKat Blobs
Change-Id: I4cb0782fe4f95a6ff20351d2cc29220db4542d9a
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/lpm.rc | 40 |
1 files changed, 18 insertions, 22 deletions
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 - |