Remote ADB Shell

Remote ADB Shell

By Cameron Gutman

Remote ADB ShellRemote ADB ShellRemote ADB ShellRemote ADB ShellRemote ADB Shell

Remote ADB Shell is a terminal app that lets you connect with the ADB shell service of other Android gadgets over the network and execute terminal commands. This may be helpful for remotely debugging Android gadgets (running tools like prime, logcat, or dumpsys). It helps multiple simultaneous connections to completely different devices and keeps these connections alive even when the app is in the background. This app does not require root on both system, however root could additionally be helpful to configure the target devices. If the target units are not rooted, you have to use a pc with the Android SDK and Google USB drivers to configure the them (detailed below).

This app is a wrapper around the shell that is uncovered over ADB. It maintains a 15 command history which is accessible by long urgent the command box. Long urgent the terminal display itself will give the option to ship a Ctrl C, toggle auto-scrolling, or exit the terminal session.

This works in the very same means that the adb shell command works on a pc. Because this app makes use of a local implementation of the ADB protocol in Java, it does not require root on both system or any 3rd party apps on the goal system. The devices merely communicate the identical protocol to every other that they would to a pc working the ADB consumer from the Android SDK.

IMPORTANT: Devices running Android 4.2.2 and later use RSA keys to authenticate the ADB connection. In my testing, gadgets operating 4.2.2 will have to be plugged in to a pc the first time you connect with them (from each system with this app installed). This allows them to show the basic public key acceptance dialog, which you must settle for (and check Always enable from this computer). Devices running Android 4.3 and 4.4 seem to have no downside displaying the dialog without a connection to a computer, so it looks like it is a workaround specific to Android 4.2.2.

To configure a inventory un-rooted goal, plug the goal gadget into a pc that has the Android SDK installed and run adb tcpip 5555 from the Android SDK's platform-tools folder. This will begin ADB listening on port 5555 on the goal gadget. The system can then be unplugged and will stay configured properly till reboot.

For gadgets which are rooted (although it isn't required), you'll be able to install one of many several ADB WiFi apps to allow the ADB server to hear over the community. Devices with a custom ROM might have an option to enable ADB over the community in the Developer Options pane of Settings. Using either of these strategies will properly configure ADB for network entry with this app. The extra step for 4.2.2 remains to be required for the preliminary connection.

To connect with your distant Android device, kind in the IP tackle of the system and the port quantity (5555 from the instance above) in Remote ADB Shell. Tap Connect and it will attempt to join to the system and begin up the terminal.

I welcome feature requests and bug reports. You can include them in your app critiques or post them on the discussion board (links below). Please fee this app if you can; it really helps me study what features/fixes I ought to concentrate on next.

Developers: The custom Java ADB library I've written for this app is open-source beneath the BSD license at https://github.com/cgutman/AdbLib

The supply for this app is available underneath the Apache license: https://github.com/cgutman/RemoteAdbShell

XDA discussion board hyperlinks:

Remote ADB Shell App Thread - http://forum.xda-developers.com/showthread.php?t=2373265

Java ADB Library Thread - http://forum.xda-developers.com/showthread.php?t=2405030

Similar Apps

Description:

Before you post questions or dangerous reviews, see the FAQ https://sisik.eu/bugjaeger_faqBugjaeger tries to provide the professional instruments used by Android buil...

Description:

LiveBoot is a boot animation that reveals you logcat and dmesg outputs on-screen as they occur. Output configuration contains logcat stage, buffer and format selection; whether or not to level out dmesg; the quantity of traces that ought to fit in your display screen, whether word-wrap should ...

Description:

Bugjaeger tries to provide the professional tools used by Android developers for higher management and deep understanding of your Android device internals.If you are an Android power user, developer, geek, or hacker, this app may be one thing for you.How to use1.) E...

Description:

KDE Connect provides a set of options to combine your workflow across units:- Shared clipboard: copy and paste between your devices.- Share information and URLs to your computer from any app.- Get notifications for incoming calls and SMS messages on your PC.- Virtua...

Description:

ConnectBot is a robust open-source Secure Shell (SSH) consumer. It can manage simultaneous SSH sessions, create secure tunnels, and copy/paste between different applications.This shopper lets you hook up with Secure Shell servers that typically run on UNIX-based servers.

Description:

This app streams video games, applications, or your full desktop from an NVIDIA GameStream-compatible PC on your native network or the Internet utilizing NVIDIA GeForce Experience. Mouse, keyboard, and controller enter is sent from your Android device to the PC.Streaming performance mig...

Description:

This app shares USB units from an Android device to a PC through USB/IP. With this server working, you can share many USB units from your Android system to a PC operating the USB/IP software program. Not all USB units are supported by this app. Notably, units that use isochronous transfers (us...