summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rootdir/init.qcom.rc39
-rw-r--r--sepolicy/credmgrd.te4
-rw-r--r--sepolicy/workarounds.te7
3 files changed, 50 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index ad3d659..2015408 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -107,6 +107,9 @@ on boot
mkdir /data/system/perfd 0770 root system
chmod 2770 /data/system/perfd
+ #Create NETMGR daemon socket area
+ mkdir /dev/socket/netmgr 0750 radio radio
+
setprop ro.telephony.call_ring.multiple false
# port-bridge
@@ -245,6 +248,8 @@ on boot
chmod 0660 /sys/devices/virtual/graphics/fb0/rgb
on post-fs
+ #export LD_PRELOAD libNimsWrap.so
+
# MHL driver. To support MHL power off charge,
# the insmod must be done before chargemon.
insmod /system/lib/modules/mhl_sii8620_8061_drv.ko
@@ -573,3 +578,37 @@ service ptt_socket_app /system/bin/ptt_socket_app
group system
oneshot
+service imsqmidaemon /system/bin/imsqmidaemon
+ class main
+ user system
+ socket ims_qmid stream 0660 system radio
+ group radio net_raw log qcom_diag
+
+service imsdatadaemon /system/bin/imsdatadaemon
+ class main
+ user system
+ socket ims_datad stream 0660 system radio
+ group system wifi radio inet net_raw log qcom_diag net_admin
+ disabled
+
+on property:sys.ims.DATA_DAEMON_STATUS=1
+ start ims_rtp_daemon
+ start imscmservice
+
+
+service ims_rtp_daemon /system/bin/ims_rtp_daemon
+ class main
+ user system
+ socket ims_rtpd stream 0660 system radio
+ group radio net_raw diag qcom_diag log inet
+ disabled
+
+service imscmservice /system/bin/imscmservice
+ class main
+ user system
+ group radio net_raw diag qcom_diag log
+ disabled
+
+on property:sys.ims.QMI_DAEMON_STATUS=1
+ start imsdatadaemon
+
diff --git a/sepolicy/credmgrd.te b/sepolicy/credmgrd.te
index 82c4929..d696393 100644
--- a/sepolicy/credmgrd.te
+++ b/sepolicy/credmgrd.te
@@ -59,4 +59,8 @@ allow credmgrd tmpfs:lnk_file read;
#credmgrd ion
allow credmgrd ion_device:chr_file { ioctl open read };
+#credmgrd files:
+#============= credmgrd ==============
+allow credmgrd cache_file:dir search;
+
diff --git a/sepolicy/workarounds.te b/sepolicy/workarounds.te
index ded4c69..ed9aaf6 100644
--- a/sepolicy/workarounds.te
+++ b/sepolicy/workarounds.te
@@ -37,3 +37,10 @@ allow wv tee_device:chr_file { ioctl open read write };
#============= mediaserver ==============
allow mediaserver sensorservice_service:service_manager find;
+
+#============= rmt_storage ==============
+allow rmt_storage self:capability dac_override;
+
+#============= scd ==============
+allow scd socket_device:sock_file write;
+