# Copyright (c) 2012-2015, 2017-2021, The Linux Foundation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#     * Redistributions in binary form must reproduce the above copyright
#       notice, this list of conditions and the following disclaimer in the
#       documentation and/or other materials provided with the distribution.
#     * Neither the name of The Linux Foundation nor
#       the names of its contributors may be used to endorse or promote
#       products derived from this software without specific prior written
#       permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
# NON-INFRINGEMENT ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
#
# Changes from Qualcomm Innovation Center are provided under the following license:
# Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted (subject to the limitations in the
# disclaimer below) provided that the following conditions are met:
#
#     * Redistributions of source code must retain the above copyright
#       notice, this list of conditions and the following disclaimer.
#
#     * Redistributions in binary form must reproduce the above
#       copyright notice, this list of conditions and the following
#       disclaimer in the documentation and/or other materials provided
#       with the distribution.
#
#     * Neither the name of Qualcomm Innovation Center, Inc. nor the names of
#       its contributors may be used to endorse or promote products derived
#       from this software without specific prior written permission.
#
# NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE
# GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT
# HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
# IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


#Import rc file
import /vendor/etc/ueventd.qcom.userdebug.rc


# Firmware directory Path
# Below macro will be read by uevent and path will
# be added to search path for firmware loading
firmware_directories /vendor/firmware_mnt/image/ /vendor/firmware-modem/image/

subsystem dma_heap
    devname uevent_devpath
    dirname /dev/dma_heap

subsystem mem_buf_vm
    devname uevent_devpath
    dirname /dev/mem_buf_vm
	
subsystem ipc_logging
    devname uevent_devpath
    dirname /dev/ipc_logging

# the DIAG device node is not world writable/readable.
/dev/input/event*         0660   system     input
/dev/diag                 0660   system     oem_2901
/dev/mhi_*_pipe_4         0660   system     system

