yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] k1llacanon:
Isn't working for me... If this thread is still live and someone replies I will post my details What I've tried and hopefully I'll get it working

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
Does the test button work? If not, you haven't located the brightness file.

Either way, which device and ROM are you using?
[Android Apps and Games] TeHashX:
How did you create the app? please make a tutorial, maybe other users are interested too.

THX
[Android Apps and Games] k1llacanon:
I've got it working now but how come once u unlock the phone... Don't open text message then lock the phone the lights stop flashing but notification light is still working

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
I'll try making a tutorial in one or two weeks, once I'm done with the exams.

My last Tasker tutorial, despite being quite detailed, didn't really go that well (it barely got one comment if you exclude my own), so all I ask in return is for you to post some feedback. ;)

For unread texts/missed calls, ButtonLED checks if there are any and flashes your phone's lights, no matter if you turned the screen on or not. You must open the text/call log for them to be marked as seen, making ButtonLED stop.

For normal notifications, turning the screen on is enough.

I actually preferred this behavior and didn't bother changing it. If you guys find it would be best if it acted like normal notifications, let me know. :)
[Android Apps and Games] k1llacanon:
Yeah I'd prefer if it acted like a normal notification how long would it take to adjust though if too long don't worry about It

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
It's bound to introduce some bugs as there is no way to clearly identify an unread text event. Instead it's a state, so I'll need to compare notifications' titles which could sometimes fail as they're not always the most precise (e.g. you get one unread text from "Dude" and turn on your screen; if at that point, ButtonLED pauses, and "Dude" send you another text you don't read, ButtonLED won't detect it as a new unread text).

I could probably get around it tho, using a combination of the "Received Text" event, the "Unread Text" state and some simple flags.

That was the hard part. Implementing it shouldn't take more than a few minutes. Thanks for the suggestion, keep them coming! :D

Don't expect a release before my exams are over, tho (that would be in two weeks). I might do it, but don't expect it.
[Android Apps and Games] k1llacanon:
As I said if it's too much trouble don't do it I love your work... It's just my opinion

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] terifish:
really want this app but i'm using jb now :(

any way to use this on jb?
[Android Apps and Games] GermainZ:
If you have Tasker and are willing to help by trying to export the project as a JB app from your device, PM me.
[Android Apps and Games] thlong93:
thanks

this is what i need !
[Android Apps and Games] k1llacanon:
Actually could u make it like the notifications light where when u lock the screen it will still blink because it really doesn't work with whatsapp very well

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
You mean that ButtonLED will keep blinking as long as you didn't look at your whatsapp notification?

That's impossible because of android limitations (apps can't detect which notifications have been clicked unless the notifications are issued by them).
[Android Apps and Games] k1llacanon:
Can't u make it work exactly like the notification light?

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
It's only possible with a modified kernel that supports BLN and there's already an app if you have that.

It's impossible for an app to detect when a notification has been clicked / cleared (unless that particular notification has been sent by that app).
[Android Apps and Games] k1llacanon:
Argh there isn't a bln kernal for one S is there?

--------------

If you are new to xda please watch this video it'll help you out :))

https://www.youtube.com/watch?v=JmvCpR45LKA&feature=youtube_gdata_player
[Android Apps and Games] GermainZ:
I would suggest searching your device's forum for that :)
[Android Apps and Games] tehjesus:
Has anyone mentioned that on a stock Tmobile HTC One S rooted/unlocked, installing the apk then enabling ButtonLED in settings kills Google text to speech engine somehow, causing it to forever force close? Uninstalling and then using titanium to restore doesn't fix it either.

I've literally been restoring from recovery, check TTS works, install, check tts is broken. Any clues?
[Android Apps and Games] GermainZ:
No idea, and seeing that I didn't develop this in Java, I can't really do anything. I might actually reprogram it in Java without using Tasker, but I'll have to learn Java first (which shouldn't take that long considering I know C++; but time is a problem).

It's probably a Google/Tasker bug. Does Tasker also cause this? Do other Accessibility apps cause the same issues? Also, do the logcats show something useful?
[Android Apps and Games] khan.orak:
I have HTC One S 4.1.1 stock, rooted.

I try to install the APK file and it says "Parse Error : There is a problem parsing the package". What could be the reason?
[Android Apps and Games] GermainZ:
Which version did you get? Try the HDPI one.

