yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] FcoEnrique:
I'm on stock kernel ZVC, Sprint Optimus G.

Test works, and the logs show that ButtonLED detects and processes my notifications, but it won't light the led.

I tried everything, including this:

http://xdaforums.com/show...&postcount=338

But terminal gave me an error creating the path.

(I used this one: /sys/devices/platform/msm_ssbi.0/pm8921-core/pm8xxx-led/leds/led:green/brightness )

does that means it's not supported? :confused:
[Android Apps and Games] JRapsky:
are you on stock rom or a custom rom?
[Android Apps and Games] ViolentR:
Doesn't work for me either S4 mini, guess it's not supported. Sucks that we have no LED type notification ;(..
[Android Apps and Games] xewonder:
Density 480

Hi,

I LOVE the app!

I have a Chinese S4 ADVANCED with JB 4.2.1 (nice phone) and the app works great.

But i have a problem with how the app displays..

I have tried the MDPI, HDPI ,XHDPI but the app does not display correctly... It's virtually impossible to go navigate through logs etc.

Can anyone help?

GREAT WORK!

EDIT* The issue remains by tuniong "Lage Text" on or off does not make much difference
[Android Apps and Games] GermainZ:
If XHDPI/HDPI is still too small, there's nothing I can do (as I don't plan on updating any time soon). :)
[Android Apps and Games] keshav1492:
BLN

how to enable this on rooted galaxy pocket? pls help...
[Android Apps and Games] cruising6n:
Great Job

Works great. Thx a lot.

Had some problems with configuring it and LBE Privacy Guard, but now it works perfektly. :victory:
[Android Apps and Games] ginllfixit:
Really struggling to get this working on my THL W100.

Have rooted, installed BusyBox and granted SU rights but when I try and auto locate brightness file I get the prompt 'BusyBox is not installed, would you like to download it now'.

Have read the FAQ and a lot of this thread without much joy. Can anyone help? Much appreciated if so.

Thanks.
[Android Apps and Games] just4747:
Was there never a way to get the notifications to work for other things like email/Facebook/etc..? Only texts and calls?
[Android Apps and Games] Tobo27:
Hi all!

I'm having some troubles with this app on my galaxy s2 plus (GT-I9105P):

Test works fine, logs detects the right notifications and leds stays on with locked screen as described in the quoted reply, but leds are always off if I receive any message or I miss a call.

Service is enabled in accessibility, I'can't understand why it won't work, any idea to fix it?

Thanks in advance for your help :)
[Android Apps and Games] trabeast:
this APP is working for me on my s iii mini. But when this app is running my phone doesnt go on deep sleep. Any ideas to fix this?
[Android Apps and Games] beastaki23:
Me too. I see now that the led can stay on while screen is off, but it cannot turn on while screen is off. this app blinks the led. so with screen off, once it turns off it stays off. If only there was a choice off keeping the led always on.

I tried to make an app for it, but on incoming call, when screen is off, it only stays wake for 10 seconds, and then it turns led and screen simultaniously. Is there a way of preventing android turn the leds off for two seconds?
[Android Apps and Games] walidhiphop:
file browser wont open what's the problem....i have galaxy ace 2...
[Android Apps and Games] beastaki23:
Actually i have worked workarround. For i9105p. check http://xdaforums.com/showthread.php?t=2542917
[Android Apps and Games] fxjerzy:
Cant get it working on Lenovo A820 (Lambda 2.3.4) with "ButtonLED.1.6.HDPI_JB.apk" any solution ?
[Android Apps and Games] Siggei:
path fot thl w100

Hi!, is there anybody who can tell me the path for the led on thl w100? it worked :confused:, but after having disinstall and reinstall it doesn't work anymore :crying:. i'm trying with /sys/devices/platform/leds-mt65xx/leds/red/brightness but it doesn't seem to be correct .... thanks
[Android Apps and Games] diestarbucks:
Closed because the OP has been annoying me :victory:

(Actually it was OP's request)

mod edit: next time I say you ban him :silly:
[Android Apps and Games] k1llacanon:
I don't have ur problem and I'm on one S...

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

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] k1llacanon:
Will this be updated?

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

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 asked for two weeks ;)

My exams end on Friday.
[Android Apps and Games] mon5trum:
Really don't mean to bother you but I have tried to locate my brightness file but no luck I have a Samsung captivate running the helly bean ROM! I appreciate the help and this app! :D
[Android Apps and Games] revealed:
Hallo!

I am impressed of this app! But i hit some problems:

Device: HTC One S with O2 branded stock firmware in germany. 2.38.207.2:: It is rooted with SuperSU;

ButtonLED 1.3;

It installs ok is finding the brightnes file automatically and the test in the app works fine. Directly after installing the whole app works ok.

Except:

I enabled it in accessibility. (Somehow it enabled parts of talkback in the Stock browser). So i enabled and disabled Talkback and ButtonLED in the browser until the browser was silent again. So that talkback is off and ButtonLED on. The app also worked at this point.

Then i restartet the phone and it also worked and the browser was silent. But...

After one day it stopped working. I wont get blinking LED Buttons even if manually exit and start the app. Any clue? The log doesnt contain anything like a error. Will try the reboot the phone and see...

I tried enabling disabling permanent notifications. And installing the apk over the same installed one..

Greetings,

R
[Android Apps and Games] revealed:
I found out the problem with partial audio output. I had web-scripts enabled ins settings. That made the browser talk even if Talk Back was disabled.

Don't know why audio in browser gets enabled when different accesibility feature is enabled, but ok.

Will check again now.

Greetings,

R
[Android Apps and Games] GermainZ:
The app isn't supposed to work correctly on JB, but if you want to try it anyway, try searching your device's forum. :)

Good to know you fixed it. It's actually an android related bug. :)

Is it working now? Normally, the logs would look something like this:

12:16: Screen turned on.
12:05: Proximity detected, pausing for 300 s. <-- if proximity is detected
12:05: My Contact @WhatsApp Group (processed) <-- if the screen is off
12:05: My Contact @WhatsApp Group (detected)
12:01: ButtonLED Service Started.
[Android Apps and Games] revealed:
Hi.

Yes it is working now. But the log actually gets filled with something like a sms chat history. An other logmessages not related to to your app. So I will just turn the log off. That should reduce writes to the memory.

Working, thank you!

Greetings,

R
[Android Apps and Games] xpresotw:
Ctrl d first
[Android Apps and Games] GermainZ:
It actually writes every notification in the logs unless it's added to the exceptions.

Just to make sure tho, I'm talking about the in-app logs, not the logcat.

Read what I said above :)
[Android Apps and Games] xpresotw:
Its work :thumbup::cool:
[Android Apps and Games] revealed:
I disabled the in app log.

I disable logging from apps where i can to reduce disk writes considering it is something like a flash memory and not a conventional harddisk...... never mind.

Greetings,

R
[Android Apps and Games] GermainZ:
Updated to v1.3.1:
[Android Apps and Games] arunsai123:
it does not installs in cm9 ....
[Android Apps and Games] GermainZ:
Device? Does your device have a proximity sensor?

Also, try installing via adb (GIYF), it'll give you more info about why it's not installing.
[Android Apps and Games] arunsai123:
yes.

proximity sensor.

my device HTC explorer
[Android Apps and Games] GermainZ:
Try installing it using adb, then. You should get a more meaningful error.
[Android Apps and Games] arunsai123:
I think it is rom problem.

error is

Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

any solution?
[Android Apps and Games] GermainZ:
Try installing Google Maps.

I don't know why Tasker keeps the Google Maps part in its manifest even when the exported app doesn't require them, and I couldn't decompile the apk to fix it.
[Android Apps and Games] Androidnow:
Force closing on galaxy acei XXLH3stock deodexed.

Sent from something which calls itself an Ace with an I.
[Android Apps and Games] GermainZ:
I have an Ace I and it works.When does it FC? Also, logcat?
[Android Apps and Games] Androidnow:
When i start the app Or reboot the fone. Not at my computer right now. Will get a logcat asap.

here is the log cat

Sent from something which calls itself an Ace with an I.
[Android Apps and Games] rj_85:
This is an excellent app. Very useful. Great job germainz. Btw if i leave smethng in notificatn and switch of d screen, will d capacitative leds still work? Iam still gng to d entire thread so this might alrdy b answrd.
[Android Apps and Games] GermainZ:
I'll check that out.

There's no way to detect if a notification has been cleared or not, so that's not possible.

ButtonLED will assume all your current notifications have been viewed when you turn the screen on.
[Android Apps and Games] rj_85:
Ok cool. Btw i did notice slightly faster battery drain. Although i have increased d time fr led to be off to 15 secs. U thnk u can add smethng like silent hours whr d led will stop flashing on a set schedule?
[Android Apps and Games] josewds:
@GermainZ,

Thanks a lot! :good:

Keep up the good works please! :highfive:

