summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintervigilium <intervigil@gmail.com>2017-12-31 12:05:16 +0000
committerArian <arian.kulmer@web.de>2019-10-07 11:07:17 +0200
commit7475ae1ef98f1769a8a6894a55c285cb11132e5c (patch)
treeddd110c5a705615889b7da9fd17a94ac950b4b10
parentc0bf6c0f64820b6660716779b01225a509116e9c (diff)
shinano-common: 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
-rw-r--r--gps/izat.conf6
-rw-r--r--rootdir/init.qcom.rc10
-rw-r--r--rootdir/ueventd.qcom.rc2
3 files changed, 9 insertions, 9 deletions
diff --git a/gps/izat.conf b/gps/izat.conf
index 4e101f7..009bddb 100644
--- a/gps/izat.conf
+++ b/gps/izat.conf
@@ -158,7 +158,7 @@ LEAN_TARGETS=DISABLED
PROCESS_NAME=/system/bin/lowi-server
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
-PROCESS_GROUPS=gps net_admin wifi inet qcom_diag net_raw
+PROCESS_GROUPS=gps net_admin wifi inet oem_2950 net_raw
PREMIUM_FEATURE=0
IZAT_FEATURE_MASK=0xf303
PLATFORMS=all
@@ -178,7 +178,7 @@ LEAN_TARGETS=DISABLED
PROCESS_NAME=/system/bin/xtwifi-client
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
-PROCESS_GROUPS=net_admin wifi inet gps net_raw rfs_shared
+PROCESS_GROUPS=net_admin wifi inet gps net_raw oem_3013 oem_2950
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xf0f
PLATFORMS=all
@@ -188,7 +188,7 @@ LEAN_TARGETS=DISABLED
PROCESS_NAME=/system/vendor/bin/slim_daemon
PROCESS_ARGUMENT=
PROCESS_STATE=ENABLED
-PROCESS_GROUPS=gps net_raw qcom_diag
+PROCESS_GROUPS=gps net_raw oem_2950
PREMIUM_FEATURE=1
IZAT_FEATURE_MASK=0xf0
PLATFORMS=all
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index d91b027..56c8a45 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -45,7 +45,7 @@ on init
mkdir /dev/bus 0755 root root
mkdir /dev/bus/usb 0755 root root
-
+
wait /dev/block/mmcblk0p1
chown tad tad /dev/block/mmcblk0p1
chmod 0770 /dev/block/mmcblk0p1
@@ -382,7 +382,7 @@ on property:bluetooth.isEnabled=true
service qmuxd /system/bin/qmuxd
class main
user root
- group radio audio bluetooth gps nfc diag wakelock qcom_diag
+ group radio audio bluetooth gps nfc diag wakelock oem_2950
# Wi-Fi and BT MAC addresses
service macaddrsetup /system/bin/macaddrsetup /sys/devices/platform/bcmdhd_wlan/macaddr
@@ -443,7 +443,7 @@ service ril-daemon2 /system/bin/rild -c 2
socket rild-debug2 stream 660 radio system
user root
disabled
- group radio cache inet misc audio sdcard_r sdcard_rw qcom_diag log
+ group radio cache inet misc audio sdcard_r sdcard_rw oem_2950 log
on property:persist.radio.multisim.config=dsds
start ril-daemon2
@@ -451,7 +451,7 @@ on property:persist.radio.multisim.config=dsds
service loc_launcher /system/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps
class late_start
- group gps inet net_raw qcom_diag net_admin wifi
+ group gps inet net_raw oem_2950 net_admin wifi
# Start suntrold
service suntrold /system/bin/suntrold
@@ -516,7 +516,7 @@ service audioserver /system/bin/audioserver
class main
user audioserver
# media gid needed for /dev/fm (radio) and for /data/misc/media (tee)
- group audio trimarea camera drmrpc inet media mediadrm net_bt bluetooth net_bw_acct qcom_diag
+ group audio trimarea camera drmrpc inet media mediadrm net_bt bluetooth net_bw_acct oem_2950
ioprio rt 4
service drm /system/bin/drmserver
diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc
index 7200364..bfb831d 100644
--- a/rootdir/ueventd.qcom.rc
+++ b/rootdir/ueventd.qcom.rc
@@ -27,7 +27,7 @@
#
# the DIAG device node is not world writable/readable.
-/dev/diag 0660 system qcom_diag
+/dev/diag 0660 system oem_2950
/dev/genlock 0666 system system
/dev/kgsl 0666 system system