yashsingh1/xdaforums huggingface dataset:
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
What is this?

Basically by installing this application, as soon as you receive a notification, the front flash of your phone starts blinking as it were a notification LED.

It can be useful to all those (but not only) that have a device without the notification LED, but instead have a flash next to the selfie camera.

Various settings are also available to better configure the application to suit your needs.

It works on all devices equipped with a front flash, regardless of whether or not it has the hardware notification LED.

More information, detailed specifications and the download link in the main thread
[Moto Z2 Force  Themes, Apps, and Mods] djeniuss:
Thanks for sharing. It works well in my Moto Z
[Moto Z2 Force  Themes, Apps, and Mods] Chrisy8s:
Light flow also works for this
[Moto Z2 Force  Themes, Apps, and Mods] DsturbD:
thats for phones with a notification led, the z2 force does not have one, this app uses the front flash instead
[Moto Z2 Force  Themes, Apps, and Mods] Chrisy8s:
Negative. There is a flash function. I've used it.

---------- Post added at 01:31 AM ---------- Previous post was at 01:31 AM ----------

It uses both front and back flash too
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
[UPDATED] FrontFlash Notification v1.7

Changelog

1.7 (current release)

extended support to both Camera and Camera2 API to properly detect and manage the front flash also on devices with limited access to the camera (e.g. new Samsung device series)

fixed the issue with Gmail notifications on Android 6.0 devices

fixed the missing installed applications issue in the excluded applications list

fixed the wrong low battery detection issue on some devices

added a "select/unselect all" toggle switch in the excluded applications list

integration with the current Android "Do not disturb" settings as an additional way to disable the service in certain situations

minor fixes and code optimizations

updated internal black list for the auto-excluded applications

some GUI improvements and adjustments

new dark theme

new application icon

some corrections to writing errors

added the Deutsch translation

Download

Link on first post
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
FrontFlash Notification v1.8.3

Changelog

1.8.3 (current release)

official Play Store release

minor bug fixes in the notifications detection engine

added compatibility to Android 8.0 Oreo (API 26)

added the Polish translation

In order to always keep in touch with the latest updates, I strictly suggest you to uninstall any previous version you downloaded here from XDA and then install the official Play Store ones.
[Moto Z2 Force  Themes, Apps, and Mods] enetec:
Not exactly. Moto Z & Z2 both have an hidden front led that sometimes show up during power off charge.

There are some (bad developed) apps which, using root, are able to enable it BUT they don't work very well and interfere with display luminosity... so if this app would be well customized, it could use it...
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
Hi,

thanks for your brief esplanation dude.

Just to clarify... does this app detect this sort of hidden flash?

This app is designed to use a real hardware front flash... so, does it work on Moto Z and Z2 or not?

Thanks in advance
[Moto Z2 Force  Themes, Apps, and Mods] enetec:
Not tested yet! :p
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
FrontFlash Notification v1.9

Changelog

1.9 (current release)

fixed the service force close issue and runtime exception on some Motorola devices

minor bug fixes

added the Spanish translation
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
FrontFlash Notification v1.9.2

Changelog

1.9.2 (current release)

added the option to force the English language

fixed the Samsung Email application issue

stability improvement

added the light sensor management (if present) for the flash type auto-adjustment (single/double)

added the option to use the rear flash when device is turn upside down

added RTL support for Arabic languages

Download

Link on first post
[Moto Z2 Force  Themes, Apps, and Mods] spacejam:
FrontFlash Notification v1.9.4

Changelog

1.9.4 (current release)

added the Portuguese (Brazil) translation

added the Arabic (Egypt) translation

added the French translation

added the Czech translation

added the Croatian translation

added the Russian translation

added the Arabic (Syria) translation

new range values for the duration and the frequency of the flashing loop

Download

Link on first post
[Moto Z2 Force  Themes, Apps, and Mods] shadavis08:
Yes this app works on the moto z2
[Moto Z2 Force  Themes, Apps, and Mods] theandies:
Thank you Thank you Thank you. I've been an HTC guy for years and just made the jump to the Moto Z2 Force. One thing I missed from my HTC was the notification LED on my M8. You just fixed it. Where do I donate?