Redownload it. Also make sure you didn't get the JB APK.
[Android Apps and Games] khan.orak:
Tried both JB/Non-JB. Same error.
[Android Apps and Games] GermainZ:
Probably a faulty download. You can check the md5sum if you want:

dc124f955f11877ba6aea13af46409b0 ButtonLED.1.6.HDPI.apk
7e9f9c9fc42ce2477fedfd0daca6690b ButtonLED.1.6.HDPI_JB.apk
07d548110950b0fefb22a077fe3210ee ButtonLED.1.6.MDPI.apk
f7d06ea91bb55b2ba3bd61ce222f942b ButtonLED.1.6.MDPI_JB.apk
2b0869932cf55f0c393669a2dc7b8161 ButtonLED.1.6.XHDPI.apk
cd21ab0ba4dec1404540490866e45b3a ButtonLED.1.6.XHDPI_JB.apk
[Android Apps and Games] pandolf84:
I'm using ButtonLed on HTC One S 4.1.1 without any problem. Download again and check md5.
[Android Apps and Games] khan.orak:
Hey thanks man that helped.

It really was a faulty download. Worked with a VPN though.

Thanks
[Android Apps and Games] crombull:
Excuse me, could you tell me what rom are you using in your Note?
[Android Apps and Games] Cogollero:
Working in S3 MINI? with Android 4.1.2 JB. thx!
[Android Apps and Games] sosotheman:
Hi,

Auto locate/File browser does nothing when I click on any.. installing busybox doesn't fix the problem.

I have thl w100 with 4.2.1, and i did manually change the value in the brightness file, also with terminal emulator and led on/off is working.

So, what could be problem with locating the brightness file?

Thank you for response.
[Android Apps and Games] GermainZ:
No idea why it doesn't work on some devices. A logcat might help (try to locate a file and get a logcat as soon as it fails).

You can try manually editing the config file if you want.
[Android Apps and Games] sosotheman:
Logcat:

when I start apk or Auto Locate or Test

W/ButtonLED(12338): 16.33.48#E: warning: shell: no root

File browser:

W/ButtonLED(12338): 16.33.48#E: warning: shell: no root
W/ButtonLED(12338): 16.31.00#E: warning: can't split unset variable %FLIST

Any idea or you need more output?

Edit: editing xml file doesn't help
[Android Apps and Games] GermainZ:
Are you rooted? Make sure ButtonLED has root access. Try revoking its SU permissions from your SU app, then giving them back.
[Android Apps and Games] sosotheman:
Phone is rooted and i tried couple time revoke SU permission, and give it back..

I would really like to make this work, because LED notifications are not working on this model.. it has only red led for charging - manually changing the brightness is working, so this apk should do great job in enabling LED notifications..

I'm in android development for few months, but never did any service or worked with root access. Is it a complicated work to get info about any notification in status bar and then change value in brightness file?
[Android Apps and Games] GermainZ:
It might be related to how Tasker checks if you're rooted:

No idea about your second question. I didn't actually develop this app in Java, I just used Tasker to make and export it.
[Android Apps and Games] sosotheman:
ok, it's working now :D.

Not sure what was the main problem because I did two changes.

#1: reinstalled superuser (blue icon with #, the other one not working)

#2: I changed busybox install folder from system/xbin to system/bin

thank your for great app,

maybe you should make this note to the first post, because I saw that some had the same issue :)

(and sry for bad English)
[Android Apps and Games] >tombstone|crow^^:
Arc s Button LED

hello, i am using an arc s, and i cant find the correct file. When i auto-locate, i get two files, /sys/devices/i2c-0/0-0040/leds/button-backlight-rgb1/brightness and /sys/devices/i2c-0/0-0040/leds/button-backlight-rgb2/brightness. if i select the rgb1, the left light only flashes once and the right light stays on, when i select rgb2, visa versa when testing. doesnt seem to be working when i get any notifications. i'm using the hdpi jb download. i'm on cm10.1. any ideas?
[Android Apps and Games] GermainZ:
From the FAQ:
[Android Apps and Games] htcflyerhc:
it works on htc flyer
[Android Apps and Games] >tombstone|crow^^:
As far as I've researched on XDA, Arc/arc s has two button backlight path files. The two i mentioned previously. I've tried the "find / | grep brightness" code in emulator, and get the same results that the auto locate provides. Is there any way you could incorporate choosing multiple path files? This is a great app, and as far as i know, one of a kind.
[Android Apps and Games] GermainZ:
I thought ButtonLED wasn't working for notifications?

