This app was mentioned in 118 comments, with an average of 1.63 upvotes
I have this set up with Tasker and Secure Settings. This requires the pro version of Secure Settings ($1.50), but there's a free trial.
Open Tasker > New Profile > State > Power > Power > Source=Any (I couldn't get it to work with Source=Wireless) > Back > New Task > Add Action > Plugin > Secure Settings > Configuration > Actions > Device Setting > Setting Name=aod_mode > Setting Value=1 > Save > Back to Tasker Profiles > Add Exit Task > New Task > Add Action > Plugin > Secure Settings > Configuration > Actions > Device Setting > Setting Name=aod_mode > Setting Value=0
Now whenever your phone is charging the Always On Display will be enabled.
If you're rooted it can be done with the Secure Settings plug-in. The relevant Tasker action is then Plug-in > Secure Settings > System+ Actions > Wi-Fi Sleep Policy.
As for location, the easiest and most battery efficient way I think would be to use the "Wi-Fi Near" state as the profile trigger and specify your work network as the SSID in the options. The battery efficiency of this location method generally hinges on (1) keeping Wi-Fi off; (2) not enabling "Toggle Wi-Fi" in the Wi-Fi Near options; and (3) enabling the Wi-Fi "scanning always available" option in your system settings (wherever it might be tucked away in the menus on your particular device). This way Tasker can respond to Wi-Fi networks being near without ever having to enable Wi-Fi or perform scans of its own.
Note: If you're on Marshmallow, there's a ridiculous restriction in place where you have to enable Location for Tasker (or any app for that matter) to be able to take advantage of the Wi-Fi always scanning feature. A reasonable workaround for this is to make sure the location mode is set to "Device Only" in your system settings. Otherwise, if it's set to "Battery Saving" mode—an incredibly misleading designation—Google Play Services will constantly ping your location in the background and thus destroy your battery (disabling Google Now etc. makes no difference in this regard).
You would need to download Secure Settings from the play store and have Root access to disable to the passcode.
Edit: Here is a decent looking guide to on how to do it based on wifi connectivity
Unfortunately I don't think Tasker can modify airplane mode without root and/or a plugin on newer Android versions.
If you're rooted, check out Secure Settings.
Install Security Settings (v1.3.6). In "SYSTEM+" tab if you see "Root access was not detected" than you have systemless root. (Thanks for not updating I guess?)
The Secure Settings plugin for Tasker has a 'package state' option which you can use to enable/disable (unfreeze/freeze) the app as an action within a task. Would link but on mobile.
EDIT: Link for SS https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
This might be possible by using the "Device Setting" in the Secure Settings, not sure though. Otherwise it's possible with the AutoInput.
if you want it to kill apps, and don't want to use greenify for some reason, you can set it to do state → display off → secure settings → package options → (pick app) → force stop app
then copy and paste this and just change the app as many times as you need
I tried it using Secure Settings and it works perfectly (it's completely free). It is a plugin for Tasker which lets you change a lot more settings than default Tasker.
Once you have installed the application, go and add a task. Click the plus at the bottom > Click 'Plugin' > Click 'Secure Settings' > Click the pencil on the top left in the bar called 'Configuration' (This will open the configuration for Secure Settings) > Click the 'Actions' bar > Click 'Mobile Data' > Click 'Off' > Click the save icon at the top > Click the arrow in top left corner (in Tasker again) twice and you're good to go.
The old now defunct Secure Settings plugin has a shortcut option that's worth a shot also checkout the AutoShortcut plugin.
FYI there's an addon called Secure Settings that you can use to auto connect to Bluetooth (assuming you're using Tasker)
You need to root and use the Secure Settings plugin. Secure Settings hasn't been updated in a while though so it doesn't work well with my rooted phone. I've had better luck using Automagic.
Can be done with Tasker and Secure Settings.
Call the following Tasker task with no parameter to reset button backlight to defaults (1500 millisec) or give the desired timeout value. 0 mean buttons light always off
BKL_set A1: Variable Set [ Name:%value To:1500 Recurse Variables:Off Do Maths:Off Append:Off ] A2: Variable Set [ Name:%value To:%par1 Recurse Variables:Off Do Maths:Off Append:Off ] If [ %par1 Set ] A3: Secure Settings [ Configuration:Device Setting Timeout (Seconds):0 ] A4: Flash [ Text:Bkl set to %value Long:Off ]
You need the old Secure Setting app to do this, the more recent SecureRask which is supposed to do the same, fails with the following error:
20.45.44/Variables doreplresult: |%value| -> |1500| 20.45.44/ActionArgBundle Secure settings: com.balda.securetask.extra.VALUE: %value -> 1500 20.45.44/E FIRE PLUGIN: Secure settings / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 7 bundle keys 20.45.44/E Secure settings: plugin comp: com.balda.securetask/com.balda.securetask.receivers.FireReceiver 20.45.44/E add wait type Plugin1 time 30 20.45.44/E add wait type Plugin1 done 20.45.44/E add wait task 20.45.44/E Error: 2 20.45.44/E You cannot keep your settings in the secure settings.
You using Tasker and this app? https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
Also I think the device settings is behind a paywall but there is a trial mode.
Secure Settings allows you to connect to a bluetooth device. It is a plugin for tasker. No root needed. It has the action to connect to a bluetooth device.
Alternatively, Bluetooth Auto Connect will autoconnect to bluetooth devices.
Secure Settings, root (shell svc data disable/enable) or this post
Use the search function for more info, this question was asked like a zillion times :)
Secure Settings has an option to run an activity of a specific app (Actions>Launch Activity), and YouTube has a settings activity, but when I tried it, I got a permissions error. Not sure if there is another way.
you talking about https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en_GB ??
If so it hasn't been updated since jan 15 and the web is littered with people looking for alternatives.
> Can I set a time to disconnect a specific device
Yes, you can use the plugin <strong>Secure Settings</strong> to choose a specific BT device to Connect to or Disconnect from in a Task. (it's in Secure Settings under Actions > BT Connection
) BT itself will still remain enabled though.
One way that you could use this to accomplish what you mentioned, is to set up a looping Tasker Task, whereby at certain intervals, during a certain time of day/night - Tasker will repeatedly check whether any media is playing through the audio stream, and if not - then run the Secure Settings action to disconnect the BT device.
To have Tasker check if media is playing - <strong>import/use this Task</strong> (it is named "Is Media Playing?") - and it returns true
or false
. So as an example of the overall Task/Profile you'd use:
PROFILE: Time > From: 9:00PM To: 11:59PM
LINK TO ENTER TASK NAME: "My Loop Check"
A1. Perform Task: "Is Media Playing?" (import from above link) Return Variable: %status
A2. If %status ~ false
A3. Plugin > Secure Settings > BT Connection > Disconnect (your device)
A4. Stop
A5. End If
A6. Wait 15 Minutes
A7. Goto Action Number 1
LINK AN EXIT TASK: A1. Stop Task: "My Loop Check"
And that should do it! Just choose how often you want it to wait between checks in Actino A6, and of course set the Profile time span to whatever you'd like.
Once that time span is over (or audio stops playing, whichever happens first) the loop stops either on its own, or via the Exit Task.
I don't know if every activity gets displayed when using /u/Cycneus's method.
If it doesn't work, then <strong>Secure Settings</strong> might do the trick.
If you are rooted you can use the Secure Settings plugin to answer a call. The rest should be relativly easy to achive.
So it all depends on your device, chances are it'll need to be rooted unless you have Android 2.3 or lower which is highly unlikely.
Let's assume you do have it rooted however, so what I'd suggest is going and downloading secure settings
Once that is done, create a new profile. Under the category state, select net and you will see BT Connected. Select this and then fill out the info as required, such as what Bluetooth you want it to be connected to or else it will trigger whenever you connect to any device.
Next create a new task that triggers with the profile we just made and then use the option of plugin > secure settings
Once you're this far hit configure and look under all the options for GPS and select enable. This should get you what you're looking for hopefully.
Lastly sorry for any typos or anything that I incorrect, I'm on mobile and I don't post all that much in Reddit, but if you do have a rooted device and this doesn't work let me know and I'll see what I can do for you.
TLDR; install secure settings and create a profile that is triggered on Bluetooth connection and then turns on your GPS using the aforementioned app.
Secure Settings is a tasker plug-in that might assist you in your search.
This plug-in has access to various root actions regarding the radios, including airplane mode and more.
To allow Tasker do extra root functions you should install Secure Settings plug-in ( https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin )
I had done it some time ago to enable pin lock screen during work hours and remove it at home, worked like charm.
I was able to start driving mode using Secure Settings. Under Actions > Execute shortcut > Driving mode.
This can be done with root and a plugin called Secure Settings. It might be able to done with another plugin, but I don't know of any.
Ok I found a better way with tasker. You need this app to intercept the failed password attempt. Make sure you make it an administrator. Then you create a new profile in tasker that runs on the event plugin "failed login attempt". Make it as many failed attempts as you want. Finally make the profile activate a task that plays the audio clip. To do this choose media, play music, click the search icon, and choose the ah ah ah audio clip. And viola you did it! If you need more help or you don't understand, im happy too, just ask.
Secure Settings is another option: https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en
It's normally used as a plugin for Tasker, but I think you can make a homescreen shortcut with it as well.
What phone are you using?
Lollipop has more security in it, so apps can no longer control wifi, data, sync and maybe other things. You need to use Secure Settings to change these settings.
And I forget whether or not you need to be rooted, I'm always rooted so I don't really think about it anymore. Someone else may be able to fill in that blank for me.
The original TaskerSettings app is created by the same creator as Tasker. I never realize that most people browser reddit using mobile and may not see sidebars most of the time.
For Wifi Tether I use an app called Secure Settings (free). If you have root, there are more functions available, but Wifi Tether doesn't require root. I use this module also to forcefully lock my screen and disable biometrics if I double tap my home screen.
These two apps makes the process less error prone.
I have an idea, how about a task that sends a sms to yourself at a slowly increasing frequency until you finally stand up and move?
Cant slag when money is on the line XD
Also regarding the "lock phone" thingy, I believe autotool's secure setting can do the trick of Changing your password.
You can also try This app
Sleep as Android, a sleep tracking app, have a built in way of locking you out of Turing off the alarm until you solve a puzzle of some sort.
I found the tool I used in the past: https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en_AU
I used the old secure settings plugin to do this up to Android 8.1, it wasn't visible on the play store for me on Android 9, but I was able to restore it from a tb backup, and it still successfully toggles wifi scanning for me.
You need root, and the system + module within the plugin activated, the action is "WiFi scanning" under system+ actions.
There's probably a way to do this within Tasker itself, but I've never looked into it
Thanks, yes i continued to developper it
For activated controle center if you used nova launcher prime added a swipe up action for klwp
Shortcut : Variable : controle -> 1
in tasker using secure setting app ( https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=fr)
create profile - event : when screen off -
- task : plugin -> secure setting --> action -> execute & find klwp added "lock" variable to 0.
For unlock touched the red triangle
Did you grant permissions to AutoTools ? Secure settings also offer the possibility to change location accuracy
With Secure Settings you can make a shortcut that goes to a specific Activity (screen) of an app, but depending on the app the functionality may or may not end up broken.
What setting? You can try secure settings and secure task.
hah...thanks for the downvote....that's awesome....Reddit kiddies....
If you're using this Secure Settings: https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
Then it should work with no errors. If it is, youare doing something incorrectly. Feel free to downvote me again if it makes you feel better.
I'm rooted and it's unavailable for me too...
you can use secure setting plugin instead but toggling tether option needs root access: https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
I'm interested in this too.
From what I have tried so far, Secure settings could be used in conjunction with Tasker to achieve this. However, this does not work with Nougat and newer versions of Android.
Google's Smart Lock only works camera, Bluetooth etc but not with Wifi as the SSID can be spoofed.
Secure Settings lets you make shortcuts natively in your launcher, I have one for each of my BT audio connections.
Here are the needed commands. https://joaoapps.com/AutoApps/Help/Info/com.joaomgcd.autotools/com.joaomgcd.autotools.activity.ActivityConfigsettings.html
In case you need the old secure settings you can find it here. But I am not sure if the GPS toggle works without root. https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
FYI. I was just on /r/Tasker and they seem to like the Secure Settings plugin to wake up a device. I just tried this on my phone. At the very top of my Harmony Tasker tasks I did Pluging -> Secure Settings -> Configuration -> Actions -> Wake Device
. It seems to work pretty well. Cuts down the lag BIG TIME!
Secure Settings is a free plugin. Looks like you can control what it does and does not have access to. If I were using this as a long-term solution, I would probably take the time to configure what it has access to.
you just deleted your comment as i wrote my essay but
So im not sure what phone you have so it might be different (im using s7), but in the plugin secure settings theres an option to open the wifi calling settings dialogue.
New task -> plugin -> secure settings (press the penical) -> actions -> launch activity -> look for wifi calling settings then press save
run the task to see if the settings comes up
then the second part of that same task, plugin -> autoinput (press pencil) -> action -> easy set up -> then go to the wifi settings app and press the off/on button and it should detect that area. If not press reselect and try again, then press accept. Select the element, usually the text/field is better than coordinates, click. Then press the checkmark.
So that creates a quick way to turn it on. Either you can make that a shortcut on your homescreen or try to have tasker do it automatically. Will be kinda clunky but if you use event wifi connected as a profile. In that same task, at the beginning I think theres a secure settings option to "wake device" so I think you throw that in there first. But if you have a lock screen, you would probably want to use smart lock but I've found it doesn't work well (on the location context), so after the device wakes. the screen has to be unlocked for tasker to open the wifi settings dialogue and click stuff.
Ye olde Secure Settings app lets you Launch an Activity so you can select the one you want, put that action in a task and make the usual shortcut or widget to run the task. Nova desktop lets you do this directly.
Either way the magic word is "activity".
Save this as xml and import it; http://pastebin.com/XngYwzws
You need an app called "secure settings" since tasker can't modify the location option directly. I have the secure settings xposed module installed and I have premium, but I don't think you need either for this.
Many plugins can be called by Locale, as the plugin architecture is derived from Locale. And other apps can use the same architecture -- Secure Settings has a list of a few within the app.
Is there a good reason for why you'd want to restrict the plugin to Tasker?
You can definitely do this with Secure Settings but you would need to know the values for your carrier, mode, and would be extremely complicated.
There are shorter shell commands:
settings put system accelerometer_rotation 0 settings put system user_rotation 1 settings put system user_rotation 0
Similarly easy is the Secure Settings plugin's Device Setting action; just use the system
Setting Table, and pick+choose. But, of course, Rotation Locker is more convenient.
Have you checked the Secure Settings plugin for Tasker? I just checked and it appears to have the Launch Activity action.
E: I seem to be off topic with my responses; I hadn't looked at your screenshot. In Nova launcher I've always gone directly to that screen by dragging and dropping the app shortcut to the top of the screen, App Info.
Do you have Secure Settings installed?
You have to install that and then it gets added into Tasker's 'plugin' activities (which will drop you to the Secure settings interface).
I accidentally replied to the wrong comment. Our issues are different. I was having problems establishing an initial connection, but once established it was fine.
As for Tasker, you have to use Secure Settings to disconnect/connect to specific Bluetooth devices.
You can do with the help of Secure Settings and the pro donation package within the app. It can clear app caches of individual apps. You simply create a new profile, add an action, browse to the plug in category and select Secure Settings. Then you select package options in the Configuration setting. The rest is pretty self-explanatory. Please note that you will need root for this to work.
Regarding the TV, what brand and model TV do you have? A lot of TVs have weird interpretations of CEC, and put it under their own name hidden in the settings. It's honestly really frustrating that nobody wants to follow the standards but if it's a newer TV you can probably get it working somehow.
As for making it wake up - tasker is your best bet, with securesettings: https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
This app has the ability to wake a device and then you could have it run Google Play Music potentially, there's also a plugin called AutoCast that can cast things with Tasker if that's how you want to do it though I'm not familiar with it.
If you can get CEC working on the TV it should work with this as well - for me, turning on my TV doesn't turn on the Shield, but turning on the Shield turns on the TV. So in your situation this is optimal, if you can make the Shield turn itself on then it would also turn on the TV and do whatever else you tell it to!
Yes, your project as very doable.
I would recommend checking out AutoVoice for personalized voice commands, and Secure Settings for connecting to your car's Bluetooth system.
Granted, you do have a lot to learn, but keep these two apps in mind, as they'll be useful down the road!
This method needs root.
Install Secure Settings(Needs Root). Then use tasker; New profile > App > maps, waze, google search, etc (Any app you want GPS (High Accuracy) enabled with) . New Task is named GPS On.. Plugins > Secure Settings > [Click pencil on top right] > System+ Actions > GPS > On.
Then repeat everything for an exit task except name it GPS Off and Click Off in the end screen
I don't think there's a way to have Shazam launch and begin listening while the keyguard is locked without being rooted. If you are rooted, I still wouldn't recommend it because it's a huge security risk (if anyone shakes your phone, it unlocks...!).
But if you want to do it, then you'll need to use Secure Settings to disable the keyguard, and then launch Shazam (and in the Shazam settings, set it to start listening when the app launches).
So that has some broken links, but it did mention Security Settings which actually lets you disable a physical keyboard! I just tested one and it's working like a charm! Great find!
You can just use the Secure Settings plugin for that.
It allows you to toggle mobile data without a problem and you don't even need to buy it for that. It also has a ton of other features, which expand Tasker's omnipotence even further.
Here's the link to it (Or just search "Secure Settings" in the Play Store): https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
Yes, with the Secure Settings plugin.
https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en
Configuration -> Dev Admin Actions -> Lock Screen Widgets
You can only enable or disable ALL widgets, not specific ones. No root required, but the app will request Device Admin privileges.
I just looked into it, and with the Secure Settings plugin (well worth the $3 or whatever for the full version), you can set your lock screen timeout under "Add Action -> Plugins -> Secure Settings -> System+ Actions -> Lock Screen Timeout." It can be set to anything from "immediately" to "1 week."
Also, look into this bundle of un/locking scripts. I've based all of my screen lock scripts on these.
edit: It should be known that I am still on 4.4.2, so functionality with 5.0+ could be much different.
root combined with secure settings. It doesn't get rid of the lockscreen though, just makes it swipe to unlock, which seems to take longer than the fingerprint in my opinion.
Ohhh. That's a little more difficult than the original question led on haha.
I believe it is possible though. I was doing something similar a year ago or so disclaimer if this doesn't seem to work anymore. I found the solution on some thread buried in Reddit somewhere. This was used for my Nexus 7 to have different set ups depending on orientation, but you could figure out how to get it working with your car set up.
You'll set it up so instead of starting a new launcher, you're defaulting to one. This app was required.
You set it up to have GNL enabled when your orientation is portrait (or however you want it). The exit task would be to disable GNL launcher when horizontal. This will make whatever launcher you have underneath show up when horizontal without asking. The catch is you can only have two launchers on the phone. If you have more, it'll whine about which to pick instead of defaulting to whatever is left.
Sorry if this isn't clear enough. Mobile typing is hard.
Here ya go. You will need to install Secure Settings from play store.
*edit: added new zip with lte tasks
Fine, I'll do it myself:
Secure Settings Plugin The Secure Settings Plugin adds some additional actions and state/event conditions that Tasker can utilize. Some of the many things it helps with/react to are: keyguard on/off, failed login attempts, and airplane mode. The playstore link. ...Please Note: I am a Bot.. To report errors or request additions, message /u/letestaccount
EDIT: I now re-read your question and see that you're asking about turning NFC itself on or off.
I recall being able to do this with Secure Settings, but you need to be rooted.
(I'm leaving what I wrote below, in case anyone else comes here looking for NFC information.)
Basically, Tasker is unable to read/handle NFC tags natively.
You'll need to get a second app or plugin that can read NFC tags, and use that to trigger a Tasker task.
I believe Locale NFC Plugin and Trigger (the latter used to be called NFC Action Launcher) are the most widely used (I use Trigger).
Secure Settings can do this. Probably requires root, though.
Secure Settings (tasker plugin) might be what your'e looking for.
Clearing app cache requires root, so it's safe to assume clearing app data requires root. EDIT: It requires root. Video demonstrating and the Secure Settings plugin he mentions.
Now, if you don't mind a klunkier solution (or need a non-root solution), you can use Tasker with AutoInput, "control UI" in AutoMagic, or "interact" in AutoMate to schedule and simulate touches. Your screen would need to be on for the task to be completed, but it can be scheduled and triggered otherwise normally.
Ah. Thanks for clarifying; disabled, not removed.
What you can do, using Secure Settings or SecureTask or AutoTools, is check the secure
table's enabled_input_methods
setting for how you want it, then set it how it should be at the Device Boot event. Note that it's colon-delimited.
I am using Secure Settings for this. The free version suffices. It's root though.
Find-my-phone is what I call it. What you need is:
Before I explain tasker steps, how familiar are you with tasker? I'll reply back based on your experience with tasker.
I have only a few dedicated security profiles, one of them being the classic "take picture on x unlock attempts and send it to me" (using the Secure Settings "Failed Login Attempts" profile condition).
What I have done instead is to make my Tasker setup more or less remote controllable. This way I can send a command to get the phone's location, check the value of any variable, enable or disable any profile or group of profiles, remotely toggle location services, mobile data, etc.
I don't know about the shell command, but it's certainly possible with the Secure Settings plug-in.
Unfortunately I only know enough to tell you to install all three, then use in this order to test and see what happens:
Testing Task 1. Wait 5 seconds (Give you time to lock your phone) 2. Secure Settings (Screen & Keyboards Lights On 1 Minute) 3. Keyguard (Keyguard dismiss) 4. Wait (2 Seconds)(Only way it's worked reliably for me lol) 5. AutoInput stuff...
AutoInput has an easy mode that's... easy. You basically show it each step, and it'll do what you do.
FWIW, My Note 3 I only un-rooted to go on Lollipop for my boss... if you're not planning on running a newer OS I'd definitely root it!
So I made a Phone Security profile, not much Pebble specific, but some fun stuff: Link here!
Just a note: For the find location stuff, you are far, far better off using the Android Device Manager - nice to have the SMS option, though.
Prerequisites:
Setup:
It contains:
Secure Settings Plugin The Secure Settings Plugin adds some additional actions and state/event conditions that Tasker can utilize. Some of the many things it helps with/react to are: keyguard on/off, failed login attemps, and airplane mode. The playstore link. ...Please Note: I am a Bot.
Try doing it through secure settings :)
Maybe you could try with the Secure Settings plugin and see if that works.
Sure. I have root. It's this one. The secure setting is called "power button lock".
Ohhhh you'll need to install Secure Settings I guess. Same idea.
I am talking about the settings in the Secure Settings App.
Its a myth that killing applications will save you battery life, thats just not how the linux kernel works. Once you exit an application it sits and if memory is needed for a new application then unused processes are killed off to free up memory for the new applications, otherwise it sits there until you start the programme again at which point it will start up from the version in memory rather than anew (saving microseconds). This is explained in many articles over the years, heres one from last year. A really, really detailed explanation of whats going on can (likely, I've not read it myself) be found in Understanding the Linux Virtual Memory Manager.
What you can do to save battery power is prevent network activity by putting the plane into airplane mode to prevent programmes in the background from trying to connect to the network. This is even preferable to killing applications which you might think is better but some(/many?) of the processes are restarted/spawned so even if you kill them off the system restarts them.
However, you have to have rooted your device for the method I use since it utilises the Secure Settings programme. I've exported the two profiles as XML and include them below....
<TaskerData sr="" dvi="1" tv="4.9u4m"> <Profile sr="prof12" ve="2"> <cdate>1481964885897</cdate> <clp>true</clp> <edate>1497964750542</edate> <id>12</id> <mid0>18</mid0> <mid1>19</mid1> <nme>Airplane Mode</nme> <State sr="con0" ve="2"> <code>123</code> <Int sr="arg0" val="0"/> </State> <State sr="con1" ve="2"> <code>160</code> <pin>true</pin> <Str sr="arg0" ve="3"/> <Str sr="arg1" ve="3"/> <Str sr="arg2" ve="3"/> </State> <State sr="con2" ve="2"> <code>10</code> <pin>true</pin> <Int sr="arg0" val="2"/> </State> </Profile> <Task sr="task18"> <cdate>1481964889060</cdate> <edate>1481965101376</edate> <id>18</id> <pri>100</pri> <Action sr="act0" ve="7"> <code>30</code> <Int sr="arg0" val="0"/> <Int sr="arg1" val="0"/> <Int sr="arg2" val="2"/> <Int sr="arg3" val="0"/> <Int sr="arg4" val="0"/> </Action> <Action sr="act1" ve="7"> <code>1563799945</code> <Bundle sr="arg0"> <Vals sr="val"> <com.intangibleobject.securesettings.plugin.extra.BLURB>Airplane Mode Enabled</com.intangibleobject.securesettings.plugin.extra.BLURB> <com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type> <com.intangibleobject.securesettings.plugin.extra.ENABLED>true</com.intangibleobject.securesettings.plugin.extra.ENABLED> <com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type> <com.intangibleobject.securesettings.plugin.extra.SETTING>airplane_mode</com.intangibleobject.securesettings.plugin.extra.SETTING> <com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type> <com.twofortyfouram.locale.intent.extra.BLURB>Airplane Mode Enabled</com.twofortyfouram.locale.intent.extra.BLURB> <com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type> <net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled> <net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type> </Vals> </Bundle> <Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str> <Str sr="arg2" ve="3">com.intangibleobject.securesettings.plugin.Activities.TabsActivity</Str> <Int sr="arg3" val="0"/> </Action> </Task> <Task sr="task19"> <cdate>1481964969245</cdate> <edate>1481965180121</edate> <id>19</id> <Action sr="act0" ve="7"> <code>1563799945</code> <Bundle sr="arg0"> <Vals sr="val"> <com.intangibleobject.securesettings.plugin.extra.BLURB>Airplane Mode Disabled</com.intangibleobject.securesettings.plugin.extra.BLURB> <com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type> <com.intangibleobject.securesettings.plugin.extra.ENABLED>false</com.intangibleobject.securesettings.plugin.extra.ENABLED> <com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type> <com.intangibleobject.securesettings.plugin.extra.SETTING>airplane_mode</com.intangibleobject.securesettings.plugin.extra.SETTING> <com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type> <com.twofortyfouram.locale.intent.extra.BLURB>Airplane Mode Disabled</com.twofortyfouram.locale.intent.extra.BLURB> <com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type> <net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled> <net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type> </Vals> </Bundle> <Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str> <Str sr="arg2" ve="3">com.intangibleobject.securesettings.plugin.Activities.TabsActivity</Str> <Int sr="arg3" val="0"/> </Action> </Task> </TaskerData>
<TaskerData sr="" dvi="1" tv="4.9u4m"> <Profile sr="prof16" ve="2"> <cdate>1472282540785</cdate> <edate>1497964860670</edate> <id>16</id> <mid0>10</mid0> <mid1>11</mid1> <nme>Battery Saving</nme> <State sr="con0" ve="2"> <cname>Power Saving</cname> <code>100</code> </State> </Profile> <Task sr="task10"> <cdate>1472282278969</cdate> <edate>1497964779922</edate> <id>10</id> <nme>Battery Saver</nme> <pri>100</pri> <Action sr="act0" ve="7"> <code>123</code> <Str sr="arg0" ve="3">settings put global low_power 1</Str> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Str sr="arg3" ve="3"/> <Str sr="arg4" ve="3"/> <Str sr="arg5" ve="3"/> </Action> <Action sr="act1" ve="7"> <code>810</code> <Int sr="arg0" val="0"/> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Int sr="arg3" val="0"/> </Action> <Action sr="act2" ve="7"> <code>808</code> <Int sr="arg0" val="0"/> </Action> <Action sr="act3" ve="7"> <code>331</code> <Int sr="arg0" val="0"/> </Action> </Task> <Task sr="task11"> <cdate>1472282400874</cdate> <edate>1472676004680</edate> <id>11</id> <nme>Normal Power</nme> <Action sr="act0" ve="7"> <code>123</code> <Str sr="arg0" ve="3">settings put global low_power 0</Str> <Int sr="arg1" val="0"/> <Int sr="arg2" val="1"/> <Str sr="arg3" ve="3"/> <Str sr="arg4" ve="3"/> <Str sr="arg5" ve="3"/> </Action> <Action sr="act1" ve="7"> <code>331</code> <Int sr="arg0" val="1"/> </Action> <Action sr="act2" ve="7"> <code>810</code> <Int sr="arg0" val="68"/> <Int sr="arg1" val="0"/> <Int sr="arg2" val="0"/> <Int sr="arg3" val="0"/> </Action> </Task> </TaskerData>
You can probably find that in Secure Settings in Actions / Device Setting, no idea which table though.
It might be possible with the Secure Settings by using the "Device setting" action but not sure.
Easiest way to switch input methods is with Secure Settings
Secure Settings does this already. System+ > Location Off, Device Only, Battery Saving or High Accuracy.
You can do it with Secure Settings. But I don't know any shell comands tho.
yeah. you need this https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en to do it
Secure Settings Plugin The Secure Settings Plugin adds some additional actions and state/event conditions that Tasker can utilize. Some of the many things it helps with/react to are: keyguard on/off, failed login attempts, and airplane mode. The playstore link. ...Please Note: I am a Bot.. To report errors or request additions, message /u/letestaccount
Try Secure Settings. That's what I use.
https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
If you install the Secure Settings app you don't need xposed or root.
https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin
Secure Settings Plugin The Secure Settings Plugin adds some additional actions and state/event conditions that Tasker can utilize. Some of the many things it helps with/react to are: keyguard on/off, failed login attempts, and airplane mode. The playstore link. ...Please Note: I am a Bot.
Secure Settings Plugin The Secure Settings Plugin adds some additional actions and state/event conditions that Tasker can utilize. Some of the many things it helps with/react to are: keyguard on/off, failed login attempts, and airplane mode. The playstore link. ...Please Note: I am a Bot.
Are you sure your phone doesn't allow you to switch to 2g, or do you mean that tasker doesn't allow you to do so? You must use Secure Settings for 2g-lte automation to work.
Google's Play Movies. I do not know why people will chose this when Amazon Prime Video is available.
Secure Settings - No updates and support for a long time.
Tapet - Premium version not as good as it sounds
MakeMyTrip - Dirty psychological tricks to make you buy tickets.
So, I'm like 99% sure this can be done, it just depends on how much work you are alright with putting into it :P
I'd probably suggest checking out Secure Settings, it usually has a bunch of support for settings that tasker can't touch on its own (To check and see, open tasker, go to the tasks tab and create a new task, just name is test and then add Plugin>Secure Settings and then check to see if it shows up as an option)
If Secure settings doesnt touch it, I'd say you might want to look into Auto Input, now to get the best usage from Auto Input its far better to have it rooted, but it still provides some functionality if you aren't.
If you wind up using Auto Input, you would essentially want to create a profie that senses when its under your percentage limit. This will then trigger a task you can create that will do:
So, in the end, its probably possible, its just whether or not it actually saves you time if you are already on the phone :P But best of luck!