Detached logwrapper from the modem services.
diff --git a/rootdir/etc/init.rc b/rootdir/etc/init.rc
index dd6fd84..d67dfd3 100644
--- a/rootdir/etc/init.rc
+++ b/rootdir/etc/init.rc
@@ -1105,13 +1105,6 @@
onrestart check_icd
oneshot
-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
-
service surfaceflinger /system/bin/surfaceflinger
class core
user system
diff --git a/rootdir/etc/init.rilchip.rc b/rootdir/etc/init.rilchip.rc
index 12e5d55..e3d02cb 100755
--- a/rootdir/etc/init.rilchip.rc
+++ b/rootdir/etc/init.rilchip.rc
@@ -5,13 +5,14 @@
#
on boot
+
service ril-daemon /system/bin/rild
class main
socket rild stream 660 root radio
socket rild-debug stream 660 radio system
socket rild-cas stream 660 casdrm mmb
user root
- group radio cache inet misc audio log qcom_diag system drmrpc vpn system
+ group radio cache inet misc audio sdcard_r sdcard_rw log qcom_diag system drmrpc vpn system shell
service diag_uart_log /system/bin/diag_uart_log
class main
@@ -19,12 +20,12 @@
group radio
# 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
-service diag_mdlog_start /system/bin/logwrapper /system/bin/diag_mdlog
+service diag_mdlog_start /system/bin/diag_mdlog
class late_start
user sdcard_rw
group system qcom_diag sdcard_rw sdcard_r media_rw
diff --git a/rootdir/etc/init.rilcommon.rc b/rootdir/etc/init.rilcommon.rc
index c4509c1..6b48422 100755
--- a/rootdir/etc/init.rilcommon.rc
+++ b/rootdir/etc/init.rilcommon.rc
@@ -13,22 +13,22 @@
on boot
# AT Distributor for factory test
-service at_distributor /system/bin/logwrapper /system/bin/at_distributor
+service at_distributor /system/bin/at_distributor
class late_start
user root
group radio misc log
-service DR-daemon /system/bin/logwrapper /system/bin/ddexe
+service DR-daemon /system/bin/ddexe
class main
user root
group system radio inet net_raw
-service SMD-daemon /system/bin/logwrapper /system/bin/smdexe
+service SMD-daemon /system/bin/smdexe
class main
user root
group system radio inet net_raw
-service BCS-daemon /system/bin/logwrapper /system/bin/connfwexe
+service BCS-daemon /system/bin/connfwexe
class main
user root
group system radio inet net_raw