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

Search This thread

eaberasturi

New member
May 31, 2012
0
0
I used this app for a long time (more than a year), but after several problems (sometimes it was not working, battery drain) and lack of updates, I uninstalled it and tested a new one that I want to recommend. The app name is AOD Notify (I paid for the Pro version but you can use the free version with limited functionallity), and it is very good so far.
 

Bright.Light

Senior Member
Jun 12, 2008
593
46
I used this app for a long time (more than a year), but after several problems (sometimes it was not working, battery drain) and lack of updates, I uninstalled it and tested a new one that I want to recommend. The app name is AOD Notify (I paid for the Pro version but you can use the free version with limited functionallity), and it is very good so far.
Hmm... I understood the developer isn't with XDA Developers forum anymore?
 

Bright.Light

Senior Member
Jun 12, 2008
593
46
Uhm... but are you talking of this Holey Light app or about AOD Notify?
For both cases...are you referring to something specific?

I was referencing to the AOD Notify app, there is a threat in here about that app too, but there is stated that the developer left (angry), so when the app does not work, it might never getting fixed
 

PIRATA!

Senior Member
Dec 6, 2010
2,714
173
Hmm... I understood the developer isn't with XDA Developers forum anymore?

I was referencing to the AOD Notify app, there is a threat in here about that app too, but there is stated that the developer left (angry), so when the app does not work, it might never getting fixed

Ah ok.

I have noticed that in the Play Store now it has another name that is "Notification Light / LED Note 20, S20 - aodNotify", and that is still in development, as last update is from 19th of Sept.
Maybe someone is continuing?
I have both Holey Light installed and that aodNotify, and of course I use only one at a time as they can be deactivated.
aodNotify is so far great, as it has more features, like possibility to pick auto color from app icon, and to limit the notification time, and for me it's useful as usually if I see them in a matter of minutes ok, otherwise it's the case where I am not interested at all in seeing notifications, so it is not needed to have light notifications blinking for hours.

I have to say tho that there is not that much of movement in that thread...it is in some how a bit stuck..so maybe support is limited, or not available anymore on Xda.
 

Breemywinds

New member
Jan 8, 2021
1
0
I just downloaded this app and I'm setting it up, but after it asks me to connect, no popups appear. All my connection types are on. What's the issue? I have an s10+
 
May 5, 2013
29
29
Nova Scotia
I've got an S10 and had been using the Holey Light screen center notification for a long time and really liked it (Kudos to Chainfire). I just uninstalled the app before upgrading to Android 11. After upgrading to Android 11 and reinstalling the app I can't get the screen center Holey Light notification to work. The swirl, blink and pie around the camera notification types still seem to work though. Would be really nice to have the screen center notification type though if Chainfire can fix this. It was my favorite type of notification.

In terms of the Holey Light pop-ups to assist with install, they all seemed to appear when I reinstalled the app in Android 11, so no issue there.
 
Last edited:

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,687
www.chainfire.eu
v0.70 released!

See the changelog here.

This one is not pushed to Play yet as I need some feedback on the update. A lot of code has been updated to support Android 11, and some things under the hood have changed as well.

