1# 2# Copyright (C) 2016 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17# The modem image is mounted at /vendor/firmware_mnt 18firmware_directories /vendor/firmware_mnt/image/ 19 20# the DIAG device node is not world writable/readable. 21/dev/diag 0660 system diag 22 23/dev/wlan 0666 system system 24/dev/kgsl-3d0 0666 system system 25/dev/ion 0664 system system 26/dev/rtc0 0660 system system 27/dev/smd7 0660 bluetooth bluetooth 28/dev/ipa 0660 system radio 29/dev/wwan_ioctl 0660 system radio 30/dev/ipaNatTable 0660 system radio 31/dev/rmnet_ctrl 0660 usb usb 32 33#permissions for CSVT 34/dev/smd11 0660 radio radio 35 36/dev/smdcntl8 0640 radio radio 37/dev/at_usb0 0640 radio radio 38/dev/at_mdm0 0640 radio radio 39 40/dev/video* 0660 system camera 41/dev/media* 0660 system camera 42/dev/v4l-subdev* 0660 system camera 43 44/dev/qseecom 0660 system drmrpc 45/dev/qsee_ipc_irq_spss 0660 system drmrpc 46/dev/seemplog 0660 system system 47/dev/spcom 0660 system system 48 49/dev/jpeg0 0660 system camera 50/dev/adsprpc-smd 0664 system system 51/dev/adsprpc-smd-secure 0644 system system 52 53/dev/sdsprpc-smd 0660 system system 54 55/dev/wcd-dsp-glink 0660 system audio 56/dev/wcd_dsp0_control 0660 system audio 57/dev/wcd-spi-ac-client 0660 system audio 58 59/dev/msm_qcelp 0660 system audio 60/dev/msm_evrc 0660 system audio 61/dev/msm_wma 0660 system audio 62/dev/msm_wmapro 0660 system audio 63/dev/msm_alac 0660 system audio 64/dev/msm_ape 0660 system audio 65/dev/msm_amrnb 0660 system audio 66/dev/msm_amrwb 0660 system audio 67/dev/msm_amrwbplus 0660 system audio 68/dev/msm_aac 0660 system audio 69/dev/msm_mp3* 0660 system audio 70/dev/msm_multi_aac 0660 system audio 71/dev/msm_aac_in 0660 system audio 72/dev/msm_qcelp_in 0660 system audio 73/dev/msm_evrc_in 0660 system audio 74/dev/msm_amrnb_in 0640 system audio 75/dev/msm_a2dp_in 0660 system audio 76/dev/msm_ac3 0660 system audio 77/dev/msm_cirrus_playback 0660 system audio 78/dev/msm_audio_cal 0660 system audio 79/dev/msm_hweffects 0660 system audio 80/dev/msm_rtac 0660 system audio 81 82/dev/i2c-5 0660 media media 83/dev/avtimer 0660 system audio 84 85/dev/uio0 0660 system system 86/dev/uio1 0660 system system 87 88# SSR devices 89/dev/subsys_* 0640 system system 90 91# Ramdump devices 92/dev/ramdump_* 0640 system system 93 94# BT 95/dev/ttyMSM0 0600 bluetooth bluetooth 96/dev/ttyHS0 0660 bluetooth net_bt 97/dev/btpower 0660 bluetooth net_bt 98 99#nfc permissions 100/dev/nq-nci 0660 nfc nfc 101 102#eSE device 103/dev/pn81a 0660 secure_element secure_element 104 105# Citadel 106/dev/citadel0 0660 hsm hsm 107 108# fpc fingerprint 109/sys/devices/platform/soc/soc:fp_fpc* irq 0600 system system 110/sys/devices/platform/soc/soc:fp_fpc* wakeup_enable 0200 system system 111/sys/devices/platform/soc/soc:fp_fpc* hw_reset 0600 system system 112 113# Easel 114/dev/easelcomm-client 0666 cameraserver camera 115/dev/mnh_sm 0666 cameraserver camera 116 117# Storage: for factory reset protection feature 118/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0660 system system 119 120# fuel gauge history 121/dev/maxfg_history 0644 system system 122 123# Resume-on-Reboot 124/dev/access-kregistry 0660 system system 125 126# Input 127/sys/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.1.auto/usb1/1-1/*/*/leds/* brightness 0660 system system 128/sys/devices/platform/soc/a600000.ssusb/a600000.dwc3/xhci-hcd.1.auto/usb1/1-1/*/*/leds/* multi_intensity 0660 system system 129