yashsingh1/xdaforums huggingface dataset:
[Google Pixel Guides, News, & Discussion] sankyou:
It does and the text is below. Essentially I installed (and paid for) secure settings. Used the helper inside secure settings to enable root functions. Created a profile called Nav in tasker. Used the third party plugin option in tasker to enable GPS any time Waze or maps is launched. Long tapped the profile to generate an exit task which I called turn off GPS. First create the appropriate wait time (category: task -> wait). Second follow the same steps and use secure settings to disable gps with this condition: "%PACTIVE !~ *,Nav,*" in the if section.

It's quite a bit but well worth it in my opinion :)

Profile: Nav (2)

Application: Waze or Maps

Enter: Turn On Gps (3)

A1: Secure Settings [ Configuration:GPS Enabled Timeout (Seconds):0 ]

Exit: Turn Off Gps (4)

A1: Wait [ MS:0 Seconds:0 Minutes:5 Hours:0 Days:0 ]

A2: Secure Settings [ Configuration:GPS Disabled Timeout (Seconds):0 ] If [ %PACTIVE !~ *,Nav,* ]

------------------

The tasker XML export can be found here and at the very least you'd need to install and activate root functions in secure settings for this to import properly: http://pastebin.com/raw/XhdajEat
[Google Pixel Guides, News, & Discussion] aholeinthewor1d:
Gonna try this later thank you!! I have tasker and secure settings trials installed already but I've only messed with tasker so far. I am rooted also
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
What's the part with the variable PACTIVE and the exclamation point and tilde for? Never used that on an if condition.
[Google Pixel Guides, News, & Discussion] sankyou:
It lets tasker know not to start the task until the profile (Nav in this case) is no longer active. It's also worth mentioning that this works well without having tasker running in the foreground (no notification icon).
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
That is so incredibly handy... My goodness I wish I knew this before. I accomplished this with all sorts of crazy toggling variables and waits and things but this is way easier. Thank you! That's an odd format I'll need to remember! Especially the weird commas.
[Google Pixel Guides, News, & Discussion] alluringreality:
Thanks to the following posts, I was able to get my major interests working on the Pixel.

I had been planning on rewriting my Tasker routines to use Autoapps, but this ended up being easier. I wasn't getting the startup message from TWRP RC1 after rooting my phone, so I used TWRP Alpha 2 to get it to work.

I had been using Tasker running in the foreground with the blank notification icon, which seemed to be necessary when I was using my own global variables. After rewriting my routines to use %PACTIVE, so far it seems like they are working correctly with Tasker remaining in Android's battery optimization without running in the foreground. Now I'll just need to remember to update profiles and tasks if I ever rename a profile.

Edit: The following app works with Tasker to change the network mode, so all of my original considerations have been covered.

https://xdaforums.com/android/apps-games/widget-toggle-network-type-5-0-xda-t2945406
[Google Pixel Guides, News, & Discussion] gramenz:
How do you get GPS to set to High Accuracy when opening Maps?

Thanks!
[Google Pixel Guides, News, & Discussion] alluringreality:
Secure Settings in the System+ Actions has Location Mode, which can change settings on my phone from a Task. I think that way requires root and Busybox.
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
That's exactly what I do, yes. :)
[Google Pixel Guides, News, & Discussion] Narc0lept1cN1nja:
Anybody else having issue with Tasker just doing nothing? I gave it permissions to everything I could, and accessibility. It doesn't seem to have any control of my phone, though. I tried simple ones, like "connect to home wifi -> turn on ringer" and "start up youtube or netflix -> turn media sound up". None did anything.

I am using Pure Nexus ROM. Do those interfere with anything?
[Google Pixel Guides, News, & Discussion] alluringreality:
It seems like a reasonable guess that the issue could be related to the ROM you're using. When I put "Ringer Volume" or "Media Volume" actions in a task, and run them with the play button in lower left of the task window, the ringer and media volumes change on my phone. I rooted my phone before messing with Tasker, but I cannot think of anything that needs to be changed to make Tasker work for those sorts of simple items with the stock ROM, so the custom ROM seems a possible complication.
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
I use PureNexus and have TONS of Tasker profiles working perfectly.
[Google Pixel Guides, News, & Discussion] bush911:
I am also on tasker with several simple profiles. I wanted to know if it is possible to swipe to sleep the phone? If so, how?

