From bd03c504e298e968aba8a584b37ca60692e7c2cd Mon Sep 17 00:00:00 2001 From: nailyk-fr Date: Fri, 28 Apr 2017 15:07:40 +0200 Subject: shinano-common: init: Rework permissions * Some services where start with incorrect rights. * Create tee /data folder * Keystore and qseecomd are needed for encryption/decryption and shouldnot be restarted at framework changes. Change-Id: If1c7c0ba3602dccb8cb65dbe9193221438785c0a --- rootdir/init.qcom.rc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'rootdir/init.qcom.rc') diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index 5204ae8..95d3bc5 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -373,6 +373,9 @@ on post-fs-data setprop vold.post_fs_data_done 1 + # Create directory for TZ Apps + mkdir /data/misc/qsee 0770 system system + # SONY: Create a dir on data partition not to be deleted during mr and wipedata mkdir /data/persist 0770 system system @@ -419,7 +422,7 @@ on property:ro.radio.noril=true service qseecomd /system/bin/qseecomd class core user root - group drmpc root + group drmrpc root service p2p_supplicant /system/bin/wpa_supplicant \ -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf \ @@ -457,7 +460,7 @@ on property:ro.data.large_tcp_window_size=true service loc_launcher /system/bin/loc_launcher #loc_launcher will start as root and set its uid to gps class late_start - group gps qcom_oncrpc inet net_raw qcom_diag net_admin wifi + group gps inet net_raw qcom_diag net_admin wifi service scdnotifier_nitz /system/bin/scdnotifier nitz class main -- cgit v1.2.3