/dev/genlock              0666   system     system
/dev/wlan                 0660   wifi       wifi
/dev/kgsl                 0666   system     system
/dev/kgsl-3d0             0666   system     system
/dev/kgsl-2d0             0666   root       root
/dev/kgsl-2d1             0666   root       root
/dev/ion                  0664   system     system
/dev/membuf               0664   system     system
/dev/mem_buf_vm/*         0444   system     system
/dev/dma_heap/qcom,*      0444   system     system
/dev/rtc0                 0660   system     system
/dev/smd0                 0660   system     system
/dev/smd4                 0660   system     system_ext_bridge_rw
/dev/smd_cxm_qmi          0640   radio      radio
/dev/smd5                 0660   system     system
/dev/smd6                 0660   system     system
/dev/smd7                 0660   bluetooth  bluetooth
/dev/ccid_bridge          0660   system     system
/dev/ipa                  0660   radio      radio
/dev/wwan_ioctl           0660   radio      radio
/dev/ipa_lnx_stats_ioctl  0640   radio      radio
/dev/ipaNatTable          0660   radio      radio
/dev/rmnet_ctrl           0660   usb        usb
/dev/dpl_ctrl             0660   usb        usb
/dev/ipa_odl_ctl          0660   radio      radio
/dev/ipa_adpl             0660   system     oem_2905
/dev/synx_device          0660   root       camera
/dev/ubwcp                0660   root       camera
/dev/hab                  0666   system     system
/dev/iio:device*          0664   system     system
/dev/qmc_dma              0660   radio      radio
/dev/qmc_cma              0660   radio      radio

#permissions for UFS RPMB BSG device node
/dev/0:0:0:49476          0600   system     system

# dev ril bridge
/dev/drb                  0660   system     radio

# SSR node for SRIL
/sys/devices/platform/soc/4080000.remoteproc-mss	ssr	0660	system	radio

# ipc_logging nodes
/dev/ipc_logging/*        0440   system     radio

#permissions for USB
/dev/usb_mtp_gadget      0660     system        mtp
/dev/android_ssusbcon    0660     system        system
/sys/class/android_usb/android0  f_rndis/ethaddr      0660  system   system
/sys/class/android_usb/android0  terminal_version     0660  system   system

#permissions for UVDM
/dev/ccic_misc           0664     system        usb

#permissions for MUIC
/sys/class/sec/switch      otg_test               0664     system        radio
/sys/class/sec/switch      uart_sel               0664     system        radio
/sys/class/sec/switch      usb_sel                0664     system        radio
/sys/class/sec/switch      afc_disable            0664     system        radio
/sys/class/sec/switch      apo_factory            0664     system        radio
/sys/class/sec/switch      afc_set_voltage        0664     system        radio
/sys/class/sec/switch      vbus_value             0444     system        radio
/sys/class/sec/switch      vbus_value_pd          0444     system        radio
/sys/class/sec/switch      hiccup                 0644     system        radio

#permissions for CCIC
/sys/class/sec/ccic      lpm_mode                 0644     system        radio

#permissions for CCIC control option
/sys/class/sec/ccic      ccic_control_option      0644     system        radio
/sys/class/sec/ccic      fw_update                0220     system        radio
/sys/class/sec/ccic      control_gpio             0644     system        radio
/sys/class/sec/ccic      hmd_power                0220     system        system
/sys/class/sec/ccic      dex_fan_uvdm             0220     root          root

#permissions for Host notify
/sys/class/host_notify/usb_otg      booster      0660     system        radio

#permissions for usb notify
/sys/class/usb_notify/usb_control   disable      0660     system        radio

#permissions usb whitelist
/sys/class/usb_notify/usb_control   whitelist_for_mdm      0664     system        usb

#permissions secure_lock
/sys/class/usb_notify/usb_control   usb_sl      0664     system        usb

#permissions for GPT listener on LUN4
/dev/0:0:0:4              0600   system     root

#permissions for CSVT
/dev/smd11                0660   radio      radio

#permsissions for BT/FM
/dev/smd2                 0660   bluetooth  bluetooth
/dev/smd3                 0660   bluetooth  bluetooth
/dev/btpower              0660   bluetooth  system
/dev/btfmslim             0660   bluetooth  system
/dev/bt_cp_ctrl           0660   bluetooth  system
/dev/btfmcodec_dev        0660   bluetooth  system

#permissions for pta
/dev/pta                  0660   system     system

/dev/radio0               0640   system     system
/dev/rfcomm0              0660   bluetooth  bluetooth
/dev/ttyUSB0              0660   bluetooth  bluetooth
/dev/smdcntl0             0640   radio      radio
/dev/smdcntl1             0640   radio      radio
/dev/smdcntl2             0640   radio      radio
/dev/smdcntl3             0640   radio      radio
/dev/smdcntl4             0640   radio      radio
/dev/smdcntl5             0640   radio      radio
/dev/smdcntl6             0640   radio      radio
/dev/smdcntl7             0640   radio      radio
/dev/smdcntl8             0640   radio      radio
/dev/smdcnt_rev0          0640   radio      radio
/dev/smdcnt_rev1          0640   radio      radio
/dev/smdcnt_rev2          0640   radio      radio
/dev/smdcnt_rev3          0640   radio      radio
/dev/smdcnt_rev4          0640   radio      radio
/dev/smdcnt_rev5          0640   radio      radio
/dev/smdcnt_rev6          0640   radio      radio
/dev/smdcnt_rev7          0640   radio      radio
/dev/smdcnt_rev8          0640   radio      radio
/dev/smuxctl32            0640   radio      radio
/dev/sdioctl0             0640   radio      radio
/dev/sdioctl1             0640   radio      radio
/dev/sdioctl2             0640   radio      radio
/dev/sdioctl3             0640   radio      radio
/dev/sdioctl4             0640   radio      radio
/dev/sdioctl5             0640   radio      radio
/dev/sdioctl6             0640   radio      radio
/dev/sdioctl7             0640   radio      radio
/dev/sdioctl8             0640   radio      radio
/dev/rmnet_mux_ctrl       0640   radio      radio
/dev/hsicctl0             0640   radio      radio
/dev/hsicctl1             0640   radio      radio
/dev/hsicctl2             0640   radio      radio
/dev/hsicctl3             0640   radio      radio
/dev/hsicctl4             0640   radio      radio
/dev/hsicctl5             0640   radio      radio
/dev/hsicctl6             0640   radio      radio
/dev/hsicctl7             0640   radio      radio
/dev/hsicctl8             0640   radio      radio
/dev/hsicctl9             0640   radio      radio
/dev/hsicctl10            0640   radio      radio
/dev/hsicctl11            0640   radio      radio
/dev/hsicctl12            0640   radio      radio
/dev/hsicctl13            0640   radio      radio
/dev/hsicctl14            0640   radio      radio
/dev/hsicctl15            0640   radio      radio
/dev/hsicctl16            0640   radio      radio
/dev/mhi_*_pipe_14        0640   radio      radio
/dev/mhi_*_pipe_16        0640   radio      radio
/dev/mhi_*_pipe_32        0640   radio      radio
/dev/at_usb0              0640   radio      radio
/dev/at_mdm0              0640   system     radio
/dev/video*               0660   system     camera
/dev/cvp*                 0660   system     camera
/dev/media*               0660   system     camera
/dev/v4l-subdev*          0660   system     camera
/dev/qseecom              0660   system     drmrpc
/dev/qce                  0660   system     drmrpc
/dev/smcinvoke            0660   system     drmrpc
/dev/qsee_ipc_irq_spss    0660   system     drmrpc
/dev/qti-smmu-proxy       0660   system     system
/dev/seemplog             0660   system     system
/dev/pft                  0660   system     drmrpc
/dev/spcom                0660   system     system
/dev/spss_utils           0660   system     system
/dev/sp_kernel            0660   system     system
/dev/sp_nvm               0660   system     system
/dev/sp_ssr               0660   system     system
/dev/sp_keymaster         0660   system     system
/dev/sp_keymaster_ssr     0660   system     system
/dev/sec_nvm_*            0660   system     system
/dev/cryptoapp            0660   system     system
/dev/spdaemon_ssr         0660   system     system
/dev/spu_hal_ssr          0660   system     system
/dev/iuicc*               0660   system     system
/dev/gemini0              0660   system     camera
/dev/jpeg0                0660   system     camera
/dev/jpeg1                0660   system     camera
/dev/jpeg2                0660   system     camera
/dev/jpeg3                0660   system     camera
/dev/adsprpc-smd          0664   system     system
/dev/adsprpc-smd-secure   0644   system     system
/dev/system_health_monitor 0644  radio      system
/dev/mdss_rotator         0664   system     system
/dev/spec_sync            0660   system     system

#QDSS
/dev/byte-cntr            0660   system    oem_2902
/dev/byte-cntr1            0660   system    oem_2902
/dev/mhi_qdss             0660   system    oem_2902
/sys/class/qdss_bridge/mhi_qdss  mode      0660     system   oem_2902

#qg
/dev/qg                   0660  system     system
/dev/qg_battery           0660  system     system

#qvr
/dev/qvr_external_sensor_ioctl      0660  system  system
/sys/kernel/qvr_external_sensor/fd  0660  system  system
/dev/bus/usb/001/002      0660   system     system
/dev/bus/usb/001/003      0660   system     system
/dev/bus/usb/001/004      0660   system     system
/dev/bus/usb/001/005      0660   system     system
/dev/bus/usb/002/002      0660   system     system
/dev/bus/usb/002/003      0660   system     system
/dev/bus/usb/002/004      0660   system     system
/dev/bus/usb/002/005      0660   system     system
/dev/bus/usb/003/002      0660   system     system
/dev/bus/usb/003/003      0660   system     system
/dev/bus/usb/003/004      0660   system     system
/dev/bus/usb/003/005      0660   system     system
/dev/hidraw*              0660   system     system

# wlan
/dev/wcnss_wlan           0660   system     system
/dev/wcnss_ctrl           0660   system     system
/sys/devices/soc/a000000.qcom,wcnss-wlan/net/wlan0/queues/rx-* rps_cpus           0660   system     system
/sys/devices/soc/a000000.qcom,wcnss-wlan/net/p2p0/queues/rx-* rps_cpus            0660   system     system
/sys/devices/platform/soc/18800000.qcom,icnss/net/wlan*/queues/rx-* rps_cpus      0660   system     system
/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus      0660   system     system
/dev/spidev0.0            0660   system     audio
/dev/i2c-7                0660   system     audio
/dev/msm_camera/*         0660   system     camera
/dev/gemini/              0660   system     camera
/dev/mercury0             0660   system     camera
/dev/msm_vidc_reg         0660   system     audio
/dev/msm_vidc_dec         0660   system     audio
/dev/msm_vidc_dec_sec     0660   system     audio
/dev/msm_vidc_enc         0660   system     audio
/dev/msm_rotator          0660   system     system
/dev/sdsprpc-smd          0660   system     system

#permissions for audio
/dev/wcd_dsp0_control     0660   system     audio
/dev/wcd-dsp-glink        0660   system     audio
/dev/audio_slimslave      0660   system     audio
/dev/msm_qcelp            0660   system     audio
/dev/msm_evrc             0660   system     audio
/dev/msm_wma              0660   system     audio
/dev/msm_wmapro           0660   system     audio
/dev/msm_alac             0660   system     audio
/dev/msm_ape              0660   system     audio
/dev/msm_amrnb            0660   system     audio
/dev/msm_amrwb            0660   system     audio
/dev/msm_amrwbplus        0660   system     audio
/dev/msm_aac              0660   system     audio
/dev/msm_multi_aac        0660   system     audio
/dev/msm_aac_in           0660   system     audio
/dev/msm_qcelp_in         0660   system     audio
/dev/msm_evrc_in          0660   system     audio
/dev/msm_amrnb_in         0660   system     audio
/dev/msm_amrwb_in         0660   system     audio
/dev/msm_a2dp_in          0660   system     audio
/dev/msm_ac3              0660   system     audio
/dev/msm_audio_cal        0660   system     audio
/dev/msm_hweffects        0660   system     audio
/dev/msm_cad              0660   system     audio
/dev/msm_fm               0660   system     audio
/dev/msm_mvs              0660   system     audio
/dev/msm_pcm_lp_dec       0660   system     audio
/dev/msm_preproc_ctl      0660   system     audio
/dev/msm_rtac             0660   system     audio
/dev/msm_voicememo        0660   system     audio
/dev/aud_pasthru_adsp     0660   system     audio
/dev/msm_audio_ion_cma    0660   system     audio
/dev/msm_audio_ion        0660   system     audio
/dev/ttyHSL1              0660   system     system
/dev/ttyHS1               0660   system     system
/dev/ttyHS5               0660   root       radio
/dev/mdm                  0660   system     radio
/sys/devices/virtual/smdpkt/smdcntl*       open_timeout   0664 radio radio
/dev/sdio_tty_ciq_00      0660   system     system
/dev/tty_sdio_00          0660   system     system
/dev/ttyGS0               0660   system     system
/dev/i2c-5                0660   media       media
/dev/avtimer              0660   system     audio
/dev/spidev2.0            0660   system     audio
/dev/msm_adsp_sleepmon    0660   system     audio

# DVB devices
/dev/dvb/adapter0/demux*  0440   media       media
/dev/dvb/adapter0/dvr*    0660   media       media
/dev/dvb/adapter0/video*  0660   media       media

# Broadcast devices
/dev/tsc_mux0             0660   media       media
/dev/tsc_ci0              0660   media       media

# PROCA dev config
/dev/proca_config         0440   system     system

# sensors
/dev/sensors              0660   system     system
/sys/devices/i2c-12/12-*  pollrate_ms 0664 system system
/sys/devices/f9925000.i2c/i2c-0/0-*                 enable         0660    input    system
/sys/devices/f9925000.i2c/i2c-0/0-*                 poll_delay     0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            enable         0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            poll_delay     0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            enable_wakeup  0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            max_latency    0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            flush          0660    input    system
/sys/devices/soc.0/78b6000.i2c/i2c-0/0-*            calibrate      0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            enable         0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            poll_delay     0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            enable_wakeup  0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            max_latency    0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            flush          0660    input    system
/sys/devices/soc.0/78b5000.i2c/i2c-1/1-*            calibrate      0660    input    system
/sys/devices/virtual/optical_sensors/proximity      ps_adc         0660    input    system
/sys/devices/virtual/optical_sensors/proximity      ps_poll_delay  0660    input    system
/sys/devices/virtual/optical_sensors/lightsensor    ls_auto        0660    input    system
/sys/devices/virtual/optical_sensors/lightsensor    ls_poll_delay  0660    input    system
/sys/devices/virtual/input/input*                   poll           0660    input    system
/sys/devices/virtual/input/input*                   pollrate_ms    0660    input    system
/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input*    secure_touch         0440   system  drmrpc
/sys/devices/soc/78b7000.i2c/i2c-3/3-0020/input/input*    secure_touch_enable  0660   system  drmrpc
/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input*    secure_touch         0440   system  drmrpc
/sys/devices/soc/78b7000.i2c/i2c-3/3-0038/input/input*    secure_touch_enable  0660   system  drmrpc
/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input*    secure_touch         0440   system  drmrpc
/sys/devices/soc/78b7000.i2c/i2c-3/3-004b/input/input*    secure_touch_enable  0660   system  drmrpc
/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input*    secure_touch         0440   system  drmrpc
/sys/devices/soc/c179000.i2c/i2c-5/5-0020/input/input*    secure_touch_enable  0660   system  drmrpc
/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input*  secure_touch          0440 system drmrpc
/sys/devices/platform/soc/a98000.i2c/i2c-2/2-0020/input/input*  secure_touch_enable   0660 system drmrpc
/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input*  secure_touch          0440 system drmrpc
/sys/devices/platform/soc/a84000.i2c/i2c-2/2-0020/input/input*  secure_touch_enable   0660 system drmrpc

# Range Sensor
/dev/range_sensor	0660	system system

/sys/class/sensors/range_sensor	ambient		0440	 system	radio
/sys/class/sensors/range_sensor	cal01		0440	 system	radio
/sys/class/sensors/range_sensor	cal02		0440	 system	radio
/sys/class/sensors/range_sensor	cal_uid		0440	 system	radio
/sys/class/sensors/range_sensor	calibration	0660	 system	radio
/sys/class/sensors/range_sensor	open_calibration	0660	 system	radio
/sys/class/sensors/range_sensor	enable		0660	 system	radio
/sys/class/sensors/range_sensor	frame_rate	0440	 system	radio
/sys/class/sensors/range_sensor	fw_version	0440	 system	radio
/sys/class/sensors/range_sensor	mode		0440	 system	radio
/sys/class/sensors/range_sensor	name		0440	 system	radio
/sys/class/sensors/range_sensor	range_sigma	0440	 system	radio
/sys/class/sensors/range_sensor	status		0440	 system	radio
/sys/class/sensors/range_sensor	target_status	0440	 system	radio
/sys/class/sensors/range_sensor	temp		0440	 system	radio
/sys/class/sensors/range_sensor	test01		0440	 system	radio
/sys/class/sensors/range_sensor	test02		0440	 system	radio
/sys/class/sensors/range_sensor	test03		0440	 system	radio
/sys/class/sensors/range_sensor	test_mode	0660	 system	radio
/sys/class/sensors/range_sensor	uid			0440	 system	radio
/sys/class/sensors/range_sensor	vendor		0440	 system	radio
/sys/class/sensors/range_sensor	zone		0440	 system	radio

# GNSS Device premissions
/dev/gnss_sirf             0660   gps     gps

# laser sensor access
/sys/devices/virtual/input/input*                   enable_ps_sensor 0660  system   input
/sys/devices/virtual/input/input*                   set_delay_ms     0660  system   input
/sys/devices/virtual/input/input*                   do_flush         0660  system   input

# vm_bms
/dev/vm_bms               0660   system     system
/dev/battery_data         0660   system     system

# wlan
/dev/wcnss_wlan           0660   system     system
/dev/wcnss_ctrl           0660   system     system
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan0/queues/rx-* rps_cpus 0660 system system
/sys/devices/soc/600000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/p2p0/queues/rx-* rps_cpus 0660 system system

# wigig
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system

#nfc permissions
/dev/nfc-nci              0660    nfc         nfc
/dev/nq-nci               0660    nfc         nfc
/dev/assd                 0660    nfc         nfc
/dev/st21nfc              0660    nfc         nfc

# eSE permissions
/dev/st54spi_gpio         0660   system     system

# UIO devices
/dev/uio0                 0660   system     system
/dev/uio1                 0660   system     system
/dev/uio2                 0660   system     system

# SSR devices
/dev/subsys_*         0640   system     system

# remoteproc devices
/dev/remoteproc*      0640   system     system

# Ultrasound device
/dev/usf1                 0660   system     system

# Ramdump devices
/dev/ramdump*             0640   system     system

# Fingerprint device
/dev/qbt*                 0660   system     system
/sys/class/fts/touch_aoi aoi_set 0660 root system
/sys/class/fts/touch_aoi power_set 0660 root system

#ImproveTouch device
/dev/hbtp_input           0660   system     system
/dev/hbtp_vm              0660   system     system

# LegacyTouch device
/sys/kernel/qts/primary/trusted_touch*    0660   system     system
/sys/kernel/qts/secondary/trusted_touch*  0660   system     system

# Add device block for FRP
/dev/block/platform/soc/7824900.sdhci/by-name/config    0600   system     system
/dev/block/platform/soc/7464900.sdhci/by-name/frp       0600   system     system
/dev/block/platform/soc/624000.ufshc/by-name/frp        0600   system     system
/dev/block/platform/soc/1da4000.ufshc/by-name/frp       0600   system     system
/dev/block/platform/soc/c0c4000.sdhci/by-name/frp       0600   system     system
/dev/block/platform/soc/1d84000.ufshc/by-name/frp       0600   system     system
/dev/block/platform/soc/7c4000.sdhci/by-name/frp        0600   system     system
/dev/block/platform/soc/4744000.sdhci/by-name/frp       0600   system     system
/dev/block/platform/soc/4804000.ufshc/by-name/frp       0600   system     system

# This is temporary while using SD card for initial bring-up
/dev/block/platform/soc/8804000.sdhci/by-name/frp       0600   system     system

# Google FRP solution
/dev/block/platform/soc/1d84000.ufshc/by-name/persistent    0660    system    system

# Reactivation lock
/dev/block/platform/soc/1d84000.ufshc/by-name/steady    0660    system    system

# Param permission
/dev/block/platform/soc/1d84000.ufshc/by-name/param     0660   root       system

# Kmsg device
/dev/kmsg                                               0620   root       system

# LED class devices
/sys/class/leds/red      delay_on     0640    system    system
/sys/class/leds/red      delay_off    0640    system    system
/sys/class/leds/red      breath       0640    system    system
/sys/class/leds/red      repeat       0640    system    system
/sys/class/leds/red      hw_pattern   0640    system    system
/sys/class/leds/red      trigger      0640    system    system
/sys/class/leds/green    delay_on     0640    system    system
/sys/class/leds/green    delay_off    0640    system    system
/sys/class/leds/green    breath       0640    system    system
/sys/class/leds/green    trigger      0640    system    system
/sys/class/leds/green    repeat       0640    system    system
/sys/class/leds/green    hw_pattern   0640    system    system
/sys/class/leds/blue     delay_on     0640    system    system
/sys/class/leds/blue     delay_off    0640    system    system
/sys/class/leds/blue     breath       0640    system    system
/sys/class/leds/blue     trigger      0640    system    system
/sys/class/leds/blue     repeat       0640    system    system
/sys/class/leds/blue     hw_pattern   0640    system    system

# NPU device
/dev/msm_npu             0644   system     system

# USB role switch
/sys/class/dual_role_usb/*	data_role	0660	system	system
/sys/class/dual_role_usb/*	power_role	0660	system	system
/sys/class/dual_role_usb/*	mode		0660	system	system

/sys/class/typec/port0		data_role	0660	system	usb
/sys/class/typec/port0		power_role	0660	system	usb
/sys/class/typec/port0		port_type	0660	system	usb
/sys/class/typec/port0-partner	accessory_mode	0440	system	usb

# USB Dynamic Disable
/sys/bus/platform/devices/a600000.ssusb	dynamic_disable	0220	root	usb

# USB autosuspend/wakeup settings
/sys/bus/usb/devices/*      power/autosuspend          0660  system  usb
/sys/bus/usb/devices/*      power/autosuspend_delay_ms 0660  system  usb
/sys/bus/usb/devices/*      power/control              0660  system  usb
/sys/bus/usb/devices/*      power/wakeup               0660  system  usb

#USB root hub authorize setting
/sys/bus/usb/devices/usb*   authorized                 0660  system  usb

#USB mode setting
/sys/bus/platform/devices/a600000.ssusb    mode        0660  system  usb

#Memory Offline
/sys/devices/system/memory/memory* state    0660 system system

/sys/devices/virtual/hdcp/msm_hdcp  min_level_change 0664    system  graphics

#KGSL
/sys/class/kgsl/kgsl-3d0    perfcounter              0660    root    shell

# sys-fs display
/sys/class/graphics/fb*     hpd                      0664    system  graphics
/sys/class/graphics/fb*     res_info                 0664    system  graphics
/sys/class/graphics/fb*     vendor_name              0664    system  graphics
/sys/class/graphics/fb*     product_description      0664    system  graphics
/sys/class/graphics/fb*     video_mode               0664    system  graphics
/sys/class/graphics/fb*     format_3d                0664    system  graphics
/sys/class/graphics/fb*     s3d_mode                 0664    system  graphics
/sys/class/graphics/fb*     dynamic_fps              0664    system  graphics
/sys/class/graphics/fb*     msm_fb_dfps_mode         0664    system  graphics
/sys/class/graphics/fb*     hdr_stream               0664    system  graphics
/sys/class/graphics/fb*     cec/enable               0664    system  graphics
/sys/class/graphics/fb*     cec/logical_addr         0664    system  graphics
/sys/class/graphics/fb*     cec/rd_msg               0664    system  graphics
/sys/class/graphics/fb*     pa                       0664    system  graphics
/sys/class/graphics/fb*     cec/wr_msg               0600    system  graphics
/sys/class/graphics/fb*     hdcp/tp                  0664    system  graphics
/sys/class/graphics/fb*     hdcp2p2/min_level_change 0660    system  graphics
/sys/class/graphics/fb*     hdmi_audio_cb            0600    audioserver audio

/sys/class/graphics/fb*     lineptr_value            0664    system  graphics
/sys/class/graphics/fb*     msm_fb_persist_mode      0664    system  graphics

/sys/class/graphics/fb0     idle_time                0664    system  graphics
/sys/class/graphics/fb0     dynamic_fps              0664    system  graphics
/sys/class/graphics/fb0     dyn_pu                   0664    system  graphics
/sys/class/graphics/fb0     modes                    0664    system  graphics
/sys/class/graphics/fb0     mode                     0664    system  graphics
/sys/class/graphics/fb0     msm_cmd_autorefresh_en   0664    system  graphics
*/

