1. Auto GPS- Very simple profile that automatically turns your GPS on when opening Google Maps, and as an exit task, automatically turns it off when you exit Maps.
https://www.androidfilehost.com/?fid=95916177934519135
2. Gaming- Increases min CPU freq to 2265600 and max CPU freq to 2457600 while in games (just change the games I have, to games that are on your phone). Then as an exit task, sets it back to normal.
https://www.androidfilehost.com/?fid=95897840722648884
3. Home- When connected to my home WiFi network (just change my WiFi ID to your own) disable mobile data and turn brightness way down. As an exit task, I make it wait 30 seconds then then turn my WiFi off, turn mobile data back on and screen brightness back to normal as well. **REQUIRE SECURE SETTINGS PLUGIN**
https://www.androidfilehost.com/?fid=95897840722648885
4. Nightly Reboot- Reboots your phone at 4:00am every night ONLY if plugged in to a charger.
https://www.androidfilehost.com/?fid=95897840722648888
5. Nightly Power Saving- From 2:30am till 9:00am turn auto sync off, interrupt mode set to none, notification LED off, background data disabled, background app processes at most 2, and turn on power saving mode. As an exit task, everything gets set back to normal. **REQUIRES SECURE SETTINGS PLUGIN!**
https://www.androidfilehost.com/?fid=95897840722648886
6. Nightly SMS Auto Response- From 3:30am to 9:00am, if anyone texts you, it will automatically respond with "THIS IS AN AUTOMATED RESPONSE... Sleeping right now, text you when I'm up".
https://www.androidfilehost.com/?fid=95897840722648887
7. Movie/Meeting Mode (by @JoeyDuran)- Go to his thread for more info, but basically this sets your phone up for when you are watching a movie or in a meeting and is a "do not disturb" type of profile.
http://forum.xda-developers.com/sprint-galaxy-s5/themes-apps/app-movie-mode-t3007682
8. Power Saving Mode- Automatically turns on the S5's Power Saving Mode when battery level reaches 20%; then automatically turns it off once you charge your battery past 20%. **REQUIRES SECURE SETTINGS PLUGIN** ***REQUIRES AUTO-INPUT PLUGIN***
https://www.androidfilehost.com/?fid=95916177934519137
9. UPSM- Automatically puts your phone into the S5's Ultra Power Saving Mode at night for amazing battery throughout the night while you are sleeping. **REQUIRES SECURE SETTINGS PLUGIN** ***REQUIRES AUTO-INPUT PLUGIN***
https://www.androidfilehost.com/?fid=95916177934519136
**Join this community and opt in for the beta for Secure Settings Plugin!**
***Download the Auto-Input Plugin***
Feel free to share a Tasker profile of your own
JoeFCaputo113 said:
1. Nightly Reboot- Reboots your phone at 4:00am every night ONLY if plugged in to a charger.
https://www.dropbox.com/s/vu6fmike04cc7cd/Nightly_Reboot.prf.xml?dl=0
2. Gaming- Increases min CPU freq to 2265600 and max CPU freq to 2457600 while in games (just change the games I have, to games that are on your phone). Then as an exit task, sets it back to normal.
https://www.dropbox.com/s/7fz9jocp5fehznt/Gaming.prf.xml?dl=0
3. Nightly Power Saving- From 2:30am till 9:00am turn auto sync off, interrupt mode set to none, notification LED off, background data disabled, background app processes at most 2, and turn on power saving mode. As an exit task, everything gets set back to normal. **REQUIRES SECURE SETTINGS PLUGIN!**
https://www.dropbox.com/s/5sc84a9jmqgzn65/Nightly_Power_Saving.prf.xml?dl=0
4. Home- When connected to my home WiFi network (just change my WiFi ID to your own) disable mobile data and turn brightness way down. As an exit task, I make it wait 30 seconds then then turn my WiFi off, turn mobile data back on and screen brightness back to normal as well. **REQUIRE SECURE SETTINGS PLUGIN**
https://www.dropbox.com/s/a6n4pcugdzadq61/Home.prf.xml?dl=0
Feel free to share a Tasker task of your own
Click to expand...
Click to collapse
Hi there... which apps needs to be installed to run this profiles?
juniorr7710 said:
Hi there... which apps needs to be installed to run this profiles?
Click to expand...
Click to collapse
Join this community and opt in for the beta!
Added another profile for anyone interested.
Well I'll be damned @JoeFCaputo113
This is just the kind of thread I'm looking for. Are you good with Tasker.
JoeyDuran said:
Well I'll be damned @JoeFCaputo113
This is just the kind of thread I'm looking for. Are you good with Tasker.
Click to expand...
Click to collapse
I'm OK at it I guess lol. I get lots of help from the Tasker community.
Solved
JoeyDuran said:
Ah ok.. I'm just having problems with one of the ones I'm trying to put together. Trying to find somebody that can see of there is a solution.
I have a "movie mode" one that I'm trying to do. But when I deactivate it, the variable won't change back to 0 like it's supposed to.
Here's where I got the movie Mode mod
I have everything built right (I think)... When I have the profile turned on it just keeps my %MOVTOG variable set at 1 no matter if I toggle it on or off through my desktop app I saved it as
Click to expand...
Click to collapse
Honestly I know nothing about the variables not gonna lie lol
You can find some great profiles though HERE and HERE.
I also highly recommend joining this Tasker community. There are some amazing people there that will help you out.
JoeFCaputo113 said:
Honestly I know nothing about the variables not gonna lie lol
You can find some great profiles though HERE and HERE.
I also highly recommend joining this Tasker community. There are some amazing people there that will help you out.
Click to expand...
Click to collapse
Will do! Thanks
@JoeFCaputo113
I've solved it and created my first app that can now be used on any phone and also be connected to the gear 2
Share the profile here... I will put it in OP.
JoeFCaputo113 said:
Share the profile here... I will put it in OP.
Click to expand...
Click to collapse
It's no longer a profile anymore, it's a full standalone app
It just has no ui
It works like a toggle
MacroDroid in my opinion is a much better app than tasker.
dtr145r said:
MacroDroid in my opinion is a much better app than tasker.
Click to expand...
Click to collapse
Used it once and it was horrible IMO... nothing compares to the power of Tasker.
dtr145r said:
MacroDroid in my opinion is a much better app than tasker.
Click to expand...
Click to collapse
JoeFCaputo113 said:
Used it once and it was horrible IMO... nothing compares to the power of Tasker.
Click to expand...
Click to collapse
As a newbie for both these apps, I gotta say that Macrodroid is the easier of the two.
Sent from my SM-G900P using XDA Free mobile app
pastert33 said:
As a newbie for both these apps, I gotta say that Macrodroid is the easier of the two.
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
Easier... yes. Better/more powerful/more options/etc... not a chance.
JoeFCaputo113 said:
Join this community and opt in for the beta!
Click to expand...
Click to collapse
I just got the app that works for this... so just grab those dropbox files and run them on Tasker, correct?
juniorr7710 said:
I just got the app that works for this... so just grab those dropbox files and run them on Tasker, correct?
Click to expand...
Click to collapse
Yes, import the files that I have on my dropbox into your Tasker. Just be sure for some profiles you will have to delete my specific triggers (ie: my wifi name) and add your own instead so they work!
JoeFCaputo113 said:
Yes, import the files that I have on my dropbox into your Tasker. Just be sure for some profiles you will have to delete my specific triggers (ie: my wifi name) and add your own instead so they work!
Click to expand...
Click to collapse
Got it... great work sir, will test when i get home > :good:
juniorr7710 said:
Got it... great work sir, will test when i get home > :good:
Click to expand...
Click to collapse
Let me know if you need any help buddy.
FYI- I have a few more profiles coming for you guys, and gonna change the host site form Dropbox to AndroidFileHost.
Related
I have struggled with horrible battery life. I tried everything from roms, radios, setcpu, registry tweaks, all builds on this site and still couldnt pull much more out of my battery.
I ran across an app yesterday while digging through some articles looking for a battery miracle and found an app on the market called tasker. It is an automated tasking app that allows you to set different variations for anything you could imagine on your phone.
I have only scratched the surface with what it can do. The link below has a simple GPS setup to get started.
It enables you to turn on a certain function (WIFI, GPS, Bluetooth) when you open an app and then allows you to close it once the app closes. No more forgetting to use the power control widget!
Hopefully this thread can evolve with suggestions and other setups to help save more battery!
Today I was able to get 13 heavy usage hours out of my phone. Before this I was in the neighborhood of 8-10 depending on usage.
Any suggestions or new scenarios appreciated.
Hope this helps!
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
Thank you for sharing. This app is AMAZING!!!! (I didn't really get it for battery life, my life is already great, but it's so handy for everything and has so many options!)
psykick5 said:
Thank you for sharing. This app is AMAZING!!!! (I didn't really get it for battery life, my life is already great, but it's so handy for everything and has so many options!)
Click to expand...
Click to collapse
Absolutly correct, nearly the greatest program I have seen for android...
Isn't it a paid app?
Yes it's is. See : http://tasker.dinglisch.net/
There a direct Purchase form the author site that is cheaper from The Market
psykick5 said:
Thank you for sharing. This app is AMAZING!!!! (I didn't really get it for battery life, my life is already great, but it's so handy for everything and has so many options!)
Click to expand...
Click to collapse
I am Jealous. I wish my life was as great as yours.
So really how about the battery life?
arifqur said:
I am Jealous. I wish my life was as great as yours.
So really how about the battery life?
Click to expand...
Click to collapse
Wonderful!
DocteurN said:
Yes it's is. See : http://tasker.dinglisch.net/
There a direct Purchase form the author site that is cheaper from The Market
Click to expand...
Click to collapse
Does Tasker support turning on/off 3G? I.E. could I set it to turn off 3G ad drop to EDGE when the screen is off, thus saving battery?
yeah.. it works awesome.. so many settings to config up.. endless combinations lol..
good stuff dude!
3g
Fmstrat
Yes, you can set it to turn off everything when you turn the sreen off.
To do this go into tasker
Add new
Click Event
Click Display
Click Display off
Click Done
Click Plus sign in bottom left corner
Tap Net
Tap Mobile Data with the gear beside it
So the same thing but in reverse for Display on!
Along with this you can set a time profile to check turn on data every X minutes to grab your emails
New Time
00:00 to 23:59
repeat every x mins
add task mobile data on
It dues shut off APN completely however, I dont think there is a way, yet, to just shut off 3g. If anyone know a way please add it.
Hope this Help!
Looking for help with a profile
Need some help from the community.
I am trying to set up a profile that will work as follows:
Screen off > Kill all tasks using ATK
If I choose it as an app it loads the app but doesn't kill anything. This would be a great battery saver.
Anyone?
This looks like an excellent app.
Just a quick question (I've only ever installed free apps from the market )
If I pay for this app and validate/register it online using a Desire based android build, but then subsequently load a different build (maybe a nexus based one) will the app still install and work correctly?
Or will the app be seen as being transferred to another phone and refuse to work?
Thanks for any advice
Guys,
Please don't post warez or links to warez (see XDA rules).
Thanks
WB
Hi. As far as I can see there is no thread like this in the Nexus 5 subject. What Profiles do you guys find useful? I myself is pretty new to tasker and has mostly just browsed around the web to find some useful profiles for my everyday living. I will soon post my examples here.
Skickat från min Nexus 5 via Tapatalk
I'd love to have a profile that enables sync when connected to a charger and WiFi/data is enabled. I haven't been able to figure it out though. Also I feel like it drained my battery a bit.
Sent from my Nexus 5 using Tapatalk
krazeecracker said:
I'd love to have a profile that enables sync when connected to a charger and WiFi/data is enabled. I haven't been able to figure it out though. Also I feel like it drained my battery a bit.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Try:
Code:
Context { Power: ANY + WiFi Connected: <insert your SSID> }
Action { Auto-Sync: ON }
Exit Task { Auto-Sync: OFF }
parker09 said:
Try:
Code:
Context { Power: ANY + WiFi Connected: <insert your SSID> }
Action { Auto-Sync: ON }
Exit Task { Auto-Sync: OFF }
Click to expand...
Click to collapse
Thanks I'll give it a shot, and how would I go about disfavoring sync when disconnected from charger?
Sent from my Nexus 5 using Tapatalk
The exit task handles that.
http://forum.xda-developers.com/showthread.php?t=2552570
Battery saving tasks.
help with profile?
I'm trying to set a profile that silences my phones various volume and setting it to vibrate when I get to work. Only problem is that the work wifi has "dead zones" and will disconnect if I go to certain places causing the profile to unnecessarily turn on and off.
I'm wondering if I can use a "wait" command as a delay followed by an "if" statement to double check if all the conditions are met before tasker actually does anything (Example: Did I go to the bathroom with no wifi for a minute or did I actually leave work for good?)
If anyone could help me with the variable aspect of this I think I could get it done.
As it stands I have "Wifi connected to work network" as the context, turn down all volumes and set to vibrate as the enter task and restore all volumes as the exit task.
evinkay said:
I'm trying to set a profile that silences my phones various volume and setting it to vibrate when I get to work. Only problem is that the work wifi has "dead zones" and will disconnect if I go to certain places causing the profile to unnecessarily turn on and off.
I'm wondering if I can use a "wait" command as a delay followed by an "if" statement to double check if all the conditions are met before tasker actually does anything (Example: Did I go to the bathroom with no wifi for a minute or did I actually leave work for good?)
If anyone could help me with the variable aspect of this I think I could get it done.
As it stands I have "Wifi connected to work network" as the context, turn down all volumes and set to vibrate as the enter task and restore all volumes as the exit task.
Click to expand...
Click to collapse
Use "time" as the trigger for the task instead of Wifi..like if u reach your workplace by 9 and leave at 5:30 then set this time period as the trigger for your silent profile..this would save your battery too..
Sent from an IceCold Hammerhead!
Techimplant said:
Use "time" as the trigger for the task instead of Wifi..like if u reach your workplace by 9 and leave at 5:30 then set this time period as the trigger for your silent profile..this would save your battery too..
Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
That is useful...Thank you! My schedule can vary but I think it might accomplish what I need. Now I have a separate question
I'd like the media volume to only turn down if music ISNT playing. I noticed that the MTRACK variable might be able to help me with this but I'm not sure what to use as the second part of the if statement.
What I have now is if %MTRACK!=playing then set media volume to 0 but Tasker is telling me that "the variable is not being monitored" any ideas?
evinkay said:
That is useful...Thank you! My schedule can vary but I think it might accomplish what I need. Now I have a separate question
I'd like the media volume to only turn down if music ISNT playing. I noticed that the MTRACK variable might be able to help me with this but I'm not sure what to use as the second part of the if statement.
What I have now is if %MTRACK!=playing then set media volume to 0 but Tasker is telling me that "the variable is not being monitored" any ideas?
Click to expand...
Click to collapse
Well ..if u listen to music via earphones then set the condition for a particular level of high volume "when the earphones are plugged in". .when u plug them out then set an " exit task on removal of earphones" to bring the volume down..so when u plug out the media volume will be zero or whatever level u want
Sent from an IceCold Hammerhead!
---------- Post added at 10:06 PM ---------- Previous post was at 10:01 PM ----------
And i am not a pro in tasker ..this is what I think should do it.. Coz I have started using Tasker from yesterday only..so if anybody who is an expert can help u out..
Sent from an IceCold Hammerhead!
Techimplant said:
Well ..if u listen to music via earphones then set the condition for a particular level of high volume "when the earphones are plugged in". .when u plug them out then set an " exit task on removal of earphones" to bring the volume down..so when u plug out the media volume will be zero or whatever level u want
Sent from an IceCold Hammerhead!
---------- Post added at 10:06 PM ---------- Previous post was at 10:01 PM ----------
And i am not a pro in tasker ..this is what I think should do it.. Coz I have started using Tasker from yesterday only..so if anybody who is an expert can help u out..
Sent from an IceCold Hammerhead!
Click to expand...
Click to collapse
That did the trick... I never would have though about that solution because I had my head so deep into this one method that I thought HAD to work... Thanks so much for the help!
Sent from my Nexus 5 using Tapatalk
evinkay said:
That did the trick... I never would have though about that solution because I had my head so deep into this one method that I thought HAD to work... Thanks so much for the help!
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No problems.. Glad I could help..I am trying to understand this app myself..the possibilities are endless with this amazing app..thank u developers ..
Sent from an IceCold Hammerhead!
Anyone can tell me the difference between tasker and IFTT? I've been using IFTT and it seems to make these tasks a little less complicated. Then again I don't do too much crazy stuff, just silencing at work, loud when I leave, etc
Sent from my Nexus 5 using Tapatalk
justinisloco said:
Anyone can tell me the difference between tasker and IFTT? I've been using IFTT and it seems to make these tasks a little less complicated. Then again I don't do too much crazy stuff, just silencing at work, loud when I leave, etc
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Iftt is just like you said, less complicated than tasker. While good it lacks the ability for more complicated tasks. With tasker you can have your phone do pretty much anything you want. That is if you can figure out the complicated programming language to make it happen. In addition tasker has many useful plugins that tie in with some of the best apps such as lux, gravity screen, secure settings, etc. etc. For instance...With tasker you can have a custom alarm message played when you wake that polls information from a weather site, and reads your current location and the weather aloud in a Jarvis like voice. Super complicated to set up...For me that is...but totally awesome. With tasker sometimes I think...I wish my phone could do this...And with research and some effort I can make it happen.
Edit: I almost forgot the coolest thing about tasker. If you install the Google search api app, and link autovoice to it, you can activate tasker tasks with okay Google now. For instance if I say, okay Google reboot, the phone reboots. Or okay Google turn on Bluetooth, it turns on Bluetooth.
Lokke9191 said:
Iftt is just like you said, less complicated than tasker. While good it lacks the ability for more complicated tasks. With tasker you can have your phone do pretty much anything you want. That is if you can figure out the complicated programming language to make it happen. In addition tasker has many useful plugins that tie in with some of the best apps such as lux, gravity screen, secure settings, etc. etc. For instance...With tasker you can have a custom alarm message played when you wake that polls information from a weather site, and reads your current location and the weather aloud in a Jarvis like voice. Super complicated to set up...For me that is...but totally awesome. With tasker sometimes I think...I wish my phone could do this...And with research and some effort I can make it happen.
Edit: I almost forgot the coolest thing about tasker. If you install the Google search api app, and link autovoice to it, you can activate tasker tasks with okay Google now. For instance if I say, okay Google reboot, the phone reboots. Or okay Google turn on Bluetooth, it turns on Bluetooth.
Click to expand...
Click to collapse
How how would you do that?! please teach us :angel:
Try apps like app config & utasker. You can specify what to happen on launching what app & what not.
Sent from my Nexus 5 using Tapatalk
zubsz said:
How how would you do that?! please teach us :angel:
Click to expand...
Click to collapse
The weather profile would take me pages of typing to explain, but the okay Google interaction is quite simple. First you need root. Then xposed framework and the module called Google search api 1.1. Once that's done install autovoice. Autovoice should now show up in google search api app. Next make a profile in tasker to reboot your phone or whatever you want. To do this you will need to have "secure settings" installed for tasker. Now make the trigger for this profile an autovoice command. And voila say okay Google and your autovoice command and the tasker profile will activate.
Armando has a demo on YouTube titled "autovoice integration with Google now demo" it won't walk you through the steps to set it up, but it shows some of the cool stuff he does with it.
Hey guys, pretty new to Tasker, but I'm been brainstorming new profiles to add to my phone. I have a problem however with my latest idea. I am trying to build a "Quick charge" profile that triggers Airplane mode when connected to power (AC) but also retains Wifi radio (as I use GV/Hangouts as my primary use of communication). However using the Secure settings plugins, Wifi gets turned off regardless of my setting the the SS [Airplane mode] state to "Wifi". Any help would be appreciated.
EDIT: Fixed it, Secure Settings----System+------Airplane Mode Radios, Check all the DONT want to keep on, and put the task in front of Airplane mode on.
Anybody use Tasker on they're Moto X Pure? If so what version. Tasker definitely came in handy on my other phone. I just got my Moto X Pure a few days ago. My setup is almost finished. I love it.
dkeepitabuck said:
Anybody use Tasker on they're Moto X Pure? If so what version. Tasker definitely came in handy on my other phone. I just got my Moto X Pure a few days ago. My setup is almost finished. I love it.
Click to expand...
Click to collapse
Yes I use it all day long. Version 4.8u1 which is the newest in the playstore.
dkeepitabuck said:
Anybody use Tasker on they're Moto X Pure? If so what version. Tasker definitely came in handy on my other phone. I just got my Moto X Pure a few days ago. My setup is almost finished. I love it.
Click to expand...
Click to collapse
Tasker works just fine for me on the MXPE. I am on Marshmallow 6.0 with the February security update. i am using the latest version in the Play Store.
aybarrap1 said:
Tasker works just fine for me on the MXPE. I am on Marshmallow 6.0 with the February security update. i am using the latest version in the Play Store.
Click to expand...
Click to collapse
I am using tasker but it says data not available try secure settings, which I have. Also I can set a GPS toggle but when trying to use it it does nothing.
Could be an issue with secure settings app. Couldn't tell you since I have chosen not to root for now. My main reason for rooting other phones was to tame the bloat. With the exception of GPS on and off with certain apps, tasker works just fine for the functions I want so secure settings is not a must have.
What tasks do you have running? Sorry I've rooted many phones but I'm a noob to tasker.
I have a variety running such as wifi at home, rotation and custom brightness on or off based off apps, and custom alarms dependent upon calendar entries, day of the week and times. The thing with tasker is that with root and the right third party apps, the things you can do are too numerous to list. Just read up on it and come up with things you want your phone to do. Then read some more so you can set up profiles to do this things. I will admit that if you are new to tasker and do not have programming background, it seems daunting. However, once I got into it was fun and I can't up with new ideas. Once it is setup with the profiles you want, you can sit back as your phone will be automated.
aybarrap1 said:
I have a variety running such as wifi at home, rotation and custom brightness on or off based off apps, and custom alarms dependent upon calendar entries, day of the week and times. The thing with tasker is that with root and the right third party apps, the things you can do are too numerous to list. Just read up on it and come up with things you want your phone to do. Then read some more so you can set up profiles to do this things. I will admit that if you are new to tasker and do not have programming background, it seems daunting. However, once I got into it was fun and I can't up with new ideas. Once it is setup with the profiles you want, you can sit back as your phone will be automated.
Click to expand...
Click to collapse
I actually do have some programming background which is what drew me to tasker. I currently have one profile set up for home which automates my wifi on. I was hoping for GPS and data off, at said locatio, but no biggie. I'll keep playing around and create more profiles. I'm just glad it was the app not me that was the problem. One last thing is there an xposed app or some way tasker can set auto brightness? That's the one thing I miss from previous phones.
jtsativa420 said:
I actually do have some programming background which is what drew me to tasker. I currently have one profile set up for home which automates my wifi on. I was hoping for GPS and data off, at said locatio, but no biggie. I'll keep playing around and create more profiles. I'm just glad it was the app not me that was the problem. One last thing is there an xposed app or some way tasker can set auto brightness? That's the one thing I miss from previous phones.
Click to expand...
Click to collapse
Make sure that system+ in enabled in the Secure Settings app. gps off/on should work fine, but for data on/off you have to make a task that has about 2 or 3 seperate actions. I can help with that if you'd like, as i have data off/on when i connect/disconnect from wifi. what are you trying to set auto brightness on during? like a time of the day or when you use a certain app?
thefallen924 said:
Make sure that system+ in enabled in the Secure Settings app. gps off/on should work fine, but for data on/off you have to make a task that has about 2 or 3 seperate actions. I can help with that if you'd like, as i have data off/on when i connect/disconnect from wifi. what are you trying to set auto brightness on during? like a time of the day or when you use a certain app?
Click to expand...
Click to collapse
System plus is enabled and I was able to get auto brightness to work. The GPS on/off says it works yet my location light in the notification bar doesn't turn off. Yes I would love help with the data. Thanks in advance!
jtsativa420 said:
System plus is enabled and I was able to get auto brightness to work. The GPS on/off says it works yet my location light in the notification bar doesn't turn off. Yes I would love help with the data. Thanks in advance!
Click to expand...
Click to collapse
So I made a task and called it Data off. you'll want to Add>Net>Test Net. Type=Mobile Data Enabled, Store Result in=%Data. Second action will be Code>Run Shell, command=svc data disable, if=%Data~yes. Third action will b e variable>variable clear, name=%Data.
Next you'll make a task called Data On. First action is Add>Net>Test Net. Type=Mobile Data Enabled, Store Result in=%Data. Second action will be Code>Run Shell, command=svc data enable, if=%Data~No. Third action will b e variable>variable clear, name=%Data.
Now you make a new profile that becomes active with the wifi connected state. set that to trigger the Data off task, and add select data on as your exit task.
This may seem a bit of a roundabout way to do things, but i think since LL, android no longer allows any third party app or plug in to toggle the data. so the way around that is through the shell commands. Hope this helps!
Hi thefallen924, thanks for this walkthrough on mobile data, I have a noob question though, do I need root for it to work? Thanks in advance!
thefallen924 said:
So I made a task and called it Data off. you'll want to Add>Net>Test Net. Type=Mobile Data Enabled, Store Result in=%Data. Second action will be Code>Run Shell, command=svc data disable, if=%Data~yes. Third action will b e variable>variable clear, name=%Data.
Next you'll make a task called Data On. First action is Add>Net>Test Net. Type=Mobile Data Enabled, Store Result in=%Data. Second action will be Code>Run Shell, command=svc data enable, if=%Data~No. Third action will b e variable>variable clear, name=%Data.
Now you make a new profile that becomes active with the wifi connected state. set that to trigger the Data off task, and add select data on as your exit task.
This may seem a bit of a roundabout way to do things, but i think since LL, android no longer allows any third party app or plug in to toggle the data. so the way around that is through the shell commands. Hope this helps!
Click to expand...
Click to collapse
Thanks for this. I'm definitely saving the task but not enabling it just yet. Between posts I set up gavity box mm and it seems to be doing what I wanted with it's smart radio.
---------- Post added at 07:21 AM ---------- Previous post was at 07:18 AM ----------
Fumodemasiado said:
Hi thefallen924, thanks for this walkthrough on mobile data, I have a noob question though, do I need root for it to work? Thanks in advance!
Click to expand...
Click to collapse
Yes , im 90% sure you need root for this. Also, to give him thanks, click the thumbs up button below his post!
jtsativa420 said:
System plus is enabled and I was able to get auto brightness to work. The GPS on/off says it works yet my location light in the notification bar doesn't turn off. Yes I would love help with the data. Thanks in advance!
Click to expand...
Click to collapse
I had the same problem, it seems secure settings can't turn on/off the data. A found a solution using Code -> Run Shell -> Command: svc data enable (or disable) and check the Use Root option.
It works fine that way.
Dunkel06 said:
I had the same problem, it seems secure settings can't turn on/off the data. A found a solution using Code -> Run Shell -> Command: svc data enable (or disable) and check the Use Root option.
It works fine that way.
Click to expand...
Click to collapse
Very nice and simple. I just tried it, confirmed it's working and updated my tasks!! Any backdoor GPS methods?
Fit secure settings to work with data connection you do need root.
I am a relatively new Tasker user but I'm already a Tasker addict. I have like 8 - 10 plug-ins and no clue how to even wrap my brain around what I can do with them all! I do have about 20 profiles already and absolutely love it.
I thought maybe we could have a thread in here devoted to using Tasker with our Pixels. Some phone specific things may apply, considering our Android version and the existence of our Assistant. I'll share some profiles I have and feel free to share ones you find helpful!
1) When I go to Target, it automatically opens up Cartwheel app and my shopping list app, turns off GPS, and increases screen on time to 2 minutes before timing out. When I leave Target, it sets things back to normal and texts my wife that I'm leaving Target.
2) At work, my phone goes to vibrate mode and my WiFi/data are turned off along with location. I can't use my phone during work anyway (I teach) so it just kills my battery all day usually due to bad signal in my room.
3) If I text "FINDME" to my phone, it turns up the volume, blasts a song, turns on the screen and the flashlight. Upon finding it, a quick shake back and forth resets everything to normal.
4) My night mode turns sounds all off and turns on Blue Light filter.
5) If I open up Google Maps, my GPS goes to high accuracy mode and volume is turned up.
This is an awesome thread idea. I'm going to be messing around with it so I'll post once I come up with some good ones. Interesting to see what other people use it for.
For number 5 is it possible to have GPS turn on when opening google maps and then turn it back off when I fully quit the app? I keep my GPS off at all times.
aholeinthewor1d said:
This is an awesome thread idea. I'm going to be messing around with it so I'll post once I come up with some good ones. Interesting to see what other people use it for.
For number 5 is it possible to have GPS turn on when opening google maps and then turn it back off when I fully quit the app? I keep my GPS off at all times.
Click to expand...
Click to collapse
Absolutely, you just toggle "Location Services" instead of "Location Mode". You'll need the free plug-in "secure settings" to accomplish this. That's a tremendous app, so I'd get the pro version if you don't mind the $1.50 charge. It opens up so many possibilities.
Speaking of which, I hope to see some awesome integration with the Google Assistant. Between the Assistant and Tasker, that would be an amazing duo.
PsiPhiDan said:
Absolutely, you just toggle "Location Services" instead of "Location Mode". You'll need the free plug-in "secure settings" to accomplish this. That's a tremendous app, so I'd get the pro version if you don't mind the $1.50 charge. It opens up so many possibilities.
Speaking of which, I hope to see some awesome integration with the Google Assistant. Between the Assistant and Tasker, that would be an amazing duo.
Click to expand...
Click to collapse
Is there even a free version? I'm only seeing one version for $2.99
aholeinthewor1d said:
Is there even a free version? I'm only seeing one version for $2.99
Click to expand...
Click to collapse
Tasker is $2.99. Are we talking about the same app?
Secure Settings is free. I had it for weeks before I bought the pro version this week. I think the pro version was $1.50 though. Definitely not $2.99.
PsiPhiDan said:
Tasker is $2.99. Are we talking about the same app?
Secure Settings is free. I had it for weeks before I bought the pro version this week. I think the pro version was $1.50 though. Definitely not $2.99.
Click to expand...
Click to collapse
Ah sorry read your other response wrong I thought it was saying tasker had a free version and the pro version was $1.50
aholeinthewor1d said:
Ah sorry read your other response wrong I thought it was saying tasker had a free version and the pro version was $1.50
Click to expand...
Click to collapse
Tasker does have a free trial though. It's not available on the Play Store but you can download the APK on the developer's site. You can Google it and try it out. That's how I got addicted! Bought it within 12 hours. Haha.
PsiPhiDan said:
Tasker does have a free trial though. It's not available on the Play Store but you can download the APK on the developer's site. You can Google it and try it out. That's how I got addicted! Bought it within 12 hours. Haha.
Click to expand...
Click to collapse
Haha yup.I just got it. Watching YouTube tutorials now to learn the basics
6) One of my other profiles is when I plug in my headphones, it launched my music app (Gonemad Media Player) and turns the media volume to the level I like. Upon unplugging, the media volume is restored to normal and Tasker kills the app.
PsiPhiDan said:
4) My night mode turns sounds all off and turns on Blue Light filter. .
Click to expand...
Click to collapse
How specifically did you use Tasker to turn on the blue light filter?
Hm. I opened secure settings and saw this..
but root works for multiple other apps.
I love using having Tasker on my Pixel! I still haven't made as many plugins as I need to but once I get my head wrapped around its full potential I'll certainly make more tasks.
Right now I have: Off Mobile Data @ Home & On Wifi
Lower media volume after 10pm for my mobile games.
Turn off all sorts of things like bluetooth, wifi, location, when battery is below 25 (kinda defeats the purpose of android's built in power saver right?)
I like your Google Maps idea, and I think I'll do something like that too.
Hope to learn more task tips on this thread!
aholeinthewor1d said:
Hm. I opened secure settings and saw this..
but root works for multiple other apps.
Click to expand...
Click to collapse
Systemless root.
Try the fix here, I believe it's the one that worked for me last time I had this issue.
https://dammit.nl/p/962
Edit.
Btw, I haven't had this issue since the original version of SuperSU was released for our phones.
Are you using an old version of root?
Or maybe it's because I'm on custom ROM's lately (selinux = permissive)
---------- Post added at 11:20 PM ---------- Previous post was at 11:16 PM ----------
Tasker + Secure Settings = automation heaven.
I want to get into AutoApps someday too. Just haven't really sat down and learned the extra functionality though.
Been waiting for better OK Google functionality to come around before I bother learning anything heavy duty.
As it is, I have six Tasker profiles that meet most of my needs.
aholeinthewor1d said:
Hm. I opened secure settings and saw this..
but root works for multiple other apps.
Click to expand...
Click to collapse
Secure settings hasn't been updated in a long time and that's what the problem is here. It doesn't know about systemless root so it looks in the wrong place for it. There is a work around for it but I don't have a link handy at this time. Some say it works for them and some say it doesn't. I haven't tried it yet so I can't say one way or the other. If I can find a link to the thread, I'll post it here unless somebody else does first.
I used to use it all the time for turning on GPS whenever Maps or Ulysee Speedometer was started. It worked great.
Also use Tasker to return to the home screen after hanging up a call. I always hated that hanging up the phone would return me to the phone app and I'd have to press the home or back button to get out of it. A small annoyance, I know but it was just one of those things I got sick of and with necessity being the mother of invention, I took care of it with Tasker.
CZ Eddie said:
---------- Post added at 11:20 PM ---------- Previous post was at 11:16 PM ----------
[/COLOR]Tasker + Secure Settings = automation heaven.
I want to get into AutoApps someday too. Just haven't really sat down and learned the extra functionality though.
Been waiting for better OK Google functionality to come around before I bother learning anything heavy duty.
As it is, I have six Tasker profiles that meet most of my needs.
Click to expand...
Click to collapse
AutoApps is worth it. Opens up so much more. I listen to music all day long and had a profile made up where you could text me "#current" and it would respond back what I was listening to or if no music was playing. Then I found AutoSpotify. So, if nothing was playing you could text "#listento" and a song/artist/album, it would check to make sure headphones were in and that I wasn't in a call, then open whatever was suggested in Spotify. I primarily use Pandora but create playlists in Spotify so had another profile that I could long press volume down and it would pull the track info from Pandora, give me a list of my current playlists on Spotify, and give me an option to add it to one of them or create a new playlist.
I started noticing that I was missing texts (I would get the notification sound but would have no notification and no new text in Textra) so I scrapped anything that needed to intercept new texts. Created a little pop-up with %SMSRF and %SMSRB and sure enough it would display a new text but there'd be no trace of it on my phone.
aholeinthewor1d said:
Hm. I opened secure settings and saw this..
but root works for multiple other apps.
Click to expand...
Click to collapse
Look at this, worked for me.
https://forum.xda-developers.com/ap...ersu-v2-05-t2868133/post68700891#post68700891
Most of my Tasker use with my previous phone was to save battery for longer standby times, or to automate routine tasks. I've been using the phone for a couple months without Tasker, but these are probably what I'd like to put back on first.
1) Automatically turn off Wifi when not plugged in after a set time with the screen off. I've had the Pixel chew through my battery a few times from accidentally leaving Wifi on, so this is the biggest one to start using again.
2) Turn autobrightness on or off depending on light sensor reading when screen turns on. I'm generally not a fan of autobrightness, so I had my prior phone use a set brightness in lower-light situations and to turn on autobrightness when the light sensor reading exceeded a pre-selected value.
3) Turn off Bluetooth after set parameters. My previous phone couldn't cast to the TV, so my prior routine will need to change to allow casting.
4) Turn on Bluetooth in the car and launch navigation or another app. My prior phone had a phone-specific car dock that I used to launch the car-specific task, so I'll need to come up with some other way to determine the phone is in the car.
5) Automatically sync when plugged in and connected to home Wifi. I have sync turned off, so I just have Tasker automatically sync when charging at home.
6) Toggle 4G LTE on or off to save battery when not needed. I used Gravitybox for this sort of thing previously, so right now I'm not sure what I could use for changing the cellular settings on the Pixel.
aholeinthewor1d said:
Hm. I opened secure settings and saw this..
but root works for multiple other apps.
Click to expand...
Click to collapse
robotnikz said:
Look at this, worked for me.
https://forum.xda-developers.com/ap...ersu-v2-05-t2868133/post68700891#post68700891
Click to expand...
Click to collapse
This is what I found worked as well. Straight from the man himself (ChainFire?).
spursdude said:
How specifically did you use Tasker to turn on the blue light filter?
Click to expand...
Click to collapse
You can use AutoTools. Worth the $1 or whatever it costs.
7) If the screen is on, the phone is in landscape mode, and Google Maps is open, the phone kicks into driving mode (not all my cars in the family have BT so I went a different route so I can use this wherever with my universal phone mount). This increases volume, turns on GPS, increases screen brightness, and allows me to wave my hand past the proximity sensor to turn off the screen (not locked though, so it will still open hands-free with my trusted voice plus OK Google). That last part required a shell command and root access. It's awesome though.
Hey guys!
I just moved from a rooted LG G4 running Lollipop to the S8 Exynos. It really seems to be a great phone but I'm having issues with WhatsApp.
Sometimes I feel like the messages aren't really coming up in time, I can open the app and see no new message, close the app, open it again and it will reconnect and show me new messages.
It is even more noticeable while using the WhatsApp desktop program on Windows 10. I see a lot of yellow messages saying I'm not connected to the phone OR when I send a messages I see the "clock" instead of the single-double check right away.
My WiFi setting is set to "Always".
I'm not using any battery save option from the phone.
I installed Greenify (not rooted) but WhatsApp is not in the list to hibernate
Any ideas of what is going on? I didn't have this problem on the G4.
have you added whatsapp into the 'unmonitored apps' section in battery settings?
Can you check BBS and see if WA is using crazy amount of sensor usage? Mine is. I had to turn off battery optimization for WA to work.
lawrence750 said:
have you added whatsapp into the 'unmonitored apps' section in battery settings?
Click to expand...
Click to collapse
It is there. I don't remember adding it into the unmonitored apps but it is there.
km8j said:
Can you check BBS and see if WA is using crazy amount of sensor usage? Mine is. I had to turn off battery optimization for WA to work.
Click to expand...
Click to collapse
Sorry, what is BBS?
I've been playing and trying to figure out what is going on. I found out that my phone is running on "optimized" and not in High Performance, Game or Entertainment. Do you guys think this has something to do with it? It shouldn't be this way right? I also have WhatsApp set to ignore any battery save option, according to the app options.
Also, yesterday I turned off my router. I received a message just before turning it off and I saw the notification on the Windows program like I usually do but it took a couple of minutes for the phone to let me know I received a notification, even though the phone had no connection to the internet. lol what?
pakitos said:
It is there. I don't remember adding it into the unmonitored apps but it is there.
Sorry, what is BBS?
I've been playing and trying to figure out what is going on. I found out that my phone is running on "optimized" and not in High Performance, Game or Entertainment. Do you guys think this has something to do with it? It shouldn't be this way right? I also have WhatsApp set to ignore any battery save option, according to the app options.
Also, yesterday I turned off my router. I received a message just before turning it off and I saw the notification on the Windows program like I usually do but it took a couple of minutes for the phone to let me know I received a notification, even though the phone had no connection to the internet. lol what?
Click to expand...
Click to collapse
BetterBatteryStats. No, you should be using optimized.
km8j said:
BetterBatteryStats. No, you should be using optimized.
Click to expand...
Click to collapse
Thanks! I downloaded the app but I need to do the ADB thing and I left the USB cable at home lol (now I need to buy multiple ones and aren't cheap)
I also noticed that I do receive the visual notifications (like in the notification bar) but the sound and LED notification comes way later.
Anyone solve the sensor issues
I was finally able to solve this problem and decided to put how I did it in case anyone can benefit from it.
I did check that Whatsapp was listed as "Unmonitored apps" in the battery section of device manager, but still had the problem. After further internet research I noticed that people where pointing to the Android's Optimize battery section, which seems that is doing a very similar functionality but is accessed from a completely different place, so make sure Whatsapp is not being "optimized" from here either.
To find this section go to Settings-> Apps -> Click the 3 Dots menu in the top right -> Special access -> Optimize battery usage -> Select "All apps" from the dropdown menu. In here, make sure Whatsapp and any other app that you cannot risk to go to sleep unintended shows as disabled (not being optimized).
Hope this helps someone with this disconnections.