ADB Shell [Tasker Plugin]

In-app purchases
201 reviews
Content rating
Screenshot image
Screenshot image

About this app

This Tasker plugin allows you to send a (series of) ADB Shell command(s) to a remote device (or the device itself) that has ADB over WiFi enabled.
This app obviously does need Tasker to work as it's a plugin (, this is a paid app with a 7 days free trial). Again, without Tasker it WON'T WORK. Was I clear enough? Anyways...

On the target device you can do anything you would normally be able to do when using the terminal or ADB Shell of that device. This includes opening apps, moving files, simulating input et cetera (The sky is the limit and Google is your friend).

My app can be used as an action in Tasker and needs to be configured properly when added to a task to work.

- You can send multiple commands at once by separating them with a ";".
- All commands in a single action are automatically followed with an "exit" command so to close the ADB connection. This means that if you want to send multiple commands that are depending on each other, you will need to put them in a single Tasker action and separate them with ";".
- If you want multiple actions of my plugin to run after each other in a Tasker task, please keep the timeout set as is. Tasker will continue when the command is sent.
- The first time you try to connect to another device via ADB it will ask you if you trust the device. For this plugin to work correctly, you'll need to always "trust this computer".
- The output of the console can be viewed and reused from within Tasker. This can be done by accessing %output1, %output2 etc. or by iteration over %output() using a for loop.
- The plugin will generate two key files on your device to be able to make a secure ADB connection to the devices.

Now for some useful commands!
- A command I myself use a lot is to turn my ADB over WiFi enabled AndroidTV (Nvidia SHIELD) on or off by sending the command "input keyevent POWER", this simulates a power button press.
- Of course you can vary which key to press, for example to press the arrow keys you can do "input keyevent DPAD_RIGHT" or “…LEFT” etc.
- Another simple command is "reboot", which will, you guessed it, reboot the device! You can also put "reboot -p" here to power it down.
- A cool thing to be able to do is to launch apps on the device. You will have to Google a bit to find the Main activity of an app. This example will open Chrome on the device: "am start -n".
- When you fill in “localhost” in the IP address field, every command will be executed on the device itself! This works even without root if you, of course, have ADB over WiFi enabled (can be activated from a pc using “adb tcpip 5555”).
Of course there are many other commands, the sky is the limit!
This is my first ever published app, so please leave feedback and submit bugs so I can try my best to fix them! Any tips are more than welcome!

The idea to create this app came from, which allows the user to connect to a remote device via an interface in the app itself. Please read the description of that app too, it contains some tips on enabling ADB over WiFi. I use the same AdbLib Java library in my app.

I use the AdbLib library found at and use as an example for how to use the library. I adapted this example to work with a given command and converted it to a Tasker plugin.

For help, you can email me or visit the XDA-Developers thread at This thread also contains some useful tips for accessing the local device running the task without root.

Now open source at!
Updated on
Jan 16, 2020

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
No data shared with third parties
Learn more about how developers declare sharing
No data collected
Learn more about how developers declare collection

Ratings and reviews

194 reviews
A Google user
October 30, 2018
Nice clean update! Strangely I had to edit and save every command again, otherwise it would throw an exception "integer cannot be cast to string". (So I suspect the port variable.)
27 people found this review helpful
Did you find this helpful?
Jolan Rensen
October 30, 2018
Thanks! Oops, I did make a "transition" system from the old version to the new one but I guess I missed a value. Oh well, it's better to have them all using the new method anyways.
December 21, 2020
Was the only plug in that managed to start a app with a different user profile. am start --user 10 -n "XXX/YYY" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER. Edit: Did not work in Taskers adb wifi task itself. Now i can access it in Tasker with this via this plugin. Good job very happy.
11 people found this review helpful
Did you find this helpful?
Jolan Rensen
December 21, 2020
Great to hear! You can also try the adb wifi action recently added to tasker if you want. Maybe that can launch the app correctly from tasker?
Nathan Jenkins
July 29, 2021
I am docking this app 2 stars because you MUST run adb tcpip 5555 from a computer even on Android 11 devices that have native wireless ADB when a couple other apps can directly connect. This app is still better than Tasker native for me.
14 people found this review helpful
Did you find this helpful?

What's new

• 6.3
- Plugin is now way faster using Tasker's intent service system!
- Added donation option
- a: small bugfix
- b: reverted something to make it faster

• 6.2
- Thanks to those who do not understand that this is a Tasker Plugin. Because of you I got the idea you should be able to test the plugin without Tasker, so now you can!
- Let's see if this takes care of the 1 star reviews haha