Previously used third party kernel to swipe to sleep.
[Google Pixel Guides, News, & Discussion] Narc0lept1cN1nja:
Didn't know I could test them like that... Clearly, don't know anything about this more updated Tasker. My tasks work in there, turns out.

And good to know.

Thanks for both of these. At least it'll give me a place to start, and allows me to narrow it down some more.
[Google Pixel Guides, News, & Discussion] alluringreality:
Since your task works, it should be triggered if set for the entry task for a profile. The text color on the profiles change to green when they're turned on and active, so checking what's green is an easy way to check if a profile is being triggered or not triggered as expected. I have a profile for being connected to home wifi, similar to what you mentioned before.

- State > Wifi Connected > Fill in optional SSID if you only want it to trigger on a specific network name

- Choose entry task

- Make sure profile is turned on

Note: I typically exit Tasker by going to the Android launcher to cause a newly-created profile to trigger, so a state profile like this one would indicate if it was active (green) or not active (black or white) when Tasker was reopened

Personally I use the gestures in Nova Launcher with screen lock set to none, but I'd guess a Tasker profile for Event > Gesture might be able to call a task that includes the Secure Settings option to Lock Device.

https://tasker.dinglisch.net/userguide/en/gestures.html
[Google Pixel Guides, News, & Discussion] Narc0lept1cN1nja:
That's green is going to be a great indication to look for. I found somebody else around that uninstall/installed the app. It seems to be working for me. Not sure what I did the first time that it didn't like.

Thanks for the help, from everybody. Much appreciated, time to play around with this now.
[Google Pixel Guides, News, & Discussion] har02052:
I want to be able to set up a command in my Google Assistant that I can say "OK, Google, lets go for a run" at which point, my bluetooth will turn on and connect to my headphones, MapMyRun will open and the "Start Workout" button will be pressed, then PlayMusic will open and "Alt Rock Workout Radio" will begin playing, then my C210K app will open and bypass the opening advertisement/inspirational message screen and hit "Start". Is this level of automation even possible? Or am I just dreaming? I literally want to pull my phone out of my pocket and say the command, then by the time I pull out my bluetooth headphones and pop them in my ears, everything is going and I can just start. I hate opening each app one by one and hitting all the buttons. Its just annoying. Currently I have tasker set so that I can hit a widget button which then runs the profile of "Go running" which then turns on bluetooth, opens mapmyrun for 5 seconds so I can hit the start button, then opens playmusic for 5 seconds so I can select the correct radio station, then it opens C210K so I can start the coach in my ear to tell me to run or walk. It isn't entirely seamless, but it sure is better than doing it all manually and going back and forth to the home screen for each app. I am very new to tasker. I am also thinking I want to set it up to do everything in reverse as well, ie, hit a widget (or change the widget to a toggle instead) that it opens each app one by one so that I can finish the workout, stop the mapmyrun, stop the radio, shut off bluetooth and close out each app.
[Google Pixel Guides, News, & Discussion] robotnikz:
It is possible. You can grab the Google command with auto voice.

The specific Spotify playlist can be started with the playlist URL which you can get from a browser on a PC. Copy this URL into the "open URL" task in Tasker.

Other things like bypass something or click a button or whatever can be done with the Tasker plugin autoinput.

Sorry, not much time atm. Try it and ask again. [emoji4]
[Google Pixel Guides, News, & Discussion] har02052:
SO I spent about 4 hours that night trying to get autovoice to capture the phrase to run the task. I tried a bunch of different settings, but I could never get autovoice to capture phrases from google assistant. I followed the instructions made by the autovoice developer, but I couldn't seem to get it working correctly, or at all actually.
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
I have not had much luck incorporating anything until Google Assistant. I had it where it I said "car mode" it would activate a profile but it would also do the Google search and that sort of messed up the coolness of it for me. It would do the search and THEN the profile would activate. I wish there was a slicker way.
[Google Pixel Guides, News, & Discussion] har02052:
I would love to have it grab the phrase at all. What steps did you use to get it to work?
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Open Tasker, add a context, make it an event, go to plugins, choose AutoVoice, select "Recognized". From here, click the pencil to configure it. I went to the option called Voice Filter and spoke my command. That's it! Your context should be activated by your command now. Make sure you have proper permissions in place for AutoVoice. I recall needing to do something for that but I'm not 100% sure.
[Google Pixel Guides, News, & Discussion] har02052:
I really don't know what I am doing wrong. I have built a task that I know the task itself works. I absolutely cannot get tasker or autovoice to recognize any phrases spoken into Google.