/sys/devices/platform/soc/ae00000.qcom,mdss_mdp power/control 0664 system graphics

#asm330 sensor
#common sensors files
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   buffer/enable                   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   buffer/length                   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   buffer/watermark                0664   system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   discharded_samples              0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   current_timestamp_clock         0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   hwfifo_flush                    0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   hwfifo_watermark                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   hwfifo_watermark_max            0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   mount_matrix                    0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   name                            0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   sampling_frequency              0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   sampling_frequency_available    0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_timestamp_en   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_timestamp_index 0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_timestamp_type 0664    system  system

# standard iio accel attributes
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_scale_available        0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_x_raw                  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_x_scale                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_y_raw                  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_y_scale                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_z_raw                  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_accel_z_scale                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_x_en     0664   system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_x_index  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_x_type   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_y_en     0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_y_index  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_y_type   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_z_en     0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_z_index  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_accel_z_type   0664    system  system

# standard iio gyro attributes
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_scale_available      0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_x_raw                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_x_scale              0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_y_raw                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_y_scale              0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_z_raw                0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_anglvel_z_scale              0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_x_en   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_x_index 0664   system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_x_type  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_y_en    0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_y_index 0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_y_type  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_z_en    0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_z_index 0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   scan_elements/in_anglvel_z_type  0664    system  system


