diff options
author | Dheeraj CVR <cvr.dheeraj@gmail.com> | 2014-12-24 13:01:48 +0530 |
---|---|---|
committer | sbrissen <sbrissen@hotmail.com> | 2015-01-16 08:36:36 -0500 |
commit | a012ae4fa4929d6766526799ee8ab23854f92bd0 (patch) | |
tree | 7e78694b16fc4f7b6f2c8c2f1b30d63cd17da5b8 /rootdir | |
parent | 98053500fc8c7217bf9097b33dace0eddfa0cf24 (diff) | |
download | device_samsung_smdk4412-common-a012ae4fa4929d6766526799ee8ab23854f92bd0.zip device_samsung_smdk4412-common-a012ae4fa4929d6766526799ee8ab23854f92bd0.tar.gz device_samsung_smdk4412-common-a012ae4fa4929d6766526799ee8ab23854f92bd0.tar.bz2 |
smdk4412-common: switch to opensource healthd-charger
Conflicts:
common.mk
proprietary-files.txt
rootdir/init.smdk4x12.rc
Change-Id: I32aeb89f0c4acb0ba50f1f03a87d5e55386a05ca
Diffstat (limited to 'rootdir')
-rwxr-xr-x | rootdir/init.smdk4x12.rc | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/rootdir/init.smdk4x12.rc b/rootdir/init.smdk4x12.rc index 16bc954..c45b557 100755 --- a/rootdir/init.smdk4x12.rc +++ b/rootdir/init.smdk4x12.rc @@ -43,40 +43,12 @@ on fs chmod 0771 /efs on charger - 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 - # CPU Frequency Governor write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave # EHCI runtime enable for LPA write /sys/devices/platform/s5p-ehci/power/control auto - ifup lo - hostname localhost - domainname localdomain - - class_start default - -service debuggerd /system/bin/debuggerd - -service ueventd /sbin/ueventd - critical - -service console /system/bin/sh - console - -service healthd-charger /sbin/healthd -n - critical - -service lpm /system/bin/lpm - critical - on post-fs-data # we will remap this as /mnt/sdcard with the sdcard fuse tool mkdir /data/media 0775 media_rw media_rw @@ -277,6 +249,7 @@ on post-fs-data chown system radio /sys/class/power_supply/battery/batt_vfocv chown system radio /sys/class/power_supply/battery/batt_lp_charging chown system radio /sys/class/power_supply/battery/batt_charging_source + chown system radio /sys/class/power_supply/battery/charging_enabled chown system radio /sys/class/power_supply/battery/test_mode chown system radio /sys/class/power_supply/battery/wc_status chown system radio /sys/class/power_supply/battery/wpc_pin_state @@ -485,6 +458,11 @@ service fuse_usbdisk0 /system/bin/sdcard -u 1023 -g 1023 /mnt/media_rw/usbdisk0 class late_start disabled +service charger /sbin/healthd -c + class charger + critical + seclabel u:r:healthd:s0 + service p2p_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ -I/system/etc/wifi/wpa_supplicant.conf \ |