[UPDATE: 16th Mar] Notification LED v2.0.1 - FREE version uploaded on the Market!! - Streak 5 Android Development

I've put this in the Development section because whilst it is almost fully functional, it still needs a lot of development. Please be aware of this when you download it. I am not to be held responsible for anything that may happen as a result of running this app.
Requirements:
Root Access & a Custom ROM (StreakDroid 1.8.0 recommended (CONFIRMED WORKING ON 1.8.0))
Built under a 2.2 framework. If you are running anything pre-2.2 please be aware it may not work.
Please remember to remove all previous versions of the app before installing.
Simply open the app and press the "Menu" button. I hope you can figure the rest out! Enjoy!
"LED Notification FREE" has been uploaded in the Market. It has full functionality and it Ad Supported.
Please be aware that this version includes an "AdBlocker Check". This will block the app from opening if you have an adblocker installed on your phone. Sorry about this but i hate adblockers Alternatively, you can just remove all instances of Admob from your Hosts file.
Code:
[I][B][COLOR="blue"]QUICK HANDCENT FIX[/COLOR][/B]:
Open Handcent, press 'Menu > Settings > Notification settings > Popup settings'.
[B]MAKE SURE[/B] 'Screen on for popup' is [B]UNCHECKED[/B].
Handcent wont interfere with my app from then on :D[/I]
NEW TO 2.0.1
Asks for SU Access when the app first loads Fixes some weird error that happens every now and again.
Completely re-coded the SMS receiver. Much smoother now!
SMS and Gmail Notifications can be turned on or off
New settings page - done properly now, wont save anything to sdcard [you can delete your STREAKLED folder now!] Press the 'menu' button when you open the app for settings.
Permissions tweaked (should be less LED problems)
KNOWN BUGS
Changing orientation during the pattern causes problems. Just don't do it!
Notifications overwrite each other. So if an SMS message arrives and then a Gmail, only the Menu button will be lit, and vice versa.
Services cannot be stopped (only by uninstalling) FIXED - 2.0
Sometimes all the buttons will end up being lit, not sure why. [SHOULD BE FIXED]
TODO
Add options for turning the SMS and Gmail notifications on and off DONE - 2.0
Have different patterns for each DONE - 1.3
Improve the UI (sort of) DONE - 2.0
Improve the pattern flashing sequence (sort of) DONE - 2.0
Clean up the code (WIP )DONE - 2.0
Fix orientation issue
This will ALWAYS be available for free on here, on Modaco and on my website (see sig) but i have uploaded a 'donate' version on the Android Market Place priced at £1.50, just incase you fancy buying me a beer
Enjoy

Meltus said:
I've put this in the Development section because it is not fully functional and still needs a lot of development. This is basically a proof of concept app.
Requirements: Root Access (tested on 2.1 but build under a 1.6 framework so it should work on 1.6)
All you have to do is run the application, hit the home button and receive a text (or send yourself one). If your phone is locked it will wake up and dim the screen and flash the home/menu/back LEDs in a nice pattern and then keep the screen dimmed until you unlock the phone manually.
The only problem is that you will receive a Force Close error message and you will then have the re-open the app for it to work again. I am trying to fix this but will not be able to look into it for a few days so i thought i would release what i've done so far.
I will be adding settings and more patterns as soon as i can fix this FC error.
Enjoy
Click to expand...
Click to collapse
Well... GREAT!!! Thanks! It works... Was searching this kind of app for weeks. Thanks again!

Great little app. Can't wait for thenext update

Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.

Amdathlonuk said:
Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.
Click to expand...
Click to collapse
Screen burn is an issue on LCD screens, hence why i set it to do a dim wake lock instead of a full brightness one. Saying that, i have absolutely no idea whether screen burn would still occur but ill test it tonight and report back
On a positive note i have fixed the FC error and will release the fully working version tomorrow!!

Nice work dude ! Look forward to a full release tomorrow.

Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App

jdmnash said:
Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
No, i'm afraid not.
Without Root Access it will probably just force close.
Currently in the process of adding more LED patterns
It also now wakes the phone, unlocks the phone and displays an "SMS Message Received" popup which it then hangs at until you close it.
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?

Meltus said:
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?
Click to expand...
Click to collapse
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...

a042349 said:
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...
Click to expand...
Click to collapse
Yeah, that's the only problem.
unfortunately, killing the screen freezes the LEDs in whatever state they're in, completely defying the point of the app
What i could do though, is wake up the screen, flash the LEDs but leave one on and turn the screen back off. This would turn everything off apart from that 1 LED and you could use different LEDs for different notifications. I'll try that out later.

Yeah, that seems like a good idea. Maybe the Back LED for missed SMS, the Menu LED for missed call. Something like that.

That would be cool, I'll await your work and give it a try.

Well, it turns out that works miles better than what i was trying before.
Basically, it now turns the screen on, keeps it locked, flashes the LEDs, turns the screen back off and leaves the home LED on.
Give me about 10 mins and i'll put up a working version. No FC error this time

Can't wait for this!
Sent from my Dell Streak using XDA App

First post updated with a working version
None of the options work on the main screen yet, but they will.
Enjoy