# standard iio temp attributes
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_temp_offset                  0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_temp_raw                     0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_temp_scale                   0664    system  system
/sys/devices/platform/soc/*.i2c/i2c-*/*-*/iio:device*   in_temp_scale_available         0664    system  system

# devcoredump data attributes
/sys/class/devcoredump/devcd*                           data                            0660    system  system

#Virtualization Attributes
/dev/gunyah                 0666   root     root

# Q2SPI UWB device
/dev/q2spiuwb    0660    uwb    uwb

# flicker sensor
/sys/class/sensors/als_rear    name                    0444    system    radio
/sys/class/sensors/als_rear    vendor                  0444    system    radio
/sys/class/sensors/als_rear    part_type               0444    system    radio
/sys/class/sensors/als_rear    device_id               0444    system    radio
/sys/class/sensors/als_rear    als_flush               0220    system    radio
/sys/class/sensors/als_rear    write_reg               0220    system    system
/sys/class/sensors/als_rear    read_reg                0664    system    system
/sys/class/sensors/als_rear    eol_mode                0664    system    system
/sys/class/sensors/als_rear    als_factory_cmd         0444    system    system
/sys/class/sensors/als_rear    als_red                 0444    system    system
/sys/class/sensors/als_rear    als_green               0444    system    system
/sys/class/sensors/als_rear    als_blue                0444    system    system
/sys/class/sensors/als_rear    als_ir                  0444    system    system
/sys/class/sensors/als_rear    als_clear               0444    system    system
/sys/class/sensors/als_rear    als_wideband            0444    system    system
/sys/class/sensors/als_rear    als_version             0444    system    system
/sys/class/sensors/als_rear    als_raw_data            0444    system    system
/sys/class/sensors/als_rear    als_debug               0664    system    system
/sys/class/sensors/als_rear    flicker_data            0444    system    system
/sys/class/sensors/als_rear    i2c_err_cnt             0664    system    system
/sys/class/sensors/als_rear    int_pin_check           0444    system    system
/sys/class/sensors/als_rear    mode_cnt                0664    system    system
/sys/class/sensors/als_rear    curr_adc                0664    system    system
/sys/class/sensors/als_rear    sensor_info             0444    system    system
/sys/class/sensors/als_rear    als_enable              0664    system    system
/sys/class/sensors/als_rear    als_data                0444    system    system
/dev/als_rear                                          0600    system    system
/sys/devices/virtual/input/input*    enable            0660    system    input
/sys/devices/virtual/input/input*    poll_delay        0660    system    input

