How To Guide Control Always On Display via Tasker - Google Pixel 6 Pro

I like using AOD but don't need it on when I'm sleeping. I had the same need with my Pixel 3XL. Same solution works with Tasker on the 6 Pro. I'm just going to turn it off from 11pm to 7am but you could do it for all sorts of situations such as when connected to a certain BT device (in car for example). One time tasker setup will require you to turn on USB debugging and run the command
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
{
"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"
}
Hope someone finds it useful!
Here it is in Taskernet. Turn AOD Off/On a schedule

Thanks, it's been a while since I used Tasker and other apps like it, but I might try this.

Thx a bunch! Was looking for this. Will try the same.
One suggestion: Can you maybe also share your tasker project on Taskernet? Than it would be really easy for anyone to import and try it out.

Vledderos said:
Thx a bunch! Was looking for this. Will try the same.
One suggestion: Can you maybe also share your tasker project on Taskernet? Than it would be really easy for anyone to import and try it out.
Click to expand...
Click to collapse
Good idea. I haven't done much with Tasker in a few years so didn't even know about Taskernet. Hopefully this works? Turn AOD Off/On a schedule

you can set the do not disturb times and the AOD goes off

Podster16 said:
you can set the do not disturb times and the AOD goes off
Click to expand...
Click to collapse
That's what I've done on other devices and will try it on this 6 Pro! cheers

Scheduler based on time is nice.
Now what I would like to do is to have AOD only enabled when there is an unnoticed active notification on my phone. So that I kinda make AOD as my notifiaction LED replacement?

Using Tasker to toggle AOD is a great solution. Alternatively, I just turn my phone over so the display faces down. This also causes the AOD to turn off. I do this before going to sleep or during the day when I don't need to keep an eye on the display.

Utini said:
Scheduler based on time is nice.
Now what I would like to do is to have AOD only enabled when there is an unnoticed active notification on my phone. So that I kinda make AOD as my notifiaction LED replacement?
Click to expand...
Click to collapse
aodNotify has a function for this. However, as I understand it, it simply draws over AOD to make it black. I do not know this for a fact,so someone please chime in. However, if the display is black, I would imagine that there is some battery savings, so long as the app is not chewing up more in return. It does, though, tell you when there is a notification because the screen is lit.

snovvman said:
aodNotify has a function for this. However, as I understand it, it simply draws over AOD to make it black. I do not know this for a fact,so someone please chime in. However, if the display is black, I would imagine that there is some battery savings, so long as the app is not chewing up more in return. It does, though, tell you when there is a notification because the screen is lit.
Click to expand...
Click to collapse
I believe your interpretation is correct, or at least close enough.

snovvman said:
aodNotify has a function for this. However, as I understand it, it simply draws over AOD to make it black. I do not know this for a fact,so someone please chime in. However, if the display is black, I would imagine that there is some battery savings, so long as the app is not chewing up more in return. It does, though, tell you when there is a notification because the screen is lit.
Click to expand...
Click to collapse
I am not so sure about the battery saving because this means that both AOD and AODNotify will be active all the time. Actually having just AOD online all the time would consume less battery. So AODNotify gets useless in the end?

Utini said:
Scheduler based on time is nice.
Now what I would like to do is to have AOD only enabled when there is an unnoticed active notification on my phone. So that I kinda make AOD as my notifiaction LED replacement?
Click to expand...
Click to collapse
There's an event of "notification" that you could add. There's also a variable you could check to see if the screen is off. Then set that to AOD On. I just tried that and it worked fine.
I'd have to do some testing to see the best way to turn AOD back off when there aren't any notifications but there's probably a way to look at screen off and no notifications.

henderjr said:
There's an event of "notification" that you could add. There's also a variable you could check to see if the screen is off. Then set that to AOD On. I just tried that and it worked fine.
I'd have to do some testing to see the best way to turn AOD back off when there aren't any notifications but there's probably a way to look at screen off and no notifications.
Click to expand...
Click to collapse
I've done it already and have been using it in Tasker since the Pixel 3. It's been a crazy week for me, so please be patient and I'll report back later with screen shots and/or a taskernet link for you to download.

henderjr said:
I like using AOD but don't need it on when I'm sleeping. I had the same need with my Pixel 3XL. Same solution works with Tasker on the 6 Pro. I'm just going to turn it off from 11pm to 7am but you could do it for all sorts of situations such as when connected to a certain BT device (in car for example). One time tasker setup will require you to turn on USB debugging and run the command
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
View attachment 5449563
View attachment 5449565
View attachment 5449567
Hope someone finds it useful!
Here it is in Taskernet. Turn AOD Off/On a schedule
Click to expand...
Click to collapse
Works fine on Pixel 5(CrDroid 7.21, Android 11), but when this is enabled on AOD also appears alarm icon set to 10 minutes in the future and time of the alarm changes with time and is exactly 10 minutes ahead.
Why? How to turn this off?