I haven't tried this yet, but I just want to say THANKS! No notification light was driving me crazy! I'm gonna install it now. I like that it would kill the screen but leave the LED light on. That's perfect!
**EDIT**
Well, it didn't work perfectly. Here's what happened on my Beta Streak....
With locking disabled (I use the 'NO LOCK' widget), it turned the screen on and said 'SMS received' and the home LED was on, for about 1-2 minutes, then both went off. When I turned back on the screen and read the msg, the LED went out.
With locking enabled, like most people would be using the app, the screen turned on for a few seconds while the LED pulsed, then both went out. No notification. When I unlock and read the msg, the home LED stays on. I have to 'clear' the app in the notification tray and lock then unlock the screen to make the home LED go out.
Seems like they're little tweaks that could be needed. If you can make this work and be functional, I'll donate to your Paypal! Again, thanks for your work on this project!!

Yeah, it's still pretty much in it's 'Alpha' stage
Cheers, for the feedback, i'll look into the errors.
I know that if the screen is unlocked the Home LED will stay on until you lock/unlock the screen, but that should be an easy fix (hopefully), and i've not set up the Thread's quite right i don't think which could be causing the timing errors.
I'll be spending all of tomorrow getting this thing working so i'll report back

Awesome! You are the man!

A thought for down the road development:
Earlier today when I was thinking about this, I imagined an interface where the user could "record" their own flash sequence for each type of notification they had - email, sms, mms, missed call, etc. Just choose which notification they want to specify, click record, then tap the capacitive buttons in the sequence you want them to light up, then end the recording. Interval timing could be recorded or specified manually. Just a few ideas!
Thanks so much for this. I'll give it a run soon.

Awesome work. Wanted something like this. I hope you will be able to add notifications for misssed calls and gmail as well. Keeping my fingers crossed.

Related

[MOD] Blinking Button Notification for ROM 354, 360, and GS2.4b3

