0aa378102c
* The following things are left in devices, because they're device specific - voip compress properties - HVDCP properties - audio configs - power profile - rounded corner configuration - partition configuration - FOD - camera motor - NFC - board-info - fstab - ipa and graphics firmware - shipping and manifest target level Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Co-authored-by: Arian <arian.kulmer@web.de> Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
19 lines
674 B
Plaintext
19 lines
674 B
Plaintext
on boot
|
|
chown system system /sys/class/leds/left/brightness
|
|
chown system system /sys/class/leds/left/breath
|
|
chown system system /sys/class/leds/right/brightness
|
|
chown system system /sys/class/leds/right/breath
|
|
|
|
chmod 0644 /sys/class/leds/left/brightness
|
|
chmod 0644 /sys/class/leds/left/breath
|
|
chmod 0644 /sys/class/leds/right/brightness
|
|
chmod 0644 /sys/class/leds/right/breath
|
|
|
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service.xiaomi_sm6150
|
|
interface android.hardware.light@2.0::ILight default
|
|
class hal
|
|
user system
|
|
group system
|
|
# shutting off lights while powering-off
|
|
shutdown critical
|