Steps I have taken:

-Built a functioning task (go running) which includes mapmyrun, Pandora, and it hooks up my Bluetooth headphones.

-Profiles, add, event, plugin, autovoice, recognized;

-Configuration, "the easy way"-commands;

I then enter a simple command: go running.

With a simple response: Let's run.

And I hit the check mark.

I had made sure to allow autovoice within the accessibility settings beforehand.

I then go back to the home screen of my phone and say "OK Google, go running,"

It brings up a website about running.

"OK Google, autovoice go running"

It shows me a link to launch the autovoice app.

"Ok Google, ask autovoice to go running"

Same answer, link to app.

What am I doing wrong?
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
In your configuration, try going to "speak filter" and say, "go running". Then just hit the checkmark. I think that's all I did.
[Google Pixel Guides, News, & Discussion] har02052:
I tried that as well with no luck. It is getting pretty frustrating.
[Google Pixel Guides, News, & Discussion] har02052:
Wait, are you using a Pixel with stock firmware? Google version or Verizon? And saying "OK Google" to activate Google assistant on your phone? Or are you using Google home? Or some other phone? I just asked the developer on his forums and he says it currently can't be done. He says it can be done on Google home though. I would say the command to google home and it forwards it to my phone to then execute the command in tasker. I guess I wait until the functionality gets baked into Google assistant for phones, or I wait until Google assistant is baked into my Nvidia shield (I already had a shield and I bought a Google home but then returned it when they announced that it would be eventually baked into the shield).
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
That is REALLY weird. I was doing it on my Verizon Pixel about a month ago. I swear it worked. I didn't like how it worked so I stopped using it. How the heck did I have it working?? Haha. I'm perplexed.
[Google Pixel Guides, News, & Discussion] snOwjAwk:
Hello there, I really like the idea of this thread hence tasker is super powerfull and has like infitnite possibilites to ease up our daily using routine. Maybe you could write simple steps to setup your profiles? Another question I tried to setup the maps gps profile but the app told me to switch rom (I'm on PureNexus) to cyanogenmod because only cm could handle gps settings. Are u on cm or what am I doing wrong?
[Google Pixel Guides, News, & Discussion] alluringreality:
I haven't messed with voice in Tasker, but according to the following, that may happen sometime this year:

"While Google Assistant conversation actions currently remain exclusive to Google Home, they will soon be made available on Pixel smartphones and other Google devices sometime this year."

http://www.digitaltrends.com/home/google-assistant-skills-wine/
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
I am on PureNexus. I use Secure Settings (Tasker Plugin) to change GPS status.
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Just got a couple new profiles made that I'm excited about:

1) When my keyboard is out, the navigation bar disappears (I have a tendency to accidentally press home or back when pecking (which I sometimes do instead of swiping)).

2) I can take a selfie with the fingerprint scanner! :)
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Added another today: the fingerprint scanner casts my chrome tab to my laptop chrome browser (only if I'm in chrome on my phone).
[Google Pixel Guides, News, & Discussion] acidspider:
I need to figure out how to use this
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
It's literally the greatest Android app. Unimaginable power.
[Google Pixel Guides, News, & Discussion] Thijssie909:
Can you share these?
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Yeah. I'm not sure how to do that though! I can type out what I did though!
[Google Pixel Guides, News, & Discussion] peter nde63h:
I keep gps on all the time. I like google to record my daily route and I like my photos to have geo-info.
[Google Pixel Guides, News, & Discussion] nednednerb:
Look up "projects" and "export"

Edit: in the userguide :)
[Google Pixel Guides, News, & Discussion] roadblock217:
.

I, too, would like to see these! Please share!
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Which ones?
[Google Pixel Guides, News, & Discussion] roadblock217:
Both of those would be amazing!
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
The second one I've actually had complications with the app I was using where it makes Tasker close for no reason so I'm not sure I'll share that one until I perfect it. Here's the first:

Context: My keyboard app (not services, just the app) (mine is Swiftkey but use whatever app you want).

