Force AOD (always on display) on Pixel 5 - Android Auto - Tasker Tips & Tricks

I recently got an Android head unit and when my phone connects it sets the phone to DND and turns AOD off. I understand this is by design but I don't want it to do that. I already configured tasker to turn DND off when connected to the car. I can't get AOD to turn back on though. So far I've tried the following variables:
aod_mode = 1
doze_always_on = 1
doze_enabled = 1
Does anyone know of any other variables that would control the AOD settings?

Related

Tasker anyone?

I know Tasker has been around for a while and a lot of people swear by it. I downloaded the 7-day trial and am trying it out, seems pretty powerful but also pretty complex. Wondering if people are using it and what for?
These are the simple things I use Tasker for:
- Lower sound volume at night and bring it back at morning.
- Enable vibration when I set an high ringer volume and disable when I lower it.
- Hourly chime (voice announcement).
- Pop-up GPS settings when I launch Maps.
- Play a reminder sound every three minutes when there are missed calls, SMS or mails.
these are the things I use it for:
-turn on nfc when I use the google wallet app/ and turn it off when i exit the app
- turn on gps when I open the maps app/ and turn it off when i exit the app
-turn on mobile hotspot when i enter the car and it connects to my car's bluetooth/ turns it off when disconnected from the car's bluetooth
limitless possibilities.
@Giocarro How do you make a "GPS pop-up"? I have Tasker set to just automatically turn on GPS when I open maps... but I think a popup is better bc sometimes I'm just searching for a location so I don't need it to automatically turn on location every time I enter maps.
@lilvanmuzz How did you set up the last one with turning on bluetooth automatically and turning it off automatically when entering/exiting your car's bluetooth?!
Thanks guys
JoeFCaputo113 said:
@Giocarro How do you make a "GPS pop-up"? I have Tasker set to just automatically turn on GPS when I open maps... but I think a popup is better bc sometimes I'm just searching for a location so I don't need it to automatically turn on location every time I enter maps.
@lilvanmuzz How did you set up the last one with turning on bluetooth automatically and turning it off automatically when entering/exiting your car's bluetooth?!
Thanks guys
Click to expand...
Click to collapse
Application -> Maps -> Taskname -> Settings -> Locations settings.
In bluetooth, click the invert as a exit task. That means, that when bluetooths gets disconnected. Then you just chose what it should do and you of course choose turn BT off.
You can even choose a name, so it only turn off when you DC from car BT and not all BT devices.
JoeFCaputo113 said:
@Giocarro How do you make a "GPS pop-up"? I have Tasker set to just automatically turn on GPS when I open maps... but I think a popup is better bc sometimes I'm just searching for a location so I don't need it to automatically turn on location every time I enter maps.
@lilvanmuzz How did you set up the last one with turning on bluetooth automatically and turning it off automatically when entering/exiting your car's bluetooth?!
Thanks guys
Click to expand...
Click to collapse
Secure settings
- enable GPS when starting Google Maps or Navigon, deactivate on close
- disable WiFi after 5 min. without connection
- enable WiFi in Home Cell
- maximum brightness in Gallery, switch back to auto brightness on close
- set Lockscreen Timeout to maximum on trusted Wifi, switch to immediately on untrusted
- miscellaneous DND schedules (Workdays/Weekend)
- DND on Calendar Event, deactivate DND at Event end
- set 7 seconds screen timeout when placing device at wireless charging station, set to 1 minute after 10 seconds
- increase screen timeout in specific apps (Gmail, Facebook, Feed Reader..), decrease on close
Wickii said:
- enable GPS when starting Google Maps or Navigon, deactivate on close
- disable WiFi after 5 min. without connection
- enable WiFi in Home Cell
- maximum brightness in Gallery, switch back to auto brightness on close
- set Lockscreen Timeout to maximum on trusted Wifi, switch to immediately on untrusted
- miscellaneous DND schedules (Workdays/Weekend)
- DND on Calendar Event, deactivate DND at Event end
- set 7 seconds screen timeout when placing device at wireless charging station, set to 1 minute after 10 seconds
- increase screen timeout in specific apps (Gmail, Facebook, Feed Reader..), decrease on close
Click to expand...
Click to collapse
Some great ideas right there buddy :good:
-silent mode at work --> loud on exit
-auto rotate enabled when using galery, photos, youtube, remote desktop --> locked on exit
-30 minute screen timeout in certain apps --> 1 min on exit
-GPS on when in Google & Maps --> disabled on exit
-NFC on when in wallet -- off on exit
-a whole project just for nighttime silent mode since the times change from day to day for me.
Wickii said:
- enable GPS when starting Google Maps or Navigon, deactivate on close
- disable WiFi after 5 min. without connection
- enable WiFi in Home Cell
- maximum brightness in Gallery, switch back to auto brightness on close
- set Lockscreen Timeout to maximum on trusted Wifi, switch to immediately on untrusted
- miscellaneous DND schedules (Workdays/Weekend)
- DND on Calendar Event, deactivate DND at Event end
- set 7 seconds screen timeout when placing device at wireless charging station, set to 1 minute after 10 seconds
- increase screen timeout in specific apps (Gmail, Facebook, Feed Reader..), decrease on close
Click to expand...
Click to collapse
Thanks for these! Definitely some great ideas. Just wondering, what is DND? Also, I'm trying to set up a profile for when I use my wireless charger in my car (as opposed to my other wireless charger)... This may be better suited to ask in a Tasker forum, but I'll give it a shot here. So my phone is oriented vertically in my car charger vs. flat on the other charger. Is there a way to only trigger the profile when it's charging wirelessly in a vertical position?
Sent from my SM-G920V using Tapatalk
lilvanmuzz said:
Secure settings
Click to expand...
Click to collapse
Any way to do this with non-root on Lollipop? Worked great with Kit-Kat. Lollipop took it away.
tkwan8888 said:
Any way to do this with non-root on Lollipop? Worked great with Kit-Kat. Lollipop took it away.
Click to expand...
Click to collapse
I don't think it can be done without root.
lilvanmuzz said:
I don't think it can be done without root.
Click to expand...
Click to collapse
Yes it can, by emulating manual input using the tasker plugin AutoInput. Did it myself on the S6 before root was available.
Just wanted to write an update on my experience with Tasker over the last few weeks... Wow! What an amazing application. You are only limited by your imagination, or, more so, just the ability to figure out exactly how to make it do what you want. I have profiles to turn off my wifi when the screen is off, also night profiles to dim the screen/silence notifications, etc. Those are all common easy things to set up. Then I really got into it - set up a profile that triggers when I tap my nfc keychain to enter car mode. I have a wireless charging dock in my car, and when I get texts they are read aloud to me, and then I'm asked if I want to respond. If I say yes, I then speak my message. My message is read back to me and I'm asked if I want to send or edit. This is a great, truly hands free way of using your phone (especially with new or already existing laws regarding use of phones in cars). I also just set it up (using the autovoice, autolaunch and autoinput plugins) to control the Sonos system in my house. I can say "Play Sonos in the kitchen," or the patio, or the family room, and it will automatically do it. I could also place nfc tags in those rooms to trigger the same tasks as well. Are all these things "necessary"? Maybe not, but for me the coolness factor is off the chart. [emoji2]
Sent from my SM-G920V using Tapatalk
Cmotion said:
Just wanted to write an update on my experience with Tasker over the last few weeks... Wow! What an amazing application. You are only limited by your imagination, or, more so, just the ability to figure out exactly how to make it do what you want. I have profiles to turn off my wifi when the screen is off, also night profiles to dim the screen/silence notifications, etc. Those are all common easy things to set up. Then I really got into it - set up a profile that triggers when I tap my nfc keychain to enter car mode. I have a wireless charging dock in my car, and when I get texts they are read aloud to me, and then I'm asked if I want to respond. If I say yes, I then speak my message. My message is read back to me and I'm asked if I want to send or edit. This is a great, truly hands free way of using your phone (especially with new or already existing laws regarding use of phones in cars). I also just set it up (using the autovoice, autolaunch and autoinput plugins) to control the Sonos system in my house. I can say "Play Sonos in the kitchen," or the patio, or the family room, and it will automatically do it. I could also place nfc tags in those rooms to trigger the same tasks as well. Are all these things "necessary"? Maybe not, but for me the coolness factor is off the chart. [emoji2]
Sent from my SM-G920V using Tapatalk
Click to expand...
Click to collapse
The coolness factor of Tasker and what you can do is wayyyy beyond off the charts!!
A bit late to the party but here goes:
- toggle autorotate if I shake the phone left-right
- if connected to car bluetooth, set variable %CarMode to 1, which I then use in other profiles. On exit (bluetooth disconnect) set %CarMode to 0
- if text message received and %CarMode is 1, read the text aloud (read texts aloud while driving)
- monitor Llama notification to see what location I'm in (based on Cell towers). I think Llama is more accurate and easier to use then Tasker for cell towers and volume profiles
- If leaving Llama location "Work", during the week, after 4pm, send my wife a text to say I'm leaving work. Randomize the content of that text from a list, so it doesn't ever seem automated to her
- log my work hours onto a Google Drive spreadsheet automatically by using the Llama location
- Perform a weekly reboot, on Sundays at 5am. I just think it's good to do every now and again
- Last gasp alert - If my battery level reaches 2%, get a GPS fix and send the location to my tablet. That way if I've misplaced the phone and it runs out of battery, I'll know where it is
- At night, enable Lux plugin, which removes blue light from the screen to help you fall asleep quicker if you're like me and insist on playing on phone at night. Disable in the morning. I do this because I think it uses battery during the day otherwise
- if headset plugged in, show a custom scene I created to choose my music/listening app
- watch Chrome notification for one that says I'm in incognito mode. Put the phone on silent mode if that happens....for browsing stuff......
- If my battery has dropped more than 15% in the last hour, alert me. This helps me spot crappy apps that are sucking my power
- turn my phone onto silent if I turn the phone off, to disable the annoying boot animation sound
- if I use the camera app, turn the phone onto silent, to prevent shutter sound
- a custom clipboard manager that stores the last 5 things I copied, let's me choose any of them when I want to paste something
- If I copy something on my laptop, send it to my phone
- watch the latest USd-GBP exchange rate, watch the latest stock price for some stock I own. Work out my GBP stock value and tell me daily how much they're worth and if I've made/lost money
suparuss said:
A bit late to the party but here goes:
- toggle autorotate if I shake the phone left-right
- if connected to car bluetooth, set variable %CarMode to 1, which I then use in other profiles. On exit (bluetooth disconnect) set %CarMode to 0
- if text message received and %CarMode is 1, read the text aloud (read texts aloud while driving)
- monitor Llama notification to see what location I'm in (based on Cell towers). I think Llama is more accurate and easier to use then Tasker for cell towers and volume profiles
- If leaving Llama location "Work", during the week, after 4pm, send my wife a text to say I'm leaving work. Randomize the content of that text from a list, so it doesn't ever seem automated to her
- log my work hours onto a Google Drive spreadsheet automatically by using the Llama location
- Perform a weekly reboot, on Sundays at 5am. I just think it's good to do every now and again
- Last gasp alert - If my battery level reaches 2%, get a GPS fix and send the location to my tablet. That way if I've misplaced the phone and it runs out of battery, I'll know where it is
- At night, enable Lux plugin, which removes blue light from the screen to help you fall asleep quicker if you're like me and insist on playing on phone at night. Disable in the morning. I do this because I think it uses battery during the day otherwise
- if headset plugged in, show a custom scene I created to choose my music/listening app
- watch Chrome notification for one that says I'm in incognito mode. Put the phone on silent mode if that happens....for browsing stuff......
- If my battery has dropped more than 15% in the last hour, alert me. This helps me spot crappy apps that are sucking my power
- turn my phone onto silent if I turn the phone off, to disable the annoying boot animation sound
- if I use the camera app, turn the phone onto silent, to prevent shutter sound
- a custom clipboard manager that stores the last 5 things I copied, let's me choose any of them when I want to paste something
- If I copy something on my laptop, send it to my phone
- watch the latest USd-GBP exchange rate, watch the latest stock price for some stock I own. Work out my GBP stock value and tell me daily how much they're worth and if I've made/lost money
Click to expand...
Click to collapse
Can you share the music scene?!
JoeFCaputo113 said:
Can you share the music scene?!
Click to expand...
Click to collapse
Screenshot attached
Can u share most of it especially the one where ur phones turns off when you switch if off
suparuss said:
A bit late to the party but here goes:
- toggle autorotate if I shake the phone left-right
- if connected to car bluetooth, set variable %CarMode to 1, which I then use in other profiles. On exit (bluetooth disconnect) set %CarMode to 0
- if text message received and %CarMode is 1, read the text aloud (read texts aloud while driving)
- monitor Llama notification to see what location I'm in (based on Cell towers). I think Llama is more accurate and easier to use then Tasker for cell towers and volume profiles
- If leaving Llama location "Work", during the week, after 4pm, send my wife a text to say I'm leaving work. Randomize the content of that text from a list, so it doesn't ever seem automated to her
- log my work hours onto a Google Drive spreadsheet automatically by using the Llama location
- Perform a weekly reboot, on Sundays at 5am. I just think it's good to do every now and again
- Last gasp alert - If my battery level reaches 2%, get a GPS fix and send the location to my tablet. That way if I've misplaced the phone and it runs out of battery, I'll know where it is
- At night, enable Lux plugin, which removes blue light from the screen to help you fall asleep quicker if you're like me and insist on playing on phone at night. Disable in the morning. I do this because I think it uses battery during the day otherwise
- if headset plugged in, show a custom scene I created to choose my music/listening app
- watch Chrome notification for one that says I'm in incognito mode. Put the phone on silent mode if that happens....for browsing stuff......
- If my battery has dropped more than 15% in the last hour, alert me. This helps me spot crappy apps that are sucking my power
- turn my phone onto silent if I turn the phone off, to disable the annoying boot animation sound
- if I use the camera app, turn the phone onto silent, to prevent shutter sound
- a custom clipboard manager that stores the last 5 things I copied, let's me choose any of them when I want to paste something
- If I copy something on my laptop, send it to my phone
- watch the latest USd-GBP exchange rate, watch the latest stock price for some stock I own. Work out my GBP stock value and tell me daily how much they're worth and if I've made/lost money
Click to expand...
Click to collapse
Nice list btw. Wondering why you don't just delete the boot sounds as opposed to making an extra task to silence your phone on shut down. I'm assuming if you have this many tasks, you must be rooted, but maybe not?

