summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthan Chen <intervigil@gmail.com>2017-12-29 21:57:16 +0530
committerHemant Sharma <hemantbeast@gmail.com>2018-01-14 15:58:06 +0000
commite178eff971a83ddd69f0532c01f58a1bb57ddd7c (patch)
tree9edb3e26b37277952d8894ce2f80ab36a50320b0
parent526126e83882b7a772e2382ae45cd926263577e3 (diff)
armani: Replace QCOM group identifiers with oem_XXXX
* config.fs doesn't give the ability to add AIDs to Android init such that they can can actually be used in init scripts. * Replace instances of qcom_diag, rfs, rfs_shared with the appropriate IDs (2950, 3012, 3013) Change-Id: Ided896c4ee051a9bc19fd61ae6e03624f2d54cf3
-rwxr-xr-xrootdir/init.armani.rc4
-rw-r--r--rootdir/ueventd.armani.rc3
2 files changed, 5 insertions, 2 deletions
diff --git a/rootdir/init.armani.rc b/rootdir/init.armani.rc
index 4b8800f..3fb50bc 100755
--- a/rootdir/init.armani.rc
+++ b/rootdir/init.armani.rc
@@ -259,7 +259,7 @@ on property:bluetooth.hciattach=false
service qmuxd /vendor/bin/qmuxd
class main
user radio
- group radio audio bluetooth wakelock gps diag qcom_diag
+ group radio audio bluetooth wakelock gps diag oem_2950
service netmgrd /vendor/bin/netmgrd
class main
@@ -297,7 +297,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
socket rild-debug2 stream 660 radio system
user radio
disabled
- group radio cache inet misc audio sdcard_r sdcard_rw log readproc wakelock diag qcom_diag
+ group radio cache inet misc audio sdcard_r sdcard_rw log readproc wakelock diag oem_2950
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
on property:persist.radio.multisim.config=dsds
diff --git a/rootdir/ueventd.armani.rc b/rootdir/ueventd.armani.rc
index 333abee..d606be0 100644
--- a/rootdir/ueventd.armani.rc
+++ b/rootdir/ueventd.armani.rc
@@ -9,6 +9,9 @@
/dev/tspdrv 0660 system system
+# the DIAG device node is not world writable/readable.
+/dev/diag 0660 system oem_2950
+
# Permissions for CSVT
/dev/smd11 0660 radio radio