Table of Contents
Prerequisites
Before jumping in, let’s make sure you have everything you need.
- Root Access: Your Android device needs to be rooted. You can use Magisk to root your device if it isn’t already.
- Tasker Installed: You’ll need the Tasker app. Download it from the Google Play Store.
- Tasker Superuser Plugin: To make Tasker work with root access, you’ll also need the Tasker Superuser plugin.
Compatibility: These steps work with most rooted Android devices running Android 5.0 or newer, especially if you’re using Magisk for root.
Grant Tasker Superuser Permissions for Full Automation
Tasker can automate all sorts of things, but to handle more advanced tasks, it needs special permission (called superuser or root access). Let’s set that up.
Open Magisk Manager
First, open the Magisk Manager app. This app helps manage root access for other apps, including Tasker.
Giving Tasker these permissions means it can do deeper things, like controlling system settings or managing files behind the scenes.
Find Tasker in Magisk
Scroll through the apps in Magisk Manager until you see Tasker. If Tasker has requested root access before, it’ll already be on the list.
Grant Root Access to Tasker
Once you find Tasker, tap on it and choose “Grant” when asked for root permissions. Now, Tasker can perform more powerful actions, like turning off Wi-Fi, adjusting system settings, or even rebooting your phone if needed.
Automating System-Level Tasks With Root Access in Tasker
With Tasker now having root access, let’s start automating some of the more advanced things that normally require manual steps.
Open Tasker and Set Up a Profile
Launch Tasker and tap the “+” icon to start a new profile. A profile in Tasker is like setting a condition—something that will trigger your phone to take action. For example, you can set up a profile that turns off Wi-Fi when you leave home or connects to Bluetooth when you get in your car.
Choose a Trigger
Once your profile is created, select an event or condition that will make Tasker run the task. This could be something like “Phone Unlocked” or “Wi-Fi Connected.”
Add a Root Action
After setting the trigger, create a new task by tapping the “+” button. From the list of options, select “Run Shell” to execute commands that need root access. Don’t forget to enable the “Use Root” option here. This will allow Tasker to perform tasks that need deep system permissions, such as turning on or off system services, controlling network settings, or managing apps.
Test the Task
It’s always a good idea to test things out. Manually run the task to see if it works. Does Wi-Fi turn off when you leave home, or does your phone switch to silent mode when you’re at work? If not, double-check the settings to make sure everything is enabled.
Create Custom Profiles to Use Root Functions in Tasker
The real fun comes in when you start creating personalized profiles that fit your specific needs. Whether you want your phone to manage screen brightness, handle security settings, or control apps, Tasker and root can make it happen.
Create a New Profile
Open Tasker again and go to the Profiles tab. Tap the “+” button to create a new profile. This is where you’ll set the condition that will trigger the task you want your phone to perform.
Select a Trigger Based on System Events
Choose a system event like battery level, network change, or even device reboot as the trigger. These deeper triggers allow you to automate actions that depend on what’s happening with your device.
Set Up a Root-Enabled Task
Once your trigger is set, add a new task by tapping the “+” button. Choose actions that take advantage of root access, like “Run Shell,” to execute more advanced commands. Whether you’re controlling system settings or managing apps, Tasker with root access lets you do things that normally wouldn’t be possible.
Test and Save
Make sure to save the profile and run the task manually to see if it works. If everything goes smoothly, you’ll have just created an automation that handles some of the trickier tasks on your phone with no extra effort on your part.
With Tasker and root access, your Android device can handle a lot of everyday tasks for you, like managing your phone’s settings, turning off features when you’re not using them, or keeping apps in check. It’s simple once you’ve set everything up, and your phone can start doing the heavy lifting—leaving you more time to focus on what matters.