# Camera Start
# Camera::Rear Start
# Camera::Rear1
/sys/class/camera/rear    companion_ic_check        0444    system    system
/sys/class/camera/rear    isp_core                  0664    system    system
/sys/class/camera/rear    rear_camfw                0664    system    system
/sys/class/camera/rear    rear_camfw_full           0664    system    system
/sys/class/camera/rear    rear_camfw_load           0664    system    system
/sys/class/camera/rear    rear_camtype              0444    system    system
/sys/class/camera/rear    rear_companionfw_full     0664    system    system
/sys/class/camera/rear    rear_calcheck             0664    system    system
/sys/class/camera/rear    rear_fwcheck              0664    system    system
/sys/class/camera/rear    rear_checkfw_user         0664    system    system
/sys/class/camera/rear    rear_checkfw_factory      0664    system    system
/sys/class/camera/rear    rear_moduleinfo           0664    system    system
/sys/class/camera/rear    rear_afcal                0444    system    system
/sys/class/camera/rear    rear_caminfo              0664    system    system
/sys/class/camera/rear    rear_sensorid_exif        0664    system    system
/sys/class/camera/rear    rear_moduleid             0444    system    system
/sys/class/camera/rear    rear_mtf_exif             0664    system    system
/sys/class/camera/rear    rear_mtf2_exif            0664    system    system
/sys/class/camera/rear    rear_paf_offset_mid       0444    system    system
/sys/class/camera/rear    rear_paf_offset_far       0444    system    system
/sys/class/camera/rear    rear_paf_cal_check        0444    system    system
/sys/class/camera/rear    rear_f2_paf_offset_mid    0444    system    system
/sys/class/camera/rear    rear_f2_paf_offset_far    0444    system    system
/sys/class/camera/rear    rear_f2_paf_cal_check     0444    system    system
/sys/class/camera/rear    rear_dualcal              0444    system    system
/sys/class/camera/rear    rear_dualcal_size         0444    system    system
/sys/class/camera/rear    rear_hwparam              0664    system    system
/sys/class/camera/rear    ssrm_camera_info          0664    system    system
/sys/class/camera/rear    rear_frs_test             0444    system    system
/sys/class/camera/rear    cam_ln_test               0444    system    system
/sys/class/camera/rear    supported_cameraIds       0664    system    system
/sys/class/camera/rear    rear_aperture_halltest    0444    system    system
/sys/class/camera/rear    rear_tofcal               0444    system    system
/sys/class/camera/rear    rear_tofcal_extra         0444    system    system
/sys/class/camera/rear    rear_tofcal_size          0444    system    system
/sys/class/camera/rear    rear_tofcal_uid           0444    system    system
/sys/class/camera/rear    rear_tof_dual_cal         0444    system    system
/sys/class/camera/rear    rear_actuator_power       0440    system    system
/sys/class/camera/rear    rear_otp_bpc0             0664    system    system
/sys/class/camera/rear    rear_otp_bpc1             0664    system    system
/sys/class/camera/rear    rear_otp_bpc2             0664    system    system
/sys/class/camera/rear    rear_otp_bpc3             0664    system    system
/sys/class/camera/rear    rear_otp_bpc4             0664    system    system
/sys/class/camera/rear    rear_otp_bpc5             0664    system    system
/sys/class/camera/rear    rear_otp_bpc6             0664    system    system
/sys/class/camera/rear    rear_otp_bpc7             0664    system    system
/sys/class/camera/rear    rear_otp_bpc8             0664    system    system
/sys/class/camera/rear    cam_cdr_value             0664    system    system
/sys/class/camera/rear    cam_cdr_result            0664    system    system
/sys/class/camera/rear    cam_cdr_fastaec           0664    system    system
/sys/class/camera/rear    rear_i2c_rfinfo           0664    system    system
/sys/class/camera/rear    rear_eeprom_retry         0664    system    system
/sys/class/camera/rear    cam_wifi_info             0664    system    system
/sys/class/camera/rear    rear_af_hall_info         0664    system    system
/sys/class/camera/rear    rear2_af_hall_info        0664    system    system
/sys/class/camera/rear    rear3_af_hall_info        0664    system    system
/sys/class/camera/rear    rear_temperature          0444    system    system

