# GPU device /dev/kgsl-3d0 u:object_r:gpu_device:s0 /dev/kgsl u:object_r:gpu_device:s0 # Bluetooth /dev/ttyHS99 u:object_r:hci_attach_dev:s0 # nfc /dev/bcm2079x u:object_r:nfc_device:s0 # Used by keystore to access trustzone /dev/qseecom u:object_r:tee_device:s0 # GPS /dev/gss u:object_r:sensors_device:s0 # WLAN /dev/wcnss_wlan u:object_r:wlan_device:s0 # Image Rotator Driver /dev/msm_rotator u:object_r:video_device:s0 # Qualcomm MSM Interface (QMI) devices /dev/socket/qmux_audio(/.*)? u:object_r:qmuxd_socket:s0 /dev/socket/qmux_bluetooth(/.*)? u:object_r:qmuxd_socket:s0 /dev/socket/qmux_gps(/.*)? u:object_r:qmuxd_socket:s0 /dev/socket/qmux_radio(/.*)? u:object_r:qmuxd_socket:s0 /dev/diag u:object_r:diag_device:s0 # Block labeling /dev/block/mmcblk0 u:object_r:root_block_device:s0 /dev/block/mmcblk0rpmb u:object_r:drm_block_device:s0 /dev/block/platform/msm_sdcc\.1/by-name/modemst1 u:object_r:modem_block_device:s0 /dev/block/platform/msm_sdcc\.1/by-name/modemst2 u:object_r:modem_block_device:s0 /dev/block/platform/msm_sdcc\.1/by-name/fsc u:object_r:modem_block_device:s0 /dev/block/platform/msm_sdcc\.1/by-name/fsg u:object_r:modem_block_device:s0 /dev/block/platform/msm_sdcc\.1/by-name/ssd u:object_r:ssd_block_device:s0 # CPU governor controls /dev/socket/mpdecision(/.*)? u:object_r:mpdecision_socket:s0 ## Radio related # modem driver /dev/mdm u:object_r:radio_device:s0 # high speed inter-chip controls /dev/hsicctl[0-3] u:object_r:radio_device:s0 # mux controller /dev/rmnet_mux_ctrl u:object_r:radio_device:s0 # qmi protocol driver /dev/qmi[0-2] u:object_r:radio_device:s0 # shared memory drivers /dev/smdcntl[0-7] u:object_r:radio_device:s0 # subsystem_ramdump related device nodes /dev/ramdump_.* u:object_r:ramdump_device:s0 # Default label for shared memory drivers /dev/smd([0-9])+ u:object_r:smd_device:s0 /dev/smem_log u:object_r:shared_log_device:s0 # Serial-to-Usb support /dev/ttyUSB0 u:object_r:radio_device:s0 # Jpeg Engine support /dev/gemini.* u:object_r:camera_device:s0 # MSM camera related /dev/v4l-subdev.* u:object_r:camera_device:s0 /dev/video([0-9])+ u:object_r:camera_device:s0 /dev/msm_camera(/.*)? u:object_r:camera_device:s0 /dev/media([0-9])+ u:object_r:camera_device:s0 /dev/jpeg([0-9])+ u:object_r:camera_device:s0 # Qualcomm MSM Audio devices /dev/msm_acdb u:object_r:audio_device:s0 /dev/msm_mp3 u:object_r:audio_device:s0 /dev/msm_rtac u:object_r:audio_device:s0 /dev/msm_vidc.* u:object_r:audio_device:s0 /dev/msm_amrnb.* u:object_r:audio_device:s0 /dev/msm_amrwb.* u:object_r:audio_device:s0 /dev/msm_aac.* u:object_r:audio_device:s0 # MSM Dedicated Sensors Processor Subsystem /dev/msm_dsps u:object_r:sensors_device:s0 # Sensors shared Memory Packet Interface /dev/smd_sns_dsps u:object_r:sensors_device:s0 /dev/sensors u:object_r:sensors_device:s0 # Sensor socket /dev/socket/sensor_ctl_socket u:object_r:sensors_socket:s0 /dev/cpu_dma_latency u:object_r:power_control_device:s0 /dev/rtc0 u:object_r:rtc:s0 /data/cam_socket[0-9] u:object_r:camera_socket:s0 /data/diag_logs(/.*)? u:object_r:diag_logs:s0 /data/nfc(/.*)? u:object_r:nfc_data_file:s0 /data/misc/sensors(/.*)? u:object_r:sensors_data_file:s0 /data/system/sensors(/.*)? u:object_r:sensors_data_file:s0 /data/misc/playready(/.*)? u:object_r:drm_data_file:s0 /data/fdAlbum u:object_r:camera_data_file:s0 /data/system/time(/.*)? u:object_r:time_data_file:s0 /data/tombstones/ramdump(/.*)? u:object_r:ramdump_data_file:s0 # rmt_storage is a qualcomm specific daemon responsible # for servicing modem filesystem requests. /system/bin/rmt_storage u:object_r:rmt_exec:s0 /system/bin/bdAddrLoader u:object_r:bluetooth_loader_exec:s0 /system/bin/bridgemgrd u:object_r:bridge_exec:s0 /system/bin/qmuxd u:object_r:qmux_exec:s0 /system/bin/netmgrd u:object_r:netmgrd_exec:s0 /system/bin/mpdecision u:object_r:mpdecision_exec:s0 /system/bin/sensors\.qcom u:object_r:sensors_exec:s0 /system/bin/mm-qcamera-daemon u:object_r:camera_exec:s0 /system/bin/qseecomd u:object_r:tee_exec:s0 /system/bin/subsystem_ramdump u:object_r:ssr_exec:s0 /system/bin/thermal-engine-hh u:object_r:thermald_exec:s0 /system/vendor/bin/vss_init u:object_r:vss_exec:s0 /system/bin/time_daemon u:object_r:time_exec:s0 /system/bin/irsc_util u:object_r:irsc_util_exec:s0 # Persist firmware filesystem /persist(/.*)? u:object_r:persist_file:s0 /persist/bluetooth(/.*)? u:object_r:persist_bluetooth_file:s0 /persist/camera_calibration(/.*)? u:object_r:persist_camera_file:s0 /persist/data(/.*)? u:object_r:persist_data_file:s0 /persist/sensors(/.*)? u:object_r:persist_sensors_file:s0 /persist/playready(/.*)? u:object_r:persist_drm_file:s0 /persist/widevine(/.*)? u:object_r:persist_drm_file:s0 /persist/wifi(/.*)? u:object_r:persist_wifi_file:s0 # Sysfs entry for the RmNet function driver /sys/class/android_usb/f_rmnet_smd_sdio/transport -- u:object_r:sysfs_rmnet:s0 /sys/devices/virtual/android_usb/android0/f_rmnet_smd_sdio/transport -- u:object_r:sysfs_rmnet:s0 # Sysfs files used by mpdecision /sys/module/pm2/modes(/.*)? u:object_r:sysfs_mpdecision:s0 /sys/module/pm_8x60/modes(/.*)? u:object_r:sysfs_mpdecision:s0 # Sysfs files used by surfaceflinger /sys/devices/virtual/graphics/fb1/hpd -- u:object_r:sysfs_surfaceflinger:s0 /sys/devices/virtual/graphics/fb1/vendor_name -- u:object_r:sysfs_surfaceflinger:s0 /sys/devices/virtual/graphics/fb1/product_description -- u:object_r:sysfs_surfaceflinger:s0 # Sysfs files used by qmuxd /sys/devices/virtual/smdpkt/smdcntl([0-9])+/open_timeout u:object_r:sysfs_smdcntl_open_timeout:s0 # Bluetooth /sys/devices/platform/bluetooth_rfkill/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0 # Thermal engine /dev/msm_thermal_query u:object_r:thermal_engine_device:s0