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/hw_random 0600 root root 54/dev/sdsprpc-smd 0660 system system 55 56/dev/wcd-dsp-glink 0660 system audio 57/dev/wcd_dsp0_control 0660 system audio 58/dev/wcd-spi-ac-client 0660 system audio 59 60/dev/msm_qcelp 0660 system audio 61/dev/msm_evrc 0660 system audio 62/dev/msm_wma 0660 system audio 63/dev/msm_wmapro 0660 system audio 64/dev/msm_alac 0660 system audio 65/dev/msm_ape 0660 system audio 66/dev/msm_amrnb 0660 system audio 67/dev/msm_amrwb 0660 system audio 68/dev/msm_amrwbplus 0660 system audio 69/dev/msm_aac 0660 system audio 70/dev/msm_mp3* 0660 system audio 71/dev/msm_multi_aac 0660 system audio 72/dev/msm_aac_in 0660 system audio 73/dev/msm_qcelp_in 0660 system audio 74/dev/msm_evrc_in 0660 system audio 75/dev/msm_amrnb_in 0640 system audio 76/dev/msm_a2dp_in 0660 system audio 77/dev/msm_ac3 0660 system audio 78/dev/msm_cirrus_playback 0660 system audio 79/dev/msm_audio_cal 0660 system audio 80/dev/msm_hweffects 0660 system audio 81/dev/msm_rtac 0660 system audio 82 83/dev/i2c-5 0660 media media 84/dev/avtimer 0660 system audio 85 86/dev/uio0 0660 system system 87/dev/uio1 0660 system system 88 89# SSR devices 90/dev/subsys_* 0640 system system 91 92# Ramdump devices 93/dev/ramdump_* 0640 system system 94 95# BT 96/dev/ttyMSM0 0600 bluetooth bluetooth 97/dev/ttyHS0 0660 bluetooth net_bt 98/dev/btpower 0660 bluetooth net_bt 99 100#nfc permissions 101/dev/nq-nci 0660 nfc nfc 102 103#eSE device 104/dev/pn81a 0660 secure_element secure_element 105 106# Citadel 107/dev/citadel0 0660 hsm hsm 108 109# fpc fingerprint 110/sys/devices/platform/soc/soc:fp_fpc* irq 0600 system system 111/sys/devices/platform/soc/soc:fp_fpc* wakeup_enable 0200 system system 112/sys/devices/platform/soc/soc:fp_fpc* hw_reset 0600 system system 113 114# Easel 115/dev/easelcomm-client 0666 cameraserver camera 116/dev/mnh_sm 0666 cameraserver camera 117 118# Storage: for factory reset protection feature 119/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0660 system system 120 121# fuel gauge history 122/dev/maxfg_history 0644 system system 123