Automatically switch phone to airplanemode @ night

Hi
I made a project to turn my phone to airplane mode automatically at night.
That would be very simply if I'd go to sleep at the same time every day.
My project uses the motion sensor to detect whether I am still awake.
Tasker checks if the phone was moved within the last 10 min and turns the phone to airplane mode if not. If the phone is being moved again tasker turns off airplane mode again. (Sensor is only alive until it was moved. Any move should turn the sensor off until next 10min check. So it won't drain too much battery)
To narrow down the sensor time I defined time dependent night mode which is turned off by an alarm event or rather late in the morning (in case no alarm was set)
There is also a sleep now task which can be triggered (with a widget if setup) to put the phone in airplane mode until it is picked up again.
I had to play around with sensor sensibility, length and accelerometer (which is now set to "no")
http://cloud.tapatalk.com/s/5897254d3b91d/Airplane_Night.prj.xml.zip
(Could not upload it as xml ...)
2 tasks are not part of the project but used anyways: silent and loud: these are to make the phone silent and loud again in the morning. I am not using taskers reset settings here because I want the phone to become loud 5 min after the alarm goes off because otherwise I get a sound notification about anything that happened straight away after the alarm goes off which I don't really like ... (plus if I look at the phone in the middle of the night I get a loud notification as well - even the phone turns itsself silent after max 20min again ...)
For airplane mode I use secure settings. My phone allows airplane mode with either secure settings or tasker itsself. If you don't have secure settings try taskers internal airplane mode: Net - airplane mode
Please check it out and comment ...
Regards
Nice
Can't wait to try this. Thanks for sharing.
Still one of my favorite projects on Tasker and never stopped using it.
Thanks again, Daniu.

Auto Disable LockScreen with trusted Wifi

Can somebody please inform me how to use Tasker on my Galaxy S8 so the pincode lockscreen will be automatic disabled when I'm connected to a trusted wifi and will be abled when I'm not connected to this trusted wifi.
you could check AutoTools
http://forum.joaoapps.com/index.php...-enable-your-lock-screen-at-will-no-root.237/
Thanks, but in your example Lockscreen disabled is set in time (7200 sec). I want Lockscreen disabled as long as I am connected with a "trusted wifi", this can be 10 sec, 2 hours or even 3 days.
Lockscreen is a challenge on the newer Android releases. I handle it the same way that Auto tools does by changing the lock screen timeout to a ridiculous value (10 days). Then on the exit task, I return the value to a more sane number. The worst case is one every 10 days I have to enter my screen lock code. Though I have to do that every day anyway since I reboot my phone over night. I describe my approach in this post.

Display Dimming / Timeout

Anyone know of a way (perhaps via Tasker) to prevent the phone's display from dimming after several seconds when connected to a vehicle's USB port? Thanks in advance!
second this.. i already detect that the phone is connected to the bluetooth in the car and used tasker to set the screen timeout to 30 minutes. but when AA finally starts, it overrides my tasker change and sets the timeout to 15 seconds. i tried using the "Docked" event detection to detect that the phone was placed in "docked car" state. but, the AA application needs to get this event to start, so tasker never gets it. i'm looking into having tasker be the default app that gets the docked car event and then have tasker launch AA... we'll see if that works.
but it would be great if someone else has already figured this out and can post...
schleprock

Good Lock AOD on while charging?

Hi guys,
I remember on my note 9 with good lock there was a way to enable AOD to turn itself on only when charging. I can't seem to find it now. Any ideas?
Thanks
You can now do this in Bixby Routines. Go to "my routines" then click the plus to create a new one. Set IF to "charging status: charging" and THEN to "Always on display: Show always".
You can also name the routine and select if you want a notification when its active.
Now when your device is charging the AOD will stay on, the setting will revert back to its original state when the routine stops (so when you stop charging).
You can automate a lot of nice things with Bixby routines, like having your phone unlocked when you're home (works a lot more reliably than Google smart lock). Or to enable Do Not Disturb when you're sleeping (auto detected)
nukeclears said:
You can now do this in Bixby Routines. Go to "my routines" then click the plus to create a new one. Set IF to "charging status: charging" and THEN to "Always on display: Show always".
You can also name the routine and select if you want a notification when its active.
Now when your device is charging the AOD will stay on, the setting will revert back to its original state when the routine stops (so when you stop charging).
You can automate a lot of nice things with Bixby routines, like having your phone unlocked when you're home (works a lot more reliably than Google smart lock). Or to enable Do Not Disturb when you're sleeping (auto detected)
Click to expand...
Click to collapse
Oh nice that is cool! Thank you for the tips!

Categories

Resources