summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.shamu.rc17
-rw-r--r--sec_config7
2 files changed, 24 insertions, 0 deletions
diff --git a/init.shamu.rc b/init.shamu.rc
index b94041d5..731f63f6 100644
--- a/init.shamu.rc
+++ b/init.shamu.rc
@@ -375,6 +375,23 @@ service netmgrd /system/bin/netmgrd
class main
group radio
+service imsqmidaemon /system/bin/imsqmidaemon
+ class main
+ user system
+ socket ims_qmid stream 0660 system radio
+ group radio log
+
+# TODO: remove net_raw and net_admin and add them to android_filesystem_config.h
+service imsdatadaemon /system/bin/imsdatadaemon
+ class main
+ user system
+ socket ims_datad stream 0660 system radio
+ group system wifi radio inet net_raw log net_admin
+ disabled
+
+on property:sys.ims.QMI_DAEMON_STATUS=1
+ start imsdatadaemon
+
service sensors /system/bin/sensors.qcom
class core
user root
diff --git a/sec_config b/sec_config
index eea4fa2d..56025570 100644
--- a/sec_config
+++ b/sec_config
@@ -2,5 +2,12 @@
/* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
16:4294967295:1000:3004
501:4294967295:1001
+/* Allow QMID service to aquire net_raw permission */
+3:4294967295:1001:3004
+2:4294967295:1001:3004
+42:4294967295:1001:3004
+18:4294967295:1001:3004
+9:4294967295:1001:3004
+1:4294967295:1001:3004
/* Allow MOTEX service to be used by radio processes and net_raw processes */
228:4294967295:1001:3004