yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] JerryScript:
Thanks for the info, I guess I'll have to do it in the kernel then, still think your app is great. Perhaps in the future you could add a method to detect phones that turn the screen on momentarily when a notification arrives but then turn back off, and allow ButtonLED to continue to function.
[Android Apps and Games] Magissia:
Hello, i installed it on my XT320 , everything works but the auto detect and the file manager... busybox is installed. Logs from the app itself are not usefull.

Regards
[Android Apps and Games] JonathanChemla:
Logcat

Dear GermainZ,

Here are the logs : bpaste.net/show/120386

I followed the procedure you asked. Thanks again,

Jonathan
[Android Apps and Games] SilverBarrel:
Works great on THL W100

ButtonLED worked flawlessly on THL W100 with either:

/sys/devices/platform/leds-mt65xx/leds/red/brightness -> for hacking the Power LED

or

/sys/devices/platform/leds-mt65xx/leds/button-backlight/brightness -> for using the soft buttons back-light

:good:

Thanks!
[Android Apps and Games] GermainZ:
Can you post a logcat, please? Also, read below.

I have no idea why it's failing - can you check if calling busybox works from e.g. a terminal emulator? Just run 'busybox' and let me know if it succeeds or not.

Other than that, I'm afraid there isn't much I can do. Thanks. :)
[Android Apps and Games] JonathanChemla:
Thanks for your help. Unfortunately; when I call "su busybox" (else I don't have permissions), no message show up in the console screen (either an error message, nor info about busybox). I think busybox is not detected, even if the busybox installer from stericsson says it is in /system/xbin.

Thanks again,

Jonathan
[Android Apps and Games] GermainZ:
"su", Enter, "busybox" - not "su busybox". :)
[Android Apps and Games] JonathanChemla:
Woops :) thanks. Here is the output then :

Sh: busybox: cant execute: permission denier,

Although the user changed to root when i typed su. Something seems to be wrong.
[Android Apps and Games] GermainZ:
Check that your busybox binary has the correct permissions. In a terminal (ignore lines that start with a #, those are for you to read):

which busybox

Then:

su
# If "which busybox" printed something like /system/<something>/busybox, do this:
mount -o remount,rw /system
# Otherwise, if it showed something like /sbin/busybox, do this instead:
mount -o remount,rw /
chmod 755 $(which busybox)
# use one of the following two lines, depending on which one you picked above:
mount -o remount,ro /system
mount -o remount,ro /

Then try calling busybox again:

busybox
[Android Apps and Games] JonathanChemla:
Thanks a lot for your time, I really appreciate it. Seems like it will be soon solved. But the which command is not found, and there is nothing about that I found on google. Should I add something to the path ? Where is "which" located ?

--EDIT--

Thanks a lot, busybox now seems to work ! actually, because the which command did not print anything, I manually looked for busybox, which I found in /system/xbin/busybox, and therefore executed chmod 755 /system/xbin/busybox. Now, I get the version number, a list of functions and so on. I will try again to launch your app. Thanks ! :)

Thanks again,

Jonathan
[Android Apps and Games] GermainZ:
Frankly, I'd just try another busybox installer (either from the Play Store or e.g. this (search for 'BusyBox v1.19.4 Install Script Instructions')).
[Android Apps and Games] JonathanChemla:
I've just edited my post on the previous page :

--EDIT--

Thanks a lot, busybox now seems to work ! actually, because the which command did not print anything, I manually looked for busybox, which I found in /system/xbin/busybox, and therefore executed chmod 755 /system/xbin/busybox. Now, I get the version number, a list of functions and so on.

I then re-installed ButtonLed and modified the path to point to my brightness file, and launched the app again. Unfortunately, ot did fail once more to detect busybox, and erased my line pointing to the adequate file. I restarted my phone to see what that would change, and running "su", then "busybox", it prints "sh: busybox: can't execute: Permission denied". Seems like the modifications I made (chmod 755) did not get into effect.Do you know a solution ?

Anyway, thanks again for your help, tht's really nice of you. Regards,

Jonathan
[Android Apps and Games] GermainZ:
No idea what's wrong, sorry. :)
[Android Apps and Games] >tombstone|crow^^:
Working on arc s yet?
[Android Apps and Games] vanderort:
Hello, I have the problem to,

this app have activity only for my missed calls notifications, for any another notification aren't supported.

I check options :	ButtonLED is enabled in accessibility	- yes

the phone is rooted	- yes