Yes, this app currently works on the Z2F. It blinks the front facing flash.
[Moto Z2 Force  Themes, Apps, and Mods] Deep 11:
Thank you so much
[Moto Z2 Force  Themes, Apps, and Mods] wrenhal:
Love this app. Only used it for a few days, but do enjoy being able to see when I have missed notifications.
[Nextbit Robin] Prospero.X-3:
The LP5523-controlled segmented LEDs on the rear of the Nextbit Robin are one of the device's most unique features. Yet they see very little use, being used only for effects relating to the now-defunct "Smart Storage" in the stock ROM and simply displaying a pattern during boot in custom ROMs. Nextlit rectifies this by employing these lights as a useful notification indicator.

DOWNLOAD

​

Nextlit allows you to preview the five patterns programmed into the LP5523 by Nextbit plus another five unique to the app, and select one to activate when a notification is received. You can configure patterns for individual apps, letting you identify which app requires your attention without needing to wake your phone. Nextlit exploits the potential of the segmented LEDs to encode greater meaning than can be expressed with the standard notification light and looks cool while doing it.

If you want to use the app for any more than simply previewing the available patterns you'll need to give its service notification access. The application does not read nor care about the contents of notifications; the only thing it does is count them. You can see the relevant routines here.

The app needs root access in order to access /sys but will work on any ROM. Nextlit has been featured on XDA and is free software, released under the Mozilla General Public License version 2.0.

To do

user-definable patterns

necessitates an assembler for the LP5523's instruction set

music visualisation

BCD clock

(optionally) disable lights while charging

Changelog

2.0

First release marked as 'stable'

Completely overhauled UI

Added app icon

Added per-app notification configuration

Added five new patterns: Breathe, Pulse, Chase, Blink and Dapple

By default, notifications will now only activate the lights if they would normally activate the standard notification LED

Calls and alarms now activate the lights

Added service configuration options:

Obey Do not disturb policy

Mimic standard LED behaviour (experimental)

Minor changes:

Improved service stability

Fixed preview not stopping if service not bound

Renamed 'show for ongoing' to 'show for all notifications' to better reflect its function

Preview now ends on app pause

Service will now disable if unbound

1.2

Fixed possible force close on unrooted devices

Service is now persistent between reboots

Added 'show for ongoing notifications' option

1.1

Added option to enable lights when screen on

1.0.1

Fixed possible force close on service enable

Fixed service failing to stop

1.0

Initial release

XDA:DevDB Information

Nextlit, Device Specific App for the Nextbit Robin

Contributors

Prospero.X-3

Source Code: https://github.com/biqqles/nextlit

Version Information

Status: Stable

Current Stable Version: 2.0

Stable Release Date: 2018-09-17

Current Beta Version: 1.2

Beta Release Date: 2018-01-13

Created 2018-01-13

Last Updated 2018-09-17
[Nextbit Robin] NurKeinNeid:
The preview works but I can not enable it for notifications. The app force closes if I try. How do I give the app the correct permissions? There is no permission in the app settings, which I can assign.
[Nextbit Robin] Prospero.X-3:
Oh dear :s The app is meant to take you to the notification access settings when you first enable the service with the switch, does it crash before that? You can try giving it access by navigating to notification access yourself (For Nougat, Settings > Apps > cogwheel > Special access > Notification access). What ROM and Android version are you on?
[Nextbit Robin] NurKeinNeid:
I am using a personal build of AOSiP, Android 7.1.2

The app quits before the query. But thanks for the hint. I did not know this option yet. I already had logfile ready. But it works now. At least the message "Service started" came.

Thank you for your quick help. :)
[Nextbit Robin] NurKeinNeid:
Here is a logfile from matlog. This is my first logfile ever created. If you need something special, let me know. I would like to help provide useful information.
[Nextbit Robin] NurKeinNeid:
Now I have another problem. I hope I do not flood the thread. The LEDs do not stop flashing. Even if I turn off the service, the LEDs come back on with the screen off and keep dancing.