Entrance Task: Run Shell (use root) and type the following in the command spot: settings put secure navigation_bar_height 1

Note that I chose I height of 1 because then you still can USE the Nav bar buttons by swiping up from the bottom bezel towards the keyboard. You could make the height like 10 if you want more showing or 0 to totally eliminate it.

Exit Task: Run Shell (use root) and type settings put secure navigation_bar_height 100

That's it! I've noticed that my Nav bar sometimes takes a good 5 seconds to cone back (as if the keyboard app doesn't actually close immediately after it looks like it's gone) but that's a minor annoyance compared to constantly hitting the home button when typing.
[Google Pixel Guides, News, & Discussion] alluringreality:
That context falls in the middle of the power usage list. According to the user guide, a way to reduce the power usage is to either use a lower power usage context or group it with another lower usage context. An easy adjustment would be to add another context for %SCREEN being on, since you wouldn't use the keyboard with the screen off.

http://tasker.dinglisch.net/userguide/en/power.html

http://tasker.dinglisch.net/userguide/en/variables.html
[Google Pixel Guides, News, & Discussion] PsiPhiDan:
Interesting! I never noticed any real difference in battery life with that profile on. I'll try this though!
[Google Pixel Guides, News, & Discussion] tacofart:
Thought I would share some of mine, although I prefer to use Macrodroid to tasker. I have yet to find anything that I can't do with Macrodroid and the interface of Tasker just makes me angry.

Anywho., here are my top ten macros (I have 35 currently active):

1. Announce when its time to leave in the morning, with my estimated commute time via google

2. Turn Forcedoze on/off when battery is low

3. Turn Airplane mode on but leave on wifi, when I get home (to force Fi wifi calling)

4. Switch Fi networks when I have no service

5. Turn VPN on when connected to certain networks, such as Xfinity

6. Autoplay music when headphones plugged in or BT speaker connected

7. When holding volume up, toggling ring/vibrate (via ButtonMapper)

8. When Holding volume down, toggle Elemental X High Brightness Mode On/Off/Auto (via Button Mapper)

9. Turn on USB debugging when plugged into my computer, turn off when unplugged

10. Various home automation things using Home Assistant, such as quick toggles to turn on lights, or turning lights on when my alarm goes off
[Google Pixel Guides, News, & Discussion] daveronline:
Hello all great thread. New to tasker on my pixel. Is location level able to be changed without root? I don't think I am able to root because of updates. Does anyone use commandr? Is there any good how to's out there to watch and learn.

thanks

David
[Google Pixel Guides, News, & Discussion] alluringreality:
My phone is rooted, but I've read that it's possible to use ADB on a computer to grant permission. The AutoTools Secure Settings instructions linked below has 5 steps for that app. You should then be able to change settings, including the location mode. Going to high accuracy causes a popup, and I've read that AutoInput could be used to automatically choose agree. I'm not aware of a way to seamlessly change the location mode without the popup, so I just decided to leave location at one setting on my phone.

https://joaoapps.com/AutoApps/Help/...utotools.activity.ActivityConfigsettings.html

I primarily used the older Pocketables Beginner's Guide to learn about Tasker a few years ago. I haven't looked at the newer series that includes videos, but I've found some of the author's posts on Tasker helpful, so it might be worthwhile.

http://www.pocketables.com/2013/03/overview-of-pocketables-tasker-articles.html
[Google Pixel Guides, News, & Discussion] alluringreality:
I've found that at times my Pixel seems to keep Wi-Fi active, even though the notification bar and Wi-Fi settings indicate that Wi-Fi is currently disabled, and Wi-Fi scanning is also off. When this happens, I notice my phone has been using more power in standby than usual, and the battery history details indicate that Wi-Fi has been on for hours while the setting remained off. In the past I've tried changing the "Keep Wi-Fi on during sleep" setting, but only the "always" option has allowed Tasker to switch Wi-Fi on and off for considerable periods of time, so the other options didn't work for my interests. Restarting the phone causes the Wi-Fi setting to start working normally again, where Wi-Fi actually shuts off and the phone goes back to the lower standby usage in battery history. I'm going to have Tasker begin restarting my phone based on %UPS and some other conditions. Hopefully setting the Pixel to periodically restart will get around these days where Wi-Fi seems to keep using battery when shut off.
[Google Pixel Guides, News, & Discussion] phil.spence:
I've been telling people about Tasker for ages. I start the day with Wunderlist, have auto texts stored for birthdays, my music app opens as soon as headphones are connected, what's not to love? So powerful and makes the mundane easier.
[Google Pixel Guides, News, & Discussion] MarkQuarless:
Tasker with Pixel XL: Screen Brightness