I instal another busy box	- yes

and nothing it give me solutions, do You have any sugestions?

I use samsung Ace 2 (I8160) with JellyBean I8160XXMG2_I8160OXXMG1_XEO.
[Android Apps and Games] d.peter:
More than a few google search results led to this site, but this is the first app posted on the site I actually installed. :)

First of all, I'd like to thank you for making this app, it's exactly what I've been looking for!

I installed it last night and so far it's working fine on my LG Optimus One (P500) with stock ROM. Looks like every notification is detected. This also means I have to exclude some apps and this brings me to a suggestion:

- If an app is excluded it should not show up in the log at all, or at least there should be an option to view the log this way. The reason I'm saying this is that I have "phono" installed which is a good app but with the screen on it triggers a notification every 10 seconds or so. This, and the fact that when a new log entry is added the log jumps to the beginning, make it virtually impossible to review overnight logs. There's of course a workaround, which is simply killing the app. :) But it would nice if I didn't have to.

A few other things I noticed:

- On the screenshots the value set for every option is displayed right next to the menu item. I don't see these values so in order to make sure I have every option set correctly, I have to set all of them again. I installed the low-res non-JB version so it may be related to that only.

- When changing the battery tweak option, the app reloads and everything gets shifted to the right so I can't see the icons. Plus, if I turn the screen off and then on at this point w/out exiting the app it collapses into a small window and becomes unusable. I know it's hard to tell what's going on from this description, if this is not a known "issue" I can make some screenshots.

- If I tap the sleep time option and instead of closing the new window with "done", I hit the back button, the time values get scrambled and random characters are displayed instead of digits. I have to clear that app's data to correct it.

Again, a big thanks for making this! These last suggestions are just cosmetic but the first one about the log would be nice to see getting implemented.

EDIT (after another day of using the app):

There are 2 other things that would make it even better:

- When I tap a log entry, there's an option to add it to the excluded notifications. This, however, adds only a notification text. In order to exclude the app itself, it has to be added manually. So it would be really helpful if tapping a log entry would also give an option to exclude the given app.

- Currently the app works in blacklist mode (everything not excluded is processed). It would be nice if there was an option to switch to whitelist mode where only the specifically allowed apps/notifications would be processed.

One other thing I noticed, but this may be related to my phone only: The first 2 options (missed calls and SMS notifications) seem a little pointless as every notification is detected anyway. Even if I turn off the missed calls notification, it is detected and processed unless I specifically exclude the Dialer app.
[Android Apps and Games] GermainZ:
Try reenabling ButtonLED in Accessibility. Do you have anything added to your exceptions list? Do the logs of the app show anything?

I'll keep your suggestions in mind, thanks.

You can currently long press an item to view its current value. I don't think I can do anything about the weird shifting.

For missed calls and SMS notifications, your screen usually turns on when they're received, causing ButtonLED to ignore the notifications they generate normally.
[Android Apps and Games] d.peter:
Great, thanks!

It doesn't cause any issues anyway and it's probably the least used option. :)

I see. I just tested again it works like this on my phone:

If I turn the screen off immediately after calling my phone and hanging up, the notification is processed regardless of how the option is set. If I leave the screen on for a few seconds after the notification is shown, it's ignored by the app unless the option is set to "on". Now this option makes perfect sense, thanks!
[Android Apps and Games] iMax87:
Hi germainZ,

thank's for your great app but I've some problems on my S4 mini with Android 4.2.2: buttonLED can see notification but it stopped immediately, no one blink :(

I try "test buttonLED" in settings app and it works perfectly but wiht notification won't blink. In accessibility I turned ON this app but no blink and I turned ON notification in Gmail settings too (i'm using this app for testing); so I turned ON logs and I test it, example:

01:48 Screen is on, ignoring notification

01:48 xda-developers (detected, app: Gmail)