# Camera::Rear2
/sys/class/camera/rear    rear2_camfw               0664    system    system
/sys/class/camera/rear    rear2_camfw_full          0664    system    system
/sys/class/camera/rear    rear2_camfw_load          0444    system    system
/sys/class/camera/rear    rear2_camtype             0444    system    system
/sys/class/camera/rear    rear2_companionfw_full    0444    system    system
/sys/class/camera/rear    rear2_calcheck            0444    system    system
/sys/class/camera/rear    rear2_fwcheck             0444    system    system
/sys/class/camera/rear    rear2_checkfw_user        0664    system    system
/sys/class/camera/rear    rear2_checkfw_factory     0664    system    system
/sys/class/camera/rear    rear2_moduleinfo          0664    system    system
/sys/class/camera/rear    rear2_afcal               0444    system    system
/sys/class/camera/rear    rear2_caminfo             0664    system    system
/sys/class/camera/rear    rear2_sensorid_exif       0664    system    system
/sys/class/camera/rear    rear2_moduleid            0444    system    system
/sys/class/camera/rear    rear2_mtf_exif            0664    system    system
/sys/class/camera/rear    rear2_mtf2_exif           0444    system    system
/sys/class/camera/rear    rear2_paf_offset_mid      0444    system    system
/sys/class/camera/rear    rear2_paf_offset_far      0444    system    system
/sys/class/camera/rear    rear2_paf_cal_check       0444    system    system
/sys/class/camera/rear    rear2_f2_paf_offset_mid   0444    system    system
/sys/class/camera/rear    rear2_f2_paf_offset_far   0444    system    system
/sys/class/camera/rear    rear2_f2_paf_cal_check    0444    system    system
/sys/class/camera/rear    rear2_dualcal             0664    system    system
/sys/class/camera/rear    rear2_dualcal_size        0444    system    system
/sys/class/camera/rear    rear2_hwparam             0664    system    system
/sys/class/camera/rear    rear2_tilt                0444    system    system
/sys/class/camera/rear    rear2_tof_tilt            0444    system    system
/sys/class/camera/rear    rear2_eeprom_retry         0664    system    system
/sys/class/camera/rear    rear2_temperature         0444    system    system

# Camera::Rear3
/sys/class/camera/rear    rear3_camfw               0664    system    system
/sys/class/camera/rear    rear3_camfw_full          0664    system    system
/sys/class/camera/rear    rear3_camfw_load          0444    system    system
/sys/class/camera/rear    rear3_camtype             0444    system    system
/sys/class/camera/rear    rear3_companionfw_full    0444    system    system
/sys/class/camera/rear    rear3_calcheck            0444    system    system
/sys/class/camera/rear    rear3_fwcheck             0444    system    system
/sys/class/camera/rear    rear3_checkfw_user        0664    system    system
/sys/class/camera/rear    rear3_checkfw_factory     0664    system    system
/sys/class/camera/rear    rear3_moduleinfo          0664    system    system
/sys/class/camera/rear    rear3_afcal               0444    system    system
/sys/class/camera/rear    rear3_caminfo             0664    system    system
/sys/class/camera/rear    rear3_sensorid_exif       0664    system    system
/sys/class/camera/rear    rear3_moduleid            0444    system    system
/sys/class/camera/rear    rear3_mtf_exif            0664    system    system
/sys/class/camera/rear    rear3_mtf2_exif           0444    system    system
/sys/class/camera/rear    rear3_paf_offset_mid      0664    system    system
/sys/class/camera/rear    rear3_paf_offset_far      0664    system    system
/sys/class/camera/rear    rear3_paf_cal_check       0444    system    system
/sys/class/camera/rear    rear3_f2_paf_offset_mid   0664    system    system
/sys/class/camera/rear    rear3_f2_paf_offset_far   0664    system    system
/sys/class/camera/rear    rear3_f2_paf_cal_check    0664    system    system
/sys/class/camera/rear    rear3_dualcal             0664    system    system
/sys/class/camera/rear    rear3_dualcal_size        0444    system    system
/sys/class/camera/rear    rear3_hwparam             0664    system    system
/sys/class/camera/rear    rear3_tilt                0444    system    system
/sys/class/camera/rear    rear3_eeprom_retry         0664    system    system

# Camera::Rear4
/sys/class/camera/rear    rear4_camfw               0664    system    system
/sys/class/camera/rear    rear4_camfw_full          0664    system    system
/sys/class/camera/rear    rear4_camfw_load          0664    system    system
/sys/class/camera/rear    rear4_camtype             0444    system    system
/sys/class/camera/rear    rear4_companionfw_full    0664    system    system
/sys/class/camera/rear    rear4_calcheck            0664    system    system
/sys/class/camera/rear    rear4_fwcheck             0664    system    system
/sys/class/camera/rear    rear4_checkfw_user        0664    system    system
/sys/class/camera/rear    rear4_checkfw_factory     0664    system    system
/sys/class/camera/rear    rear4_moduleinfo          0664    system    system
/sys/class/camera/rear    rear4_afcal               0444    system    system
/sys/class/camera/rear    rear4_caminfo             0664    system    system
/sys/class/camera/rear    rear4_sensorid_exif       0664    system    system
/sys/class/camera/rear    rear4_moduleid            0444    system    system
/sys/class/camera/rear    rear4_mtf_exif            0664    system    system
/sys/class/camera/rear    rear4_mtf2_exif           0664    system    system
/sys/class/camera/rear    rear4_paf_offset_mid      0664    system    system
/sys/class/camera/rear    rear4_paf_offset_far      0664    system    system
/sys/class/camera/rear    rear4_paf_cal_check       0444    system    system
/sys/class/camera/rear    rear4_f2_paf_offset_mid   0664    system    system
/sys/class/camera/rear    rear4_f2_paf_offset_far   0664    system    system
/sys/class/camera/rear    rear4_f2_paf_cal_check    0664    system    system
/sys/class/camera/rear    rear4_dualcal             0444    system    system
/sys/class/camera/rear    rear4_dualcal_size        0444    system    system
/sys/class/camera/rear    rear4_hwparam             0664    system    system
/sys/class/camera/rear    rear4_tilt                0444    system    system
/sys/class/camera/rear    rear4_eeprom_retry        0664    system    system

