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
backlight buttons notification
Moderator: Martin
backlight buttons notification
- Attachments
-
- exported_data_20131109_105226.xml
- (2.57 KiB) Downloaded 1579 times
Re: backlight buttons notification
Hi,
Thanks for your script. I have not tested yet but downloaded. I will let you know whether it works for me or not.
Thanks.
Thanks for your script. I have not tested yet but downloaded. I will let you know whether it works for me or not.
Thanks.
Samsung Galaxy Note 8
Android 9.
Non-rooted
Android 9.
Non-rooted
Re: backlight buttons notification
Doesn't work at my Samsung Galaxy S2.
Re: backlight buttons notification
Hey, great idea! But is it possible to do it without root, nor writing to a system file?
Re: backlight buttons notification
For my S4 this path is working
/sys/class/leds/button-backlight/brightness
/sys/class/leds/button-backlight/brightness
Re: backlight buttons notification
Hello.
Here with Galaxy Light T399 - Android KitKat 4.4.4
Path for this phone is:
/sys/devices/virtual/sec/sec_touchkey/brightness
I made 3 flows for backlit buttons management (attached file):
- Blink enabled when screen is off & blink disabled when screen is on.
- Blink enabled when screen goes off & there are notifications pendent to manage.
- Blink enabled when phone is sleeping and new notification (without screen awake) comes in.
IMPORTANT: apps affected must be added on the next flows/steps:
- #BLN_notif: Notification on Statusbar Displayed > Package Name [+]
- #BLN_on_sleep: Notification on Statusbar Displayed > Package Name [+]
Here with Galaxy Light T399 - Android KitKat 4.4.4
Path for this phone is:
/sys/devices/virtual/sec/sec_touchkey/brightness
I made 3 flows for backlit buttons management (attached file):
- Blink enabled when screen is off & blink disabled when screen is on.
- Blink enabled when screen goes off & there are notifications pendent to manage.
- Blink enabled when phone is sleeping and new notification (without screen awake) comes in.
IMPORTANT: apps affected must be added on the next flows/steps:
- #BLN_notif: Notification on Statusbar Displayed > Package Name [+]
- #BLN_on_sleep: Notification on Statusbar Displayed > Package Name [+]
- Attachments
-
- exported_data_20170608_011702.xml
- (9.86 KiB) Downloaded 1082 times