This would be possible, and I might add it in future versions. It's not a priority tho, sorry. :)

I can walk you through modifying the Tasker project if you have an older version of Tasker that support GB (and can actually import these projects).
[Android Apps and Games] >tombstone|crow^^:
Okay, thanks. I don't have tasker, but i will be waiting patiently for you to add the Choosing Multiple Path Feature. Thanks again.
[Android Apps and Games] neo2150:
Galaxy S3 problem

My friends i cant find the brightness file in my phone i don't know why my phone is Galaxy S3 GT-9300 and it's rooted please help me.
[Android Apps and Games] ehalai:
HI all

It is working for both Qmobile Noir A20 aka Fly IQ446 and xoloq800

and also working for Qmobile Noir A900 aka Gionee Elife E3

thanks

edit: It was working all fine, but now it is not working and giving the error...logs shows that it is detecting the notification but not lighting it and saying that "screen is on, ignoring notification"
[Android Apps and Games] ryangco:
Feature request

Can you make LDPi version? My device is only 133dpi and I can't see the scenes properly. Thanks!
[Android Apps and Games] GermainZ:
Does the FAQ help?.

Is your screen turned off? ButtonLED won't do anything while your screen is on.

You're the first one to request that in 61 pages. Sorry, it's unlikely. :)

The MDPI version should display okay-ish tho, enough to setup everything correctly.
[Android Apps and Games] GermainZ:
Make sure ButtonLED is enabled in Accessibility.
[Android Apps and Games] ehalai:
Dear some time it works and some times it doesn't. I have read all the faq and yes it is enabled in accessibility.

But one thing is for sure that it is a great app. Great great app. Thanks for it.
[Android Apps and Games] GermainZ:
Can you get a logcat when it doesn't work?
[Android Apps and Games] ehalai:
Yea sure, but I don't know how to do logcat.
[Android Apps and Games] GermainZ:
There are plenty of tutorials.

Get one as soon as it happens (within 1-2 minutes).
[Android Apps and Games] codekidX:
Hello OP , Can you help me in finding the brightness file ! I have almost tried every file that say brightess at last..

My device is Galaxy grand running 4.2.2 JB
[Android Apps and Games] ryangco:
Can you please teach me how to make the backlight or the soft keys blink? I'll try to do it on tasker.

How can i set the touchkey-led/brightness to 100 using tasker?
[Android Apps and Games] GermainZ:
Does the FAQ help? Everything I know of is there.

The Tasker project is available for download. I'm simply echoing 0/255 to the brightness file path (Run Shell, run as root):

echo 255 > /sys/class/leds/...
[Android Apps and Games] ryangco:
Thanks for sharing!
[Android Apps and Games] schumifer1:
Since a search within the thread did not give me a direct answer

this to inform that samsung galaxy s advance aka sgsa aka i9070 does not work with this app (did the above trick)

I also tried it with cocore6.8 to no success

Thanks for the effort though
[Android Apps and Games] tomogo:
Hi,

1. I have got Samsung S4mini (i9195) and it doesn't work (Autolocate and File Browser do anything)

2. But I've found this:

shell@android:/sys/devices/platform/i2c-gpio.16/i2c-16/16-0020/leds/button-backlight # ll

ll

-rw-rw-r-- system system 4096 2013-07-16 22:34 brightness

lrwxrwxrwx root root 2013-07-16 21:48 device -> ../../../16-0020

-rw-r--r-- root root 4096 2013-07-16 21:48 max_brightness

drwxr-xr-x root root 2013-01-05 01:03 power

lrwxrwxrwx root root 2013-07-16 21:48 subsystem -> ../../../../../../../class/leds

-rw-r--r-- root root 4096 2013-07-16 22:28 trigger

-rw-r--r-- root root 4096 2013-01-05 01:03 uevent

And realized that "echo 255 > brightness" works only when LCD is shining.

Any idea for both points (1,2)?
[Android Apps and Games] GermainZ:
Honestly, the FAQ contains everything I can think of. :)
[Android Apps and Games] tomogo:
Sorry but I have not found relevant answer in FAQ.

I manually added

<string name="%PATH">/sys/devices/platform/bcm21553-leds/leds/button-backlight/brightness</string>

to:

/data/data/germain.buttonled/shared_prefs/net.dinglisch.android.tasker.varry.xml