BLINKING BUTTON NOTIFICATION for 354, 360, and GS2.4b3 Dell Streak ROMs
UPDATE (2011/10/20) v0.999
Uploaded blinking button notification patch version 0.999, for ROM 354, 360, and GingerStreak 2.4 beta 3. Drop support for ODEX-ed ROMs as it seems impossible to update with ODEX-ed framework on ROM 354.
Download the correct version for your ROM below:
Update.zip v0.999 for DEODEX-ed ROM 354 and 360
Update.zip v0.999a for GingerStreak 2.4 beta 3
UPDATE: Confirmed working as tested by zero410
Changelog (0.999)
- Fixed screen turned on during LED blinking. Screen will never turn on neither lit when blinking the notification!
- The 3 capacitive buttons cannot be used to stop notification anymore. The phone needs to be unlocked with power button to do so.
- Prevent button LED blinking on proximity sensor activation during phone calls.
PS: The most ideal, elegant, and power-friendly solution for enabling backlight buttons for use on notificaiton LEDs are, still, loadable kernel modules. The patch will never reaches version 1.0, unless it is implemented as kernel module, in the future.
UPDATE (2011/10/16) v0.91
Uploaded blinking button notification patch version 0.91, for GingerStreak 2.4 beta 3.
Changelog (0.91)
- Fixed blinking to disable when USB is connected between 8:00 PM to 4:00 AM.
The feature wasn't working before.
ORIGINAL POST v0.9
What is it?
I would like to have a notification LEDs like the ones found on BBs. Unfortunately, Streak didn't came with any (hardware) notification light. I've tried several notification solutions but still not satisfied. Heck, I'm not even satisfied on how Froyo handles notification LEDs! Hence breaking in the Android framework, and the resulting update.zip
This update will patch your Streak so it will now blinks the button(s) backlights whenever an application puts *any* notification icon on the status bar. That's right, the patch won't care whether notification asks for light or not. It'll just blink it! The update also (of course, priority requirements!) notifies and blinks missed calls.
How to use
0) Always do nandroid backups! You can just restore the system image if anything goes wrong.
1) You'll need to know whether your ROM version 360 is deodexed or not. If you don't, then most often it's the odexed stock ones. Grab the correct update patch in the attachments.
2) My Streak is rooted. But there is no requirements for root privileges on the updates. So I think it should work on non-rooted phone. Hopefully.
3) Clear /data/dalvik-cache contents before flashing. Sometimes it needs clearing, but sometimes it don't
4) Boot into StreakMod and flash the proper Update.zip package.
5) Restart. As usual, on deodexed systems, replacing files will cause some longer boot time as the update is odex-ed during the boot process. Be patience.
6) Lock the screen, let the screen timeout, or whatever.
7) Get notified on any notification icons and missed calls
8) Congrats! You can now busy playing with your (better) other phones and keep Streak laying on the desk without even touching it!
Features
+ Blinking keypad backlight notification for any applications that provides notifications with icon when the screen is turned off.
+ Missed call notifications, too.
+ One-press power button to clear blinks. You can use any of the three capacitive button, also. Cool!
+ Blinking is disabled when ringer is in vibrate mode. Useful when Streak is in your pocket and blinking it would be useless.
+ Automatically disables blinking when charger is plugged in, after 8:00 PM and before 4:00 AM. Useful when you wanted to hibernate, together with your phone, you phone!
It should be able to be re-enabled manually through notification icon, but unfortunately the feature isn't working (yet!)
TODOs and glitches
- LCD blinks before the first blink, and keeps awake -- albeit with zero brightness -- while blinking. Cannot solve without custom kernel (or custom drivers?)
- Tapping the notification for "Button blinking disabled" does not clears the notification nor re-enable blinking.
Somehow I can't capture the Intent sent from NotificationManagerService itself. Oh well, probably will be important for people who works midnight and slept in the afternoon!
- Inconsistent behaviour on clearing missed calls notification and other notification types.
If you did not answer call while LCD screen is on, next lock screen will cause missed calls notifications blinking. The notification on the status bar had to be cleared before locking the screen.
- It is not known how much battery drain does leaving the phone blinking all the time costs!
- Can't imagine doing all over again on this on Galaxy Note. Maybe I'll just skip that!
Happy blinking!
Just wondering how to do this for gingerbread or any other version
as i have GingerBread by djsteve. i would love to have that on GB
can u please sir let know how to do that or can do for GB by djsteve on Modaco
jitin02 said:
Just wondering how to do this for gingerbread or any other version
as i have GingerBread by djsteve. i would love to have that on GB
can u please sir let know how to do that or can do for GB by djsteve on Modaco
Click to expand...
Click to collapse
Hi,
Will be trying Fards' and DJ_Steve's latest GingerStreak 2.4 later tonight. There seems to be very positive response on the system stability on the release.
I wouldn't mind having my own Gingerbread build for that kernel including the feature. If so, I would plan to extend with additonal Settings for Gingerbread that gives you more control on the blinks
I am also thinking of another possibility to run Gingerbread on Streak, but will check their latest release to see whether it's stable enough for production uses.
Will check them after trying GingerStreak 2.4
Cheers
UPDATE: Flashed GingerStreak 2.4 and it is indeed very promising. There might be something on the pipeline though, as stated on the wallpaper
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
greekunit690 said:
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
Well there are some reasons why I'm not keen to use the StreakLED:
1) I don't like to have a service hanging around wasting my RAM for something that should've (and is, actually) been built into the system.
2) The modification for Blinking Button notification works of framework level and hijacks all notifications. Any app that attempts to show notification on the status bar will be blinked
But I've just re-read StreakLED's entire thread and thinking. Probably it would be good to have a LED that stays lit instead of blinking to get better power saving, after blinking for sometimes, say 1 hours.
The unresolved problem seems to be the way to just "wakeup" the backlight buttons instead of the entire LCD screen. If anyone knows how to wakeup just the backlight buttons, then power problems should be solved. Haven't got luck with writing "power:blablabla:wakeup" on /sys/leds/button-backlight/power/wakeup.
Looking forward to see the beta on GB
Sent from my Dell Streak using XDA App
greekunit690 said:
Or u can just download streakled from the market or blackmart
Sent from my Dell Streak using xda premium
Click to expand...
Click to collapse
Instead of getting through Blackmart illegally, why not just download it for free from the forums?
Sent from my Dell Streak using xda premium
def going to try this right now! do you know of any way to make the led lights STAY on all the time?(while screen is on). if you can help me with this i will donate to you
grasshoxda said:
def going to try this right now! do you know of any way to make the led lights STAY on all the time?(while screen is on). if you can help me with this i will donate to you
Click to expand...
Click to collapse
Yes I know (I did accidentally during testing it. It seems like a harmless bug in the backlight driver), but it's for keeping the button backlight lit during screen off.
But why would you want led on all the time with screen on? We are going to let backlight stay lit after an hour to preserve lcd power?
Sent from my Dell Streak using Tapatalk
ive always though its wrong to have touch buttons like that that dont stay lit up. if its dark at all its a little hard to press them first try. it looks so much cooler with them lit. ive been trying to find a way to do this forever with no luck, even got djsteve to message me back but hes said no. please help, ill send you some money or something. been dying to have the damn lights stay on! im on simple streak 1.3 beta. thinking about trying the 2.4 rom
Uploaded version 0.91 for GingerStreak 2.4 beta 3. Checkout the first post
grasshoxda said:
ive always though its wrong to have touch buttons like that that dont stay lit up. if its dark at all its a little hard to press them first try. it looks so much cooler with them lit. ive been trying to find a way to do this forever with no luck, even got djsteve to message me back but hes said no. please help, ill send you some money or something. been dying to have the damn lights stay on! im on simple streak 1.3 beta. thinking about trying the 2.4 rom
Click to expand...
Click to collapse
I agreed with you. It's not very distracting though, but it's a good idea, though it had to come with settings in which you can enable/disable. Will post back once I findout how to modify the behaviour.
Great job! Works great on StreakDroid GingerStreak 2.4 Beta t-mobile aws
Very useful, thank you very much...
On 2.4 gingerbread my screen stays on all the time. Are there any options available for this?
Thank you.
dacho said:
On 2.4 gingerbread my screen stays on all the time. Are there any options available for this?
Thank you.
Click to expand...
Click to collapse
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
partie said:
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
Click to expand...
Click to collapse
Obviously what's preventing the mod to become 1.0
Sent from my Dell Streak using Tapatalk
if it could light the buttons up for a notification and not the screen, and have a side option to keep the buttons lit all the time while the screen is unlocked that would be awesome
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
dacho said:
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
Click to expand...
Click to collapse
Ah right, the trigger doesn't detects whether the phone state is in call or not. Fixed on next release.
partie said:
I agree. It would be great if there was an option to disable the screen from turning on. The L.E.D. Notification is great but if you had an option to keep the screen off this mod would be perfect.
Click to expand...
Click to collapse
Fixed on v0.999, please check first post
dacho said:
It has potential but as of now I went back to streak led. On my device it seems that screen stays on for ever. Also when you make a call the screen would turn on and stay on regardless of proximity sensor because there is a notification in the notification bar while talking. Just letting you know. Thanks for your involvement in development.
Click to expand...
Click to collapse
Fixed on v0.999 as well