Working on my phone: (installed ButtonLED v1.3.1 (03/12/12))

LG Optimus GT540

ROM:

Android 2.3.7 base on AOSP v.2.0 with 2.6.35.10 kernel by miroslav_mm

and brightness file:

/sys/devices/platform/pmic-leds/leds/button-backlight/brightness

A small suggestions: :)

1. in configuration interface, the texts should be based on left aligned. It will prevent the non needed changes of eye focusing form right to left, back and forth, again and again to look for the beginging of every line (sometimes this may led to disturbed brain, confusions and/or human errors). ;)

2. add an option of "Confirmed to delete?" for the deletion of the entries inside the "Setup Exceptions", instead of single tap deletion without second chance (human errors again ;)).
[Android Apps and Games] maek_it_happen:
Add different patterns ....like a carousel
[Android Apps and Games] ash.shahbaz:
tanx

tanx,very goood
[Android Apps and Games] ddlooping:
Hi all,

GermainZ, any advance on JB compatibility. :)
[Android Apps and Games] Androidnow:
Did you find the error?

Sent from something which calls itself an Ace with an I.
[Android Apps and Games] GermainZ:
Obviously, it will use some battery when it's active.

1. Not sure what you mean. Screenshots might help. :)

2. Will do.

Different patterns per notification?

Tasker is only generating corrupted APK files for JB devices. If you have Tasker and you can generate & install JB+ APKs correctly, contact me.

It seems to be Tasker related, posted it on the Tasker forums and waiting for a reply.

Did you try the usual steps, tho (uninstall/clear data/restart)?
[Android Apps and Games] GermainZ:
Faster compared to what?
[Android Apps and Games] Androidnow:
I am going to change my rom anyway. Which all roms is it supporting? Any idea? Between...yes i tried reinstalling and stuff.

Sent from something which calls itself an Ace with an I.
[Android Apps and Games] GermainZ:
I'm using jelly blast, but considering all of our roms are themed roms it shouldn't be giving any problems.
[Android Apps and Games] janaman:
thanks ! My Ace 5830i It works perfectly
[Android Apps and Games] jusaini28:
flash not working help

led lights next to home button work with this app when i get notifications.. but when i use flashlight instead of button lights it doesnt work..

the flash light doesnt even work for the test..

i have galaxy ace and using wayland's CM 9.. any help is appreciated :fingers-crossed:
[Android Apps and Games] GermainZ:
Auto Locate should find a bunch of files. One of them is the capacitive buttons' light, another is the flashlight's.

So try disabling the flashlight in the options, and use Auto Locate to find your flashlight's brightness file.

If that doesn't work, you can locate it manually (try searching, or ask in your device's forum).
[Android Apps and Games] :
Fantastic app! One thing I seriously missed about my N1 was the hard button notifications lighting up and now thanks to you I'm alot happier and aware of messages etc because on the One S that tiny tiny led is useless!

Only problem I'm having is that when I get a notification the lights blink as they should but when I turn the screen on my soft keys backlight switches off and won't come back on until I close and wake the screen again. Only having three buttons its not hard for me to use in the dark but it is a niggly little annoyance. Anyway for me to correct this please?
[Android Apps and Games] GermainZ:
Glad you found it useful :)

That's because ButtonLED will turn them off to make sure they don't stay on.

The system should override it within a few seconds (so instead of turning the screen off/on, just wait for a bit).

However, considering turning the screen on also turns the LEDs on, I'll modify ButtonLED not to turn them off, so the default behavior shouldn't change.
[Android Apps and Games] :
Useful isn't in it ;)

I have given it time but it does not switch them back on but I have learn't a little trick. If I wake the screen whilst the light cycle is on it switches them off BUT if I wake screen when the light cycle is off it switched them on :D

Happy bunny again now!
[Android Apps and Games] kevin0905:
is there any way to put this feature into a rom by default without an app?

a very good app but the app itself sometimes freezes
[Android Apps and Games] GermainZ:
Without an app? I guess it would be possible if you're building from source, but the only thing you would be doing is integrating what the app would do into the android source.

Also, modifying the kernel is an option (BLN; GIYF).
[Android Apps and Games] kevin0905:
I've tried to find a guide on how to add the feature to the kernel but haven't found anything

or how would I integrate this into the system? or could you share with us how to create such an app with tasker? thanks in advance
[Android Apps and Games] luxandroid:
Everything arena to work fine except that my led light is constantly on ,only when notification bar is pulled down ,than it turns off as soon itd puled up or when lock device itd back on ?? What could cause this ?
[Android Apps and Games] GermainZ:
You might want to take a look at other kernels' sources. Anyway, this thread is the wrong place to ask.