# Camera::Rear End

# Camera::Front Start
# Camera::Front1
/sys/class/camera/front    front_camfw              0664    system    system
/sys/class/camera/front    front_camtype            0444    system    system
/sys/class/camera/front    front_caminfo            0664    system    system
/sys/class/camera/front    front_camfw_full         0664    system    system
/sys/class/camera/front    front_camfw_load         0664    system    system
/sys/class/camera/front    front_checkfw_user       0664    system    system
/sys/class/camera/front    front_checkfw_factory    0664    system    system
/sys/class/camera/front    front_moduleinfo         0664    system    system
/sys/class/camera/front    front_afcal              0444    system    system
/sys/class/camera/front    front_sensorid_exif      0664    system    system
/sys/class/camera/front    front_moduleid           0444    system    system
/sys/class/camera/front    front_mtf_exif           0664    system    system
/sys/class/camera/front    front_hwparam            0664    system    system
/sys/class/camera/front    front_mipi_clock         0444    system    system
/sys/class/camera/front    front_paf_cal_check      0444    system    system
/sys/class/camera/front    front_tofcal             0664    system    system
/sys/class/camera/front    front_tofcal_extra       0664    system    system
/sys/class/camera/front    front_tofcal_size        0664    system    system
/sys/class/camera/front    front_tofcal_uid         0664    system    system
/sys/class/camera/front    front_eeprom_retry       0664    system    system
/sys/class/camera/front    front_af_hall_info       0664    system    system

# Camera::Front2
/sys/class/camera/front    front2_camfw             0664    system    system
/sys/class/camera/front    front2_camtype           0444    system    system
/sys/class/camera/front    front2_caminfo           0664    system    system
/sys/class/camera/front    front2_camfw_full        0664    system    system
/sys/class/camera/front    front2_checkfw_user      0664    system    system
/sys/class/camera/front    front2_checkfw_factory   0664    system    system
/sys/class/camera/front    front2_moduleinfo        0664    system    system
/sys/class/camera/front    front2_moduleid          0444    system    system
/sys/class/camera/front    front2_mtf_exif          0664    system    system
/sys/class/camera/front    front2_hwparam           0664    system    system
/sys/class/camera/front    front2_dualcal           0444    system    system
/sys/class/camera/front    front2_dualcal_size      0444    system    system
/sys/class/camera/front    front2_tilt              0444    system    system

# Camera::Front3
/sys/class/camera/front    front3_camfw             0664    system    system
/sys/class/camera/front    front3_camtype           0444    system    system
/sys/class/camera/front    front3_caminfo           0664    system    system
/sys/class/camera/front    front3_camfw_full        0664    system    system
/sys/class/camera/front    front3_camfw_load        0664    system    system
/sys/class/camera/front    front3_checkfw_user      0664    system    system
/sys/class/camera/front    front3_checkfw_factory   0664    system    system
/sys/class/camera/front    front3_moduleinfo        0664    system    system
/sys/class/camera/front    front3_afcal             0444    system    system
/sys/class/camera/front    front3_moduleid          0444    system    system
/sys/class/camera/front    front3_mtf_exif          0664    system    system
/sys/class/camera/front    front3_hwparam           0664    system    system

# Camera::Front End

# Camera::Secure
/sys/class/camera/secure    iris_camfw             0664    system    system
/sys/class/camera/secure    iris_camfw_full        0664    system    system
/sys/class/camera/secure    iris_checkfw_factory   0664    system    system
/sys/class/camera/secure    iris_checkfw_user      0664    system    system
/sys/class/camera/secure    iris_caminfo           0664    system    system
/sys/class/camera/secure    iris_hwparam           0664    system    system

# Camera::Flash
/sys/class/camera/flash    rear_flash              0664    system    system

# Camera::Ois
/sys/class/camera/ois    selftest                       0444    system    system
/sys/class/camera/ois    calibrationtest                0444    system    system
/sys/class/camera/ois    ois_noise_stdev                0444    system    system
/sys/class/camera/ois    ois_power                      0200    system    system
/sys/class/camera/ois    ois_rawdata                    0664    system    system
/sys/class/camera/ois    oisfw                          0664    system    system
/sys/class/camera/ois    ois_diff                       0664    system    system
/sys/class/camera/ois    ois_exif                       0664    system    system
/sys/class/camera/ois    autotest                       0664    system    system
/sys/class/camera/ois    ois_mgless                     0444    system    system
/sys/class/camera/ois    ois_gain_rear                  0444    system    system
/sys/class/camera/ois    ois_gain_rear3                 0444    system    system
/sys/class/camera/ois    ois_gain_rear4                 0444    system    system
/sys/class/camera/ois    ois_supperssion_ratio_rear     0444    system    system
/sys/class/camera/ois    ois_supperssion_ratio_rear3    0444    system    system
/sys/class/camera/ois    ois_hall_position              0444    system    system
/sys/class/camera/ois    reset_check                    0444    system    system
/sys/class/camera/ois    ois_set_mode                   0200    system    system
/sys/class/camera/ois    check_cross_talk               0444    system    system
/sys/class/camera/ois    check_ois_valid                0444    system    system
/sys/class/camera/ois    rear3_read_cross_talk          0444    system    system
/sys/class/camera/ois    ois_ext_clk                    0664    system    system
/sys/class/camera/ois    check_hall_cal                 0444    system    system
/sys/class/camera/ois    ois_center_shift               0664    system    system
/sys/class/camera/ois    adc                            0664    system    system
/sys/class/camera/ois    temperature                    0664    system    system

# Camera::Ssm
/sys/class/camera/ssm    ssm_frame_id                0664    system    system
/sys/class/camera/ssm    ssm_flicker_max_r           0664    system    system
/sys/class/camera/ssm    ssm_flicker_max_g           0664    system    system
/sys/class/camera/ssm    ssm_flicker_max_b           0664    system    system
/sys/class/camera/ssm    ssm_flicker_coeff           0664    system    system

# Camera::Af
/sys/class/camera/af    af_position           0664    system    system

# Camera::Boost				cameraserver cameraserver
/sys/kernel/mm/vmscan    mem_boost_mode           0664    cameraserver    cameraserver
/sys/kernel/rbin         mem_boost_mode           0664    cameraserver    cameraserver

# Camera::Dual
/sys/class/camera/dual    fallback           0664    system    system

# Camera::Adaptive mipi
/sys/class/camera/test    adaptive_test           0664    system    system

