sanders: update rootdir

* Move more services to vendor
* Update ueventd.qcom
This commit is contained in:
Vachounet
2017-12-10 09:22:01 +01:00
committed by therootlord
parent 0cac014c54
commit 9e90359ce6
5 changed files with 150 additions and 78 deletions

View File

@@ -7,7 +7,7 @@ LOCAL_MODULE := init.mmi.boot.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.mmi.boot.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -15,7 +15,7 @@ LOCAL_MODULE := init.mmi.touch.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.mmi.touch.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -23,7 +23,7 @@ LOCAL_MODULE := init.oem.hw.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.oem.hw.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -31,7 +31,7 @@ LOCAL_MODULE := wlan_carrier_bin.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/wlan_carrier_bin.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_EXECUTABLES)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -39,6 +39,7 @@ LOCAL_MODULE := init.qcom.bt.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.bt.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -46,6 +47,7 @@ LOCAL_MODULE := init.qcom.fm.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.fm.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -53,6 +55,7 @@ LOCAL_MODULE := init.qcom.ril.sh
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.ril.sh
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
include $(BUILD_PREBUILT)
# Init scripts
@@ -62,7 +65,7 @@ LOCAL_MODULE := fstab.qcom
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/fstab.qcom
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -70,7 +73,7 @@ LOCAL_MODULE := init.mmi.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.mmi.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -78,7 +81,7 @@ LOCAL_MODULE := init.mmi.usb.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.mmi.usb.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -86,7 +89,7 @@ LOCAL_MODULE := init.qcom.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/init.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
@@ -94,5 +97,5 @@ LOCAL_MODULE := ueventd.qcom.rc
LOCAL_MODULE_TAGS := optional eng
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/ueventd.qcom.rc
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)
include $(BUILD_PREBUILT)

View File

@@ -1,5 +1,5 @@
# Moto USB configuration
import init.mmi.usb.rc
import /vendor/etc/init/hw/init.mmi.usb.rc
on early-boot
write /sys/module/subsystem_restart/parameters/disable_restart_work 0x0
@@ -42,8 +42,9 @@ on post-fs
mkdir /persist/wifi 0755 oem_5004 oem_5004
mkdir /persist/bt 0755 oem_5004 bluetooth
mkdir /persist/wmdrm 0775 oem_5003 oem_5003
mkdir /persist/public/usc_dm 0775 radio radio
mkdir /persist/sds 0700 vold vold
mkdir /persist/rfs/msm/mpss/mot_rfs 0771 rfs system
mkdir /persist/public/usc_dm 0775 radio radio
chown oem_5004 oem_5004 /persist/factory/fti
chmod 0660 /persist/factory/fti
@@ -59,7 +60,12 @@ on post-fs
chown radio mot_tcmd /persist/public/hiddenmenu/life_timer
chmod 0775 /persist/public/hiddenmenu/life_timer
swapon_all fstab.qcom
chmod 0711 /persist/rfs
chmod 0711 /persist/rfs/msm
chmod 0711 /persist/rfs/msm/mpss
chmod 0771 /persist/rfs/msm/mpss/mot_rfs
swapon_all /vendor/etc/fstab.qcom
write /proc/sys/vm/page-cluster 0
on post-fs-data
@@ -142,6 +148,12 @@ on post-fs-data
# Imager tuning data for camera subsystem
mkdir /data/misc/imager 0770 camera camera
# OTA Package directory
mkdir /data/misc_ne 0770 system cache
# NFC vendor data
mkdir /data/vendor/nfc 0770 nfc nfc
#setup folder for WLAN WAPI
chmod 0770 /data/wapi_certificate
@@ -211,7 +223,7 @@ on boot
write /sys/module/binder/parameters/debug_mask 0x5
# Pass carrier to wlan
service init_wifi /system/bin/wlan_carrier_bin.sh
service init_wifi /system/vendor/bin/wlan_carrier_bin.sh
class main
user root
group root
@@ -251,23 +263,23 @@ service fingerprintd /system/bin/fingerprintd
user system
group input
service mmi-boot-sh /system/bin/init.mmi.boot.sh
service mmi-boot-sh /system/vendor/bin/init.mmi.boot.sh
class core
user root
oneshot
service mmi-touch-sh /system/bin/init.mmi.touch.sh
service mmi-touch-sh /system/vendor/bin/init.mmi.touch.sh
class core
user root
oneshot
service oem-hw-sh /system/bin/init.oem.hw.sh
service oem-hw-sh /system/vendor/bin/init.oem.hw.sh
class core
user root
oneshot
# Sanders uses qcom sensor service
service sensors /system/bin/sensors.qcom
service sensors /system/vendor/bin/sensors.qcom
class core
user root
group root
@@ -293,6 +305,14 @@ on property:sys.wifi.tethering=true
on property:sys.wifi.tethering=false
write /sys/class/net/rmnet_data0/queues/rx-0/rps_cpus ${sys.rmnet_vnd.rps_mask}
write /sys/module/wlan/parameters/fwpath apdown
#Override fwpath string when wpa_supplicant server was killed
on property:init.svc.wpa_supplicant=running
write /sys/module/wlan/parameters/fwpath sta
on property:init.svc.wpa_supplicant=stopped
write /sys/module/wlan/parameters/fwpath wpadown
on property:ro.bootmode=normal
write /sys/module/usb3813_hub/parameters/boost_val 3