I've been promising to write a tutorial about how to do this in Tasker but I still haven't found the time.

I'm not sure what you mean.

Do your capacitive buttons' lights stay on when you turn on the screen? If so, waiting for a few moments should cause the android system to override it and turn it off.

If that's not your issue, then please explain it a bit more clearly ;)
[Android Apps and Games] haselchen:
Help, i go crazy.

My Device: GT-S5830i

Android: 2.3.6

Kernel: 2.6.35.7 rafael@baugis #201210210105

Try to install any of these versions 1.3.1 with CWM. Because zip File. But Phone says "installation aborted"

Any ideas why?
[Android Apps and Games] GermainZ:
Wrong thread? There are no zip files here.
[Android Apps and Games] neosnow5413:
Hi , How about ICS ( 4.1.1 ) and Unrooteddevices？ Mine is Asus Padfone2 ...........
[Android Apps and Games] mon5trum:
I am sorry do you mean ICS 4.0.X

Jellybean is 4.1.1

Sent from outer space with the power of ANDROID!
[Android Apps and Games] neosnow5413:
Oops..... it's 4.1.1.

I forgot I updated it few weeks ago .....
[Android Apps and Games] GermainZ:
It won't detect notifications on JB+ (4.1.1 is JB), which makes it useless. Using the flashlight instead of the capacitive buttons should work on unrooted devices.
[Android Apps and Games] frank@:
hmm, unable to find correct backlight file :(

auto search found wrong file, while testing I thought my phone is broken (screen backlight off) :crying:

maybe problem of custom rom I using: TiramiSlim 2.0 based on SlimICS

or is it kernel related? (Devil ICS 1.0.3)
[Android Apps and Games] GermainZ:
You probably picked the screen's backlight file.

Auto Locate should find more than one file. Can you write the list here?
[Android Apps and Games] frank@:
No, it found just one file, no more, no list of files :(

Send by xda and GT-I9000, powered by the great ROM TiramiSlim
[Android Apps and Games] x3m.zone:
Love this app. I recommended to others in Desire dev section. Just one thing: call notification work ok on HTC Desire with CM10.1 (android 4.2.1) but Messages notification not working.
[Android Apps and Games] GermainZ:
Can you find "/sys/class/leds/button-backlight-xxx/brightness" or "/sys/class/leds/button-backlight-xxx/brightness"? Or just the folder ("/sys/class/leds/button-backlight-xxx/" or "/sys/class/leds/button-backlight/")? (use Manual Locate or a root explorer of your choice)

Although the dev section might be the wrong place to recommend apps, thanks :)

About the messages notification, that's because CM uses a different way to notify about unread texts; the only way I know of would be to directly poll the databases, but I'd rather not do that (more battery usage, not precise enough, some users might be concerned even tho there is no Internet permission).
[Android Apps and Games] frank@:
No, my phone hasn't a folder /sys/class/leds :crying:

and now :confused:

Isn't this ROM or kernel related? maybe I can ask in specific forum or developer
[Android Apps and Games] Messatsu:
Edit : mistake ^^
[Android Apps and Games] GermainZ:
Try asking in your device's section, and report back :)

This app has nothing to do with BLN. My device has no BLN kernels.

EDIT: Also, if the user receives an SMS but doesn't read it and the screen turns off, ButtonLED will notify him till he turns his display on again.
[Android Apps and Games] Messatsu:
My bad!

I'll give a try with a stock ROM to try it, good job!
[Android Apps and Games] deathblade:
Will this be updated to work on jb devices? I'm really hoping so, being my phone (infuse 4g) is lacking a notification led
[Android Apps and Games] GermainZ:
I've said this a few times already, Tasker is creating a corrupted APK for JB (SDK Version: 16). If you have Tasker and want to try exporting it, send me a PM.
[Android Apps and Games] frank@:
Hi,

ask Developer of my kernel, his answer
[Android Apps and Games] GermainZ:
Then use BLN, it's more reliable and doesn't run as a service.
[Android Apps and Games] dbts25:
Works on Galaxy Ace 2 GT-I8160

Path to brightness file is:

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

Odoslané z GT-I8160 cez Tapatalk 2
[Android Apps and Games] uchihakurtz:
Tested and working on my Galaxy Ace II (I8160) on stock ROM. The path to the brightness is:

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

Credits to dbts25

Manual searching takes a bit long though but overall it works, thanks dude for making an awesome app :D
[Android Apps and Games] howdid:
I searched so long for this feature and now it's not compatible with jb :( please make it work with jb

Gesendet von meinem HTC One X mit Tapatalk 2
[Android Apps and Games] szymon.z:
Screen orientation vs ButtonLED

Is it possible to make ButtonLED comatible with "screen orientation" option? Now application support only "portrait view". When i flip my phone to landscape, menu is only on the middle of screen and wont back when i revert to portrait. ps. i use "holo launcher".
[Android Apps and Games] GermainZ:
I'll see if listing the files is faster using shell commands instead of Tasker's built in actions. Should that be faster, I'll update the app.

BTW, /sys/class/leds/button-backlight/brightness should be automatically detected by Auto Locate. Didn't that work?

PMed two users, including you, who volunteered to try and export the app for JB. ;)