but it still doesn't work, when I push Test button nothing happened.

What is wrong with me? ;)
[Android Apps and Games] GermainZ:
First things first...

If that doesn't work out for whatever reason, I'd appreciate a logcat. You can then edit the preferences manually if you want, but at least add

your

own path, not my device's brightness file. :P

So add this, according to your answer:

<string name="%PATH">/sys/devices/platform/i2c-gpio.16/i2c-16/16-0020/leds/button-backlight/brightness</string>

Make sure your device is supported, too:
[Android Apps and Games] ryangco:
Hi. I want to share something I discovered. I found out that my soft keys maximum brightness is 100. Try to change the 255 to 100 in "echo 255". It worked for me. I don't know in other devices.
[Android Apps and Games] tomogo:
Many thaks for participation but:

Busybox is installed and su works (in "adm shell" su is tested and works fine)

Root access is enabled in Superuser (program from [MENTION=617884]Koush[/MENTION])

Other applicaton works with root access fine (for example MyProfiles, Samba server etc.)

But I realized one: when ButtonLED is started firstly after the installation the Superuser shows that application want root access but next starts of ButtonLED the Superuser shows nothing but messages about root access are switched on.

When I've tried to create log the phone freeze and restart is needed. :(
[Android Apps and Games] GermainZ:
How are you trying to take a logcat?

Also, where is the Superuser app installed? And what's its APK name? It might be related to how Tasker checks for Superuser permissions (check the FAQ for more info).
[Android Apps and Games] carloreese:
buttonLED isn't working when i use a custom locker app (lockerpro). I know it's about the accessibility settings because lockerpro uses also one. I think it overrides. Any guides to fix this?
[Android Apps and Games] wolfenstein0107:
Expire time

Hi GermainZ, is there any change or growth about blinking expiration time ?,

one person was asked to you, for ex. blinking 10 min and stop to blinking.
[Android Apps and Games] GermainZ:
None that I know of. Other apps that use accessibility seem to recommend disabling/enabling everything in the Accessibility settings.

It's not been added yet. I'll add it when I find some time, tho.
[Android Apps and Games] wolfenstein0107:
I am waiting excitedly for new update :D
[Android Apps and Games] xannt:
Tank you!

Works great on a Chinese smartphone Iglo / Star A 101.Thank you for this useful application.:good:
[Android Apps and Games] Hummer951:
When i try to set the Sleep start and Sleep end times its not possible....see screenshot...any idea why this happens?
[Android Apps and Games] GermainZ:
Try clearing the app's data. Also, a logcat would be useful.
[Android Apps and Games] DeeJayAhmed:
I'm on 4.2.1, nd the resolution is 720p, what apk should I use?
[Android Apps and Games] GermainZ:
HDPI/XDHPI, Try It And See™ :)
[Android Apps and Games] prateek.khurana31:
It works finally

THANX GERMAINZ for this beautiful and must have app for phones lacking a notification led

It worked for me only after uninstalling widget locker..!!!

but it works.....finally!!!!

Thanx a lot for creating such a nice app....!!
[Android Apps and Games] namasteji1:
Anyone has video of this , how it works @ prateek

: can u post a video of this app working in your q800 .
[Android Apps and Games] Thief777:
BusyBox installed, no active menu items specified path (auto and manul) ?!
[Android Apps and Games] baxtex:
LG Optimus 4x Root&Custom rom

None of my AUto located files tend to work (but onw of them casues the screen to light up and get all crazy)

What should the file's name be?
[Android Apps and Games] chachoi:
^^ there is an LG app for that in the playstore forgot the name but tried it on my Samsung Note with no luck just google it

any galaxy note users who were able to make it work?
[Android Apps and Games] baxtex:
Actually I found it like 5 minutes after i posted my post but thanks anyway :) Works great.
[Android Apps and Games] GermainZ:
I use Widget Locker and it doesn't cause any issues. :)

Read the FAQ, and if you already tried everything in it, a logcat would be nice.

Does the FAQ help? Not all devices have one, apparently.

I don't think so, tho some used the flashlight/screen instead IIRC.

Does it use the capacitive buttons? Can you post/PM me a link, please?
[Android Apps and Games] baxtex:
Sure :) : https://play.google.com/store/apps/details?id=com.uniquedroid.notifications.lg.p880&hl=sv

