AutoTools Secure Settings

This allows you to change settings on your device that you normally wouldn't be able to with Tasker
NO ROOT is needed for this action :)

Examples

Find the name of any Setting on your system to use with this action
Disable and enable your lock screen at will (No Root!)
Turn GPS on when in Google Maps, turn it off otherwise (No Root!)
Change Animation Speed with a Quick Tile on Android 7 and Above
Change input keyboard depending on situation
Set Screen Orientation
To use this, AutoTools needs to be granted permission to change secure settings on your device
If you're on Android 6 or above click here to grant AutoTools the first Settings permission

Then follow these steps to grant AutoTools the Secure Settings permission:

  1. Enable Developer Mode: Go to Android Settings -> About Phone and look for the Build Number option. Touch it multiple times until developer mode is enabled.
  2. Enable USB Debugging: Go to Android Settings -> and look for the Developer Options option. In there, enable the USB debugging option.
  3. Install ADB on your PC: Check here for a quick way to do it.
  4. Connect device to PC: Connect your device to a PC and look on your phone. A prompt should show up asking you to allow your phone to be debugged by your PC. Accept this.
  5. Grant permission: Open a command line on your PC and write
    adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
    If you're on a mac write
    ./adb shell pm grant com.joaomgcd.autotools android.permission.WRITE_SECURE_SETTINGS
Congratulations, AutoTools should now be able to use the "Secure Settings" action!
IMPORTANT NOTE: To use the "System Locale" setting you additionally have to give AutoTools the android.permission.CHANGE_CONFIGURATION permission using the same method as above

Custom Setting

The settings listed in AutoTools are just a few of all the existing settings. You can control any available setting on your device with the Custom Setting options.
Check here to see how you can find out what custom settings to use for YOUR use case.
Select the setting you want to change from the list below and fill out the corresponding fields in the Custom Setting options.
Settings whose values are 0 and 1 are usually "on" and "off" settings which can be toggled using the "Toggle" Input Type.
Note: These are the settings available on a Nexus 5X with Android Nougat. The available settings may vary with device and Android version.
You can get the values for your device by running these commands in the command line:

System Settings

Global Settings

Secure Settings