Illumination bar notification app

Hi,
I created an app that will let an Xperia S/P/U light up the illumination bar when there is an unread SMS or a missed call.
Available at Google Play if you search for "Illumination Bar Notification"
link
For U model there is multi color support, and for S/P there is only the one color supported by the hardware.
The LEDs can either blink at various speeds or have a constant light.
There is an option to stop the light when the screen is unlocked or keep blinking until the SMS has been read or the call has been acknowledged.
I have only an Xperia U to develop on, but it has been tried on S/P as well.
If you have any problems let me know and I'll try to fix it.
Thanks to user sl1nk3 that figured out there was an API we can use.
-------------
*** Running on custom ROMs ***
If you run CyanogenMod or other firmware not from sony you may need to install additional libraries for this app to work.
First option: IlluminationReceiver
This solution works for all devices with illumination bar (S/P/U/SP) and does not require any sony libs at all:
Latest version: http://forum.xda-developers.com/showpost.php?p=49359381&postcount=1175
First version (post contains more info) http://forum.xda-developers.com/showpost.php?p=37393546&postcount=664
--
Older solutions for solving this by installing sony libs:
Check out this post for instructions: http://forum.xda-developers.com/showpost.php?p=31592702&postcount=1180
For CM9 on Xperia U, read this post: http://forum.xda-developers.com/showpost.php?p=36310840&postcount=459
This is just what I've been waiting for. Thanks a lot! Will try it now
Edit. Working great! In a future update, could you add the feature to disable it after a pre-set time? Believe it will drain battery after some time
Play link: Illumination Bar Notification
Sent from my Xperia S
This is nice. Could you make it blink? and can you make it for email as well?
Thanks very much.
Good man I was waiting on an app like this.
edit:
can you add an option to leave the illumination light always on when the screen is on. I like to have it on when it is dark so that I can see where the buttons are. Thanks
only white colour :-(
Nimche said:
This is nice. Could you make it blink? and can you make it for email as well?
Thanks very much.
Click to expand...
Click to collapse
It has option to blink already.
There is no standard android way for apps to be notified for incoming e-mails, so adding e-mail support would likely mean having to implement a full e-mail client.
Maybe there is another way, but not that I know of.
mrsatan said:
can you add an option to leave the illumination light always on when the screen is on. I like to have it on when it is dark so that I can see where the buttons are. Thanks
Click to expand...
Click to collapse
That is probably doable, but I think it would be best to have that in its own app, since it is not related to notifications
Dude!!! I'm Not Gay, But I LOVE YOU!!! U Gave The Proper Meaning Of Sony's This STYLE ICON!!!
These are the things I would like to have for future update!!!
1-Stop the blinking after certain time period (for battery backup)
2-Notification for
A-CHARGE COMPLETE (as this wont drain the battery,and keep it cool)
B-Whatsapp notification
3-Please change the icon of this app (add a cool one for this cool phone)
4-Low rate of blinking should be much lower I think (like each blink after 5 sec)
5-If its possible blink in different style (disco,rhythmic...etc)
THANK YOU AGAIN, I REALLY LOVE TO SEE THIS IS INSTALLED WITHOUT MODDING OR ROOTING MY PHONE!!!
THANK YOU!!!
The app is pretty buggy for me.
sometimes it works "lighting up" but sometimes it doesnt even light up and instead it makes my screen lights up -.-
i like it when my screen is pitch black when i receive something.
please fix and will reconsider downloading.
thankyou
I would love to see the source code for this if you would like to release it. I had been working on a version of it myself, but I only just started android programming.
Also if you need a cool icon I can make you one. PM me
id just figured out whats the bug is.
1) a- it doesnt light up when you check "stop light when screen is unlocked"
the screen goes on and the led strip stops flashing.
b- and sometimes it doesnt light up until the second msg comes in or calls
c- overtime when just received a text or two the screen turns on as well as the led strip lights up, then somehow the screen turns on like every 10 secs or so. (not receiving anything)
2) like i said before please make the screen stay off when receiving any notifications. my screen goes on after i installed this app.
3) please include whatsapp and email for it.
thankyou really appreciate your work here. well done
Oh looks so great!, i thank you for this kind of worf as other request i dont want integration with other apps, just that the led stops blinking after a certain time
Looks great, but as the notification bar isn't very bright I would also like to see the notification LED continuing to blink as well.
Also, would be great if emails can be included.
Thx man, continue to develop it for more stuff (not only msg, and calls).
I will consider some donation then ;-)
Sent from my LT26i using XDA
Not sure why but it does nothing until I unlock the screen.
Sent from my XperiaS via subspace beacon.
Thanks for this! Works great!
Great app man!!
In the future, could it be possible to have custom flash rate? I think even the "slow" setting is quite fast.
Suprised this feature was left out at launch. But thankyou for this app!
Works great!
sent from my Xperia S
Great app! Really something that should have been there from the start!
What I would like to change are the following:
* no screen turn on when you receive an sms or call
* email support (for some)
* timeout - after the timeout it would switch to the notification led it's using now.
I'm not sure yet, but does the low battery standard notification still work? Or do you have to turn it off completly for this to work?
In a way a really like to think that this should only be used for calls, messages and emails.. maybe even not emails.. It should diferentiate itself from other notifications.. so this could only be used for those that you have to instanlty reply.. like messages and calls.. But I would still use the blue notifications for facebook, green for emails and red/orange for low battery. I think that this is how both things should work together.
Really great, light and cool app!!
But like some guys, my screen turn on when I receive an SMS
Moreover, sometimes the vibrations bugs: normaly, it's like "brrrrr, brrrrr" but sometimes I have "brr..." so in my pocket, it's not really noticiable

