Remote ADB Shell [Tasker]

Remote ADB Shell [Tasker] Free App

Rated 3.00/5 (4) —  Free Android application by Jolan Rensen

Advertisements

About Remote ADB Shell [Tasker]

This Tasker plugin allows you to send a (series of) ADB Shell command(s) to a remote device that has ADB over WiFi enabled. This app does need Tasker (https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm paid, with 7 days free trial) to work!

On the remote device you can do anything you would normally be able to do when using the terminal of that device. This includes opening apps, moving files, simulating input et cetera (The sky is the limit and Google is your friend).
To use this app, you will need to create a new task in Tasker and visit the plugin tab when adding a new action. There you will find my plugin. You will need to tap the pencil to the right of the Configuration tab, to configure the plugin. There you need to specify the IP Address of the remote device, the port (usually 5555) and the command you want to send.

NOTE: You can send multiple commands at once by separating them with a ";".
NOTE2: 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 ";".
NOTE3: 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.
NOTE4: 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".

Now for some useful commands!
A command I myself use a lot is to turn my ADB over wifi enabled AndroidTV (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 remote 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 another device. You will have to Google a bit to find the Main activity of an app, but this example will open Chrome on the remote device "am start -n com.android.chrome/com.google.android.apps.chrome.Main".
Of course there are many other commands, the sky is the limit!

The plugin will generate two key files on your sdcard to be able to make a secure ADB connection to remote devices.

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 https://play.google.com/store/apps/details?id=com.cgutman.androidremotedebugger, 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 https://github.com/cgutman/AdbLib and use https://github.com/cgutman/AdbLibTest 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 https://forum.xda-developers.com/u/tasker-tips-tricks/plugin-remote-adb-shell-t3562013.

I made the app free so anyone can try it for themselves and since this is my first ever published app, there might be bugs in it. Of course donations are always welcome at paypal.me/JolanRensen.

How to Download / Install

Download and install Remote ADB Shell [Tasker] version 4.2 on your Android device!
Downloaded 100+ times, content rating: Everyone
Android package: com.ADBPlugin, download Remote ADB Shell [Tasker].apk

All Application Badges

Free
downl.
Android
2.2+
For everyone
Android app

App History & Updates

What's Changed
• 4.2
Second update!
You can now use Tasker variables in my plugin. Just add it in an input field (e.g. %myvariable) and it will take the value that you have set earlier on in the task.
• 4.1
Proper Tasker and Logcat error logs.
Makes Tasker wait for it to be finished.

What are users saying about Remote ADB Shell [Tasker]

N70%
by N####:

Very helpful app. Was successful in launching into Netflix on my Shield TV via an associated Task in Tasker on a remote tablet

A70%
by A####:

Works like a charm


Share The Word!


Rating Distribution

RATING
3.05
4 users

5

4

3

2

1