But I'm still very excited. Many thanks for your effort. :)
[Nextbit Robin] Prospero.X-3:
Thanks for the logcat. I actually realised what the error is just after my last post (stupid mistake, it'll happen whenever someone has no apps set up for notification access), and that is fixed. I will try to reproduce the service failing to stop, but it's working fine for me. I'll upload an updated apk, hopefully with fixes for both, later today. Don't worry about spamming the thread or anything, I can only fix things if people report them :)
[Nextbit Robin] C0D3FRE@K:
OMG thanks for the effort, really really appreciate it. I hope other ROM devs see what you did and implement this in their ROM's. Props to you for working on the application, great work keep it up please.
[Nextbit Robin] Prospero.X-3:
New version (1.0.1) is up, with fixes for both issues. I've updated the download link in the OP. Because Android caches services, you should uninstall 1.0 before installing 1.0.1 for the fix to take effect.
[Nextbit Robin] L3R0N:
Thanks for the update. Service starts and stops fine now. I look forward to future improvements to this app.
[Nextbit Robin] Prospero.X-3:
I'm glad it's working now. Thanks for all the words of encouragement everyone :D Has anyone confirmed everything working on stock, just so I can update the OP?
[Nextbit Robin] DiePirate:
Working on stock 7.1.1.

How much is the battery drain?
[Nextbit Robin] Prospero.X-3:
That's great news! I'll update the OP.

Regarding battery drain, when I wrote that I was thinking about the service that listens for notifications requiring loads of wakelocks because I misunderstood the way that the NotificationListenerService works. Unlike a normal service, it actually runs constantly in the background and is managed by the Android system rather than the app itself (this was also the reason for the "service not stopping" bug that was fixed in 1.0.1). So I'll remove the lines about "minimising battery drain" in the OP, unless people report that the app is actually having an effect on their SoT. For the lights themselves, according to max_current, each LED can draw a maximum of 3.2 mA , so assuming negligible power consumption of the LP5523 itself, that's just 12.8 mAh, or just 0.5% of the Robin's total battery capacity per hour (assuming they're at 3.7 V) for all four at full brightness.

One thing that will actually reduce power consumption, though, is adding options to show only when the screen is off (you can't see the lights if you're using the phone after all!), and to only show patterns for notifications that would normally activate the "standard" notification light (so music players don't set it off, for example).

In other news, I have setting custom patterns fully working, but need some more time to document the process fully, and to come up with some nice ones to show off what the chip is capable of. The LP5523 can hold up to 96(!) instructions, but the kernel driver only supports up to 16, which is quite frustrating. I may be able to find a workaround for that by chaining multiple engines together, but that's something for later. In the future I'd also like to try to implement user-definable patterns, but that will take more time.

This project has been rather more popular than I expected, so now is a good time to ask everyone: what features do you want to see in the app? :D
[Nextbit Robin] oshane126(jamaican):
App doesn't work

After installing and turning on notification access for the app force closes when trying to open it
[Nextbit Robin] raulrash:
Lights don't stop flashing

Great use for the leds. A few observations:

Using the app (1.0.1) for a couple of days now. The leds do not stop flashing after dismissing notifications.

Also, while there is no notification for the service stopped, it does stop on its own after a 3-4 hrs (Which is when the leds do not flash when receiving notifications) Haven't figured out what makes it stop yet.

I'm on LOS 14.1 (Android 7.1.2)
[Nextbit Robin] C0D3FRE@K:
I would like to see custom pattern notifications for different apps, that'd be really cool and awesome
[Nextbit Robin] lolitstony:
Installed app, ran app.

Nexlit has stopped working.

Notification access granted.

Still no luck.

Lineage OS (latest)
[Nextbit Robin] C0D3FRE@K:
you're Rooted right?
[Nextbit Robin] lolitstony:
Yes I'm using root.
[Nextbit Robin] Prospero.X-3:
Logcat please.

That's odd. The logic for handling a notification dismissal is as simple as counting the number of active notifications and turning the lights off if there aren't any, so I can't think why the lights would enable but not disable. It sounds obvious, but did you have any low priority persistent notifications active while testing? That's honestly the only thing I can think of.

This is definitely something I'm planning!

Seeing the app featured on the side panel was a great surprise today, but it keeps the pressure up to improve it :D
[Nextbit Robin] DiePirate:
Please make the leds works only with screen off.

Sorry for my english.
[Nextbit Robin] Prospero.X-3:
Added in version 1.1! By default the notification lights will now only activate when the screen is turned off, but I've added an option to enable them when the screen is on too. OP updated with new download link.

Work towards custom patterns continues, but they are still not as reliable as I would like so I haven't enabled them in this release. You can follow progress here.
[Nextbit Robin] DiePirate:
K

Thank you Master.

One question (trying to be clear, i am not speak english)

If I configure the Led settings per-app on my ROM, I need to configure on your app too?

Have a nice day!

Edit: logcat attached.
[Nextbit Robin] lolitstony:
Here is the log. Thanks a lot.
[Nextbit Robin] Prospero.X-3:
I'm afraid I'm not sure what you mean. Whch ROM lets you configure the LED settings per app? And this app doesn't support per-app settings yet.

Thanks for the logcat, though. I don't know how I missed that in testing, but I forgot to override a method which is causing Android to get a bit cross. It shouldn't cause any issues for now, but I'll fix it in the next release.

Thanks. I can see where the error is (and have fixed it), but I don't see how it can happen if you have root (or even if you don't). Are you getting a prompt asking for root access? Which root manager app are you using (Magisk Manager, SuperSU etc.)?
[Nextbit Robin] lolitstony:
Prospero.X-3