[APP] Optimus Nano Notification

As many of you have noticed, the notification light on the LGOG is annoyingly slow. In light of this, I sought out a solution. I've tried Light Flow, which worked well enough, but it wasn't quite what I wanted. I thought I was on to something with Tasker (awesome app!) and had something functional. Then I saw the great work from GermainZ here posted by TangoXray here and saw that it was possible to also include using the capacitive button backlights similar to BLN (back in the Samsung Captivate days). After a while of fiddling, I've come up with this Tasker-made app.
I designed it to be straight forward, yet have several options. It's a bit simpler to use than GermainZ's app, but is not as powerful or customize-able since it is designed specifically for the E970 (it may work with other devices, but I doubt it).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It requires:
1. Root Root is NO LONGER NEEDED!!!
2. Secure Settings (has a needed plug-in for Tasker and allows the screen to be woken up). The app will prompt for installation of this from the Play Store (it's FREE).
3. Accessibility enabled. The app has a button to quickly access it.
The options are:
1. LED on and off times (in milliseconds) are adjustable. However, it appears the system has a limit to how small of an off time is allowed.
Default: 1000 ms on and 100 ms off​2. Notify duration (in seconds) for how long you want it to work before shutting off after a new notification. This way your lights aren't flashing for too long (this should be a battery saving measure if you suspect you might leave your beautiful phone alone for very long).
Default: 600 s (10 minutes if you needed help with the math )​3. Screen On With Notify. When enabled, the screen will turn on momentarily (roughly 3 seconds) when a new notification arrives. I find this helpful so I can quickly look at the notification bar when the notification arrives without having to touch the phone.
Default: On​4. Button Lights. When enabled, the button backlights will pulse at the rate specified with the LED on/off times.
Default: On​5. LED Light. When enabled, the red notification light around the power button will pulse at the rate specified with the LED on/off times.
Default: On​6. ONN Notification. When enabled, a notification will appear in the dropdown when you receive a new notification. This can be clicked to clear the light flashing, but still keep the message in the notification bar. This can also be set to permanent (until the notification is cleared). This is pretty much only useful if you "swipe" away your notifications. Since I haven't found a way to clear the light flashing from such an action, the lights will continue to flash until you open up one of the supported apps.
Default: On and On​7. Clear On Unlock (Go Locker). When enabled, the ONN notification will clear and cancel the blinking when you unlock your phone. The app's notification that triggered the event will still be in your notifications. Now works with Go Locker (the only 3rd party lockscreen I've tried it with)! I assume that the stock lockscreen and Go Locker trigger in different ways. I hope to get it to work with other lockscreens.
Default: On (Go Locker Off)​8. Clear On Screen On. When enabled the ONN notification will clear and cancel the blinking when the screen turns on. Even if you have the "Screen On With Notify" enabled, it will still keep the notification until you purposefully turn the screen on.
Default: On​9. No Timeout While Charging. When enabled, the ONN notification and blinking will not timeout while your phone is charging. When you unplug, the timeout timer restarts.
Default: On​10. Battery Level Cutoff %. When your battery is below this level, the ONN notification and blinking will cancel and no new notifications will trigger ONN.
Default: 20%​11. Constant LEDs. When enabled, the lights do not blink, but rather stay on. This has the trade-off of not needing the app to use loops (helps with battery), but potentially uses more battery since the light is on more. More testing is needed to see if it hurts.
Default: Off​12. No LED while Charging. Turns off the LED when charging so that the light is only used for notifications. The light will still turn on momentarily when you plug in the charger.
Default: On​
There is also an option to test your settings. You just need to turn your screen off and then when you're done, click "stop". Be aware that the first time you use it, it may behave a little off until you grant root access. After this, it *should* work smoothly.
Right now, I have it set to trigger on notifications from:
Calendar
Email
Gmail
Google Voice
Messaging
Missed calls
Google Talk
Contacts +
K-9 Mail
WhatsApp
Line
To reset the notification, you can do one of the following:
Click on the notification
Click on the ONN notification in the dropdown (if enabled)
"Clear" the notification in the dropdown
Open one of the supported apps (you could open Gmail to clear a text, for instance)
Click the "Stop" button within the app (next to the "test" button)
Using #7 or #8 above
Other recommendations:
Inside the app SuperSU, you can set it to not show a "toast" notification each time. Otherwise, it gets a little annoying seeing "ONN has been granted superuser access" each time.
I have turned off the ONN Notification toggle so I don't get the extra icon in my notification bar (and so the new notification stays visible a little longer instead of the ONN Notification "scrolling" up.
Inside System Settings --> Display --> Notification Flash, turn off the "Use LED light for notifications". I'm not sure it would interfere, but I figure might as well leave it off so it doesn't cause issues.
When updating the app, if you encounter issues, clear the app data.
I will later try to add more features and spruce it up a bit. But for now, I think it's quite functional. Please let me know if there's anything not working or if something should be added. I'm new to app making with Tasker, so it's a bit of a learning experience. I have also attached the Tasker XML that I used to create the app in case anyone wants to use that or improve it.
Changelog:
v1.1
Fixed the Google Talk trigger
Added ability to clear notification by turning on the screen or unlocking the phone
Added no timeout while charging
Added auto-cancel when battery below user-specified value
Spruced up and modified the UI
Added "About" to the UI
v1.2
Fixed Messaging and Email clear (forgot to actually add these originally)
Added Go Locker unlock
Fixed lights getting stuck (prevented the task from disappearing when the screen is off)
Added support for Contacts + and K-9 Mail
v1.3
Added support for Line and WhatsApp
Added constant on for the LEDs toggle (instead of blinking)
-the red power LED will still pulse like it did for charging
Added "No LED while Charging" toggle so the LED is only used for notifications and not for charging.
-the light will still turn on momentarily and then turn off
Improved battery usage (hopefully).
-This *will* still use more battery than if you didn't use it since the lights are on longer than the stock notification interval
v1.3.1
Removed need for root (I no longer use the echo "255" script--instead, I saw that the max brightness for the button backlights is 3, so I could just use the Tasker function).
Two versions--one with the K9 Plugin (you will need to have K9 installed whether you want it or not), the other without the plugin so you don't have to install the app (it's free, so it's not a huge deal IMO). It will still work with notifications sent from the K9 app either way and opening the K9 app will clear notifications.
Made sure it works with Jellybean (thanks to gstar101 for catching the earlier incompatibility)
Bugs:
Still behaves a bit funny at first (specifically after the first install and before root access is granted)
*May* experience higher amounts of battery consumption. Please let me know if this happens (I've been getting roughly 3 or 4% battery usage from ONN).
TODO:
Find a way to get the screen on function to work without Secure Settings
Get 3rd party lockscreens (besides Go Locker) to cancel the notification
Add other apps to trigger ONN?
Eventually, I will release this on Google Play under my developer name "NanoTech". First, I'd like some feedback on what bugs need to be fixed or features that should be added. GENTLE feedback is appreciated!
Special thanks to GermainZ for answering questions about Tasker and putting up with me. Also, thanks to TangoXray for letting us know about ButtonLED in the LGOG forum.
Good job
You could probably make it work without secure settings: try using shell commands to control the screen's backlight. If I'm not mistaken, something like "echo 255 > path" will turn the screen on if it's off (you can then use the user defined variable for brightness, since Tasker can get that).
Good luck!
Edit: Actually, using an intent to turn the screen on should be much easier. I have the habit of over complicating things, lol. Google it if you like, not sure what the syntax is (you can either use the shell or the built in Intent action).
Awesome!
Edit: It works well by the way.
Working pretty well :thumbup:
Love that you incorporated the ability to have both cap buttons and led blink together.
Nice job!
Sent from my LG-E970 using xda app-developers app
Works great, for me it hasn't been killing my battery, and makes the notification light usable. Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Great job.
milkyline said:
Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Click to expand...
Click to collapse
I'm pretty sure setting the red led to anything greater than 0 sets the led to pulse. To get smooth pulses, adjust the on times. I'd start with 3 seconds and adjust from there.
Sent from my LG-E970
Since I use the Diztrinuc case, which blocks the power button, this app is indispensable. Thanks for putting it together! This works great to enable the front button lights as notification lights.
Sent from my LG-E970 using XDA Premium HD app
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
I'm glad it's working well! Also, no one has told me any bugs, which means that I made it flawless--doubtful--or, any issues are small. Either way, I'm fine .
I had thought about the individual control, but I'm pretty sure they are all connected. So, to my knowledge, that is not possible.
I like your 2nd idea! I'll work that into the next release. I'll probably release something new soon (likely, this weekend) that is a big re-work of the whole thing. I'm trying to add the option to have the notification stay on as long as it is charging (so it won't timeout), as well as have it stop if the battery is below a certain percentage. I've also fixed the Google Talk notification. I haven't been able to find a different way to get the screen to wake up momentarily without the use of Secure Settings. Personally, I don't think it's a big deal, but it's probably preferable to not need to download a second app--even if it is free. I'll bug GermainZ some more to see if he has any ideas for me .
Almost had a bug for you. Figured out it was the permanent on option lol Nice work.
Btw, that wakelock issue that we talked about hasn't reappeared :thumbup:
Sent from my LG-E970 using xda app-developers app
hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.
I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app
mws1986 said:
I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.
CapnPez said:
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.
Click to expand...
Click to collapse
Well do what you can. You have already done more than I could do. This is a great app and I'm looking forward to see where its headed. Thank you
Sent from my LG-E970 using xda app-developers app
Globalrebel said:
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.
Click to expand...
Click to collapse
I'd also like to see this implemented, if possible. Otherwise, I'll keep saying it, this is a very very VERY useful app. Thanks again for the work!
The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?
johnbyebye said:
The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?
Click to expand...
Click to collapse
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.
CapnPez said:
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.
Click to expand...
Click to collapse
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:
johnbyebye said:
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:
Click to expand...
Click to collapse
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.
CapnPez said:
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.
Click to expand...
Click to collapse
Thanks. I did enable Accessibility each time. I switched to your app but I'm still having issues. These apps really don't like me, haha. Maybe something is conflicting? I'm not sure. My app settings are attached and here is a video of what happens:
EDIT: I don't have ButtonLED installed at the same time just fyi.
http://youtu.be/sLLcNmVi2RQ
The LED stops blinking and then the duration changes to something else.

