erminesoft logo
Go

ADB Shell [Tasker] for PC

Published by  Jolan Rensen
  • Category
    Tools
  • Developer
    Jolan Rensen
  • Downloads
    5000+
  • Android Version
    4.4 and up
  • Content Rating
    Everyone
ADB Shell [Tasker] PC screenshot 1ADB Shell [Tasker] PC screenshot 2

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 does need Tasker to work! (https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm, this is a paid app with a 7 days free trial)

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.

NOTE:
- 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 com.android.chrome/com.google.android.apps.chrome.Main".
- 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 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. This thread also contains some useful tips for accessing the local device running the task without root.

Now open source at https://github.com/Jolanrensen/ADBPlugin!

How to Install ADB Shell [Tasker] for Windows PC or MAC:

ADB Shell [Tasker] is an Android Tools app developed by Jolan Rensen and published on the Google play store. It has gained around 5000 installs so far, with an average rating of 2.0 out of 5 in the play store.

ADB Shell [Tasker] requires Android with an OS version of 4.4 and up. In addition, the app has a content rating of Everyone, from which you can decide if it is suitable to install for family, kids, or adult users. ADB Shell [Tasker] is an Android app and cannot be installed on Windows PC or MAC directly.

Android Emulator is a software application that enables you to run Android apps and games on a PC by emulating Android OS. There are many free Android emulators available on the internet. However, emulators consume many system resources to emulate an OS and run apps on it. So it is advised that you check the minimum and required system requirements of an Android emulator before you download and install it on your PC.

Below you will find how to install and run ADB Shell [Tasker] on PC:

  • Firstly, download and install an Android emulator to your PC
  • Download ADB Shell [Tasker] APK to your PC
  • Open ADB Shell [Tasker] APK using the emulator or drag and drop the APK file into the emulator to install the app.
  • If you do not want to download the APK file, you can install ADB Shell [Tasker] PC by connecting your Google account with the emulator and downloading the app from the play store directly.

If you follow the above steps correctly, you should have the ADB Shell [Tasker] ready to run on your Windows PC or MAC. In addition, you can check the minimum system requirements of the emulator on the official website before installing it. This way, you can avoid any system-related technical issues.

Download ADB Shell [Tasker] For PC

ADB Shell [Tasker] APK 6.11.51 MB6.1