1 /data/cam_socket[23] u:object_r:camera_socket:s0 2 /data/diag_logs(/.*)? u:object_r:diag_logs:s0 3 /data/misc/radio(/.*)? u:object_r:radio_data_file:s0 4 /data/nfc(/.*)? u:object_r:nfc_data_file:s0 5 /data/time(/.*)? u:object_r:time_data_file:s0 6 /data/misc/location/gsiff(/.*)? u:object_r:gsiffd_data_file:s0 7 /data/misc/location/quipc(/.*)? u:object_r:quipc_data_file:s0 8 /data/ss-ram-dumps(/.*)? u:object_r:ram_dump_logs:s0 9 /data/adspd(/.*)? u:object_r:adspd_data_file:s0 10 /data/misc/audio_cutback(/.*)? u:object_r:audio_cutback_data_file:s0 11 12 # TODO move out of /data/system 13 /data/system/dropbox-add(/.*)? u:object_r:dropbox_data_file:s0 14 15 # Bluetooth 16 /dev/ttyHS0 u:object_r:hci_attach_dev:s0 17 18 # Audio DSP devices 19 /dev/ttyHS3 u:object_r:adspd_device:s0 20 21 #Serial console 22 /dev/ttyHSL0 u:object_r:console_device:s0 23 24 # GPU device 25 /dev/kgsl-3d0 u:object_r:gpu_device:s0 26 /dev/kgsl u:object_r:gpu_device:s0 27 28 # Mdm_Helper devices 29 /dev/efs_hsic_bridge u:object_r:mdm_helper_device:s0 30 /dev/ks_hsic_bridge u:object_r:mdm_helper_device:s0 31 32 # factory reset protection partition 33 /dev/block/platform/msm_sdcc\.1/by-name/frp u:object_r:frp_block_device:s0 34 35 # /persist 36 /dev/block/platform/msm_sdcc\.1/by-name/persist u:object_r:persist_block_device:s0 37 38 # mdm1hob, mdm1dhob 39 /dev/block/platform/msm_sdcc.1/by-name/mdm1hob u:object_r:modem_hob_block_device:s0 40 /dev/block/platform/msm_sdcc.1/by-name/mdm1dhob u:object_r:modem_hob_block_device:s0 41 42 # efs1, efs2, efs3 (/fsg), efsc 43 /dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs1 u:object_r:efs_block_device:s0 44 /dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs2 u:object_r:efs_block_device:s0 45 /dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefs3 u:object_r:efs_block_device:s0 46 /dev/block/platform/msm_sdcc.1/by-name/mdm1m9kefsc u:object_r:efs_block_device:s0 47 48 /dev/block/platform/msm_sdcc\.1/by-name/system u:object_r:system_block_device:s0 49 /dev/block/platform/msm_sdcc\.1/by-name/recovery u:object_r:recovery_block_device:s0 50 /dev/block/platform/msm_sdcc\.1/by-name/boot u:object_r:boot_block_device:s0 51 /dev/block/platform/msm_sdcc\.1/by-name/userdata u:object_r:userdata_block_device:s0 52 /dev/block/platform/msm_sdcc\.1/by-name/metadata u:object_r:metadata_block_device:s0 53 /dev/block/platform/msm_sdcc\.1/by-name/cache u:object_r:cache_block_device:s0 54 /dev/block/platform/msm_sdcc\.1/by-name/misc u:object_r:misc_block_device:s0 55 56 # Customer Identifier 57 /dev/block/platform/msm_sdcc.1/by-name/cid u:object_r:cid_block_device:s0 58 59 # tee devices 60 /dev/block/mmcblk0rpmb u:object_r:drm_block_device:s0 61 /dev/block/mmcblk0p34 u:object_r:drm_block_device:s0 62 63 # Used by keystore to access trustzone 64 /dev/qseecom u:object_r:tee_device:s0 65 66 # Should only be on userdebug device 67 /dev/diag u:object_r:diag_device:s0 68 /dev/ttydiag2 u:object_r:diag_device:s0 69 /dev/ramdump_.* u:object_r:ramdump_device:s0 70 71 # MSM camera related 72 /dev/media([0-9])+ u:object_r:video_device:s0 73 /dev/jpeg[0-9]* u:object_r:video_device:s0 74 75 /dev/bcm2079x-i2c u:object_r:nfc_device:s0 76 77 # Radio/modem devices 78 /dev/esoc-0 u:object_r:radio_device:s0 79 /dev/hsicctl([0-9])+ u:object_r:radio_device:s0 80 /dev/subsys_esoc0 u:object_r:radio_device:s0 81 82 /dev/sensors u:object_r:sensors_device:s0 83 84 /dev/socket/adspdsock u:object_r:adspd_socket:s0 85 /dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0 86 /dev/socket/mpdecision(/.*)? u:object_r:mpdecision_socket:s0 87 88 #Add context for IMS Socket node 89 /dev/socket/ims_qmid u:object_r:ims_socket:s0 90 /dev/socket/ims_datad u:object_r:ims_socket:s0 91 /dev/socket/ims_rtpd u:object_r:ims_socket:s0 92 93 # Shared memory log 94 /dev/smem_log u:object_r:shared_log_device:s0 95 96 /dev/cpu_dma_latency u:object_r:power_control_device:s0 97 98 # Thermal engine 99 /dev/msm_thermal_query u:object_r:thermal_engine_device:s0 100 101 # Qualcomm MSM Audio devices 102 /dev/msm_acdb u:object_r:audio_device:s0 103 /dev/msm_rtac u:object_r:audio_device:s0 104 105 # Qualcomm MSM Interface (QMI) devices 106 /dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0 107 /dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0 108 /dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0 109 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 110 111 /dev/v4l-subdev[0-9]* u:object_r:video_device:s0 112 113 # Persist firmware filesystem 114 /persist(/.*)? u:object_r:persist_file:s0 115 /persist/data(/.*)? u:object_r:persist_data_file:s0 116 /persist/data/tz(/.*)? u:object_r:persist_drm_file:s0 117 /persist/data/sfs(/.*)? u:object_r:persist_drm_file:s0 118 /persist/sensors(/.*)? u:object_r:persist_sensors_file:s0 119 /persist/mdm(/.*)? u:object_r:persist_modem_file:s0 120 /persist/public/hiddenmenu(/.*)? u:object_r:persist_hiddenmenu_file:s0 121 122 #/system binaries 123 /system/bin/adspd u:object_r:adspd_exec:s0 124 /system/bin/bdAddrLoader u:object_r:bluetooth_loader_exec:s0 125 /system/bin/bridgemgrd u:object_r:bridge_exec:s0 126 /system/vendor/bin/gsiff_daemon u:object_r:gsiffd_exec:s0 127 /system/bin/init\.mmi\.touch\.sh u:object_r:mmi_touch_sh_exec:s0 128 /system/bin/irsc_util u:object_r:irsc_util_exec:s0 129 /system/bin/ks u:object_r:mdm_helper_exec:s0 130 /system/bin/mdm_helper u:object_r:mdm_helper_exec:s0 131 /system/bin/mdm_helper_proxy u:object_r:mdm_helper_exec:s0 132 /system/bin/mm-qcamera-daemon u:object_r:camera_exec:s0 133 /system/bin/mpdecision u:object_r:mpdecision_exec:s0 134 /system/bin/netmgrd u:object_r:netmgrd_exec:s0 135 /system/bin/qmuxd u:object_r:qmux_exec:s0 136 /system/bin/qseecomd u:object_r:tee_exec:s0 137 /system/bin/sensors\.qcom u:object_r:sensors_exec:s0 138 /system/bin/subsystem_ramdump u:object_r:ss_ramdump_exec:s0 139 /system/bin/thermal-engine u:object_r:thermald_exec:s0 140 /system/bin/time_daemon u:object_r:time_exec:s0 141 /system/bin/tcmd_mini u:object_r:tcmd_exec:s0 142 /system/bin/ATFWD-daemon u:object_r:atfwd_exec:s0 143 144 # Bluetooth 145 /sys/class/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 146 147 # Sysfs entry for the RmNet function driver 148 /sys/class/android_usb/f_rmnet_smd_sdio/transport -- u:object_r:sysfs_rmnet:s0 149 /sys/devices/virtual/android_usb/android0/f_rmnet_smd_sdio/transport -- u:object_r:sysfs_rmnet:s0 150 151 # Sysfs files used by qmuxd 152 /sys/devices/virtual/smdpkt/smdcntl([0-9])+/open_timeout u:object_r:sysfs_smdcntl_open_timeout:s0 153 154 /sys/devices/f9200000\.ssusb(/.*)? u:object_r:sysfs_usb:s0 155 156 # mmi_touch related /sys files 157 /sys/devices/f9966000\.i2c/i2c-1/1-004a(/.*)? u:object_r:sysfs_mmi_touch:s0 158 159 /sys/devices/f9925000\.i2c/i2c-0/0-001c/power_supply/battery/capacity u:object_r:sysfs_batteryinfo:s0 160 161 # Context for mpdecision 162 /sys/module/msm_thermal/core_control/cpus_offlined u:object_r:sysfs_mpdecision:s0 163 /sys/devices/system/cpu/cpu0/rq-stats(/.*)? u:object_r:sysfs_rqstats:s0 164 /sys/module/cpu_boost/parameters(/.*)? u:object_r:sysfs_cpuboost:s0 165 166 /sys/bus/platform/drivers/xhci_msm_hsic(/.*)? u:object_r:sysfs_xhci_msm_hsic:s0 167 /sys/devices/msm_hsic_host/host_ready u:object_r:sysfs_msm_hsic_host:s0 168 169 /sys/devices/cycapsense_prog.1/cycapsense_fw u:object_r:sysfs_capsense_update:s0 170 /sys/devices/mmi_sar_ctrl.[0-9]*/sar_wifi u:object_r:sysfs_sar_wifi:s0 171 172 # wifi mac address 173 /sys/devices/virtual/net/wlan0/address u:object_r:sysfs_mac_address:s0 174 175 /system/bin/imsdatadaemon u:object_r:ims_exec:s0 176 /system/bin/imsqmidaemon u:object_r:ims_exec:s0 177 /system/bin/ims_rtp_daemon u:object_r:ims_exec:s0 178 179 /dev/socket/cnd u:object_r:cnd_socket:s0 180 /system/bin/cnd u:object_r:cnd_exec:s0 181