[AT&T LG Optimus G] CapnPez:
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).

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.