#Camera SVC
/sys/devices/svc/Camera    SVC_rear_module            0444    system    system
/sys/devices/svc/Camera    SVC_rear_module2           0444    system    system
/sys/devices/svc/Camera    SVC_rear_module3           0444    system    system
/sys/devices/svc/Camera    SVC_rear_module4           0444    system    system
/sys/devices/svc/Camera    SVC_front_module           0444    system    system
/sys/devices/svc/Camera    SVC_front_module2          0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor            0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor2           0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor3           0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor4           0444    system    system
/sys/devices/svc/Camera    SVC_front_sensor           0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor_type       0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor2_type      0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor3_type      0444    system    system
/sys/devices/svc/Camera    SVC_rear_sensor4_type      0444    system    system
/sys/devices/svc/Camera    SVC_front_sensor_type      0444    system    system

#Camera SETCAL
/mnt/vendor/efs    camera           0775    system    system

# Camera End

#
# Permissions for Vibrator [
#

# Vibrator nodes permission (timed_output)
/sys/class/timed_output/vibrator    enable    			0664	system system
/sys/class/timed_output/vibrator    motor_type    		0664	system system
/sys/class/timed_output/vibrator    intensity  			0664	system system
/sys/class/timed_output/vibrator    haptic_engine   	0664	system system
/sys/class/timed_output/vibrator    multi_freq	    	0664	system system
/sys/class/timed_output/vibrator    num_waves    		0664	system system
/sys/class/timed_output/vibrator    cp_trigger_index    0664	system system
/sys/class/timed_output/vibrator    cp_trigger_queue    0664	system system
/sys/class/timed_output/vibrator    pwle			    0664	system system
/sys/class/timed_output/vibrator    virtual_composite_indexes   0664	system system
/sys/class/timed_output/vibrator    virtual_pwle_indexes    	0664	system system
/sys/class/timed_output/vibrator    event_cmd    		0664	system system
/sys/class/timed_output/vibrator    intensities    		0664	system system
/sys/class/timed_output/vibrator    haptic_intensities  0664	system system
/sys/class/timed_output/vibrator    haptic_durations    0664	system system
/sys/class/timed_output/vibrator    use_sep_index	    0220	system system

# Vibrator nodes permission - inputff
/sys/class/sec_vib_inputff/control	i2s_test			0664	system system
/sys/class/sec_vib_inputff/control	firmware_load		0664	system system
/sys/class/sec_vib_inputff/control	current_temp		0664	system system
/sys/class/sec_vib_inputff/control	ach_percent			0664	system system
/sys/class/sec_vib_inputff/control	trigger_calibration	0664	system system
/sys/class/sec_vib_inputff/control	f0_measured			0664	system system
/sys/class/sec_vib_inputff/control	f0_offset			0664	system system
/sys/class/sec_vib_inputff/control	f0_stored			0664	system system
/sys/class/sec_vib_inputff/control	le_stored_param		0664	system system
/sys/class/sec_vib_inputff/control	le_est				0444	system system
/sys/class/sec_vib_inputff/control	use_sep_index		0220	system system
/sys/class/sec_vib_inputff/control	event_cmd			0664	system system
/sys/class/sec_vib_inputff/control	owt_lib_compat		0444	system system
/sys/class/sec_vib_inputff/control	f0_cal_way		    0440	system system
/sys/class/sec_vib_inputff/control	i2c_test			0664	system system
/sys/class/sec_vib_inputff/control	le_support			0444	system system

# Vibrator nodes permission (vib_info)
/sys/class/vib_info_class/vib_support_info	intensities			0664	system system
/sys/class/vib_info_class/vib_support_info	haptic_intensities	0664	system system
/sys/class/vib_info_class/vib_support_info	functions			0664	system system

#
# ] Permissions for Vibrator
#

# TSP
/sys/class/sec/tsp				cmd							0660	system radio
/sys/class/sec/tsp				enabled						0660	system system
/sys/class/sec/tsp/input		enabled						0660	system system
/sys/class/sec/tsp				sensitivity_mode			0664	system system
/sys/class/sec/tsp				prox_power_off				0664	system system
/sys/class/sec/tsp				ear_detect_enable			0664	system system
/sys/class/sec/tsp				virtual_prox				0664	system system
/sys/class/sec/tsp				hw_param					0664	system system
/sys/class/sec/tsp				dualscreen_policy			0660	system system

# TSP-1 (DUAL)
/sys/class/sec/tsp1				cmd							0660	system radio
/sys/class/sec/tsp1/input		enabled						0660	system system
/sys/class/sec/tsp1				sensitivity_mode			0664	system system
/sys/class/sec/tsp1				prox_power_off				0664	system system
/sys/class/sec/tsp1				hw_param					0664	system system
/sys/class/sec/tsp1				dualscreen_policy			0660	system system

# TSP-2 (DUAL)
/sys/class/sec/tsp2				cmd							0660	system radio
/sys/class/sec/tsp2/input		enabled						0660	system system
/sys/class/sec/tsp2				sensitivity_mode			0664	system system
/sys/class/sec/tsp2				prox_power_off				0664	system system
/sys/class/sec/tsp2				hw_param					0664	system system
/sys/class/sec/tsp2				dualscreen_policy			0660	system system

# Securetouch
/sys/class/sec/ss_touch/secure	secure_touch_enable			0664	system system

# WACOM
/sys/class/sec/sec_epen/input	enabled 					0660	system system
/sys/class/sec/sec_epen			enabled 					0660	system system
/sys/class/sec/sec_epen 		cmd 						0220	system radio
/sys/class/sec/sec_epen 		epen_firm_update			0220	system radio
/sys/class/sec/sec_epen 		epen_reset					0220	system radio
/sys/class/sec/sec_epen 		epen_reset_result			0444	system radio
/sys/class/sec/sec_epen 		epen_checksum				0220	system radio
/sys/class/sec/sec_epen 		epen_checksum_result		0444	system radio
/sys/class/sec/sec_epen 		epen_saving_mode			0220	system radio
/sys/class/sec/sec_epen 		epen_wcharging_mode 		0664	system radio
/sys/class/sec/sec_epen 		epen_ble_charging_mode		0664	system radio
/sys/class/sec/sec_epen 		keyboard_mode				0660	system radio
/sys/class/sec/sec_epen 		epen_disable_mode			0220	system radio
/sys/class/sec/sec_epen 		aod_enable					0220	system radio
/sys/class/sec/sec_epen 		aod_lcd_onoff_status		0220	system radio
/sys/class/sec/sec_epen 		screen_off_memo_enable		0220	system radio
/sys/class/sec/sec_epen 		epen_fac_garage_mode		0664	system radio
/sys/class/sec/sec_epen 		epen_fac_select_firmware	0220	system radio
/sys/class/sec/sec_epen 		hw_param					0664	system system

# Pogo Keyboard
/sys/class/sec/sec_keypad		fw_update					0220	system system

# Folding digital hall ic
/sys/class/sec/digital_hall		digital_hall_thd			0664	system system

# Power on alarm
/dev/power_on_alarm       0664   system     radio
