A simply way to show Ambient Display only on notification - Google Pixel 4 Themes, Apps, and Mods

No notifications waiting makes the screen off and AOD not showing.
Recieving or already having a notification shows AOD.
On top of that you can select which apps are important to you to behave this way for their notifications and ignore others, also can be set similary for charging = on / not charging = off.
Yet it has no impact on battery maybe it will use like additional 0.009%
1- Install Always On Edge App
2- in Main settings section -> enable With AOD invisible -> but show AOD on notifications.
3- Main settings -> optional permissions -> AOD lighting controller.
4- save.
And that is it no need to enable any other permission or feature. However, please note that if you enable edge lighting then timing will be applied.

Related

Screen wakes after 5 seconds. Feature/issue Marshmallow

After my phone idles flat on a table for 5 seconds at least -I pick it up and the screen wakes. This is a decent feature that I've really liked. But the screen often comes back on even if the phone was never idling. Like if it was in my pocket while walking or in my hand while running. I end up inadvertently playing music or opening the emergency dialer or camera from my lock screen.
How can I disable or customize this feature? I've Google and didn't really find anything this specific. It's not related to notifications, at least I don't think it is..
To disable: Settings / Display / Ambient display / off.
To modify: I'm sure there are a variety of options when rooted. Gravitybox has a few:
Gravity box has option under the power settings: "proximity wakeup (use proximity sensor to help decide whether to wake device up)"
Gravity box also has an option under lockscreen tweaks / shortcuts / "safe launch" - requires double tap to launch shortcuts (from lockscreen) preventing them from being launched accidentally while device is in the pocket
Personally I have ambient enabled in Android settings, the GB safe launch option checked and the GB proximity wakeup option unchecked. Works fine - never had an inadvertant launch of anything from lockscreen. I vaguely recall that checking the prox wakeup option has caused some other problems for users so I don't use it.

Pulse Notification Light

