1# 2# Copyright (C) 2018 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/dev/dpl_ctrl 0660 usb usb 33/dev/ipa_odl_ctl 0660 radio radio 34/dev/ipa_adpl 0660 system oem_2905 35 36#permissions for CSVT 37/dev/smd11 0660 radio radio 38 39/dev/smdcntl8 0640 radio radio 40/dev/at_usb0 0640 radio radio 41/dev/at_mdm0 0640 radio radio 42 43/dev/video* 0660 system camera 44/dev/media* 0660 system camera 45/dev/v4l-subdev* 0660 system camera 46 47/dev/qseecom 0660 system drmrpc 48/dev/qsee_ipc_irq_spss 0660 system drmrpc 49/dev/smcinvoke 0660 system drmrpc 50/dev/qce 0660 system drmrpc 51/dev/seemplog 0660 system system 52/dev/spcom 0660 system system 53/dev/sp_kernel 0660 system system 54/dev/sp_ssr 0660 system system 55/dev/sp_keymaster 0660 system system 56/dev/sec_nvm_* 0660 system system 57 58/dev/jpeg0 0660 system camera 59/dev/adsprpc-smd 0664 system system 60/dev/adsprpc-smd-secure 0644 system system 61 62/dev/hw_random 0600 root root 63/dev/sdsprpc-smd 0660 system system 64 65/dev/wcd-dsp-glink 0660 system audio 66/dev/wcd_dsp0_control 0660 system audio 67/dev/wcd-spi-ac-client 0660 system audio 68/dev/iaxxx-odsp-celldrv 0660 system audio 69/dev/tunnel0 0660 system audio 70 71/dev/msm_qcelp 0660 system audio 72/dev/msm_evrc 0660 system audio 73/dev/msm_wma 0660 system audio 74/dev/msm_wmapro 0660 system audio 75/dev/msm_alac 0660 system audio 76/dev/msm_ape 0660 system audio 77/dev/msm_amrnb 0660 system audio 78/dev/msm_amrwb 0660 system audio 79/dev/msm_amrwbplus 0660 system audio 80/dev/msm_aac 0660 system audio 81/dev/msm_mp3* 0660 system audio 82/dev/msm_multi_aac 0660 system audio 83/dev/msm_aac_in 0660 system audio 84/dev/msm_qcelp_in 0660 system audio 85/dev/msm_evrc_in 0660 system audio 86/dev/msm_amrnb_in 0640 system audio 87/dev/msm_a2dp_in 0660 system audio 88/dev/msm_ac3 0660 system audio 89/dev/msm_audio_cal 0660 system audio 90/dev/msm_hweffects 0660 system audio 91/dev/msm_rtac 0660 system audio 92/dev/msm_cirrus_playback 0660 system audio 93 94/dev/i2c-5 0660 media media 95/dev/avtimer 0660 system audio 96 97/dev/uio0 0660 system system 98/dev/uio1 0660 system system 99 100# SSR devices 101/dev/subsys_* 0640 system system 102 103# Ramdump devices 104/dev/ramdump_* 0640 system system 105 106# Citadel 107/dev/citadel0 0660 hsm hsm 108 109# Storage: for factory reset protection feature 110/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0660 system system 111 112# fuel gauge history 113/dev/maxfg_history 0644 system system 114 115# BT 116/dev/ttyMSM0 0600 bluetooth bluetooth 117/dev/ttyHS0 0660 bluetooth net_bt 118/dev/btpower 0660 bluetooth net_bt 119 120# NFC 121/dev/st21nfc 0660 nfc nfc 122 123#eSE device 124/dev/st54j_se 0660 secure_element secure_element 125 126# Airbrush 127/dev/ab_sm 0600 vendor_airbrush vendor_airbrush 128 129# TPU 130/dev/abc-pcie-tpu_0 0660 system system 131 132# Face Authentication 133/dev/faceauth 0660 system system 134 135# IPU 136/dev/ipu 0666 cameraserver camera 137 138# AB DRAM 139/dev/ab-dram 0666 cameraserver camera 140 141# ABC PCIE DMA 142/dev/abc-pcie-dma 0666 cameraserver camera 143 144# fpc fingerprint 145/sys/devices/platform/soc/soc:fp_fpc* irq 0600 system system 146/sys/devices/platform/soc/soc:fp_fpc* wakeup_enable 0200 system system 147/sys/devices/platform/soc/soc:fp_fpc* hw_reset 0600 system system 148 149# logbuffer 150/dev/logbuffer_tcpm 0640 system system 151/dev/logbuffer_usbpd 0640 system system 152/dev/logbuffer_pps 0640 system system 153/dev/logbuffer_ssoc 0640 system system 154/dev/logbuffer_smblib 0640 system system 155/dev/logbuffer_ttf 0640 system system 156/dev/logbuffer_wireless 0640 system system 157/dev/logbuffer_rtx 0640 system system 158