mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-25 15:06:26 -08:00
abe3894762
* On AOSP, the FMRadio app process runs as system Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
196 lines
7.5 KiB
Plaintext
196 lines
7.5 KiB
Plaintext
#change partition permission
|
|
# eMMC only
|
|
/dev/block/mmcblk0 0660 root system
|
|
/dev/block/mmcblk0boot0 0660 root system
|
|
/dev/block/mmcblk0boot1 0660 root system
|
|
/dev/misc-sd 0660 root system
|
|
|
|
# UFS only
|
|
/dev/block/sda 0660 root system
|
|
/dev/block/sdb 0660 root system
|
|
/dev/block/sdc 0660 root system
|
|
|
|
# eMMC/UFS common
|
|
/dev/block/by-name/misc2 0660 root system
|
|
/dev/block/by-name/boot 0640 root system
|
|
/dev/block/by-name/recovery 0640 root system
|
|
/dev/block/by-name/secro 0640 root system
|
|
/dev/block/by-name/seccfg 0660 root system
|
|
/dev/block/by-name/proinfo 0660 root system
|
|
/dev/block/by-name/nvram 0660 root system
|
|
/dev/block/by-name/para 0660 root system
|
|
/dev/block/by-name/logo 0660 root system
|
|
/dev/block/by-name/frp 0660 root system
|
|
/dev/block/by-name/md1img 0640 root system
|
|
/dev/block/by-name/md1img_a 0640 root system
|
|
/dev/block/by-name/md1img_b 0640 root system
|
|
/dev/block/by-name/md1dsp 0660 root system
|
|
/dev/block/by-name/boot_para 0640 root system
|
|
|
|
# OTP
|
|
/dev/otp 0660 system system
|
|
/dev/block/by-name/otp 0660 root system
|
|
|
|
# Connectivity
|
|
/dev/stpwmt 0660 system system
|
|
/dev/wmtdetect 0660 system system
|
|
/dev/fw_log_wmt 0660 system system
|
|
/dev/conninfra_dev 0660 system system
|
|
/dev/conn_pwr_dev 0660 system system
|
|
|
|
# BT
|
|
/dev/stpbt 0660 bluetooth bluetooth
|
|
/dev/fw_log_bt 0660 bluetooth bluetooth
|
|
|
|
# GPS
|
|
/dev/gpsdl0 0660 gps gps
|
|
/dev/gpsdl1 0660 gps gps
|
|
/dev/stpgps 0660 gps gps
|
|
/dev/gps 0660 gps system
|
|
/dev/gps_emi 0660 gps gps
|
|
/dev/gps2scp 0660 gps gps
|
|
/dev/gps_pwr 0660 gps gps
|
|
/dev/fw_log_gps 0660 gps gps
|
|
# ANT
|
|
/dev/stpant 0660 system system
|
|
|
|
# WIFI
|
|
/dev/wmtWifi 0660 wifi wifi
|
|
/dev/fw_log_wifi 0660 wifi wifi
|
|
|
|
# FMRadio
|
|
/dev/fm 0660 system system
|
|
|
|
# NFC
|
|
/dev/st21nfc 0660 nfc radio
|
|
/dev/st54spi 0660 secure_element secure_element
|
|
|
|
# MTK BTIF driver
|
|
/dev/btif 0600 system system
|
|
|
|
# Trusty driver
|
|
/dev/trusty-ipc-dev0 0660 system system
|
|
/dev/nebula-ipc-dev0 0660 system system
|
|
|
|
# RPMB (for Trusty)
|
|
/dev/block/mmcblk0rpmb 0660 root system
|
|
|
|
# TrustonicTEE driver
|
|
/dev/mobicore 0600 system system
|
|
/dev/mobicore-user 0666 system system
|
|
/dev/t-base-tui 0666 system system
|
|
|
|
# teeperf driver
|
|
/dev/teeperf 0666 system system
|
|
|
|
#v4l2 device
|
|
/dev/video* 0660 camera system
|
|
/dev/media* 0660 camera system
|
|
/dev/v4l-subdev* 0660 camera system
|
|
|
|
#v4l2 codec
|
|
/dev/vcu 0660 camera system
|
|
|
|
#vdec-fmt
|
|
/dev/vdec-fmt 0660 media system
|
|
/dev/fmt_sync 0660 system system
|
|
|
|
#v4l2 camera
|
|
/dev/mtk_hcp 0660 camera system
|
|
|
|
# DRM node
|
|
/dev/dri/card0 0660 system system
|
|
|
|
# MDDP node
|
|
/dev/mddp 0660 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/lirc* 0660 root 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
|
|
|
|
# Camera
|
|
/dev/camera_eeprom* 0660 system camera
|
|
|
|
#FOR VIA MODEM
|
|
/dev/ttySDIO* 0660 radio sdcard_rw
|
|
/dev/ttyRB* 0660 radio radio
|
|
|
|
# Mali node
|
|
/dev/mali0 0666 system graphics
|
|
|
|
# Change ION driver permission
|
|
/dev/ion 0666 system graphics
|
|
|
|
# Change DMA_HEAP deice permission
|
|
# refs: /system/core/rootdir/uevent.rc
|
|
# /dev/dma_heap/system 0444 system system
|
|
/dev/dma_heap/mtk_mm 0444 system system
|
|
/dev/dma_heap/mtk_mm-uncached 0444 system system
|
|
/dev/dma_heap/mtk_svp_page-uncached 0444 system system
|
|
/dev/dma_heap/mtk_prot_page-uncached 0444 system system
|
|
/dev/dma_heap/mtk_svp_region 0444 system system
|
|
/dev/dma_heap/mtk_svp_region-aligned 0444 system system
|
|
/dev/dma_heap/mtk_prot_region 0444 system system
|
|
/dev/dma_heap/mtk_prot_region-aligned 0444 system system
|
|
/dev/dma_heap/mtk_2d_fr_region 0444 system system
|
|
/dev/dma_heap/mtk_2d_fr_region-aligned 0444 system system
|
|
/dev/dma_heap/mtk_wfd_region 0444 system system
|
|
/dev/dma_heap/mtk_wfd_region-aligned 0444 system system
|
|
/dev/dma_heap/mtk_wfd_page-uncached 0444 system system
|
|
/dev/dma_heap/mtk_sapu_data_shm_region 0444 system system
|
|
/dev/dma_heap/mtk_sapu_data_shm_region-aligned 0444 system system
|
|
/dev/dma_heap/mtk_sapu_engine_shm_region 0444 system system
|
|
/dev/dma_heap/mtk_sapu_engine_shm_region-aligned 0444 system system
|
|
|
|
#touch
|
|
/dev/touch 0660 root system
|
|
/dev/hotknot 0660 root system
|
|
|
|
#hang_detect
|
|
/dev/RT_Monitor 0660 system system
|
|
/dev/kick_powerkey 0660 system system
|
|
|
|
#MTK In-House TEE
|
|
/dev/ttyACM0 0660 radio radio
|