View File

@@ -60,17 +60,17 @@ case $mode in
"normal")
logi "inserting the radio transport module"
echo 1 > /sys/module/radio_iris_transport/parameters/fmsmd_set
/system/bin/fm_qsoc_patches $version 0
/system/vendor/bin/fm_qsoc_patches $version 0
;;
"wa_enable")
/system/bin/fm_qsoc_patches $version 1
/system/vendor/bin/fm_qsoc_patches $version 1
;;
"wa_disable")
/system/bin/fm_qsoc_patches $version 2
/system/vendor/bin/fm_qsoc_patches $version 2
;;
*)
logi "Shell: Default case"
/system/bin/fm_qsoc_patches $version 0
/system/vendor/bin/fm_qsoc_patches $version 0
;;
esac

View File

@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
import init.mmi.rc
import /vendor/etc/init/hw/init.mmi.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
@@ -34,6 +34,8 @@ on early-init
mkdir /system 0777 root root
symlink /data/tombstones /tombstones
mkdir /dsp 0771 media media
chown root system /dev/kmsg
chmod 0620 /dev/kmsg
on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
@@ -60,7 +62,7 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
# Set permissions for persist partition
mkdir /persist 0771 system system
mkdir /persist 0771 root system
# Create cgroup mount point for memory
mkdir /sys/fs/cgroup/memory/bg 0750 root system
@@ -74,6 +76,7 @@ on early-boot
setrlimit 8 67108864 67108864
# Allow subsystem (modem etc) debugging
write /sys/kernel/boot_adsp/boot 1
write /sys/kernel/boot_cdsp/boot 1
# Motorola uses external sensorhub, do not boot the slpi
# write /sys/kernel/boot_slpi/boot 1
@@ -94,6 +97,11 @@ on boot
chown bluetooth bluetooth /sys/module/hci_uart/parameters/ath_btwrite
chown system system /sys/module/sco/parameters/disable_esco
chown bluetooth bluetooth /sys/module/hci_smd/parameters/hcismd_set
chown system system /sys/module/msm_core/parameters/polling_interval
chown system system /sys/module/msm_core/parameters/disabled
chown system system /sys/kernel/debug/msm_core/enable
chown system system /sys/kernel/debug/msm_core/ptable
chown system system /sys/kernel/boot_slpi/ssr
chown system system /sys/module/radio_iris_transport/parameters/fmsmd_set
chmod 0660 /sys/module/bluetooth_power/parameters/power
chmod 0660 /sys/module/hci_smd/parameters/hcismd_set
@@ -147,6 +155,7 @@ on boot
mkdir /persist/misc 0770 system system
mkdir /persist/alarm 0770 system system
mkdir /persist/time 0770 system system
mkdir /persist/secnvm 0770 system system
#Create NETMGR daemon socket area
mkdir /dev/socket/netmgr 0750 radio radio
@@ -180,10 +189,10 @@ on boot
setprop net.tcp.2g_init_rwnd 10
# Assign TCP buffer thresholds to be ceiling value of technology maximums
# Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 8388608
write /proc/sys/net/core/wmem_max 8388608
# Assign TCP buffer thresholds to be ceiling value of technology maximums
# Increased technology maximums should be reflected here.
write /proc/sys/net/core/rmem_max 16777216
write /proc/sys/net/core/wmem_max 16777216
# To prevent out of order acknowledgements from making
# connection tracking to treat them as not belonging to
@@ -273,6 +282,12 @@ on boot
# Wifi firmware reload path
chown wifi wifi /sys/module/wlan/parameters/fwpath
# Create directory used for display
mkdir /persist/display 0770 system graphics
# Create vpp directory
mkdir /persist/vpp 0770 media media
# msm specific files that need to be created on /data
on post-fs-data
mkdir /tombstones/modem 0771 system system
@@ -290,9 +305,29 @@ on post-fs-data
mkdir /data/misc/stargate/calib_test 0770 system system
mkdir /data/misc/stargate/database 0770 system system
mkdir /data/vendor/misc 01771 system system
# Create directory used by display clients
mkdir /data/vendor/display 0770 system graphics
# Change lm related dirs
mkdir /data/vendor/lm 0700 root root
# Create directory used by media clients
mkdir /data/vendor/media 0770 mediacodec media
# Create directory used for camera
mkdir /data/vendor/camera 0770 camera camera
# Create directory for TZ Apps
mkdir /data/misc/qsee 0770 system system
# Create directory for apps access via QTEEConnector
mkdir /data/vendor/qtee 0770 system system
# Create directory for voiceprint
mkdir /data/misc/qvop 0771 system system
#Create folder for mm-qcamera-daemon
mkdir /data/misc/camera 0770 camera camera
@@ -301,7 +336,9 @@ on post-fs-data
mkdir /data/misc/ipa 0700 net_admin net_admin
mkdir /data/misc/bluetooth 0770 bluetooth bluetooth
mkdir /data/vendor/ramdump 0771 root system
mkdir /data/vendor/bluetooth 0770 bluetooth bluetooth
mkdir /data/vendor/ramdump/bluetooth 0770 bluetooth bluetooth
# Create the directories used by the Wireless subsystem
mkdir /data/vendor/wifi 0770 wifi wifi
@@ -323,6 +360,10 @@ on post-fs-data
mkdir /data/misc/netmgr 0770 radio radio
chmod 0770 /data/misc/netmgr
#create ipacm log dir
mkdir /data/vendor/ipa 0770 radio radio
chmod 0770 /data/vendor/ipa
# Create the directories used by CnE subsystem
mkdir /data/connectivity 0771 system system
chown system system /data/connectivity
@@ -335,21 +376,18 @@ on post-fs-data
chown system system /data/dpm/nsrm
# Create directory used by audio subsystem
mkdir /data/misc/audio 0770 audio audio
mkdir /data/vendor/misc/audio 0770 audio audio
# Create directory for audio delta files
mkdir /data/misc/audio/acdbdata 0770 media audio
mkdir /data/misc/audio/acdbdata/delta 0770 media audio
mkdir /data/vendor/misc/audio/acdbdata 0770 media audio
mkdir /data/vendor/misc/audio/acdbdata/delta 0770 media audio
# Create directory used by the DASH client
mkdir /data/misc/dash 0770 media audio
# Create directory used by display clients
mkdir /data/misc/display 0770 system graphics
# Mounting of persist is moved to 'on emmc-fs' and 'on fs' sections
# We chown/chmod /persist again so because mount is run as root + defaults
chown system system /persist
chown root system /persist
chmod 0771 /persist
chown system system /persist/WCNSS_qcom_wlan_nv.bin
chmod 0664 /sys/devices/platform/msm_sdcc.1/polling
@@ -386,14 +424,17 @@ on post-fs-data
#Create directory for hostapd
mkdir /data/hostapd 0770 system wifi
# Create /data/time folder for time-services
mkdir /data/time/ 0700 system system
# Create /data/vendor/time folder for time-services
mkdir /data/vendor/time/ 0700 system system
mkdir /data/vendor/audio/ 0770 media audio
# Create a folder for audio delta files
mkdir /data/audio/acdbdata 0770 media audio
mkdir /data/audio/acdbdata/delta 0770 media audio
mkdir /data/vendor/audio/acdbdata 0770 media audio
mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
#Create a folder for SRS to be able to create a usercfg file
mkdir /data/data/media 0770 media media
@@ -449,7 +490,7 @@ on property:persist.usb.chgdisabled=1
on property:persist.usb.chgdisabled=0
write /sys/class/power_supply/battery/charging_enabled 1
service qseecomd /system/bin/qseecomd
service qseecomd /system/vendor/bin/qseecomd
class core
user root
group root
@@ -464,7 +505,7 @@ service thermal-engine /system/vendor/bin/thermal-engine
group root
writepid /dev/cpuset/system-background/tasks
service time_daemon /system/bin/time_daemon
service time_daemon /system/vendor/bin/time_daemon
class late_start
user root
group root
@@ -482,7 +523,7 @@ on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
#start camera server as daemon
service qcamerasvr /system/bin/mm-qcamera-daemon
service qcamerasvr /system/vendor/bin/mm-qcamera-daemon
class late_start
user camera
group camera system inet input graphics
@@ -520,7 +561,7 @@ service irsc_util /system/vendor/bin/irsc_util "/system/vendor/etc/sec_config"
user root
oneshot
service ims_rtp_daemon /system/bin/ims_rtp_daemon
service ims_rtp_daemon /system/vendor/bin/ims_rtp_daemon
class main
user system
socket ims_rtpd stream 0660 system radio
@@ -530,7 +571,7 @@ service ims_rtp_daemon /system/bin/ims_rtp_daemon
on property:sys.ims.DATA_DAEMON_STATUS=1
start ims_rtp_daemon
service imscmservice /system/bin/imscmservice
service imscmservice /system/vendor/bin/imscmservice
class main
user system
group radio diag log
@@ -540,7 +581,7 @@ service imscmservice /system/bin/imscmservice
on property:sys.ims.DATA_DAEMON_STATUS=1
start imscmservice
service imsdatadaemon /system/bin/imsdatadaemon
service imsdatadaemon /system/vendor/bin/imsdatadaemon
class main
user system
socket ims_datad stream 0660 system radio
@@ -551,14 +592,14 @@ service imsdatadaemon /system/bin/imsdatadaemon
on property:sys.ims.QMI_DAEMON_STATUS=1
start imsdatadaemon
service imsqmidaemon /system/bin/imsqmidaemon
service imsqmidaemon /system/vendor/bin/imsqmidaemon
class main
user system
socket ims_qmid stream 0660 system radio
group radio log diag
writepid /dev/cpuset/system-background/tasks
service rmt_storage /system/bin/rmt_storage
service rmt_storage /system/vendor/bin/rmt_storage
class core
user root
writepid /dev/cpuset/system-background/tasks
@@ -588,24 +629,24 @@ service hci_filter_root /system/bin/wcnss_filter
disabled
#net_admin capability needed to write rfkill sysfs entry
service fmhal_service /system/bin/fmhal_service
service fmhal_service /system/vendor/bin/fmhal_service
class late_start
user bluetooth
group bluetooth net_bt_admin net_admin
disabled
service tftp_server /system/bin/tftp_server
service tftp_server /system/vendor/bin/tftp_server
class core
user root
writepid /dev/cpuset/system-background/tasks
service per_mgr /system/bin/pm-service
service per_mgr /system/vendor/bin/pm-service
class core
user system
group system net_raw
writepid /dev/cpuset/system-background/tasks
service per_proxy /system/bin/pm-proxy
service per_proxy /system/vendor/bin/pm-proxy
class core
user system
group system
@@ -627,13 +668,13 @@ service config_bt_addr /system/vendor/bin/btnvtool -O
group bluetooth radio
oneshot
service config_bluetooth /system/bin/sh /system/etc/init.qcom.bt.sh "onboot"
service config_bluetooth /system/bin/sh /system/vendor/etc/init.qcom.bt.sh "onboot"
class core
user bluetooth
group bluetooth system
oneshot
service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
service hciattach /system/bin/sh /system/vendor/etc/init.qcom.bt.sh
class late_start
user bluetooth
group bluetooth net_bt_admin
@@ -653,26 +694,12 @@ service btsnoop /system/bin/btsnoop
disabled
oneshot
service ftmd /system/bin/ftmdaemon
class late_start
user root
group bluetooth net_bt_admin misc bluetooth diag net_bt
disabled
oneshot
service port-bridge /system/bin/port-bridge
class main
user radio system
group radio system inet
disabled
oneshot
service netmgrd /system/bin/netmgrd
service netmgrd /system/vendor/bin/netmgrd
class main
group radio system wakelock
writepid /dev/cpuset/system-background/tasks
service ipacm-diag /system/bin/ipacm-diag
service ipacm-diag /system/vendor/bin/ipacm-diag
class main
user system
socket ipacm_log_file dgram 660 system net_admin
@@ -812,7 +839,7 @@ service loc_launcher /system/vendor/bin/loc_launcher
group gps inet oem_2950 wifi
writepid /dev/cpuset/system-background/tasks
service fm_dl /system/bin/sh /system/etc/init.qcom.fm.sh
service fm_dl /system/bin/sh /system/vendor/bin/init.qcom.fm.sh
class late_start
user system
group system
@@ -823,7 +850,7 @@ on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko
service qcom-sh /system/bin/sh /init.qcom.sh
service qcom-sh /system/bin/sh /system/vendor/bin/init.qcom.sh
class late_start
user root
oneshot
@@ -843,7 +870,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
group radio cache inet misc audio log readproc wakelock
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service ssr_setup /system/bin/ssr_setup
service ssr_setup /system/vendor/bin/ssr_setup
oneshot
disabled