Hi guys,
Trying to get some control over my LED lights! Ideally what I'd like to do is switch the LED on and off using tasker but the tasker action that toggles "Settings" -> "Display" -> "Pulse notification light" seems to be broken (for some time). I've tried setting tasker up to run the command below (from here) but that throws an error in tasker (screenshot) so perhaps the location of that particular setting has changed since 2012.
Code:
echo 0 > /sys/devices/virtual/sec/led/led_pattern
Does anybody know the correct command that I could execute with tasker to toggle this setting?
I'm using a OnePlus 3T with OOS 4.1.1 (Adroid 7.1.1)
Cheers!
Noosentaal
I'm not familiar with the OnePlus, but I know on my Pixel going into the settings and changing the notification light option ends up changing the notification_light_pulse system setting between 0 and 1. I figure it would be possible to also change that setting on a rooted phone with Tasker shell commands, or something like AutoTools Secure Settings could also do it on an unrooted phone. The setting changes I've tried have usually worked on my phone, except for preferred_network_mode1, so if your phone also uses that setting I would expect it to work. The link below has some information about shell commands in Tasker, and at the top it describes how to list the system settings on your phone, so you can see if notification_light_pulse is used by your phone. Below the link are the Tasker shell commands to turn the setting off or on for my phone, and the use root option needs to be checked so the shell commands will work.
http://www.notenoughtech.com/tasker/tasker-run-shell-commands/
settings put system notification_light_pulse 0
settings put system notification_light_pulse 1
Thanks, this is perfect! I did a quick check to see if this will work on my phone and running:
settings get system notification_light_pulse
returns: 0
Which is correct as I've currently toggled the setting off.
Just following back up on this - I've experimented a bit with this but it doesn't seem to be properly toggling the setting. Here's what I've found:
- Manually toggling the "Pulse notification light" setting sets that variable in settings (checked by using "settings get system notification_light_pulse" in a terminal app - toggles between 0 and 1)
- Manually toggling the "Pulse notification light" setting has the desired behaviour on the phone: LEDs are not lit up when charging when off, they are when on - using this to test as its reliable and easy to replicate
- Running a shell command in tasker sucessfully sets either a 1 or 0 for notification_light_pulse (checked using terminal as above) however it does not move the toggle in the settings screen in the phone
- Using tasker to set notification_light_pulse does not have the desired behaviouro n the phone: LEDS are unaffected (they retain whatever setting was set by the switch in settings before tasker got involved)
Any ideas what's going wrong here?
I'm not sure. It might be specific to how your phone is setup. I tested my phone, and the previously noted shell commands do cause the settings screen to reflect the change on the Pixel, which is different than what you were seeing. Changing preferred_network_mode1 doesn't cause my phone to actually change the radio until the Cellular networks setting screen is opened or the phone is restarted, so I've seen one similar example, where using the shell command doesn't cause a change in how the phone functions. On the pixel many settings menu items can be altered with shell commands, so I'd guess it could be ROM related.
EDIT: It looks like in the following post someone was using shell commands on a previous OnePlus phone and rom. I suppose it's possible there might be a custom OnePlus setting that's being used, and that idea could be tested using the list commands from the notenoughtech site to check if any other option changes when the setting screen is altered. If listing the settings doesn't turn up another option being changed, then it's something that's out of my current depth with using Tasker to make Android setting changes.
https://forum.xda-developers.com/oneplus-3/how-to/guide-oneplus-3-custom-tasker-shell-t3571732
I've done a little more playing with this and it seems my testing method was actually at fault in the post above. Changing that setting does correctly set the LED flashing for notifications - it just doesn't affect the charging LEDs. This is actually ideal as I don't want charging LEDs ever!
It seems that in the Oneplus 3T at least this toggle changes more than one setting and the charging LED must be another setting that I haven't discovered yet.
Just to summarise for anyone else that might want this in the future:
If you want charging LEDs on: toggle "Pulse notification light" in display settings to on then use tasker to set the desired setting for notifications using the code above
If you want charging LED off: toggle "Pulse notification light" in display settings to off and use tasker to change the notification settings accordingly
Noosentaal said:
Changing [the] setting does correctly set the LED flashing for notifications - it just doesn't affect the charging LEDs.
It seems that in the Oneplus 3T at least this toggle changes more than one setting and the charging LED must be another setting that I haven't discovered yet.
Just to summarise for anyone else that might want this in the future:
If you want charging LEDs on: toggle "Pulse notification light" in display settings to on then use tasker to set the desired setting for notifications using the code above
If you want charging LED off: toggle "Pulse notification light" in display settings to off and use tasker to change the notification settings accordingly
Click to expand...
Click to collapse
Have some kudos! Many thanks for sharing this information.
Verified on OnePlus 3. Switch off Pulse Notification Light in standard settings and then the Tasker toggle can be used to switch on notifications to be controlled by Light Flow or Light Manager (or presumably Tasker itself). These then are not overridden by any inbuilt charge notifications.
The only downside is that the notification then only appear if the screen is off. I came at this wanting to dim the inbuilt charge notification with an always on night clock. But next best is that I can use a night clock with the bright charge LED completely off :good:
Excellent, glad I could help!
I've never understood charging LEDs - my phone is my alarm clock and I want it face up to snooze first thing in the morning and I definitely don't need an LED lighting up the entire room! I appreciate that others might find charging LEDs helpful, seems like this should be straightforward toggle in settings (possibly with a dimmer switch for your particular use case!)

lockscreen notifications

Do you guys have phone/messages and stuff notifications on your lockscreen because I don't and was wondering if it's a bug on my phone or a misconfiguration ?
[/COLOR]
charlene17 said:
Do you guys have phone/messages and stuff notifications on your lockscreen because I don't and was wondering if it's a bug on my phone or a misconfiguration ?
Click to expand...
Click to collapse
Depends on what your settings are....I see mine fine but I know that doesn't help unless you're me.
So Here's what I have set:
For the Lock screen, the notifications are set to ON from the lock screen settings. That alone should allow you to see them.
I'm using the stock always on display (NOT the goofy app from the playstore), there's an option for Always on Display Alerts...within that I have set the Reminders ON.
I'm also using the Edge lighting and get notifications from that as well.
sainthooligan said:
[/COLOR]
Depends on what your settings are....I see mine fine but I know that doesn't help unless you're me.
So Here's what I have set:
For the Lock screen, the notifications are set to ON from the lock screen settings. That alone should allow you to see them.
I'm using the stock always on display (NOT the goofy app from the playstore), there's an option for Always on Display Alerts...within that I have set the Reminders ON.
I'm also using the Edge lighting and get notifications from that as well.
Click to expand...
Click to collapse
That's my bad : I thought notifications to be old style banner with text and not a tiny icon under the clock wich I have to press to be prensented the shadow mode AND the banner displaying "missed call" or whatever.
charlene17 said:
That's my bad : I thought notifications to be old style banner with text and not a tiny icon under the clock wich I have to press to be prensented the shadow mode AND the banner displaying "missed call" or whatever.
Click to expand...
Click to collapse
I mean, you can change it. Just go to settings > lock screen > notifications (not the toggle button, but press the banner itself), then on the view style option, change it to brief (no information shown, but banners shown) or detailed (which was default on non-pie phones).

Trigger Amolad AOD with Tasker

A main disadvantage of the OP7P is the lack of AOD and Led. The ambient display is very short, so you never know if you missed call or message.
Some AOD Apps are heavy battery consumers, or disabling face recognition unlock, OPAODmod block chrome, Plus Beat is reasonable solution, though it is not AOD.
gigiion came up with the idea to trigger the Amolad AOD app to run only if notification was missed, using Macrodroid. Here is the way I implemented his idea, using Tasker:
1. Install Always on AMOLED from google play store. Do not enable the service. For OP7P choose One UI theme.
2. Screen condition
In Tasker, make these two profiles:
- Display off > Veriable set %Screen_Locked ~ 1
- Display Unlocked > Veriable set %Screen_Locked ~ 0
In such way the native ambient display will not interrupt the AOD whet it turn the screen on.
3. Main task
If %Screen_Locked ~ 1
Veriable set %Titel1 to %NTITLE
Veriable set %Text1 to %evtprm3
Wait 15 secondes
From Amolad plugin – start amolad display if %Screen_Locked ~ 1
End if
The variables %Title1 and %Text1, can be used to track the situation that the AOD start without any known trigger. Such phenomenon can happened if WhatsApp notify “Searching for messages”.
The 15 sec delay is for the native ambient display. The double condition of Screen_locked, disable AOD if you unlocked display in this period, of just answer a call.
4. Triggers
Make profiles of event/notification, missed call, state/power/power or whatever you like, and assign to the task you just made. Name those profiles – it is necessary for next stage.
5. Toggle profiles
Make “toggle aod profiles” task:
Profile Status missed_call set toggle
Profile Status aod set toggle
etc ……..
if % PENABLED ~ *,aod,* (“aod” is name of one of the trigger profiles)
setup quick setting (number: 1st, Name: toggle aod profiles, status: inactive)
else
setup quick setting (number: 1st, Name: toggle aod profiles, status: active)
end if
I do not understand way the active/inactive are replaced.
6. Assign quick setting button
In Tasker’s main screen upper right corner three dots: Preferences/ Action tab/ quick setting tab.
Then add it in the quick setting editor.
7. Automatic toggle triggers
Clone the task you made in section 5, and change “toggle” to “on” of “off”, then you can make any profile you like to toggle the triggers.
Seems like alot of work when you can just use this mod.
https://forum.xda-developers.com/on...ice-themes-apps--mods/oxygen-aod-mod-t4023587
hallo dare said:
Seems like alot of work when you can just use this mod.
https://forum.xda-developers.com/on...ice-themes-apps--mods/oxygen-aod-mod-t4023587
Click to expand...
Click to collapse
The main reason that I didn't use it, is the long remind interval (min 15 sec) and the short display time. You can miss notifications if you don't looking into the black screen all the time. Any case I found stable AOD to be better, otherwise i could use Plus beat.

Question Top settings bar

Guys - on the top menu which has DND, Flashlight, etc is it possible to add anything from settings? I'd like to place the brightness setting in there (in particular if I can turn on/off ambient lighting with one click) that'll be great. Thanks
It's already there. You have to swipe down again to get the brightness settings, which presents a slider to brighten or dim the didplay, along with options to choose what shortcuts to turn things on/off that you see on the ribbon initially. I think brightness is one of them..
Maybe under device settings?

Categories

Resources