f162d20b5b
* Merged Xiaomi SM8250, SM8150, SM6250, SDM710 and MSM8953 implementations Change-Id: I16764ec8676de6c2a9f745876dddab75db6adf35
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
on early-boot
|
|
chown system system /sys/class/leds/red/blink
|
|
chown system system /sys/class/leds/red/breath
|
|
chown system system /sys/class/leds/red/brightness
|
|
chown system system /sys/class/leds/red/max_brightness
|
|
|
|
chown system system /sys/class/leds/green/blink
|
|
chown system system /sys/class/leds/green/breath
|
|
chown system system /sys/class/leds/green/brightness
|
|
chown system system /sys/class/leds/green/max_brightness
|
|
|
|
chown system system /sys/class/leds/blue/blink
|
|
chown system system /sys/class/leds/blue/breath
|
|
chown system system /sys/class/leds/blue/brightness
|
|
chown system system /sys/class/leds/blue/max_brightness
|
|
|
|
chown system system /sys/class/leds/white/blink
|
|
chown system system /sys/class/leds/white/breath
|
|
chown system system /sys/class/leds/white/brightness
|
|
chown system system /sys/class/leds/white/max_brightness
|
|
|
|
chown system system /sys/class/leds/lcd-backlight/brightness
|
|
chown system system /sys/class/backlight/panel0-backlight/brightness
|
|
|
|
chown system system /sys/class/leds/button-backlight/brightness
|
|
chown system system /sys/class/leds/button-backlight1/brightness
|
|
|
|
service vendor.light-default /vendor/bin/hw/android.hardware.light-service.xiaomi
|
|
class hal
|
|
user system
|
|
group system
|
|
shutdown critical
|