[APP][2021.03.02] Holey Light - Samsung/Pixel Notification LED Emulator [v1.00]

100% Free - 100% GPLv3 Open Sauce - No ads - No tracking - No nags - Optional donation
Holey Light is a LED emulation app. It animates the edges of the camera cut-out (AKA punch-hole) as replacement for the sadly missing LED on many modern devices.
Additionally, it provides a notification display for when the screen is "off", replacing - or working in conjunction with - the Always-On Display feature. As this display is not around the camera hole, it is aptly named the Unholey Light.
Supports all Samsung devices with in-screen camera hole, and several Google Pixels.
Features
Emulates notification LED
Four different display modes: Swirl, Blink, Pie, Unholey Light
Configurable animation size, position, and speed
Customizable color for each notification channel
Selects initial notification color by analyzing dominant color of app icon
Displays during screen "off", sub-1% battery use per hour in Unholey Light mode
Separate configuration modes for different power and screen states
Ability to mark notifications as seen based on various triggers
Respects Do-Not-Disturb and AOD schedules
Can hide AOD completely, partially, and/or keep the clock visible
Additional AOD Helper package for further battery usage reduction
All teh details and all teh sauce!
It's all on GitHub!
Download
You can grab it from Google Play.
Feedback
You can feedback here. Or in the GitHub issue tracker. Or talk to me on Telegram. I guarantee no response or fix.
The workings of the app are quite intricate, so describe what is happening in minute detail.
TODO
You can find the TODO list in the issue tracker.
Enjoy!
Or not.
Changelogs and release notes have been moved to GitHub
- also reserved -
Here we go. Another app I'll probably buy.
Just post the donate button now. ??
Nothing pops up on my S10+ after permission needed 2/4 (link device). Are there any logs i could provide? Is there any way to link it manually?
Seems not working for me - S10.
I tried it and received some push notifications from telegram, Outlook and WhatsApp, but no holey light (nice name btw).
F0rbidN said:
Nothing pops up on my S10+ after permission needed 2/4 (link device). Are there any logs i could provide? Is there any way to link it manually?
Click to expand...
Click to collapse
There's no selection dialog for a Wi-Fi network / Bluetooth device at all? Have you tried closing/reopening the app? Uninstalling/reinstalling it? Making sure Wi-Fi and Bluetooth are both on and you're connected to something?
I do not know how to link the device/companion app manually, no. Until I needed it to work around a bug in the notification system, I didn't even know it existed.
Jannomag said:
Seems not working for me - S10.
I tried it and received some push notifications from telegram, Outlook and WhatsApp, but no holey light (nice name btw).
Click to expand...
Click to collapse
Try un/reinstalling and rebooting.
I've seen others who use notification access comment it sometimes doesn't start, though I haven't encountered that behavior even once during testing.
Otherwise I don't know. Did you grant all the permissions? Did a device link pop up?
It could of course also be an internal crash. Check logcat.
Chainfire said:
There's no selection dialog for a Wi-Fi network / Bluetooth device at all? Have you tried closing/reopening the app? Uninstalling/reinstalling it? Making sure Wi-Fi and Bluetooth are both on and you're connected to something?
I do not know how to link the device/companion app manually, no. Until I needed it to work around a bug in the notification system, I didn't even know it existed.
Click to expand...
Click to collapse
Enabling Bluetooth fixed it, I didnt know it has something to do with it. Thank you for your work an quick help.
F0rbidN said:
Enabling Bluetooth fixed it, I didnt know it has something to do with it. Thank you for your work an quick help.
Click to expand...
Click to collapse
Neither did I, hah! It actually shows Wi-Fi networks for me too, and selecting one of those worked just as well during testing, so I didn't think it'd matter.
thanks master for your app.
I'm using s10+ exinos and i just want to report that's working.
my device is charging and notification is working fine, got an email for testing. i hope it will work if device is using battery power and screen keeps off if notification comes in.
additional info if it's important: I'm using fingerprint, face and pin security.
thanks again
m8980 said:
i hope it will work if device is using battery power and screen keeps off if notification comes in.
Click to expand...
Click to collapse
Hopefully soon, but I am quite busy with my day job at the moment, it may be a week or two!
Thanks!
Off screen show lights does not show.
i am charging my phone wirelessly and AOD is turned off.
on S10
Can't seem to get it running but I'm super excited about this. Maybe I need to ditch the Samsung edge Lighting
When I tried to perform permission needed 2/4 (link device), I cannot find any device name call "Holey Light" and I only can find the Bluetooth-enable device around me. Do I just need to choose one of them?
Chainfire said:
Try un/reinstalling and rebooting.
I've seen others who use notification access comment it sometimes doesn't start, though I haven't encountered that behavior even once during testing.
Otherwise I don't know. Did you grant all the permissions? Did a device link pop up?
It could of course also be an internal crash. Check logcat.
Click to expand...
Click to collapse
I found out that it's working for Gmail and Samsung's Stock Email app, even when locked.
WhatsApp works, but only when unlocked and only when status bar is visible (so not for full screen apps).
Does your app stops the phone from going into deep sleep?
hi,
what shall i need to do to step 2/4?
attached the image.
m8980 said:
thanks master for your app.
I'm using s10+ exinos and i just want to report that's working.
my device is charging and notification is working fine, got an email for testing. i hope it will work if device is using battery power and screen keeps off if notification comes in.
additional info if it's important: I'm using fingerprint, face and pin security.
thanks again
Click to expand...
Click to collapse
how did you passed step 2/4?
It's written in the description what to do. Link it to any Bluetooth or wifi nearby.
pigmich said:
When I tried to perform permission needed 2/4 (link device), I cannot find any device name call "Holey Light" and I only can find the Bluetooth-enable device around me. Do I just need to choose one of them?
Click to expand...
Click to collapse
Just pick something, it doesn't matter what.
Jannomag said:
I found out that it's working for Gmail and Samsung's Stock Email app, even when locked.
WhatsApp works, but only when unlocked and only when status bar is visible (so not for full screen apps).
Does your app stops the phone from going into deep sleep?
Click to expand...
Click to collapse
WhatsApp works fine for me, both locked and unlocked, so that's strange. What sort of full screen app did you test with? Might be Android hides the overlay when an app is fullscreen? Note it only works in portrait mode, there's no way to draw in the right place in landscape.
stefanz08 said:
hi,
what shall i need to do to step 2/4?
attached the image.
Click to expand...
Click to collapse
Just select something, doesn't matter what.