When I try to open the app I get an error.

"Nextlit has stopped"

Yes I'm rooted I'm using lineage os 14.1.

I'm not using any root Manager.

(Is this the issue?)
[Nextbit Robin] Prospero.X-3:
It may be. Which root method did you flash then? (LineageOS isn't rooted by default anymore.)
[Nextbit Robin] lolitstony:
Prospero.X-3

I used ADB method.
[Nextbit Robin] Prospero.X-3:
I'll rephrase that, did you flash Magisk or SuperSU? It doesn't sound like you're actually rooted :/ Do other apps which require root work?
[Nextbit Robin] lolitstony:
Ive flashed neither. I have twrp installed to change roms and whatnot, I thought I was rooted but apparently not haha. I don't use any rooted apps I just like the stock Android look
[Nextbit Robin] DiePirate:
Hi.

[MENTION=6656408]Prospero.X-3[/MENTION]

You're right, sorry for my english. I think Nexlit 1.1 have per-app options. I am using PA ROM 7.3.1

I've noticed some scrolling lag, so just take the log for you.

I'm happy help you with logs.
[Nextbit Robin] Prospero.X-3:
Oh, all is revealed! Thanks for reporting this though, the app should definitely be able to handle unrooted devices (I had only tested root access being denied and assumed the result would be the same).
[Nextbit Robin] DiePirate:
Please add option to start the app service on boot, I need to enable it every time I restart.
[Nextbit Robin] Prospero.X-3:
Thanks, I'd forgotten about making the service persistent over reboots. Added to the "to do" list. I'm not sure what relevance the logs you provided have (they just look like normal system chatter). What do you mean by "scrolling lag"? The app doesn't have any scrollable elements.
[Nextbit Robin] DiePirate:
My mistake. I say about how this app affect the performance. Forget this. I only post the logs with error tag on logcat.

Waiting next release.
[Nextbit Robin] Prospero.X-3:
Version 1.2 is up. Changes in this update:

Fix possible force close when attempting to run on an unrooted device

Service is now persistent between reboots

Add 'show for ongoing notifications' option (default behaviour is false)

Download link in the OP as always.
[Nextbit Robin] pattyboi:):
just wanted to say this is a awesome accomplishment,running great for my robin on latest lineage no issues.
[Nextbit Robin] DiePirate:
Updated, and here are my logs.

It's okay?
[Nextbit Robin] C0D3FRE@K:
can I donate to you in any way or something please? I really really want to support what you're doing and I don't want you to stop
[Nextbit Robin] Nintonito:
Just downloaded onto my Robin running stock 7.1.1. no root access and the app force closes immediately with a toast message. Is the app supported on unrooted devices and if so, then this is a bug.
[Nextbit Robin] RootCheckM8:
I really like this app. I didn't like the fact that my phone has LEDs that I couldn't use because I'm running on LineageOS. But with this, the LEDs are no longer wasted. One thing I'd like to see is being able to choose which apps trigger the LEDs. Also, I got an upload notification from YouTube, and even though the screen was on and I saw the notification, when I turn the screen off, the LEDs start going off. I have to deliberately dismiss the notification to stop this. If Nextlit is set to go off when you get a notification, but only with the screen off, it should only be triggered by notifications that are received when the screen is off. I don't like that it will go off just because I didn't dismiss a notification.

