backlight buttons notification
Posted: 09 Nov 2013 11:36
hi, for the phone without notification led I made to work the bln buttons without using any app or modified kernel, only a script.
I attached the flow, simply it execute root command "echo 1 > /sys/devices/platform/pmic-leds/leds/button-backlight/brightness", this lights up the buttons, then sleep 2 sec, then execute the same script with echo 0 that shut down the lights and repeat it.
set in preferences an higher value of emergency stop like 1000.
use this flow as an action for various triggers such an incoming notification for sms or calls.
the path is for my phone, it can be different for other phones, anyway just locate the "brightness" file under the "button-backlight" sentences.
if someone can optimize the script were good, thz
I attached the flow, simply it execute root command "echo 1 > /sys/devices/platform/pmic-leds/leds/button-backlight/brightness", this lights up the buttons, then sleep 2 sec, then execute the same script with echo 0 that shut down the lights and repeat it.
set in preferences an higher value of emergency stop like 1000.
use this flow as an action for various triggers such an incoming notification for sms or calls.
the path is for my phone, it can be different for other phones, anyway just locate the "brightness" file under the "button-backlight" sentences.
if someone can optimize the script were good, thz