Removed most loggers from services (system was crashing).
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index b2a6bd2..173e836 100644
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -445,17 +445,17 @@
on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
-service irsc_util /system/bin/logwrapper /system/bin/irsc_util "/etc/sec_config"
+service irsc_util /system/bin/irsc_util "/etc/sec_config"
class main
user root
oneshot
-service rmt_storage /system/bin/logwrapper /system/bin/rmt_storage
+service rmt_storage /system/bin/rmt_storage
class core
user root
disabled
-service rfs_access /system/bin/logwrapper /system/bin/rfs_access
+service rfs_access /system/bin/rfs_access
class core
user root
group system net_raw
@@ -524,14 +524,14 @@
group radio system inet
disabled
-service qmiproxy /system/bin/logwrapper /system/bin/qmiproxy
+service qmiproxy /system/bin/qmiproxy
class main
user radio
group radio qcom_diag
disabled
# QMUX must be in multiple groups to support external process connections
-service qmuxd /system/bin/logwrapper /system/bin/qmuxd
+service qmuxd /system/bin/qmuxd
class main
user root
group radio audio bluetooth gps qcom_diag
@@ -584,7 +584,7 @@
disabled
oneshot
-service olsrd /system/bin/logwrapper /system/bin/olsrd -f /etc/wifi/olsrd.conf
+service olsrd /system/bin/olsrd -f /etc/wifi/olsrd.conf
class main
disabled
oneshot
@@ -664,14 +664,14 @@
disabled
oneshot
-service wlandutservice /system/bin/logwrapper /system/bin/wlandutservice
+service wlandutservice /system/bin/wlandutservice
class main
user system
group wifi net_raw net_admin system inet
disabled
oneshot
-service macloader /system/bin/logwrapper /system/bin/macloader
+service macloader /system/bin/macloader
class main
oneshot
diff --git a/rootdir/etc/init.rc b/rootdir/etc/init.rc
index d603990..dd6fd84 100644
--- a/rootdir/etc/init.rc
+++ b/rootdir/etc/init.rc
@@ -970,8 +970,7 @@
critical
seclabel u:r:healthd:s0
-#Log the output of lpm
-service lpm /system/bin/logwrapper /system/bin/lpm
+service lpm /system/bin/logwrapper /system/bin/lpm
class charger
critical
#start SEC_PRODUCT_FEATURE_COMMON_SUPPORT_SE_FOR_ANDROID
@@ -990,7 +989,7 @@
## WTL_EDM_START
## EDM AuditLog
-service edmaudit /system/bin/logwrapper /system/bin/edmaudit
+service edmaudit /system/bin/edmaudit
class main
user root
@@ -1011,6 +1010,14 @@
seclabel u:r:prepare_param:s0
oneshot
+# icd
+service icd /system/bin/icd
+ class main
+ user system
+ group system log
+ onrestart check_icd
+ oneshot
+
on property:ro.debuggable=1
start console
@@ -1039,12 +1046,12 @@
on property:ro.kernel.qemu=1
start adbd
-service lmkd /system/bin/logwrapper /system/bin/lmkd
+service lmkd /system/bin/lmkd
class core
critical
socket lmkd seqpacket 0660 system system
-service scs /system/bin/logwrapper /system/bin/scs
+service scs /system/bin/scs
class main
user system
group system
@@ -1091,47 +1098,26 @@
class main
# icd
-service icd /system/bin/logwrapper /system/bin/icd
+service icd /system/bin/icd
class main
user system
group system log
onrestart check_icd
oneshot
-service ril-daemon /system/bin/logwrapper /system/bin/rild
+service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
user root
group radio cache inet misc audio sdcard_rw qcom_diag log
-# AT Distributor for factory test
-service at_distributor /system/bin/logwrapper /system/bin/at_distributor
- class late_start
- user root
- group radio misc log
-
service surfaceflinger /system/bin/surfaceflinger
class core
user system
group graphics drmrpc
onrestart restart zygote
-service DR-daemon /system/bin/logwrapper /system/bin/ddexe
- class main
- user root
- group system radio inet net_raw
-
-service SMD-daemon /system/bin/logwrapper /system/bin/smdexe
- class main
- user root
- group system radio inet net_raw
-
-service BCS-daemon /system/bin/logwrapper /system/bin/connfwexe
- class main
- user root
- group system radio inet net_raw
-
service drm /system/bin/drmserver
class main
user drm
@@ -1183,7 +1169,7 @@
on property:persist.sys.recovery_update=true
start flash_recovery
-service racoon /system/bin/logwrapper /system/bin/racoon
+service racoon /system/bin/racoon
class main
socket racoon stream 600 system system
# IKE uses UDP port 500. Racoon will setuid to vpn after binding the port.
@@ -1191,7 +1177,7 @@
disabled
oneshot
-service mtpd /system/bin/logwrapper /system/bin/mtpd
+service mtpd /system/bin/mtpd
class main
socket mtpd stream 600 system system
user vpn
@@ -1224,14 +1210,14 @@
disabled
oneshot
-service SIDESYNC_service /system/bin/logwrapper /system/bin/ss_conn_daemon
+service SIDESYNC_service /system/bin/ss_conn_daemon
class main
socket ss_conn_daemon stream 0666 system system
user system
group inet net_raw
# otp
-service otp /system/bin/logwrapper /system/bin/otp_server
+service otp /system/bin/otp_server
user system
group system
disabled
@@ -1241,7 +1227,7 @@
setprop persist.security.tlc.otp 0
# ccm
- service ccm /system/bin/logwrapper /system/bin/tlc_server
+ service ccm /system/bin/tlc_server
user system
group system
disabled
@@ -1251,7 +1237,7 @@
setprop persist.security.tlc.ccm 0
# tui
- service tui /system/bin/logwrapper /system/bin/tlc_server TUI
+ service tui /system/bin/tlc_server TUI
user system
group system
disabled
@@ -1261,14 +1247,14 @@
setprop persist.security.tlc.tui 0
# CS DAEMON
-#service cs_service /system/bin/cs
- #class main
- #user system
- #group system
- #disabled
+service cs_service /system/bin/cs
+ class main
+ user system
+ group system
+ disabled
# insthk
-service insthk /system/bin/logwrapper /system/bin/insthk
+service insthk /system/bin/insthk
class main
user root
disabled
@@ -1279,14 +1265,14 @@
start keystore
start insthk
-service mcStarter /system/bin/logwrapper /system/bin/tbaseLoader tbase
+service mcStarter /system/bin/tbaseLoader tbase
class core
user root
group root
disabled
oneshot
-service run-mobicore /system/bin/logwrapper /system/bin/mcDriverDaemon
+service run-mobicore /system/bin/mcDriverDaemon
class core
user system
group system