1:在alps/device/mediatek/mt6765 / ueventd.mt6765.emmc.rc中添加
/sys/devices/platform/leds-mt65xx/leds/lcd-backlight brightness 0664 system system
2:alps/device/mediatek/sepolicy/basic / non_plat/file.te
#/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness
type sysfs_lcd_backlight, fs_type, sysfs_type;
3:alps/device/mediatek/sepolicy/basic / non_plat/file_contexts
/devices/platform/leds-mt65xx/leds/lcd-backlight/brightness u:object_r:sysfs_lcd_backlight:s0
4:alps/device/mediatek/sepolicy/basic / non_plat/genfs_contexts
genfscon sysfs /devices/platform/leds-mt65xx/leds/lcd-backlight/brightness u:object_r:sysfs_lcd_backlight:s0
5:alps/device/mediatek/sepolicy/basic / non_plat/system_app.te
allow system_app sysfs_lcd_backlight:file rw_file_perms;
allow system_app sysfs_leds:dir search;