diff options
author | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2014-09-28 15:07:59 +0700 |
---|---|---|
committer | Ketut Putu Kumajaya <ketut.kumajaya@gmail.com> | 2014-09-28 23:16:31 +0700 |
commit | 2570aed627ccfc3f43b3fcb9af5ac0ce240a507d (patch) | |
tree | 7880f40528213feb875524541f0b5d7e2825cf1b /rootdir | |
parent | 52405aa89e45ccee0b48e882c407893991e891a1 (diff) | |
download | device_samsung_kona-common-2570aed627ccfc3f43b3fcb9af5ac0ce240a507d.zip device_samsung_kona-common-2570aed627ccfc3f43b3fcb9af5ac0ce240a507d.tar.gz device_samsung_kona-common-2570aed627ccfc3f43b3fcb9af5ac0ce240a507d.tar.bz2 |
LPM: KitKat bootloader compatibility fix
Should still compatible to JB bootloader
Change-Id: Ic6951b9cbeabdd95db43f1937ea6839c780c4957
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/lpm.rc | 47 |
1 files changed, 21 insertions, 26 deletions
diff --git a/rootdir/lpm.rc b/rootdir/lpm.rc index 1eed990..4be4f98 100644 --- a/rootdir/lpm.rc +++ b/rootdir/lpm.rc @@ -2,7 +2,6 @@ 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 @@ -19,46 +18,43 @@ on init mkdir /efs mkdir /tmp mkdir /dbdata - mkdir /mnt 0775 root root - #mount /tmp /tmp tmpfs - -on early-fs -# insmod /lib/modules/vibrator.ko + mkdir /mnt 0775 root root mount ext4 /dev/block/platform/dw_mmc/by-name/SYSTEM /system ro wait noatime - mkdir /data/log 0777 - - chmod 0666 /dev/log/radio - chmod 0666 /dev/log/main - chmod 0666 /dev/log/event + mkdir /data/log 0777 -on boot -# write /sys/class/sec/switch/usb_sel PDA + chmod 0666 /dev/log/radio + chmod 0666 /dev/log/main + chmod 0666 /dev/log/event -# CPU Frequency Governor - write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq + # CPU Frequency Governor + write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor pegasusq -# EHCI runtime enable for LPA - write /sys/devices/platform/s5p-ehci/power/control auto + # EHCI runtime enable for LPA + 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 service ueventd /sbin/ueventd - critical + critical #service console /bin/sh service console /system/bin/sh - console - + console + +service healthd-charger /sbin/healthd -n + critical + seclabel u:r:healthd:s0 + service lpm /system/bin/lpm - user root + critical # adbd is controlled by the persist.service.adb.enable system property service adbd /sbin/adbd @@ -73,4 +69,3 @@ on property:persist.service.adb.enable=1 on property:persist.service.adb.enable=0 stop adbd - |