diff options
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rwxr-xr-x | rootdir/etc/init.qcom.rc | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index ca16e2a..17d0715 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -1155,9 +1155,8 @@ service hcidump /system/bin/sh /system/etc/hcidump.sh service charger /charger class charger - group log + group system graphics seclabel u:r:healthd:s0 - writepid /dev/cpuset/system-background/tasks service ssr_diag /system/bin/ssr_diag class late_start @@ -1256,3 +1255,28 @@ service seemp_healthd /system/vendor/bin/seemp_healthd class late_start user system group system + +on charger + setprop persist.sys.usb.config charging + +#add poweroffhandler +service poweroffhandler /system/bin/poweroffhandler + class core + user media + group graphics audio + disabled + oneshot + +# Logcat dump daemon, dumps logs to logdump partition +service logdumpd /system/bin/logcat -b all -v threadtime -D -w /dev/block/bootdevice/by-name/logdump + class core + writepid /dev/cpuset/system-background/tasks + seclabel u:r:logdumpd:s0 + disabled + +# Logdumpd is enabled only for userdebug non-perf build +on property:ro.logdumpd.enabled=1 + start logdumpd + +on property:vold.decrypt=trigger_restart_min_framework + start time_daemon |