View File

@@ -32,6 +32,7 @@
/dev/ttydiag2 0660 system oem_2950
/dev/genlock 0666 system system
/dev/wlan 0660 wifi wifi
/dev/kgsl 0666 system system
/dev/kgsl-3d0 0666 system system
/dev/kgsl-2d0 0666 root root
@@ -45,15 +46,23 @@
/dev/smd6 0660 system system
/dev/smd7 0660 bluetooth bluetooth
/dev/ccid_bridge 0660 system system
/dev/ipa 0660 system net_admin
/dev/wwan_ioctl 0660 system net_admin
/dev/ipaNatTable 0660 net_admin net_admin
/dev/ipa 0660 radio radio
/dev/wwan_ioctl 0660 radio radio
/dev/ipaNatTable 0660 radio radio
/dev/rmnet_ctrl 0660 usb usb
/dev/dpl_ctrl 0660 usb usb
#permissions for CSVT
/dev/smd11 0660 radio radio
#permsissions for BT/FM
/dev/smd2 0660 bluetooth bluetooth
/dev/smd3 0660 bluetooth bluetooth
/dev/btpower 0660 bluetooth system
#permissions for pta
/dev/pta 0660 system system
/dev/radio0 0640 system system
/dev/rfcomm0 0660 bluetooth bluetooth
/dev/ttyUSB0 0660 bluetooth bluetooth
@@ -113,6 +122,7 @@
/dev/media* 0660 system camera
/dev/v4l-subdev* 0660 system camera
/dev/qseecom 0660 system drmrpc
/dev/smcinvoke 0660 system system
/dev/qsee_ipc_irq_spss 0660 system drmrpc
/dev/seemplog 0660 system system
/dev/pft 0660 system drmrpc
@@ -134,6 +144,7 @@
/dev/wcnss_ctrl 0660 system system
/sys/devices/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus 0660 system system
/sys/devices/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus 0660 system system
/dev/spidev0.0 0660 system audio
/dev/msm_camera/* 0660 system camera
/dev/gemini/ 0660 system camera
/dev/mercury0 0660 system camera
@@ -146,6 +157,7 @@
/dev/sdsprpc-smd 0660 system system
#permissions for audio
/dev/wcd_dsp0_control 0660 system audio
/dev/wcd-dsp-glink 0660 system audio
/dev/audio_slimslave 0660 system audio
/dev/msm_qcelp 0660 system audio
@@ -162,7 +174,8 @@
/dev/msm_aac_in 0660 system audio
/dev/msm_qcelp_in 0660 system audio
/dev/msm_evrc_in 0660 system audio
/dev/msm_amrnb_in 0640 system audio
/dev/msm_amrnb_in 0660 system audio
/dev/msm_amrwb_in 0660 system audio
/dev/msm_a2dp_in 0660 system audio
/dev/msm_ac3 0660 system audio
/dev/msm_audio_cal 0660 system audio
@@ -174,8 +187,6 @@
/dev/msm_preproc_ctl 0660 system audio
/dev/msm_rtac 0660 system audio
/dev/msm_voicememo 0660 system audio
/dev/smd3 0660 bluetooth bluetooth
/dev/smd2 0660 bluetooth bluetooth
/dev/ttyHSL1 0660 system system
/dev/ttyHS1 0660 system system
/dev/mdm 0660 system radio
@@ -237,8 +248,9 @@
/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input* secure_touch_enable 0660 system drmrpc
# laser sensor access
/sys/devices/virtual/input/input* enable_ps_sensor 0660 system system
/sys/devices/virtual/input/input* set_delay_ms 0660 system system
/sys/devices/virtual/input/input* enable_ps_sensor 0660 system input
/sys/devices/virtual/input/input* set_delay_ms 0660 system input
/sys/devices/virtual/input/input* do_flush 0660 system input
# vm_bms
/dev/vm_bms 0660 system system
@@ -250,6 +262,13 @@
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system
# wigig
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
#nfc permissions
/dev/nfc-nci 0660 nfc nfc
/dev/nq-nci 0660 nfc nfc
@@ -286,6 +305,9 @@
/dev/block/platform/soc/624000.ufshc/by-name/frp 0600 system system
/dev/block/bootdevice/by-name/frp 0600 system system
# Kmsg device
/dev/kmsg 0620 root system
# I2C
/dev/i2c-* 0660 system system