Added to the to do list.

Also, an ETA for the impatient: ~2-4 weeks.
[Android Apps and Games] szymon.z:
Could someone explain me how works proximity sensor in ButtonLed? I can adjust this option in menu but i think that my proximity sensor doesn't work with ButtonLed. How can i run simply test to verify this? Should I see something in log after this test? Thank you.
[Android Apps and Games] dbts25:
I was waiting for two minutes but Auto Locate didn't find anything

Odoslané z GT-I8160 cez Tapatalk 2
[Android Apps and Games] GermainZ:
Here's how it works, in order to save battery:

(edit: ok, it should be fine now)

--------------------------
|Notification is detected|
--------------------------
|
| --------------
-> |Screen is off| -----
-------------- |
-----------------------
|Check proximity sensor| <----------------------------
----------------------- | |
--------- | -------- | |
|Inactive| <---------- ----> |Active| -> Wait X seconds |
--------- -------- |
| ----------- |
-> ---------------------------------------> |Flash LEDs| ------------
| ----------- (If the LEDs have
| | been flashed 25 times)
--------------------------------------------------
(Repeat 25 times)

Also, when the proximity sensor is active, a log entry is added.

Strange. I'll have to check it.
[Android Apps and Games] dbts25:
I've just tested proximity sensor and it doesn't work for me. When screen is turned down leds starts blinking and there is no log entry

Odoslané z GT-I8160 cez Tapatalk 2
[Android Apps and Games] szymon.z:
The same for me. Doesn't work. How can we debug this to help solve this problem?

Ps. i'm on gt-s5839i
[Android Apps and Games] GermainZ:
The proximity sensor doesn't work indeed. It's Tasker related, will see what I can do.

Also, I'll share the Tasker project in a few hours or so. That way, the curious will be able to check it out, and jelly bean users who have Tasker will be able to use it.

Also, for those of you who use lower end devices and have Tasker, it should reduce memory usage since you'll only be using Tasker. :D

Regarding the jelly bean app, I think I'll be able to provide a version without missed calls notifications (thanks go to the users who pmed me, will add credits when it's posted). Better than nothing.

Thanks for the patience :)
[Android Apps and Games] GermainZ:
Added the Tasker project to the OP. Will add test JB APKs later.

:)
[Android Apps and Games] neosnow5413:
GREAT! i can't wait to test it on my Padfone 2 !
[Android Apps and Games] howdid:
Any update?

Gesendet von meinem HTC One X mit Tapatalk 2
[Android Apps and Games] manu44:
Not working on my Samsung Skyrocket using JB Leak 4.1.2

It ios not able to find the Brightness file at all.
[Android Apps and Games] GermainZ:
It's not compatible with JB anyway.
[Android Apps and Games] GermainZ:
Sorry, I don't have much time till next week.
[Android Apps and Games] :
NICE APP

Working nice on HTC Explorer. since my device don't have led light. I was thinking for this kind of app, and found it today. I am thinking if it is possible to change the color of backlight it will be cooler or at least the brightness. thanks
[Android Apps and Games] GermainZ:
The capacitive buttons' LEDs only have one color, and most of them (if not all) only support two brightness levels (0 is interpreted as off, anything between 1 and 255 is interpreted as on).

So I'm afraid that's not possible. :)
[Android Apps and Games] :
hi,

is this working for all apps (like normal bln kernel based) or only for missed/sms ?

thanks
[Android Apps and Games] Aniket.t20:
Just test it out and must say its pretty good... one suggestion though - If you could have an option for the led to blink say 2-3 in abt 1/2 or less seconds interval and then have a gap of say 20-30 seconds n then blink again in a similar manner! It would be awesome