Yes it uses the 3 hardware buttons.
[Android Apps and Games] GermainZ:
According to the source, the brightness file should be: /sys/devices/platform/button-backlight/leds/button-backlight/brightness

If you have the time, please try again with that path. If it doesn't work for any reason, read the FAQ (might be a busybox/root issue). If that doesn't fix it, I'd appreciate a logcat. Thanks. :D
[Android Apps and Games] baxtex:
I actually did try that file but with no results. ;(
[Android Apps and Games] poppmensa:
Stop when notification is gone

Hi,

thx for your great app! However, it is not perfect for my needs so far. If I may:

1.) can it stop if the nofification is "gone"? For example, if LEDs are blinking due to a new gmail-message, which I read on the computer, it won't stop afterwards. On my old MotorolaDefy+, the NotificationLEDs (it had extra LEDs close to the speaker) didn't "blink forever" or until I turned the screen on. Is there an event for that to be used?

2.) the GUI differs from the well-known JB user experience (like in the common "system settings menu") and is sometimes buggy (GUI elements don't fit to screen anymore after returning from system menu. I don't know if it is easier to use standard UI elements... maybe not now, after the work is done...

Btw, I am using CustomROM by dh.harald, CM10.0, on a Galaxy Ace 2, i8160P.
[Android Apps and Games] JonathanChemla:
Hi !

I've been trying to make this app work on my HTC One S for about two hours, with no results.. :)

My phone is rooted, with SuperSu installed to managed root access requests. Busybox latest version is installed to /system/xbin. When I launch the (HDPI) buttonLed app, it tells me it will try to auto locate the brightness file, but tjis fails with the error "BusyBox not found" (while my busybox install was made through the app you suggest months ago). When I try to click on manually search the file, nothing happens.

I located the brightness file in /sys/class/leds/button-backlighgt/brightness, and I was able to change the capacitive buttons backlight by modifying this file's value, and therefore decided to manually set the PATH variable in the /data/data/germain.buttonled/shared_prefs/net.dinglisch.android.tasker.varry.xml file. To do so, I clicked on "Stop service and exit", disabled the app in the accessibility, checked it was neither in the running apps, nor in the cached ones, modified the xml with rootexplorer text editor. But when I re-open buttonLed, it will still try to auto locate the brightness file. When I opened the net.dinglisch.android.tasker.varry.xml, it has been modified, with no more reference to my PATH (the ine <string name="%PATH">/sys/class/leds/button-backlighgt/brightness</string> disappeared). Running the test do not lit up the buttons, which seems normal, since the xml does not reference the path to the brightness file when i launch buttonled.

Could you help me with this issue ? What logs would you like ? :)

Thanks in advance,

Jonathan
[Android Apps and Games] GermainZ:
Nope, sorry. Android only recently (4.3) introduced a way to detect when a notification is gone, AFAIK.

Can you post a logcat, please?
[Android Apps and Games] JerryScript:
First of all, thanks for making this app, it is exactly what I was looking for.

I'm having a bit of trouble on the Samsung Galaxy Victory (SPH-L300) running a kernel built from Samsung source with just over-clocking and fastcharge mods. When this phone receives a notification, it turns the screen on for 3-5 seconds. The button backlights do come on at the same time, but turn off the screen and then do not flash or turn back on. The notification led does begin to flash after the screen goes off. The brightness file does exists, and both the app and commands can/do turn/off on the button backlights. The log files do show notifications being caught:

03:00: Stopped (screen turned on;
battery: 25%)

02:59: (Unread text, processed;
battery: 25%)

02:59: Screen is on, ignoring
notification

02:59: Me: Test button-backlights
(detected ; app:Messaging)

02:59: Cleared logs

It looks like the screen being turned on by the notification temporarily is preventing your app from working. Is there a work-around?

My kernel source if needed: http://github.com/JerryScript/VaeVictus
[Android Apps and Games] GermainZ:
ButtonLED automatically stops when the screen is turned on. That's the only way to detect when a notification is gone (well, 4.3 introduced something new, so at least it was the only way).

Only workaround would be to edit the Tasker project to your liking, but you need an old version of Tasker for that.
[Android Apps and Games] GermainZ:
Can you repost a logcat (you can use a pastebin BTW, e.g. bpaste.net), without filtering anything? Not all related entries have 'buttonled' in them.

Also, just to make sure:

Open ButtonLED

Wait till it fails to detect busybox

Grab a logcat within ~1 minute