It works great on my device (better than on Android 10, even) so far, but I have some concerns that the updated math will not work specifically on the S10+. Let me know how it looks, and if it needs tuning let me know which parameters you used (and if you're running the device on max resolution).

Aside from the Android 11 changes, I also prettified (IMHO) the Unholey Light display option, which now displays the icons for the notifications as well (can be turned off).

NOTE: There are much newer test versions in the Telegram chat
 

Attachments

  • HoleyLight-v0.70-20210210165233_release.apk
    2.2 MB · Views: 116
Last edited:

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,404
15,785
IDK
v0.70 released!

See the changelog here.

This one is not pushed to Play yet as I need some feedback on the update. A lot of code has been updated to support Android 11, and some things under the hood have changed as well.

It works great on my device (better than on Android 10, even) so far, but I have some concerns that the updated math will not work specifically on the S10+. Let me know how it looks, and if it needs tuning let me know which parameters you used (and if you're running the device on max resolution).

Aside from the Android 11 changes, I also prettified (IMHO) the Unholey Light display option, which now displays the icons for the notifications as well (can be turned off).
First thing - Awesome to see you here again!
You have made such a contribution to Android with not only your presence - But your applications - Too many to list here 🕊️
Looking at the C/L I was hoping to see if there was any information regarding device specific support - ie: Samsung S20 / S21?
 

Chainfire

Moderator Emeritus / Senior Recognized Developer -
Oct 2, 2007
11,441
87,687
www.chainfire.eu
First thing - Awesome to see you here again!
You have made such a contribution to Android with not only your presence - But your applications - Too many to list here 🕊
Looking at the C/L I was hoping to see if there was any information regarding device specific support - ie: Samsung S20 / S21?

I'm not really here, you're just in luck I still use this app myself :)

If you want support for S20/S21, help me get there. I don't have either myself (though an S21 may be forthcoming).
 

Diego5194

New member
Feb 11, 2021
1
0
v0.70 released!

See the changelog here.

This one is not pushed to Play yet as I need some feedback on the update. A lot of code has been updated to support Android 11, and some things under the hood have changed as well.

It works great on my device (better than on Android 10, even) so far, but I have some concerns that the updated math will not work specifically on the S10+. Let me know how it looks, and if it needs tuning let me know which parameters you used (and if you're running the device on max resolution).

Aside from the Android 11 changes, I also prettified (IMHO) the Unholey Light display option, which now displays the icons for the notifications as well (can be turned off).

NOTE: There are much newer test versions in the Telegram chat
First of all, thank you for creating this awesome app.

I have updated my S10+ to Android 11 and I have installed the latest beta 0.70 version. Everything works fine except for the Unholey Light circle: it does not appear at the center of the screen, but as a very small circle (smaller than one of the lens of the camera) at the very top of the screen. I am attaching an image showing my locked phone with the small circle on it (sorry for the quality).

In any case, thank you for your work!

EDIT: After giving some feedback, the issue seems to be fixed. For those who cannot get the app to work in Android 11, go to the telegram group and download the latest version
 

Attachments

  • IMG-20210211-WA0005.jpg
    IMG-20210211-WA0005.jpg
    58.3 KB · Views: 26
Last edited:

Lagggi

Senior Member
Sep 2, 2012
123
17
Sterea Ellas
Tried latest version 0.70 to Android 10 (before installing Android 11) and operated perfectly. After this I installed ONE UI 3 (ANDROID 11) and unfortunately unholy light totally missed Unbelievable!I hope you will fix this...Thank you!
 

shaggyskunk

Recognized Contributor
Nov 22, 2011
19,404
15,785
IDK
I'm not really here, you're just in luck I still use this app myself :)

If you want support for S20/S21, help me get there. I don't have either myself (though an S21 may be forthcoming).
Yeah - You're not really here but it's still great to see a new post & an updated version of Holey Light 🐧
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    As I have tried, yes...this one have the best battery consumption.
    I've just 1 problem on mine s20fe5g:
    When I receive a notification with screen off,I see the light for some seconds.
    If I don't unlock the phone,the light effect don't repeat again on the screen off.
    I've setup everything fine(like dev suggested)but the light effect runs just 1 time.
    There's something can try?manytks
    Did you install the AOD Helper?
  • 180
    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.
    48
    Changelogs and release notes have been moved to GitHub
    33
    v0.40 is here

    So, it was quite a journey to get to this point, and I am sad to report I am not fully satisfied with the results so far. But I have more than exhausted the time I have available for side projects, and I need to focus on work for a while now. There are further gains to be had, I'm sure, possibly someone else will figure it out while I'm doing other things :)

    The past weekend I've dedicated entirely to investigating power and CPU use, how AOD functions, etc. A lot has been done on the main code-base to reduce its usage (such as replacing live animations with pre-rendered sprite sheets), but on that front we have reached the point of diminishing returns. There's not much more to be improved in that part of the code. It was a lengthy merry-go-round, as fixing things in one place would break things in another. Here's some technical mumbo jumbo for all y'all to enjoy.

    First, there was the move to accessibility services. Should have been using those from the start, but I decided against it because (a) I botched up my first attempt, (b) it is frowned upon by Google (but apparently still grudgingly accepted for now), and (c) it's just unclean. On the other hand, Google has nerfed all the other ways to overlay (in favor of their upcoming "bubbles" contraption), so there's little choice left. This allowed for simplification of part of the codes and getting rid of the fake lockscreen, in favor of piggybacking on AOD. Unfortunately that itself has not brought all the improvements I had hoped. We still need to use the CPU quite a bit, and though we now have the advantage of the screen being in a lower power state and other apps being more restricted from running (both improving battery life), I've still clocked it at 3.5% (worst-case, down from 5.5%) per hour. Obviously this is only when you actually have notifications, otherwise it doesn't any battery at all.

    It is my understanding right now (and this may in time prove to only be partially correct, or even completely incorrect), that AOD periodically offloads an image (the background, notifications, clockface without hands) to the display, and a separate process (sidekick? outside of Android? dedicated hardware?) updates the screen with the smaller changes (such as the clock hands). This allows the main CPU to be fully asleep while you still see a clock with a moving second hand on screen, using sub-1%/hour battery power. AOSP has supporting code for this, so it's possible. Additionally, I've experimented with hiding AOD by drawing black on top of it - and the clock's hands remain visible while everything else disappears. Interesting stuff, for sure (stay tuned for more tales of interest).

    Overlays apparently are not part of this 'saved' image (I'm sure I saw a reference to how this is done somewhere in AOSP source, but I can't find it anymore, good job bookmarking that), so as the screen goes into its lowest power mode, they disappear. To counter this, we need to keep updating the screen (I had a work-around for this at some point, but it needs further investigation still). Some of you noticed the swirl didn't "time out" as the blinker did, that is because the swirl updates at a higher FPS. That high FPS keeps an internal lock deep in Android active, preventing the lowest power mode from being enabled. I've spent quite(!) some time trying to get to that lock, but to no avail. The only alternative is updating the view layout regularly, which also pokes that lock (after going through a long path of many other functions): this keeps the app's CPU usage down, but I later discovered this triggers high CPU usage in system_server, and so it was a net loss. There have been several instances of me saving 10-20% in one place just to have it pop up somewhere else, just because we don't have a direct path to the code inside Android we actually want to trigger. In the end, I've upped the FPS of the slower animations to 5-10, which seems to keep the screen happy (at least for me), as long as I don't have a better solution.

    I've also done some experiments with a shell runner (code that needs to be started through adb with a PC, or through root if you have it), which had some interesting results. Though inconvenient, it does give us access to a number of permissions we can use to manipulate power states. Unfortunately, for most of it there still doesn't appear to be a way to actually do so - no path to the correct Android internals. If I have the time it any point in the future, I'll dig a bit deeper into that, but my opinion right now is that it'll probably require proper root and changing (overlaying) some system files and/or settings.

    I've decompiled and analyzed a lot of Samdroid's packages, but so far haven't found the holey grail :) (See what I did there? Now I need to make a new app with that name...)

    PS: This one will be going up on Play ASAP
    PPS: For those reading on GitHub, the sauce is up, but I have not updated all the info yet, and that may not happen today
    PPPS: I saw some translations come by, please update them to the texts from this version and re-post, thanks. GitHub pull request would be even better, but I understand if that's not your cup of tea
    PPPPS: For the devs: there's some interesting stuff and comments in the code if you look closely

    As always with these releases, it was probably working fine this afternoon and I botched something major up just before releasing this update, so come at me with your bugs and observations :)

    Most significant changes (this includes things already in v0.26)
    - Screen off + battery functionality enabled
    - Migration from fake lockscreen to AOD-base
    - Migration from application to accessibility overlay (Google frowns on this, though)
    - Any notification can now be used for LED. The ones that don't ask for LED show up under Colors as black by default.
    - Lottie renderer has been replaced by a sprite-sheet based rendered (up to 5x CPU reduction)
    - Battery saving animations added (up to 3x CPU reduction), blinking and pie-chart (decided based on full or on-tap AOD)
    - Several leaks and crashes have been fixed (and undoubtedly new ones created)
    30
    Good news everyone! I have it all running smoothly now. The code need some cleanup, dead code removal, fixing up some bad test code into "meh" production code, some installation helpers, etc, but I have the basics all working as I want them.

    Going to run it overnight to see what the drain is... release hopefully tomorrow.
    25
    Now that I've figured how AOD works, I mostly finished up the AOD hiding (even without the addon package, but the latter is still better on battery if there are no notifications), now I just need to clean up the UI (oh no!) and provide ample in-app instructions and guidance, then I can release that to Play and continue on the other features (such as schedule/dnd, etc).

    This cleaning up is my least favorite part of devving. It already works fine for my own uses now.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone