Hi all,
I try to make a profile in tasker so as when I connect my s3 gear watch I want to turn off AOD and when I disconnect s3 gear to turn AOD on again.
Does anyone has any idea of where can I find AOD option in tasker? I tried with secure settings with no success. I'm rooted.
Any alternative suggestions are welcomed..
OK I found it..
If anyone search for it, it's in the settings > custom settings > system > enable_ext_display_on_lcd_off.
1 for AOD ON
0 for AOD OFF
It works nice but the toggle in settings does not change position. So test it only by closing the screen.
Hi, this is great i was looking this info all around. But I'm interested is there a way to put change state automatically into variable ?
---------- Post added at 03:18 PM ---------- Previous post was at 02:57 PM ----------
Point_Zero said:
Hi, this is great i was looking this info all around. But I'm interested is there a way to put change state automatically into variable ?
Click to expand...
Click to collapse
I think that I found solution. Instead of toggle in settings I use Time profile and this states:
enable_ext_display_on_lcd_off.
1 for AOD ON
0 for AOD OFF
push to variable
Point_Zero said:
Hi, this is great i was looking this info all around. But I'm interested is there a way to put change state automatically into variable ?
---------- Post added at 03:18 PM ---------- Previous post was at 02:57 PM ----------
I think that I found solution. Instead of toggle in settings I use Time profile and this states:
enable_ext_display_on_lcd_off.
1 for AOD ON
0 for AOD OFF
push to variable
Click to expand...
Click to collapse
I'm not sure I understand exactly what you did, but it sounds cool[emoji57]
Sent from my LG-H932 using Tapatalk
conbak49 said:
I'm not sure I understand exactly what you did, but it sounds cool[emoji57]
Sent from my LG-H932 using Tapatalk
Click to expand...
Click to collapse
So let me clarify. I was looking the way how to control AoD status more flexibly and in same time put status in variable. With your information I can do that very easy by using Tasker
I created Tasker profile:
Profile > Add new > Time > From/ To "desired time for AoD to be Off"
New Task > Settings > Custom settings
Type = System
Name = enable_ext_display_on_lcd_off
Value = 0
Read Settings To = "desired variable name" prefere global because i uset hat value in other project
Exit Task > Settings > Custom settings
Type = System
Name = enable_ext_display_on_lcd_off
Value = 1
Read Settings To = "desired variable name" same name as above
Enyoy and once more thx very much for this information
Related
The little quick launcher on the bottom right edge. . .how do I turn that off?
pull the bar out. click the cog icon, and should have an option to turn off.
Pavly28 said:
pull the bar out. click the cog icon, and should have an option to turn off.
Click to expand...
Click to collapse
The cog icon brings you to the settings. I can't find it in the settings.
ahrion said:
The cog icon brings you to the settings. I can't find it in the settings.
Click to expand...
Click to collapse
other way is go into your settings. and on the top search for "edge panel". you can disable from there.
---------- Post added at 05:48 PM ---------- Previous post was at 05:45 PM ----------
go to settings, display, navigation bar, there option for button
I haven‘t been here for a few days and I found there were some similar apps already. But I have finished my work and tested it for a week, So I create this thread
warning:
it seems that if you have installed the app and let it notified you at least once, then when you uninstall it, s10 system will delete the aod related settings(key and value) in the system settings database. but in system settings UI, the AOD related settings are still correct. So if you install this app again, this app can not get the correct AOD related settings. the result is that when there isn't notification this app can not restore the AOD related settings correctly.
To avoid this issue, Before you install this app again ,please go to system settings to set AOD mode and AOD tap mode again even if all the settings are correct.
[06/19]Release v0.9.9
- Now it works on OneUI 3 with Android 11
- Android dark mode supported
- After updating to this version, You must REBOOT your phone
[06/19]Release v0.9.3
- Add accessibility service, you can get it more intelligent by enable the accessibility service in system settings
- Fix bugs
[06/05]Release v0.9.2
- add a primary engine to check whether the notification should be notified when the screen is on (don't consume battery)
- add an application package name line to application selection page
- reduce memory consumption
- add debug switch to menu
the previous version (0.9.0) has supported screen off edge light (not fully supported, will never fixed, see the related source code comments)
[06/01]Release v0.9.0
- Now "AOD schedule mode" can also work well
- Add some tips to show why the main service item is not activated
- Add time schedule mode to save more power
- Add optional function that turning screen on when a notification comes
[05/30]Release v0.8.1
- add "select all" and "search" function for application management page
Auto AOD is developed for Samsung s10/s10+/s10e. Other phone may be OK too.
Feature:
- Automatically enable AOD while notification comes and restore AOD state while you unlock the phone or clear notifications in locked screen
- Airplane mode optimization support to save battery
- Applications managerment
- Battery saved
As the notification LED is absent on Samsung S10 and Samsung company may not update the software solution, I create this app to take advantage of the Samsung's AOD(Always On Display) feature to show me the new un-read notifications. Other than some apps before, it just enable the system's AOD when a new notification comes instead of drawing a circle or showing some info on a black screen. When you unlock your phone, the AOD state will be restored.
This app is desired to save more battery, so it has any permissions/traces and unnecessary functions.
[source code]https://github.com/photongh/Auto-AOD
[download]https://github.com/photongh/Auto-AOD/releases
Attachments:
View attachment AutoAOD_v0.9.3.apk
Hi....just tried it and can say that it does exactly what i wanted ...
Well done [emoji106]
SM-G975F Exynos
tried it but the app doesnt have option to select all the apps at a go.. lil bit tiring for selecting app individually.. hope u add it soon so that i can keep the app installed
rahulkheria said:
tried it but the app doesnt have option to select all the apps at a go.. lil bit tiring for selecting app individually.. hope u add it soon so that i can keep the app installed
Click to expand...
Click to collapse
I'm sorry for the "select all button" missing, it will be added in the next release
photonxda said:
I'm sorry for the "select all button" missing, it will be added in the next release
Click to expand...
Click to collapse
waiting for it ..
[05/30]Release v0.8.1
- add "select all" and "search" function for application management page
photonxda said:
I haven‘t been here for a few days and I found there were some similar apps already. But I have finished my work and tested it for a week, So I create this thread
[05/30]Release v0.8.1
- add "select all" and "search" function for application management page
Auto AOD is developed for Samsung s10/s10+/s10e. Other phone may be OK too.
Feature:
- Automatically enable AOD while notification comes and restore AOD state while you unlock the phone or clear notifications in locked screen
- Airplane mode optimization support to save battery
- Applications managerment
- Battery saved
As the notification LED is absent on Samsung S10 and Samsung company may not update the software solution, I create this app to take advantage of the Samsung's AOD(Always On Display) feature to show me the new un-read notifications. Other than some apps before, it just enable the system's AOD when a new notification comes instead of drawing a circle or showing some info on a black screen. When you unlock your phone, the AOD state will be restored.
This app is desired to save more battery, so it has any permissions/traces and unnecessary functions.
[source code]https://github.com/photongh/Auto-AOD
[download]https://github.com/photongh/Auto-AOD/releases
Click to expand...
Click to collapse
I had a look at your source code, and noticed one thing in your code. Here is the function in your code.
Code:
public static int getAodMode(Context context) {
int mode = Settings.System.getInt(context.getContentResolver(),
"aod_tap_to_show_mode", 1);
switch (mode) {
case 0:
return MODE_AOD_ALWAYS_ON;
case 1:
default:
return MODE_AOD_TAP_ON;
}
}
In switch case 0 your result is that AOD mode is Always On. Which is not entirely true. If you have a schedule set, AOD will be working on schedule.
The correct way to do it, is to check whether there is a schedule assigned to the AOD. You can check it by using the following code:
Code:
int schedule_start = android.provider.Settings.System.getInt(resolver, "aod_mode_start_time", 0);
int schedule_end = android.provider.Settings.System.getInt(resolver, "aod_mode_end_time", 0);
if the result is, that schedule_start value is not equal to schedule_end value it means, that in your case 0 - AOD is using the schedule Mode. If schedule_start value is equal to schedule_end value (both are 0) AOD is in "Always On Mode".
I think that you should update your code, otherwise if someone has AOD set to schedule, and the time is past the scheduled time, you won't see the notificatication
photonxda said:
[05/30]Release v0.8.1
- add "select all" and "search" function for application management page
Click to expand...
Click to collapse
thank u vry much for it
Can't able to switch on main service toggle.
saxena1 said:
Can't able to switch on main service toggle.
Click to expand...
Click to collapse
Try to enable permission to change system settings in AutoAOD apk settings....
View attachment 4768341
SM-G975F Exynos
wes58 said:
I had a look at your source code, and noticed one thing in your code. Here is the function in your code.
Code:
public static int getAodMode(Context context) {
int mode = Settings.System.getInt(context.getContentResolver(),
"aod_tap_to_show_mode", 1);
switch (mode) {
case 0:
return MODE_AOD_ALWAYS_ON;
case 1:
default:
return MODE_AOD_TAP_ON;
}
}
In switch case 0 your result is that AOD mode is Always On. Which is not entirely true. If you have a schedule set, AOD will be working on schedule.
The correct way to do it, is to check whether there is a schedule assigned to the AOD. You can check it by using the following code:
Code:
int schedule_start = android.provider.Settings.System.getInt(resolver, "aod_mode_start_time", 0);
int schedule_end = android.provider.Settings.System.getInt(resolver, "aod_mode_end_time", 0);
if the result is, that schedule_start value is not equal to schedule_end value it means, that in your case 0 - AOD is using the schedule Mode. If schedule_start value is equal to schedule_end value (both are 0) AOD is in "Always On Mode".
I think that you should update your code, otherwise if someone has AOD set to schedule, and the time is past the scheduled time, you won't see the notificatication
Click to expand...
Click to collapse
OK, thanks for your check, I'll fix it in next release
Xode said:
Try to enable permission to change system settings in AutoAOD apk settings....
View attachment 4768341
SM-G975F Exynos
Click to expand...
Click to collapse
Yes, to ensure the main service switch be activated, the following two steps must be done:
1. the "android.permission.WRITE_SETTINGS" permission must be enabled
2. AOD setting must be set to on
Do all permission & aod is enabled but toggle still not working.
saxena1 said:
Do all permission & aod is enabled but toggle still not working.
Click to expand...
Click to collapse
Uninstall this v0.8.1 and try installing the first release v0.8.0 to see what happens...
SM-G975F Exynos
Xode said:
Uninstall this v0.8.1 and try installing the first release v0.8.0 to see what happens...
Same problem with v0.8.0
Click to expand...
Click to collapse
saxena1 said:
Xode said:
Uninstall this v0.8.1 and try installing the first release v0.8.0 to see what happens...
Same problem with v0.8.0
Click to expand...
Click to collapse
please try to change AOD mode to "tap to show" and have a try
Click to expand...
Click to collapse
please try to change AOD mode to "tap to show" and have a try[/QUOTE]
Now it works please add instruction in OP.
THANKS
Hi, I have one request. What do you think about, I see AOD, after checking notification only on lock screen and turn off screen without dissmiss or read them, AOD turn back to always on. Maybe then can AOD turn back off since we already saw notifications and turn on after receive new one.
Thanks
Thank you for your work. An schedule option would be very important in my opinion because I like to use it in tap to show mode, so the default schedule wouldn't work.
I wish the app also had a setting to turn AOD off after a few seconds. This would make it possible for me to achieve "wake on notifications" function like my Nexus had. I only want the AOD to wake up for a few seconds whenever a notification comes in, turning off again after those seconds have passed.
I use some apps that need to keep running in the background, like an auto brightness app (YAAB that's better than the standard Oppo auto brightness) and Vivid gestures (and some other apps) and I notice they tend to close after a while. On my Oneplus 6T i could turn off battery optimisation to prevent closing of these apps.
Can't find this however on the Oppo Reno 10x so is there a way to prevent apps from closing in the background?
TaranQ said:
I use some apps that need to keep running in the background, like an auto brightness app (YAAB that's better than the standard Oppo auto brightness) and Vivid gestures (and some other apps) and I notice they tend to close after a while. On my Oneplus 6T i could turn off battery optimisation to prevent closing of these apps.
Can't find this however on the Oppo Reno 10x so is there a way to prevent apps from closing in the background?
Click to expand...
Click to collapse
Go to Settings, App management, tap on the app that you want to change the settings, tap in power saver, select "allow running in the background".
---------- Post added at 12:17 PM ---------- Previous post was at 12:16 PM ----------
thyuro said:
Go to Settings, App management, tap on the app that you want to change the settings, tap in power saver, select "allow running in the background".
Click to expand...
Click to collapse
By default is on "smart restriction".
thyuro said:
Go to Settings, App management, tap on the app that you want to change the settings, tap in power saver, select "allow running in the background".
---------- Post added at 12:17 PM ---------- Previous post was at 12:16 PM ----------
By default is on "smart restriction".
Click to expand...
Click to collapse
In the meantime I found it too, let's see if it works. Thanks for your reply!
Just thought I would share my no frills tasker project.
Simply, it activates AOD when selected notifications arrive. With the option to disable at certain times of the day, e.g. at night. When all selected notifications are cleared, AOD is disabled.
Currently I have it set up for textra, messages and Gmail, but you can add or remove programs easily from within the task.
You need tasker and tasker settings ([url]https://play.google.com/store/apps/details?id=com.joaomgcd.taskersettings[/URL]) installed to make it work.
Just hold your finger on the home button at the bottom of the tasker screen and import.
Also make sure tasker in enabled in the phone notification access settings.
Feel free to modify and post back any improvements if you like.
Definitely better than those apps that work half the time, i tried aodnotify and automate with aod addon's but both stop functioning after a day or so. Tasker should be foolproof.
I've imported the profile but it's saying there's no active profiles
jobhax said:
I've imported the profile but it's saying there's no active profiles
Click to expand...
Click to collapse
Have you saved the changes to the profile, think they're is a tick in the to right. Also made sure the profiles are switch on. As the profiles are event based, they won't become active until all events in a profile are matched. It is possible to have 2 conflicting events in a profile that will never allow a profile to become active of any changes are made. There shouldn't be any conflicts in the uploaded project.
jobhax said:
I've imported the profile but it's saying there's no active profiles
Click to expand...
Click to collapse
Guess you must give Tasker write secure settings permissions via ADB
xanthrax said:
Guess you must give Tasker write secure settings permissions via ADB
Click to expand...
Click to collapse
I have a locked and unrooted phone, and have not needed to give these permissions to tasker for these routines to work. I only had to install the Tasker Settings add on from the plat store to allows tasker to make this work. https://play.google.com/store/apps/details?id=com.joaomgcd.taskersettings
mrm1 said:
I have a locked and unrooted phone, and have not needed to give these permissions to tasker for these routines to work. I only had to install the Tasker Settings add on from the plat store to allows tasker to make this work. https://play.google.com/store/apps/details?id=com.joaomgcd.taskersettings
Click to expand...
Click to collapse
Done that but it doesn't work either, I'll try that permission settings a little later, would be a nice thing to work
Thank you very much, exactly what I was looking for in the past. Much better than aodnotify that I paid for.
It works as it should be, but my question is that the aod display is different than what I choose (AOD style)
When I unlocked the device and lock it, it'll activate the AOD style that I already selected in system settings.
Thank you very much.
I've just tried to use this method but after following the steps written from earlier posts. I only get the " No active profiles." notification from tasker. Here are the steps I've taken:
1. installed tasker and tasker settings
2. enabled tasker to change system settings
3. imported the profile from the OP provided
4. turned the 2 profiles on after import
Is there anything I'm missing?
Tasker is possibly waiting for an event to happen to activate the profile. Have you tried sending your self a message, the switch of the screen before it arrives?
Yes I have. Unfortunately nothing happens. I've tried restarting my phone, reinstalled tasker and tasker settings and reimporting the profile. Same result. One thing I forgot to mention earlier is I am testing this on my S8 plus. I'm planning to upgrade to a s20 soon and saw a post about this from the s20 forums and thought I'd try this out as I'd really like to have Notification LeD alternative on my next phone coming from S8+.
Have the same 'no active profiles' thingie. Tried Tasker settings and adb but no go
Euphoria1 said:
Yes I have. Unfortunately nothing happens. I've tried restarting my phone, reinstalled tasker and tasker settings and reimporting the profile. Same result. One thing I forgot to mention earlier is I am testing this on my S8 plus. I'm planning to upgrade to a s20 soon and saw a post about this from the s20 forums and thought I'd try this out as I'd really like to have Notification LeD alternative on my next phone coming from S8+.
Click to expand...
Click to collapse
You could try removing the apps in the notification setting in the 2 profiles and re selecting the apps you use. As far as I am aware the same command is used on the s8+ and the s10. Also make sure tasker is enabled in notification access in the phone settings
I've tried that as well. Same result, I get the notification "no active profile".
---------- Post added at 09:12 PM ---------- Previous post was at 08:21 PM ----------
Just an update. I still get the no active profile notification from tasker. But I've decided to re-import tasker file one more time and got the always on display to work only when I wake up the screen after the new notification is received. Once those have been dismissed or read, the always on display will not wake up again for new notifications until I turn on the screen again. Is that how it is suppose to behave from tasker?
Euphoria1 said:
I've tried that as well. Same result, I get the notification "no active profile".
---------- Post added at 09:12 PM ---------- Previous post was at 08:21 PM ----------
Just an update. I still get the no active profile notification from tasker. But I've decided to re-import tasker file one more time and got the always on display to work only when I wake up the screen after the new notification is received. Once those have been dismissed or read, the always on display will not wake up again for new notifications until I turn on the screen again. Is that how it is suppose to behave from tasker?
Click to expand...
Click to collapse
No. On mine, when a new selected notification comes on, my aod switches on and stays on untill the notification cleared
mrm1 said:
No. On mine, when a new selected notification comes on, my aod switches on and stays on untill the notification cleared
Click to expand...
Click to collapse
Okay, I am not sure what is causing what I am experiencing. Any other suggestions?
Euphoria1 said:
Okay, I am not sure what is causing what I am experiencing. Any other suggestions?
Click to expand...
Click to collapse
The only other suggestion I can think of is make sure tasker is not set to optimise in battery settings.
Euphoria1 said:
Okay, I am not sure what is causing what I am experiencing. Any other suggestions?
Click to expand...
Click to collapse
Are you using power saving mode? there's option in medium saving mode that turn off AOD
Does Tasker take battery?
chief said:
Does Tasker take battery?
Click to expand...
Click to collapse
On my phone it doesn't even show up on the battery usage screen as it uses do little.
I want to keep the tablet's clock synchronized over internet, while configuring a different timezone from network-provided one.
However, at present it doesn't appear to be possible, as General Management -> Date and Time -> Automatic Date and Time option would automatically set to use my network-provided time zone which is not what I want.
Does anyone know how to achieve this? I know that this is doable on some custom ROMs/GSIs, as they offer separate "Use network-provided time" and "Use network-provided time zone" options, just not on this one's stock ROM...
It seems I've found the answer myself. See here.
Use adb shell and set "auto_time" setting value to 1, while keep "auto_time_zone" setting value as 0:
Code:
$ settings put global auto_time 1
$ settings get global auto_time
1
To make sure "auto_time_zone" setting value is still set to 0.
Code:
$ settings get global auto_time_zone
0
This should work. However, there's a catch:
DO NOT ever enter "General Management -> Date and Time" menu again, as it'll see "Automatic Date and Time" option as ticked and refresh the setting values, which will set the timezone to network provided one!