Has anyone else tried creating a Screen Brightness task in Tasker and setting it to a value of 0?

Tasker only lowers Screen Brightness for my Pixel XL to a minimum of 8% and I've tried a bunch of stuff with custom tasks - no luck so far.

Automagic has no problem setting brightness to 0, but I can't pull vars from Automagic. Widgetsoid has no problem either. It's just Tasker.

Is it just me???
[Google Pixel Guides, News, & Discussion] グリッチ:
Did you click the Use Root checkbox? If not rooted I don't think it can do that.
[Google Pixel Guides, News, & Discussion] Nil253259:
Hi, need help on profile 9. How would you detect when the phone is plugged into your computer? Is this through AutoNotification? I think the enabling/disabling thing can be done with Autotools Secure Settings

Thanks!
[Google Pixel Guides, News, & Discussion] Mikey1969:
I always wonder why people turn off WiFi these days. It used to kill my battery, but I make it through a day just fine with WiFi on, it's actively using the phone that drains it for me. If I have a day where it just sits around and I don't browse the internet much or anything else, I'll still have 70% easily by the end of day, and I never turn WiFi off. WiFi doesn't really seem to be the battery drain that the screen or actual browsing does. I leave GPS/location services and Bluetooth on all day, too.

Maybe it's just me? I've also noticed that even using data or WiFi to play or stream music that my battery is fine as well. It really seems that the screen is the biggest culprit to me.
[Xiaomi Redmi 2 Questions & Answers] LuanHalaiko:
DEL
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
Hello Friends,

After a lot of search and read I am confused. What is complete set of steps required to flash MM rom (non Miui)? What precautions I should take since I unlocked unofficially?

My needs for daily driver is

Good battery life

Working GPS

Working Camera

Root (for titanium backup and adblock)

Current status

Unlocked - UNOFFICIALLY

Recover - ALKA

Rom - Miui LP Global stable

Security - Fingerprint + Pin

Steps I have collated so far

* Remove pin and delete fingerprints

* Do I need to do something about encryption ?

* Goto recovery

** Should I flash another recovery ??

** Nandroid backup

** Wipe cache/dalvik/data/system

** Flash

**** CM13 Firmware

**** Rom (Example RR 5.7.4)

**** Kernel (Example Radon)

**** Gapps

** Clear Dalvik

** Reboot

If fingerprint issue

* Goto recovery

** Flash

**** Goodix Fp8 ( First check if Goodix)

**** Kernel

** Wipe Dalvik

** Reboot

Thanks for your inputs on above. Please also suggest MM rom suitable for my needs.
[Xiaomi Redmi Note 3 Questions & Answers] exce1ia:
I'd suggedlst you use Cyanogenmod 13 by TheStrix.

All are stable, I haven't encountered any issues.

What you need to do

-Phone's bootloader needs to be unlocked

-Flash CM13 Firmware (if you're coming from MIUI8, no need to flash this)

-Flash CM13 ROM (Snapshot)

-Flash GAPPS

-Flash Radon Kernel latest version. (I recommend you to usre Radon Kernel because the stock kernel has battery reading issues, it decreases by 2%)
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
Thanks.

* I'm at MIUI 8 but Lollypop .. so if I get you correctly, I need not flash CM13 firmware.

* Another query - is there no extra precaution required for Unofficial unlock and no need to use any other TWRP?
[Xiaomi Redmi Note 3 Questions & Answers] exce1ia:
I had a problem with unofficially unlocking maybe because the unofficial unlock requires to flash Lollipop Global ROM and I was running MM. What I did is find a way that requires to flash MM Dev ROM to unlock. Maybe you won't have a problem if you're gonna flash it using Dev ROM.
[Xiaomi Redmi Note 3 Questions & Answers] hyperorb:
I'm not on dev rom but on Global Stable MIUI8 Lollipop

kenzo_global_images_V8.0.6.0.LHOMIDG_20161025.0000_5.1_global_e45dc39209