Overall, great work on this service. It's pretty damn cool :)
[Nextbit Robin] Prospero.X-3:
Oh, goodness. That's really very kind, but the amount of work I've put into this app is nothing compared to the developers of custom ROMs and the mods that make this all possible. If you want to support anyone, support them ;)

No, the app requires root as stated in the title and OP. The app closing with the toast message on unrooted devices is intended behaviour and not a Force Close, which refers to an app crashing to the "<app name> has stopped" dialogue box (I'll admit it's a confusing term, but the one the Android community chose to use).

Uh yes, they look OK. You only need to send logs if you're experiencing a bug in the app though.

I did consider only activating the lights for notifications that haven't been "seen", but decided to stick to the behaviour of the standard notification LED in Android. I am thinking of adding an option for this though. An application blacklist is also something I want to add, after reliable custom patterns.
[Nextbit Robin] RootCheckM8:
I'm glad you're listening to fans of your service. A blacklist would be great. Keep doing what you're doing!
[Nextbit Robin] raulrash:
One week of using the app, works beautifully so far. Easy visibility for pending notifications when I'm away from the phone.

An app blacklist would be extremely useful. Have a persistent "Device is HD capable" notification. Used notification blocker to get rid of it however is not a permanent solution. the notification reappears after a few hours & makes the utility of the leds as a notification checker redundant.

I'm on LOS 14.1.
[Nextbit Robin] oshane126(jamaican):
wish there was a modified version of the cloud storage app that would allow me to upload my apps to a cloud storage of my choice
[Nextbit Robin] :
Are you using the latest version? v1.2.

I use this app and I have two persistent notifications and the app doesn't turn on LEDs for them. On LOS 14.1.
[Nextbit Robin] raulrash:
I am using 1.2
[Nextbit Robin] :
Is it a persistent notification or a dissmissable notification which appears frequently?

I've never seen a "Device is HD capable" notification on my robin.:confused:

However if that notification's not from Android System, you can try to prevent that app from showing notification, with notification settings.
[Nextbit Robin] raulrash:
Its a persistent notification which can't be dismissed. Its from org.codeaurora.ims which appears when enhanced LTE mode is on (I don't want to turn it off)

I use NotificationsOff to disable it, however, the notification reappears every few hours and the LEDs start blinking. I have to manually toggle the service in NotificationsOff to disable it.

Tried searching around for a more permanent fix, couldn't find any. Any help would be appreciated.
[Nextbit Robin] C0D3FRE@K:
hey raulrash have you toggled the "show for ongoing notification switch" in the app? I am also using Jio VoLTE and I also have that persistent Notification but it doesn't light up the LED'S for me, make sure the check the option I mentioned earlier.
[Nextbit Robin] raulrash:
I could do that, however, that would disable the most useful feature for me, getting an led notification for incoming calls when the phone is silent.
[Nextbit Robin] philhachey:
Hey, love the app.

Just wanted to throw a suggestion in if you don't mind. I'd like an option to turn the lights on all the time as I just like the bling it adds to my phone. Lol.

If not, I can also keep a weather notification up there. Haha.

Keep up the good work.
[Nextbit Robin] DiePirate:
Any Update?
[Nextbit Robin] sridharans:
Superb app.. thanks the phone just looks fantastic with this lights on... But how about the battery consumption.. i have just installed it after reading the thread.
[Nextbit Robin] Prospero.X-3:
Sorry to have left you all waiting! Exams are over now and I'm able to work on completing the app again. There's a bunch of commits I made way back in February for a planned v1.3 release waiting, but I'll probably jump straight to version 2.0 now with a proper UI and per-app configuration being top of the priorities.

I addressed battery consumption back on page 2 (spoiler - it's very low). I'm glad you're enjoying the app.
[Nextbit Robin] NotAPerso:
Can't wait for an app blacklist. I just started using this and I've found the one thing that annoys me is when I leave my phone plugged in the play store auto updates apps which gives a notification. So after I walk away and come back I see the back lit up only to realize it was an unimportant update notification rather than a text or more exciting notification.

I appreciate the work you've put into this app. Thank you!
[Nextbit Robin] Krasavec996:
Good app! Thank you for your efforts!

From the wishes, to include the mode of constant operation of the lights and the possibility to adjust the speed of the flashing itself.