Good alternative for LED notification light?

I've tried a couple of the recommended apps. Pixel Pulse was still too subtle to be noticed from afar. I couldn't get Always on Edge to wake up my phone screen, though after a lot of trouble it DID finally blink when I had the screen on... I'm almost positive I gave it all the requested (and optional) permissions. Is there another recommended app that could produce a noticeable blinking light when I get a notification? In case it matters, I am using a Pixel 3a.
E_Pixie said:
I've tried a couple of the recommended apps. Pixel Pulse was still too subtle to be noticed from afar. I couldn't get Always on Edge to wake up my phone screen, though after a lot of trouble it DID finally blink when I had the screen on... I'm almost positive I gave it all the requested (and optional) permissions. Is there another recommended app that could produce a noticeable blinking light when I get a notification? In case it matters, I am using a Pixel 3a.
Click to expand...
Click to collapse
Have a look at NotifyBuddy
decker39 said:
Have a look at NotifyBuddy
Click to expand...
Click to collapse
I tried it, but it doesn't seem to work for me. I don't know if it is because notifications are waking my screen, or what. But I don't get any notification light while my screen is off.
EDIT: I had seen the developer reply to a comment saying it wouldn't work after screen wake, by design, as a deliberate effort to save battery. I just turned off the "Wake Screen Upon Notification" option on my phone, and that made NotificationBuddy work. But I want something that will still work after the screen wakes.
I am pretty sure with this device your only choice is to use AOD and then these apps work. Otherwise, they can only really wake the screen. I use LED blinker with AOD on and it works every time, but can be a bit glitchy when trying to open the phone to see the notification. What I mean is, if I use my fingerprint, it does not always go to homescreen, I have to press power button to relock and try again. This is really google's fault for not adding a native option for some kind of blinking on the screen. I think no matter what it would require AOD to work though.
I've always said that something as tiny as the notification LED on Android phones made them far more useful than iPhones. I'm disappointed that Google has removed this once great advantage over Apple, just as it did with the old notification ticker from the pre-lollipop days.
wangdaning said:
I am pretty sure with this device your only choice is to use AOD and then these apps work. Otherwise, they can only really wake the screen. I use LED blinker with AOD on and it works every time, but can be a bit glitchy when trying to open the phone to see the notification. What I mean is, if I use my fingerprint, it does not always go to homescreen, I have to press power button to relock and try again. This is really google's fault for not adding a native option for some kind of blinking on the screen. I think no matter what it would require AOD to work though.
Click to expand...
Click to collapse
Even with AOD on (which is not my preference) these apps still don't seem to work correctly. Do I also have to disable the wake screen for notifications option? I really dislike these choices.
I'm getting really frustrated that I practically have to hack my phone to get it to do things that my phone from 4 years ago could do natively.
E_Pixie said:
Even with AOD on (which is not my preference) these apps still don't seem to work correctly. Do I also have to disable the wake screen for notifications option? I really dislike these choices.
I'm getting really frustrated that I practically have to hack my phone to get it to do things that my phone from 4 years ago could do natively.
Click to expand...
Click to collapse
Not sure, I am running a custom rom. All I have done is enabled AOD and installed the app and it works.
I have led blinker, it's the best one I found... Not as perfect as a real notification led but it do the work

Categories

Resources