#change partition permission
/dev/block/mmcblk0                                              0660    root    system
/dev/block/mmcblk0boot0                                         0660    root    system
/dev/block/mmcblk0boot1                                         0660    root    system
/dev/misc-sd                                                    0660    root    system
/dev/block/platform/bootdevice/by-name/misc2     0660    root    system
/dev/block/platform/bootdevice/by-name/boot      0640    root    system
/dev/block/platform/bootdevice/by-name/recovery  0640    root    system
/dev/block/platform/bootdevice/by-name/secro     0640    root    system
/dev/block/platform/bootdevice/by-name/seccfg    0660    root    system
/dev/block/platform/bootdevice/by-name/proinfo   0660    root    system
/dev/block/platform/bootdevice/by-name/nvram     0660    root    system
/dev/block/platform/bootdevice/by-name/para      0660    root    system
/dev/block/platform/bootdevice/by-name/logo      0660    root    system
/dev/block/platform/bootdevice/by-name/frp       0660    root    system
/dev/block/platform/bootdevice/by-name/md1img    0660    root    system
/dev/block/platform/bootdevice/by-name/md1dsp    0660    root    system
/dev/block/platform/bootdevice/by-name/md1arm7   0660    root    system
/dev/block/platform/bootdevice/by-name/md3img    0660    root    system

# OTP
/dev/otp                  0660   system     system
/dev/block/platform/bootdevice/by-name/otp       0660    root    system

# Connectivity
/dev/stpwmt               0660   system     system
/dev/wmtdetect            0660   system     system

# BT
/dev/stpbt                0660   bluetooth  net_bt_stack

# GPS
/dev/stpgps               0660   gps        gps
/dev/gps                  0660   gps        system

# ANT
/dev/stpant               0660   system     system

# WIFI
/dev/wmtWifi              0660   system     system

# FMRadio
/dev/fm                   0660   media     media

# NFC
/dev/msr3110              0666   root       root
/dev/mt6605               0660   nfc        radio
/dev/st21nfc              0660   nfc        radio

# MTK BTIF driver
/dev/btif                 0600   system     system

# Trusty driver
/dev/trusty-ipc-dev0      0660   system     keystore

# TrustonicTEE driver
/dev/mobicore             0600   system     system
/dev/mobicore-user        0666   system     system
/dev/t-base-tui           0666   system     system

# add the read write right of ttyUSB*
/dev/bus/usb/*     	  0660   root       usb
/dev/ttyUSB0              0660   radio      radio
/dev/ttyUSB1              0660   radio      radio
/dev/ttyUSB2              0660   radio      radio
/dev/ttyUSB3              0660   radio      radio
/dev/ttyUSB4              0660   radio      radio

# Anyone can read the logs, but if they're not in the "logs"
# group, then they'll only see log entries for their UID.
/dev/log/ksystem          0600   root       log

/dev/ccci*                0660   radio      radio
/dev/ttyC*                0660   radio      radio
/sys/kernel/ccci          modem_info   0644   radio       radio
/sys/kernel/ccci          md1_postfix  0644   radio       radio
/sys/kernel/ccci          md2_postfix  0644   radio       radio
/dev/eemcs*               0660   radio      radio
/dev/emd*                 0660   radio      radio
/dev/ccci_pcm_rx          0660   audio      audio
/dev/ccci_pcm_tx          0660   audio      audio
/dev/ccci_aud             0660   audio      audio
/dev/ccci2_aud            0660   audio      audio
/dev/ccci3_aud            0660   audio      audio
/dev/ccci_raw_audio       0660   audio      audio
/dev/ccci3_raw_audio      0660   audio      audio
/dev/eemcs_aud            0660   audio      audio
/dev/irtx                 0660   system     system
/dev/ir-learning          0660   system     system
# SGX device node
/dev/pvrsrvkm             0666   root       root
/dev/pvr_sync             0666   root       root


/sys/devices/platform/leds-mt65xx/leds/green   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/green   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/red   delay_off      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_on      0664  system   system
/sys/devices/platform/leds-mt65xx/leds/blue   delay_off      0664  system   system

#GPIO
/dev/mtgpio               0600   radio      root


#FOR VIA MODEM
/dev/ttySDIO*             0660   radio      sdcard_rw
/dev/ttyRB*               0660   radio      radio

# Mali node
/dev/mali                 0666   system     graphics

# Change ION driver permission
/dev/ion                  0666   system     graphics

#touch
/dev/touch                0660   root       system
/dev/hotknot              0660   root       system

#hang_detect
/dev/RT_Monitor           0600   system     system
/dev/kick_powerkey        0600   system     system

#MTK In-House TEE
/dev/ttyACM0              0660   radio      radio