Ćwirek said:
Works fine on Pixel 5(CrDroid 7.21, Android 11), but when this is enabled on AOD also appears alarm icon set to 10 minutes in the future and time of the alarm changes with time and is exactly 10 minutes ahead.
Why? How to turn this off?
Click to expand...
Click to collapse
I've had that too. It can be disabled in Tasker preferences and disabling Reliable Alarms. Otherwise I think there's an app called System UI Tuner that can be used to remove icons from the task bar including alarm.

As of the May update (to Pixel 6Pro and Tasker) I get a message Cannot run settings. Error says Need newer version (or missing?) of tasker setting app. Please contact developer.
I emailed tasker dev, but while he's Out of Office I thought I'd ask here to anyone else getting this message and error?

Reply from developer.
Hi there. Are you please able to install this app on your phone and then try again from Tasker? Thanks in advance.
Also, be sure to give the app the needed permissions via ADB (https://tasker.joaoapps.com/userguide/en/help/ah_secure_setting_grant.html) but with the package name set to com.joaomgcd.taskersettings instead of net.dinglisch.android.taskerm.
Also, make sure to exempt the Tasker Settings app from battery optimization (https://tasker.joaoapps.com/userguide/en/faqs/faq-problem.html#00) so that Tasker can call it in the background.
Check here for more info on this: https://tasker.joaoapps.com/userguide/en/target_api.html
Download here: https://github.com/joaomgcd/TaskerSettings/releases/download/v1.2.0/TaskerSettings.apk
Click to expand...
Click to collapse
Works

henderjr said:
I like using AOD but don't need it on when I'm sleeping. I had the same need with my Pixel 3XL. Same solution works with Tasker on the 6 Pro. I'm just going to turn it off from 11pm to 7am but you could do it for all sorts of situations such as when connected to a certain BT device (in car for example). One time tasker setup will require you to turn on USB debugging and run the command
adb shell pm grant net.dinglisch.android.taskerm android.permission.WRITE_SECURE_SETTINGS
View attachment 5449563
View attachment 5449565
View attachment 5449567
Hope someone finds it useful!
Here it is in Taskernet. Turn AOD Off/On a schedule
Click to expand...
Click to collapse
Fun fact, there is an alternative for people like me who cannot really pay for tasker.
You can configure Bedtime Mode to also turn off the always-on display and then adjust your alarm like usual

Related

Lightflow

Seen reports of people saying Lightflow messes with Ambient Display. Can anyone confirm this?
This should be in Q&A section. Anyway, I have both Ambient Display and Light Flow on. Light Flow does not mess with AD, and works quite well with it. Light flow colors work. I have the Pro version of Light Flow.
FredFS456 said:
This should be in Q&A section. Anyway, I have both Ambient Display and Light Flow on. Light Flow does not mess with AD, and works quite well with it. Light flow colors work. I have the Pro version of Light Flow.
Click to expand...
Click to collapse
Sorry, the question is about an app so I thought goes here? Anyway. How does your AB work? Does it pulse randomly (like Moto X) or only when lifted or notification?
I used light flow pro and it forced screen wakes for a few minutes without a notification being present then it calms down. I uninstalled it and ambient display stays off unless there is a notification
Sent from my Nexus 5X using Tapatalk
mkouk said:
I used light flow pro and it forced screen wakes for a few minutes without a notification being present then it calms down. I uninstalled it and ambient display stays off unless there is a notification
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Got it. Without Lightflow, there are only 3-4 pulses. With, it never ends.
mkouk said:
I used light flow pro and it forced screen wakes for a few minutes without a notification being present then it calms down. I uninstalled it and ambient display stays off unless there is a notification
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
Ah, I noticed that too but hadn't put that down to Light Flow.
I have a GWR, so disabled Ambient Display anyway.
Has anyone got the Sleep function to work?
No matter what Light Flow settings I use - at night, the LED continues to light up my room, so I have to leave the phone face-down at the moment...
I've been emailing the developer about it - but he's waiting for his 5X to turn up (as he's also ordered a 6P, he has to wait for that to turn up in the same delivery...)
I have enabled notification light through Settings and am able to generate a white light flash (repeating) when gmail receives. Has anyone noted fingerprint security have any negative impacts on notifications like this (more curiosity than anything)?
Admittedly its been some time since I have had to use lightflow pro; good app, just been awhile so I may be rusty on settings I am betting.
AndiTails said:
Ah, I noticed that too but hadn't put that down to Light Flow.
I have a GWR, so disabled Ambient Display anyway.
Has anyone got the Sleep function to work?
No matter what Light Flow settings I use - at night, the LED continues to light up my room, so I have to leave the phone face-down at the moment...
I've been emailing the developer about it - but he's waiting for his 5X to turn up (as he's also ordered a 6P, he has to wait for that to turn up in the same delivery...)
Click to expand...
Click to collapse
Lightflow is one of my standard apps. Unfortunately, it was draining my battery on the 5x regardless of the settings I had set. Looking forward to an update after the dev can optimize for MM/5X/6P.
Sent from my Nexus 9 using Tapatalk
Anyone else having an issue with lightflow and mms alerts needing to be cleared manually in the app?
To anyone who has Lightflow pro running well: would you mind posting your settings?
I've tried every combination I can think of: root mode on/off, run every command as root on/off, etc. The best the app can manage is a brief pulse on, then off, then a quick on/off before the LED stays off. Have tried direct mode, too. Tried the Legacy version, but it doesn't cover a lot of apps.
I can't seem to get any consistent results otherwise.
To be honest, I gave up and now use http://forum.xda-developers.com/showthread.php?t=3244601
[ROM][6.0_r26][5X]★ Pure Nexus Project ★ Layers | Fi | WFC | VoLTE Fix ★[11/21/15]
It includes Notification Light control and works perfectly.. And it's loads quicker than stock. Why buy a Nexus if you ain't gonna custom ROM 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"
}
Sent from my Nexus 5X using Tapatalk
peabody42 said:
To anyone who has Lightflow pro running well: would you mind posting your settings?
I've tried every combination I can think of: root mode on/off, run every command as root on/off, etc. The best the app can manage is a brief pulse on, then off, then a quick on/off before the LED stays off. Have tried direct mode, too. Tried the Legacy version, but it doesn't cover a lot of apps.
I can't seem to get any consistent results otherwise.
Click to expand...
Click to collapse
Just as a note: I looked at their website, and tried installing the Legacy version without uninstalling the paid version. All apps show. Legacy version works fine.
---------- Post added 2nd December 2015 at 12:01 AM ---------- Previous post was 1st December 2015 at 11:59 PM ----------
AndiTails said:
To be honest, I gave up and now use http://forum.xda-developers.com/showthread.php?t=3244601
[ROM][6.0_r26][5X]★ Pure Nexus Project ★ Layers | Fi | WFC | VoLTE Fix ★[11/21/15]
It includes Notification Light control and works perfectly.. And it's loads quicker than stock. Why buy a Nexus if you ain't gonna custom ROM it ?
Click to expand...
Click to collapse
Yes! I just got the 5x and am settling down with stock Android for a while. Rooted and Xposed. It will be maybe 2-3 days before I start installing custom ROMs! Thanks for the headsup on this particular ROM!
AndiTails said:
Ah, I noticed that too but hadn't put that down to Light Flow.
I have a GWR, so disabled Ambient Display anyway.
Has anyone got the Sleep function to work?
No matter what Light Flow settings I use - at night, the LED continues to light up my room, so I have to leave the phone face-down at the moment...
I've been emailing the developer about it - but he's waiting for his 5X to turn up (as he's also ordered a 6P, he has to wait for that to turn up in the same delivery...)
Click to expand...
Click to collapse
I have only had it for one night but it seemed to work fine for me. I changed the sleep method to "time" (it defaults to NFC or something) and set the "start time" to 10:30pm and the "end time" to 6:00AM. I also have ambient display disabled. I am not sure what GWR is though. Also make sure in each app notification setting you do not have "exclude from sleep mode" checked.
I'm using paid version of LF. For now I'm not rooted.
I noticed behaviour you've already talked about.
1. If I'm using ambient screen I always have notifiction icon "Number of notifications". Can I hide that?
I know I can hide it if I disable app notification, but in that case Light flow don't work anymore ...
2. Is there any solution with messing ambient screen and LW led. After recieved notification ambient lights on few times and completely mess up LF ...
Is Legacy version solving those problems?
Thank you.
edit: I solved problem with legacy.
I have en issue with lighflow legacy that when I set my gmail notification to switch screen on, it won't play the notification sound correctly, the screen will light and notification sound is not completed when email is received, it is like once the screen switch on, the notification sound won't complete till the end. Anyone noticed that? disabling switch screen on, will make the notification sound fine.
I have this problem with a N5x and LightFlow.
It doesnt matter if I do use Lightflow normal or legacy, because on legacy I kept seeing a Lightflow notification and the screen turns on with ambient display continuously due to this :S

[Tasker] Alert Slider Enhancement

Are you disappointed with the OP5 alert slider? Have you ever wished you could expand it's functionality? Well now you can!
I wanted to share a project I've been working on that reacts to the alert slider position. This REQUIRES root as the profile is triggered when the following file has been modified:
/sys/class/switch/tri-state-key/state
This file contains a single integer which coincides to the slider position:
1 (up)
2 (middle)
3 (down)
Isn't there a simpler way (no root)?
I don't think so. As I understand, the alert slider does not send traditional key events (as most buttons do), and although you could monitor the DND status through the %INTERRUPT variable, DND can be triggered independently of the slider position so is not robust.
Fine, I'm rooted and can see the file. How does that help?
When the slider is moved, the following events happen:
1. The file is opened
2. The file is modified (example, change from 1 to 2)
3. The file is closed.
The 'Slider Position' profile is triggered by the 'File Closed' event, then the 'slider' task reads the file to assign the global variable %Slider based on the file's value. From here, you're free to use the variable value to trigger any task when %Slider matches up, mid, or down.
Splendid! So this gives me ABSOLUTE POWER over the slider?!
Not quite. I haven't found a way to replace the stock functions as much as expand on them. For example, the top position natively puts the phone into silent mode. If you create a task to take it out of silent mode, the OOS overrides it, and keeps the phone in silent. So you'll have to work within the confines of the native function, hence enhancement
Lame. So what's it good for?
Here's how the profile is setup now. I'd love to see what your clever minds come up with!
UP: Asleep (all radios off, mobile data off, sync off, battery saver on). Basically dead to the world except calls.
MID: Nothing yet, maybe I'll do some intermediate between the two extremes.
DOWN: Awake (all radios on, data on, sync on, battery saver off). Typical setting for standard usage.
Other ideas:
Coma mode: sleep mode + airplane with or without periodic check in.
Autovoice continuous on/off
Home/work/night profiles
Reading/night modes, invert colors
Auto brightness/rotate
Flashlight
Hotspot
Since I'm a dork and can't figure out how to attach a project zip or thumbnails, here's some screenshots.
{
"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"
}
Hold down on profile to select, then top right button and you can save it. I'm really interested in this, as it would be perfect for work.
Edit: as you can see I'm a noob Tasker and I downloaded my only profile, I have no idea how to do what you did.
I paraphrased my issue. I can export the project from Tasker without issue, but I can't attach it to the OP. Maybe it's because of my low post count. I've been lurking for years
Nice work! Use a bit of Tasker but didn't give this a thought ?
Can convert this to a 'Quiet Hours' Tasker macro to provide the old functionality of the Quiet Hours settings in LOS? Would be really nice to have a Quiet Hours option, overridden by a change event in the button position. Otherwise, Quiet Hours runs as normal. I sometimes forget to slide up when going to bed, only to have 'dings' wake me.
Never mind, sorry
Make a youtube tutorial? *Chanting make a youtube tutorial* DO IT!
This looks good, I have been using Tasker for a few weeks. I do like the idea of your alert slider idea though.
You can upload the file to Google drive, or afh and post the link. That would be helpful ?
I'm excited to give this a try
@jakvettjak when the slider will be down, notifications will also stop pushing I guess ?
Sent from my ONEPLUS A5000 using Tapatalk
Bewildered Wolf said:
@jakvettjak when the slider will be down, notifications will also stop pushing I guess ?
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
Nope, as it's shown the down position is "awake" so fully connected, sound/vibrate, all radios on, sync on, etc. This is intended to mimic typical phone usage and reset all of the "sleep" settings which turned everything off.
I'm working on a "coma" mode for the up position that will put the phone into airplane mode, then disable it every so often to check in, before going back into airplane. Of course, when airplane mode is enabled you wouldn't get push notifications, but they should get pushed as soon as the phone checks in.
As "sleep" mode is shown, with mobile data, wifi, sync off you won't get push notifications, but SMS/call will still work. This mode would work well for the middle slider position where priority DND mode is enabled by default.
Zombie said:
You can upload the file to Google drive, or afh and post the link. That would be helpful
I'm excited to give this a try
Click to expand...
Click to collapse
I'd like to, but until I get over the 10 post rule, I can't post external links :crying:
jakvettjak said:
I'd like to, but until I get over the 10 post rule, I can't post external links :crying:
Click to expand...
Click to collapse
Pm me a link. Ill post it for you here in the comments
Is this thread dead?
The alert slider options to customize are kinda strange, it would be nice if it they were more like the stock Android do not disturb. Trying to use some of my Tasker profiles to mute notifications when connected to Bluetooth speakers but Tasker uses the Android stock do not disturb which conflicts with Oxygen os alerts. Looks like am making new profiles from the ground up.
Sent from my ONEPLUS A5000 using Tapatalk
Zombie said:
Pm me a link. Ill post it for you here in the comments
Click to expand...
Click to collapse
Thanks for the help, I'll take you up on that. PM sent.
drose6102 said:
The alert slider options to customize are kinda strange, it would be nice if it they were more like the stock Android do not disturb. Trying to use some of my Tasker profiles to mute notifications when connected to Bluetooth speakers but Tasker uses the Android stock do not disturb which conflicts with Oxygen os alerts. Looks like am making new profiles from the ground up.
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
I agree it's pretty limiting in stock form. Hopefully future updates will give us more control. I wonder if any ROMs on here have been able to modify the slider function.
Alright everyone here is the download link to the xml file
Right Here
Zombie said:
Alright everyone here is the download link to the xml file
Right Here
Click to expand...
Click to collapse
So how do I set it up to change to reading & gaming mode. I just bought Tasker but I'm not to familiar with Tasker, how do I apply your xml file to get reading mode? Thanks
Zombie said:
Alright everyone here is the download link to the xml file
Right Here
Click to expand...
Click to collapse
Hey there. Wanted to try your file but
1. I've copy pasted the profile on Tasker/profiles but it doesn't shows up in selector menu.
2. I've tried adding it manuklay with the "open with" feature of mixplorer but still it doesn't loads up and it says that can open this file with Tasker. Bad intend or something.
Rebel7022 said:
So how do I set it up to change to reading & gaming mode. I just bought Tasker but I'm not to familiar with Tasker, how do I apply your xml file to get reading mode? Thanks
Click to expand...
Click to collapse
Long press in the profiles tab.
And then find your file. Done.

Not receiving notifcations/Receiving them late - Note 10+/Exynos

Hey guys.
I have been using this phone for a number of days, and it seems like ever since I activated a battery saving option which I can't seem to single out, I stopped receiving notification when the phone is locked and/or I'm receiving them with a delay. receiving
I'm also having a problem with things that requires the phone to have an active data/wi-f- connection when locked, like WhatsApp Web or Google photos backup.
There is no data/wi-fi saving or limiting option enabled. I specifically added gmail, whatsapp and other app that I wish to receive lock notifications from to the "Not optimized" list.
I'm attaching my battery settings screenshots for reference.
{
"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"
}
I would really appreciate your help.
Thanks.
This issue is old for like 2 years now.
Happening in my note 8, 9 and now 10.
Not a single solution that will work.
I'm having the same problem. Never had it before
Follow these steps! I found my Zedge app that controls my custom notifications in the 'Sleeping Apps' container. Once I removed the app, all my notifications started working again.
discothan said:
Follow these steps! I found my Zedge app that controls my custom notifications in the 'Sleeping Apps' container. Once I removed the app, all my notifications started working again.
Click to expand...
Click to collapse
You posted a link to fantasy football, might want to check it and edit your post.
discothan said:
Follow these steps! I found my Zedge app that controls my custom notifications in the 'Sleeping Apps' container. Once I removed the app, all my notifications started working again.
Click to expand...
Click to collapse
I have Zedge installed but I didn't give it notification access. Your link is wrong :silly:
I had a similar issue with delayed notifications on my S10+ and turning off Adaptive battery helped. You can also try that and pls do post back if it helps. Thanks.
Having the same issues here: https://forum.xda-developers.com/galaxy-note-10+/help/apps-updating-phone-t3962558
It looks like disabling Adaptive Battery helped a bit, but it is still not perfect. In addition, I don't understand why adding the specific apps to the "Not Optimized" list does not affect anything.
RedsonRising said:
You posted a link to fantasy football, might want to check it and edit your post.
Click to expand...
Click to collapse
liamR said:
I have Zedge installed but I didn't give it notification access. Your link is wrong :silly:
Click to expand...
Click to collapse
SteveyJack said:
Having the same issues here: https://forum.xda-developers.com/galaxy-note-10+/help/apps-updating-phone-t3962558
Click to expand...
Click to collapse
Sorry about that errant link to Fantasy Football.
Here is the link to follow to remove Apps that Adaptive Battery settings put in 'jail' so they won't ever run in the background.
Promise its not Fantasy Football but steps to help fix notifications/slowness
I don't think it's anything to do with adaptive battery.
If you go into the developer menu and down to the bottom there is an option standby apps. Once in there you'll see apps listed, if they're set to ACTIVE they are allowed to do what they like. Even with full battery optimisation set Gmail is always ACTIVE and is still having issues. I think it's actually an issue with the phone going into some kind of standby mode. Sometimes it does and therefore notifications are off and sometimes it doesn't and everything is fine.
I tried everything mentioned here and it seems to work for about one day and then the delay was back (especially in WhatsApp).
SteveyJack said:
I don't think it's anything to do with adaptive battery.
If you go into the developer menu and down to the bottom there is an option standby apps. Once in there you'll see apps listed, if they're set to ACTIVE they are allowed to do what they like. Even with full battery optimisation set Gmail is always ACTIVE and is still having issues. I think it's actually an issue with the phone going into some kind of standby mode. Sometimes it does and therefore notifications are off and sometimes it doesn't and everything is fine.
Click to expand...
Click to collapse
Further to this, it doesn't seem to be an issue when the device is charging so presumably thats keeping something alive.
This thread has been inactive for weeks but I think this problem still exists. A Google search for "lockscreen notification delay" brings up a number of reports from various Samsung, Oneplus and other Android users - but still no single solution.
For a while I did not even think I had the problem because it does not appear unless your phone is inactive for about 10-15 minutes.
The problem appears to have something to do with changes to Optimize Battery Settings not sticking.
I found a workaround but it has to be done everytime the phone is rebooted.
- Under Optimize Battery Usage make sure that Whatsapp,Gmail or whatever notification app is being delayed is NOT Optimized
- Use the ADB command "adb shell dumpsys deviceidle disable". This has to be done from a computer with the phone connected to it. Or if you have root you can run it directly from the phone using Terminal Emulator.
Somebody from the Oneplus forums has also created a Magisk Module that appears to work on Samsung phones. You can find it in post #65 here: https://forum.xda-developers.com/oneplus-6t/how-to/guide-notification-fix-100-t3865551/page7
Is this the only way to fix this or has somebody found a better way?
At first, when I downloaded, installed, put the accounts, and all pertinent stuff, I observed this problem, no mails and no whatsapps until waking the device, or worst, had to enter the apps, but, I found the above solutions/steps, and, everything is working fine since Sept 13th, no delays, all working fine, even battery life is really good
I've got the issue only when activating moderate power save.
I set none app in the optimise wishlist.
Nastrahl said:
I've got the issue only when activating moderate power save.
I set none app in the optimise wishlist.
Click to expand...
Click to collapse
The moderate power save also caused issues with late notifications on my device. I've only turned it on to test it but even after putting back to optimised and/or high mode did not rectify the issue. Somehow, few days later, I've managed to correct it but I've done so many changes that I've no idea how or what fixed it.
I had this issue on my S10 + to particularly with whatsapp! Messages would come in delayed or i just wouldnt get the notification for some reason! I never figured it out unfortunately but thankfully it seems to be ok on my note 10 + which is strange because i literally have this device set up EXACTLY the same as my S10 + in terms of settings etc ! If i remember correctly however, My S10+ didnt have this issue at the beginning!

[XPOSED][11/Apr][v3.3] OPAodMod - Always on Display with lots of options

{
"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"
}
OPAodMod is an Xposed module that provides OnePlus devices on OxygenOS and HydrogenOS with an always on display like that on the Pixels (and other devices). It's existed for a while, but in the last few months stopped working due to the main developer (RetroX) moving on to another device. I picked it up, and after initially providing modded versions with only fixes and simple additions, was kindly given access to the full source code. OPAodMod has now been fully translated, with a new GUI which is easier to use.
Features:
Always on display, which runs all the time - unlike the OnePlus version
Customisable layout, with options including seven themes, including Pixel and OnePlus (OnePlus supports all the system clock styles too), and a DVD screensaver (it's exactly what you think it is)
Notification display, showing the text of a notification when you receive it and dropping back to just an icon after a few seconds
Live music lyrics on supported themes
Battery Optimisation options such as forcing doze and setting the refresh rate to 60Hz when the AoD is showing
Option to only display when you 'raise' your phone
Option to hide the screen when flipped/in your pocket, disable it overnight, or after a time period (10 minutes or 15 seconds)
Show your next alarm, current weather, and currently playing music
Display a short message (like that on your lockscreen)
Full settings GUI for the module with a live preview of your clock
Quick Settings toggle to enable/disable the AoD
Support for Ambient Music Mod for displaying ambient Now Playing tracks on the AoD
Screenshots:
Hover to see description
[URL="https://i.imgur.com/eGrJe8U.png"]
[/URL]
Installation Guide:
- Install Riru Core in Magisk
- Install either EdXposed Canary (recommended - Canary may need to be downloaded from the EdXposed app after installing) or TaiChi from Magisk
- Install the module APK
- Enable the module in EdXposed or TaiChi
- Follow the Required Setup in the app
- Reboot your device
- Check the AoD is working and set it up how you like
Download:
Version 3.3
Thanks! Just to confirm, this has burn-in protection implemented? Any idea on the impact in the battery life?
yaaam said:
Thanks! Just to confirm, this has burn-in protection implemented? Any idea on the impact in the battery life?
Click to expand...
Click to collapse
Yes, this has burn in protection. The battery life does take a noticeable hit, I'm looking at ways to mitigate it better.
Quinny899 said:
Yes, this has burn in protection. The battery life does take a noticeable hit, I'm looking at ways to mitigate it better.
Click to expand...
Click to collapse
Thanks for confirming! I'll try it out. Looking forward to more features and optimizations.
This is awesome!
Just installed it now and it works AMAZING!
One thing I really wish it had is the Fingerprint unlock option on the AoD, but i'm guessing it might be a bit more work.
Is there a way I can participate in the development of the module?
Armageda said:
This is awesome!
Just installed it now and it works AMAZING!
One thing I really wish it had is the Fingerprint unlock option on the AoD, but i'm guessing it might be a bit more work.
Is there a way I can participate in the development of the module?
Click to expand...
Click to collapse
Fingerprint works on the AoD. Chances are because you've just rebooted, it's falling back to the PIN. When it works from the lockscreen, it'll work on the AoD.
Unfortunately while I was given access to the source code privately, it's still not open source so there's no public development access.
Quinny899 said:
Fingerprint works on the AoD. Chances are because you've just rebooted, it's falling back to the PIN. When it works from the lockscreen, it'll work on the AoD.
Unfortunately while I was given access to the source code privately, it's still not open source so there's no public development access.
Click to expand...
Click to collapse
I just noticed that the FP does indeed work, but the FP icon is not showing for some reason.
I'm on OP7TP McLaren if that helps.
It does show up on the lockscreen, though.
Armageda said:
I just noticed that the FP does indeed work, but the FP icon is not showing for some reason.
I'm on OP7TP McLaren if that helps.
It does show up on the lockscreen, though.
Click to expand...
Click to collapse
That's kind of intentional, though I would like to add an option to make it show an indication of where the sensor is. It's more minimal without it though.
Quinny899 said:
That's kind of intentional, though I would like to add an option to make it show an indication of where the sensor is. It's more minimal without it though.
Click to expand...
Click to collapse
Yes, it's minimalistic-looking without it, but it would be nice to have it toggleable
If I remember correctly, in RetroX's version it was impossible to hide notification text for apps that weren't China-specific. Is that still the case?
Sauronych said:
If I remember correctly, in RetroX's version it was impossible to hide notification text for apps that weren't China-specific. Is that still the case?
Click to expand...
Click to collapse
There's a short list of apps that are hidden with the toggle enabled:
I'll probably add a GUI to edit them at some point, but might just add some package names to the list before that.
Quinny899 said:
There's a short list of apps that are hidden with the toggle enabled:
I'll probably add a GUI to edit them at some point, but might just add some package names to the list before that.
Click to expand...
Click to collapse
Thanks for the info! Also, I don't know if it's technically possible, but consider following the system settings for hiding sensitive content on the lockscreen instead of a separate GUI/toggle. I currently have that enabled for messaging and mail apps and it works on the OnePlus ambient display as well.
Sauronych said:
Thanks for the info! Also, I don't know if it's technically possible, but consider following the system settings for hiding sensitive content on the lockscreen instead of a separate GUI/toggle. I currently have that enabled for messaging and mail apps and it works on the OnePlus ambient display as well.
Click to expand...
Click to collapse
It would be possible, but I'd prefer to leave it as a separate toggle for now. I'll maybe change it to default to match the system when I add the GUI to pick apps though.
Hi! I love the module, well done! I think it would be cool if you could also add a quicksettings toggle which makes it possible to easily turn the AOD on and off.
Just wanted to confirm, this is for rooted devices only? No way to get this without rooting? Great work, nonetheless.
New bugfix release, version 3.0.1b
Fixes:
- No longer shows 'null' for twelve on word clock
- Added translations for charging states
- Added the following apps as sensitive apps:
-> OnePlus SMS
-> OnePlus Phone
-> Google Phone
-> Google Messages
-> WhatsApp
-> Facebook Messenger
-> Facebook
-> Telegram
-> Instagram
-> Snapchat
-> Discord
-> Twitter
-> VK
-> Сбербанк Онлайн
-> Raiffeisen Online Russia
An app picker will be added later, this is just a stopgap.
Download is attached and also attached to first post
tych_tych said:
Hi! I love the module, well done! I think it would be cool if you could also add a quicksettings toggle which makes it possible to easily turn the AOD on and off.
Click to expand...
Click to collapse
Nice idea, might do that
thrillhouse87 said:
Just wanted to confirm, this is for rooted devices only? No way to get this without rooting? Great work, nonetheless.
Click to expand...
Click to collapse
Not possible without root, no.
thanks for this app. Unfortunately couldnt get the "AOD only when phone is raised" option to work on 7T. stays on all the time. Would be nice if it could work on 7T as well! thanks
Hey guys,
I'm so glad to have come across this mod. I've been using this mod on my OnePlus 6 since a couple of hours. I can already say it consumes lesser power than the AOD on custom ROMs.
Thanks a lot!
Sohail
This is great, will there be a slider to change display brightness? Or maybe a way to shut off a checkerboard of pixels to reduce the effective brightness?

Notifications ring around camera hole, within or without Ambient Disaplay

{
"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"
}
Video showcase https://streamable.com/friseg
Shot by @Serial Kazama.
Similar to this or a shine effect only around camera or tens of other styles can be used to indicate an event such as charging, music playing or a notification to help you to know even who texted you just by a glance far from your phone.
some of you may know this app before and some may had struggled with it in its bad moment with a broken version but it did not stop improving and all got fixed and many more feature added.
Because this app has tons of options to customize your phone, even wallpapers, I will start by writing instructions for how to enable the basic options of the feature which this thread is about:
How To:
1- Search google play "AOE" or "Always On Edge" and install this ~6MB App
2- Enter section #1 "Main Settings"
choose if you want the LED effect to be shown within System Ambient Display or a separated screen
3- enable accessibility services and give required permissions
4- Go back and enter section #2 "App settings"
for when to light choose "when a notification comes" and/or charging lighting as you like
5- scroll to bottom and save.
6- Enter enabled apps section and make sure the app you will test with is enabled
https://play.google.com/store/apps/details?id=com.used.aoe
Please give the app some time only once and then you will not need to even open it:
After testing please discover all sections the app can do what ever you need for such feature
like at the same place of step 4 you can enable Mixer which show all current notifications colors
and Reminder which repeat lighting every X seconds and let other options you may like.
in lighting settings section you can customize the general style of lighting.
the app is indeed complicated due to variety of options and I'm always working on improving it.
Battery Drain:
I use it personally for notifications only, all apps, while screen is on and off, reminder for 5 seconds every 5 seconds limited to 30 repeat and I got 100s of emails and messages and the app is not even on system battery use list. but in general this app can be used with no noticeable difference in battery usage and it can drain your battery in few hours. it depends on the options you choose, there are a lot of options to minimize battery consuming it basically depends on lighting time and enabled widgets.
in worst cases there is options to prevent the app from working if device is not charging and other 10s of options so you can set when the app should not light as when the app should light.
App brief description:
AOE contain a lot of features and options and all can be customized as you like, here is some of the main features:
Edge lighting can also be customized for charging, music, wallpaper and many other events
It can be customized to work in a highly flexible way with AOD clock or independently, or even both like Tap to Light feature.
Lighting can be around all screen or around front camera or both with many other lighting place options like LED style with variety of animations.
You can use it to show lighting effects for many events like notifications including missed calls of course, charging, fully charged, screen lock, screen unlock, headset plugged, listening to music ,
ongoing or outgoing calls, recent apps menu and flash after unlock.
You can customize lighting color, style, effect and place for each event, each app, each contact name or even each chat group.
Notifications light has more useful additional features like Reminder which the lighting will be repeated every period you choose and you can even choose to make a sound alert for notification reminder,
and Mixer which will iterate through all current notifications colors..
Brightness can be adjusted regardless of the lighting is independent or with Always On Display, on top of that you can set high brightness for lights and low brighting for AOD/clock widgets.
It has many options to restrict its job like prevent the app from lighting if device is charging, not charging, not in landscape mode, low battery, sleep time or to follow Do Not Disturb mode.
with a block list to prevent it from working for someone
AOE also support lighting in all screen states, turned off or turned on, horizontal or vertical.
Click to expand...
Click to collapse
Pretty cool! I didn't know about this app so thanks for sharing! Anyone else have any cool mods or recommendations for settings?
Awesome. Could you add the settings you use to center it on the hole? I'm getting there but just be nice as a starting point then could adjust thickness to taste . Thanks again! So cool. Takes me to back to OMG! NEXUS HAS A NOTIFICATION LED.
@
letrain02
sorry I do not have a pixel but automatic adjustment should be fine initially (is not it?) then click preview and adjust manually a little bit using -+ buttons
Already paid for the Lifetime. This works really well!
letrain02 said:
Awesome. Could you add the settings you use to center it on the hole?
Click to expand...
Click to collapse
This is as close as I could get it to center.
That's seems different from mine. By 10+ on some. I wonder how much the display size setting effect it. Thank you for the starting point.
I managed to use this app but everytime I got a new message after a restart, the app just don't work, does anybody knows a workaround? or it's just me not having a correct config?
seems gone from the playstore
GintoSama said:
seems gone from the playstore
Click to expand...
Click to collapse
Yeah, unfortunately. I just discovered it yesterday so I installed it from here. https://www.apkmirror.com/apk/alrbea-ent/always-on-edge-edge-lighting-/
But I also wanted to unlock all features by buying pro and that seems not to work without PlayStore

Categories

Resources