backlight buttons notification

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
holymoz
Posts: 113
Joined: 13 Sep 2013 10:27

backlight buttons notification

Post by holymoz » 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
Attachments
exported_data_20131109_105226.xml
(2.57 KiB) Downloaded 1579 times

pilusona
Posts: 39
Joined: 02 Dec 2012 03:47
Location: India

Re: backlight buttons notification

Post by pilusona » 12 Nov 2013 05:12

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.
Samsung Galaxy Note 8
Android 9.
Non-rooted

kamil_w
Posts: 50
Joined: 22 Oct 2013 19:01

Re: backlight buttons notification

Post by kamil_w » 06 Jan 2014 19:50

Doesn't work at my Samsung Galaxy S2.

brunofin
Posts: 7
Joined: 06 Jan 2014 13:03
Location: SC, Brazil
Contact:

Re: backlight buttons notification

Post by brunofin » 07 Jan 2014 12:05

Hey, great idea! :) But is it possible to do it without root, nor writing to a system file?
Python and Java Programmer

http://fingertools.net

xxx
Posts: 39
Joined: 18 Mar 2013 18:51

Re: backlight buttons notification

Post by xxx » 06 Feb 2014 20:54

For my S4 this path is working :-)

/sys/class/leds/button-backlight/brightness

wichoxp
Posts: 1
Joined: 07 Jun 2017 15:32

Re: backlight buttons notification

Post by wichoxp » 07 Jun 2017 21:33

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 [+]
Attachments
exported_data_20170608_011702.xml
(9.86 KiB) Downloaded 1082 times

Post Reply