summaryrefslogtreecommitdiffstats
path: root/rootdir/init.target.rc
diff options
context:
space:
mode:
Diffstat (limited to 'rootdir/init.target.rc')
-rw-r--r--rootdir/init.target.rc40
1 files changed, 27 insertions, 13 deletions
diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index dbbc773..c2d8c5c 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -6,6 +6,24 @@ on init
mkdir /dev/pipes 0771 shell shell
# MDM requirement
+ mkdir /data/cp_log
+ chmod 0775 /data/cp_log
+ chown system radio /data/cp_log
+
+ mkdir /dev/block/modem
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs1 /dev/block/modem/m9kefs1
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs2 /dev/block/modem/m9kefs2
+ symlink /dev/block/platform/dw_mmc/by-name/m9kefs3 /dev/block/modem/m9kefs3
+ symlink /dev/block/platform/dw_mmc/by-name/ /dev/block/modem/dump_path
+ chown system radio /dev/block/modem/m9kefs1
+ chmod 0775 /dev/block/modem/m9kefs1
+ chown system radio /dev/block/modem/m9kefs2
+ chmod 0775 /dev/block/modem/m9kefs2
+ chown system radio /dev/block/modem/m9kefs3
+ chmod 0775 /dev/block/modem/m9kefs3
+ chown system radio /dev/block/modem/dump_path
+ chmod 0775 /dev/block/modem/dump_path
+
mkdir /firmware 0771 system system
chown system system /tombstones
chmod 0775 /tombstones
@@ -24,8 +42,8 @@ on post-fs-data
#QCRIL
#Create QMUX deamon socket area
- mkdir /dev/socket/qmux_radio 0770 radio radio
- chmod 2770 /dev/socket/qmux_radio
+ mkdir /dev/socket/qmux_radio 0777 radio radio
+ chmod 2777 /dev/socket/qmux_radio
mkdir /dev/socket/qmux_audio 0770 media audio
chmod 2770 /dev/socket/qmux_audio
mkdir /dev/socket/qmux_gps 0770 gps gps
@@ -33,6 +51,7 @@ on post-fs-data
# Allow QMUX daemon to assign port open wait time
chown radio radio /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
+ chmod 666 /sys/devices/virtual/hsicctl/hsicctl0/modem_wait
# To prevent out of order acknowledgements from making
# connection tracking to treat them as not belonging to
@@ -85,7 +104,7 @@ on property:sys.boot_completed=1
# AT Distributor for factory test
service at_distributor /system/bin/at_distributor
- class main
+ class late_start
user root
group radio log
@@ -109,11 +128,12 @@ service qc_kickstart /system/bin/qcks s
seclabel u:r:kickstart:s0
group radio cache inet misc audio sdcard_rw log
-service secril-daemon /system/bin/sec-ril
+service ril-daemon /system/bin/rild
class main
+ socket rild stream 666 root radio
+ socket rild-debug stream 666 radio system
user root
- seclabel u:r:secril-daemon:s0
- group radio cache inet misc audio sdcard_rw qcom_diag log
+ group radio cache inet misc audio sdcard_rw qcom_oncrpc diag log sdcard_r
#For EncryptionMode - remove disabled, Modify class main
service qmiproxy /system/bin/qmiproxy
@@ -123,16 +143,10 @@ service qmiproxy /system/bin/qmiproxy
service qmuxd /system/bin/qmuxd
class main
- user system
+ user root
seclabel u:r:qmux:s0
group radio log audio bluetooth gps log
-#start GNSS/Sensor interface daemon
-service gsiff_daemon /system/bin/gsiff_daemon
- class late_start
- user system
- group qcom_oncrpc gps
-
# TVout
service TvoutService_C /system/bin/bintvoutservice
class main