the problem is that my screen is not ON: I can hear the notification and my screen does not turn ON and no one single blink :(
[Android Apps and Games] jeroxx:
Problems

Hi all, thanks for the excellent work.

My problem is similar to that reported in iMax87. I'm using ButtonLED and so far it has worked well, but this week has stopped working for me in my ThL W100. In the program's log shows me this type of Messages:

xxx Screen is on, ignoring notification

xxx (detected; Gmail app)

but the LED does not respond.

The test works perfectly LEd
[Android Apps and Games] dionysos77:
N7000 SweetRom V10

Hi everyone,

I installed the app and tried to locate the "file" and managed to "screen" to be notification and "flash light" to be notification. But none of the files enabled my "touch buttons" to act like notification.

Has anyone know which file shall be selected for that.

thanks in advance
[Android Apps and Games] joanie0795:
Hi!

I have the same problem. Is there something I / we can do?

Gesendet von meinem GT-I9195 mit Tapatalk 4
[Android Apps and Games] zurull0:
Hi

I followed all the instructions and doesn´t work on my phone.

The test works for me so i put the command:

while :; do echo 1 > /sys/class/leds/button-backlight/brightness; done;

The buttons light turns off when you turn off the screen but after a long time turns on a couple of times. With the command running, upon receipt of a notification buttons light turns on and after a few more times.

This application is vital for me, please help.

Details phone:

- Samsung Galaxy Ace II (GT-I8160)

- Jelly Bean 4.1.2

- Baseband: I8160XXMC8

- Kernel: 3.0.31-1016990

- Number of compilation: The Italian Job AOSP v1.0
[Android Apps and Games] iphoneandroidworld:
button led

first option:

Try reenabling ButtonLED in Accessibility. Do you have anything added to your exceptions list? Do the logs of the app show anything?

second option:

delete and than reinstall button led v 1.6
[Android Apps and Games] zurull0:
I've reinstalled and still the same.

Details phone:

- Samsung Galaxy Ace II (GT-I8160)

- Jelly Bean 4.1.2

- Baseband: I8160XXMC8

- Kernel: 3.0.31-1016990

- Number of compilation: The Italian Job AOSP v1.0
[Android Apps and Games] GermainZ:
Maybe your ROM is sending wrong signals? Also, check the next answer.

Alright, that is weird. Have you tried clearing the application's data, or uninstalling/reinstalling?

Does the FAQ help?

Well, as you said yourself, they're not reliable even when constantly trying to light them up. There isn't much I can do.
[Android Apps and Games] jeroxx:
Hello again. GermainZ, it is possible that application GTASK may interfere with ButtonLed?, I say this because I uninstalled GTasks and LED notification works again perfectly!
[Android Apps and Games] Commandox:
Thank you for a great app. Working great on Xolo Q800/Allview P5 Quad/Gionee GN708w/Fly IQ446(Magic)
[Android Apps and Games] Cheetah1024:
Random question: Does it work on the ASUS Nexus 7?:p:D:p
[Android Apps and Games] zurull0:
I changed the kernel to D-Kernel and now ButtonLed works perfectly.

Good job.
[Android Apps and Games] ril z:
Hey dev, thanks for your great work. My only question is how do you ignore all ongoing notifications (like now playing) without having to manually add them one by one? Or is there any workaround?

Thanks in advance.
[Android Apps and Games] vichunni:
Not working with S4 mini......!!

Hi....

I have installed it on my S4 mini..test led works fine but, when screen is off, nothing happens....log is not as usual...pls help me.....!!

I dont knw whether my kernel has BLN support.....
[Android Apps and Games] iMax87:
Hey GermainZ, thank's for reply.

I've stock ROM on my S4 mini (android 4.2.2), I try to reset cache, reinstall but nothing happens :( but in settings test LED works great :confused:
[Android Apps and Games] GermainZ:
No idea, might be Tasker related but I remember using GTask in the past and it worked fine along with it.

Nope, but you can use wildcard if you want.

Does the FAQ help? Read the part about checking if your device is compatible.

Read above.
[Android Apps and Games] vichunni:
Tried those methods in FAQ...no chance...i think i am not having a kernel with BLN support.....!!
[Android Apps and Games] KaylordTheuZ:
Mates! I'm having some probs related to auth given from SuperSU and ButtonLED so I'm gonna ask... How to remove/uninstall ButtonLED? I tried by unistalling from the menù, is it sufficient?
[Android Apps and Games] *rWx*:
Maybe working on phones with folder /leds-mt65xx/leds/red/, like my zp980 ... but i still have a mt6589 phone without this folder! It only has /leds/button-backlight/ folder. Where can i find the brightness folder for red charging led? Is it possible to activate the red charging led without the .../red/brightness/ folder?
[Android Apps and Games] rohan.thota:
even i tried on my galaxy note !

please gimme a solution !

i dint have anyluck making it work on my note !
[Android Apps and Games] rohan.thota:
so ive noticed that this app doesnt work on the galaxy note!

is that correct?

please can some one help me out
[Android Apps and Games] JoaoHxCx:
thanks...

works fine in ThL W100 - StefDio ROM :good: :good:
[Android Apps and Games] jaxzkeren:
thank you .....:victory:

it works on msm 8225q quadcore device .... beidou little chilli LA-M1

my device has led notification, but it works only for call and message...for social media like facebook, or kakao talk the led doesn't blink...and with this aplication it works ...:)

path is /sys/class/leds/blue/blinks

so if i like to make it permanent, which file should i look ?

thanks ...
[Android Apps and Games] Secundus:
i can not enable buttonled in accessibility, there is no service installed.

Log: ButtonLED service started

nothing else....

The Test works fine!

Star B94m wirh 4.2.1
[Android Apps and Games] szzlgupta:
this worked but ...

on testing through app, it worked fine! No worries!,

But when i recieved a real notification the app didnt work! and when i turned the screen on, it worked and keeps on working till the screen is closed!

shouldnt it work with the screen OFF ?

By its OP, its an awesome and very helpful app, but ,,,,,! please FIX!

Thanks
[Android Apps and Games] Secundus:
Now it works, i see the service in accessibles and can enable it.

i see the icon in the taskbar

when i simulate a missing call, the screen turns off. After 2 seconds the softkeys and the screen turns on an off. but that is all.. nothin else happens.

Here is the log:

20:02: stopped (screen turned on, battery 59%

20:02: missed call, processed, battery 59%

20:02: screen is on, ignoring notification

20:02: 0176567545xxx (detecded;app:telefon)

i think the problem is that my screen is going on. but how can i prevent this?

Android 4.2.1, Star B94M
[Android Apps and Games] QuBeX:
Doesnt work on lenovo k900 "intel_keypad_led"

The program power off the leds instead of brighten them. Any solutions?

Enviado desde mi Lenovo K900_ROW usando Tapatalk 2
[Android Apps and Games] GermainZ:
What do you mean by 'permanent'?

Try uninstalling/reinstalling (make sure you've got the JB version).

Does the FAQ help? The part about checking if your device is compatible.

It automatically stops blinking when your screen is turned on, that's the intended behavior.
[Android Apps and Games] szzlgupta:
I read FAQ help! It didn't help, I tried to do things in that, chnged system files and things but still not working
[Android Apps and Games] GermainZ:
Check the specific part I told you about.
[Android Apps and Games] Secundus:
I have solved the problem!

SuperSU brings a message to the screen everytime an app gets root rights. and this message turns the screen on and when the screen going on ButtonLED turns off notification. I have disabled messages in SuperSU and now it wors fine.

Many thanks for this great app!!!!
[Android Apps and Games] jaxzkeren:
to make all social media notification blinks the led...which file should i look ? i mean edit the system file and not using the apk ....

or it's hard to do ( required many file ) ?

say, if it's just look on android.policy.jar , i would like to learn...but if it's use many file ( hard to do ) then i just use this ....:)

thank you ...
[Android Apps and Games] GermainZ:
You might want to look at BLN, but I can't help you with that.
[Android Apps and Games] JRapsky:
works perfect for me

Hi,

I want to say thank you for this app. ButtonLED.1.6.HDPI_JB.apk works perfect on my china brand smartphones Star Q9000 and Alps N9500, both with Android 4.2.

best regards
[Android Apps and Games] caudas:
Hello

I have some kind of trouble trying to put ButtonLed to work on a Galaxy Fame S6810P.

The service is enabled in acessibility. I've tried to increase the time the leds are turning on, removing the superuser notifications, this test worked out perfectly, the correct fille has been located, (has i tested with all of the find / | grep brightness ), i've enabled the log and buttonled is processing all notifications...

...BUT! When it comes to turning on the LEDs on notifications, they don't!

I've tried many things on the FAQ and on the latest pages... any possible solutions?
[Android Apps and Games] shayanagha85:
Screen turn on

thanks for the effort alot :)

its a very good and useful app specially for galaxy models which lack LED Notifications.

i have somehow a problem:

it stops working because when for example the i receive 2 messages, when the second message arrives the screen turns on and it "ignores the notifications because screen is on", or when its in my pocket, sometimes the home button is randomly pressed and it ignores again because "screen is on" .......

what can i do for that?

is it possible that we could disable this "ignore when screen is on" feature and instead of that use "ignore when unlocked" feature??
[Android Apps and Games] shayanagha85:
???

any one answering?
[Android Apps and Games] shayanagha85:
please answer

i really need this app, please give me a soloution :(
[Android Apps and Games] Magissia:
You are on a forum not an instant messaging program.

The dev will probably needs systems logs to understand what's wrong to help you.

Regards
[Android Apps and Games] GermainZ:
It should be possible, but I won't be updating the app anytime soon. Feel free to grab the Tasker project and modify it if you can, though.

Also, patience is a virtue.

No idea. Can you grab a logcat? Thanks.
[Android Apps and Games] shayanagha85:
thanks for your consideration. how can i import this apk file to tasker? i'm new to this
[Android Apps and Games] GermainZ:
Read the first post.
[Android Apps and Games] Merwenus:
Apparently the "sleep mode" is not working, I tried it many times to put sleep mode ON at 8pm, and OFF at 5am (and vica-versa) but when I get a phone call at 9 pm button led still starts blinking.

It is a serious problem, because I usually get 1-2 mails 11pm and it drains baattery pretty much, and If i forgot to charge phone turns off and It is not ringing alarm clock. :\
[Android Apps and Games] shayanagha85:
thanks a lot. i did what u explained in first post, i imported the xml file, i did some changes, but i cant export it as an apk file. "error: sorry, export fail" is what i get.

i even tried to export your original xml file, i got same error. whats the problem?

could you explain when i want to export your own project , it asks for these :

package name: germain.buttonled

version name: 1.5

launch task : ??? (what should i insert in this field?) because i keep getting same error.
[Android Apps and Games] samuro625:
Excellent app, May be possible adapt it to LDPI resolutions? :fingers-crossed: I can't see all options in the menu :(
[Android Apps and Games] hanshengzhao:
.。。。。。。。。。。。。。。。。。

:good::good::good::good::good::good::good::good::good::good::good::good::good::good::good:
[Android Apps and Games] GermainZ:
That's unlikely, sorry.

No idea why that error is happening. The package name is just that (think of it as the system's name of the app), the version is, well, the version... Launch Task should have the Config task selected.

Sorry to hear that. I'm not sure what could be causing this as I thought I fixed it. A logcat may help, though I'm unlikely to update the app in the future.

Can you see if it works with time ranges that are within the same day? For example, 9pm-11pm. Thanks :)
[Android Apps and Games] shayanagha85:
can u export this attached file for me?

i didn't figure out how to export:(

but I could change some tasks and profiles in your xml file, and i just could export it to xml .

could you please do a favor and export this xml file to an APK file and upload it so i can test it and if it works i will notify you to put it in first post.

i know your busy and thanks in advance.

every thing else in your app works just excellent for me (

GALAXY S DUOS

), an i appreciate your efforts, but i wonder why no one else has faced this "stopping by screen on" problem, the screen could randomly be turned on by any app or any accident. and buttonled stops at any moment.
[Android Apps and Games] d4n3sz:
invalid apk

I get invalid APK error when I try to install the latest version.

What could be the problem?

S4 mini Duos, JB 4.2.2

I tried to install JB and non-JB version also, over ADB and from SD-card too. The error is the same.

Thanks!
[Android Apps and Games] wahuka:
Hello all.

I have HDPI_JB and see only half screen. I download MDPI_JB but see 2 files of icons and text.

I have JB 4.2.1

There are a file for 720*1280 5,7inch screen?

This is HDPI_JB, program works fine ,but resolution isnt.

Thanks
[Android Apps and Games] shayanagha85:
Thanks to NO one !!!!

i dont need any one do export that file for me (as no one helped or tried):mad:

thanks to no one, i found an alternative app that works much better than this.:victory:

its here:

Backlight and Sound Notification

use it , its so much better with no problem.:good:
[Android Apps and Games] GermainZ:
Tried redownloading?

Nope, sorry. You can try the XHDPI one if you want.

Cool beans, I've added that to the OP since I'm not planning on updating this app any time soon.

FYI, the old Tasker version is on my old device which I can't access till this weekend, so I couldn't do much. ;)
[Android Apps and Games] wahuka:
No problem.

Program works fine.
[Android Apps and Games] skverix:
Dont work

Dont work on my Star Q9000,dont find a file:( please help me:( and dont work file browser on buttonled...
[Android Apps and Games] JRapsky:
Just need to use the "auto locate" option, you have to choose from four different locations, I used the last one and it worked for me :good:
[Android Apps and Games] juozapas07:
great

works like a charm ir stock based rom :good: