• Remote ADB Shell 1
  • Remote ADB Shell 2
  • Remote ADB Shell 3
  • Remote ADB Shell 4

Remote ADB Shell

Remote ADB Shell is a terminal app that allows you to connect to the ADB shell service of other Android devices over the network and execute terminal commands. This can be useful for remotely debugging Android devices (running tools like top, logcat, or dumpsys). It supports multiple simultaneous connections to different devices and keeps these connections alive even when the app is in the background. This app does not require root on either device, but root may be helpful to configure the target devices. If the target devices are not rooted, you must use a computer with the Android SDK and Google USB drivers to configure the them (detailed below).
This app is a wrapper around the shell that is exposed over ADB. It maintains a 15 command history which is accessible by long pressing the command box. Long pressing the terminal display itself will give the option to send a Ctrl+C, toggle auto-scrolling, or exit the terminal session.

This works in the exact same way that the "adb shell" command works on a computer. Because this app uses a native implementation of the ADB protocol in Java, it does not require root on either device or any 3rd party apps on the target device. The devices simply speak the same protocol to each other that they would to a computer running the ADB client from the Android SDK.

IMPORTANT: Devices running Android 4.2.2 and later use RSA keys to authenticate the ADB connection. In my testing, devices running 4.2.2 will need to be plugged in to a computer the first time you connect to them (from each device with this app installed). This allows them to display the public key acceptance dialog, which you must accept (and check "Always allow from this computer"). Devices running Android 4.3 and 4.4 seem to have no problem displaying the dialog without a connection to a computer, so it looks like this is a workaround specific to Android 4.2.2.

To configure a stock un-rooted target, plug the target device into a computer that has the Android SDK installed and run "adb tcpip 5555" from the Android SDK's platform-tools folder. This will start ADB listening on port 5555 on the target device. The device can then be unplugged and will remain configured properly until reboot.

For devices that are rooted (although it's not required), you can install one of the several "ADB WiFi" apps to enable the ADB server to listen over the network. Devices with a custom ROM may have an option to enable ADB over the network in the Developer Options pane of Settings. Using either of these methods will properly configure ADB for network access with this app. The extra step for 4.2.2 is still required for the initial connection.

To connect to your remote Android device, type in the IP address of the device and the port number (5555 from the example above) in Remote ADB Shell. Tap Connect and it will attempt to connect to the device and start up the terminal.

I welcome feature requests and bug reports. You can include them in your app reviews or post them on the forum (links below). Please rate this app if you can; it really helps me learn what features/fixes I should focus on next.

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

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

Category : Tools

Related searches

Reviews (28)

Man. M. May 19, 2022     

Great experience! Problematic when APK added on other device due to not allowed APK file in bin folder kindly change folder path to allow place APK file.

min. 2. Nov 19, 2021     

BEST APP I HAVE EVER SEEN! Highly recommended, I have a tv where many settings ain't available and I have to use adb to allow permissions and enable some settings. And you know turning on pc every time for that is just a waste of time... That's why I like it so much now I can use adb shell from my phone which is great! And to them who are having problems pasting text to the app, Download Gboard then use clipboard to paste! Thanks developers. I will keep supporting you.

Zea. Dec 12, 2021     

Was trying to connect my phone into itself over wireless adb but sadly pairing prompt never appeared. Termux was able to do it but I'll still give it 4 stars because it has worked for different things that aren't stupid.

Cal. M. Jan 8, 2021     

5 stars because it's free! Only issue - and others have mentioned it - is it doesn't disconnect. This may actually be better than the alternative, because it works so damn well as it is. When you are done, just force-stop the app (easy!). Thanks dev!

Mic. C. Mar 22, 2020     

Handy to use on smart TVs, but a pain without a proper keyboard, since copy-paste is disabled for some reason. There's simply no better option, at the moment, so we're stuck with this.

Sho. M. May 22, 2022     

Exactly what you expect! Great tool! ✴️⭐✨

Jus. m. Dec 20, 2021     

Superb, changed density for Shield: wm density 240. Enable network debugging in dev options, ip # shows under. Windows adb was refused, but this connected immediately. Thanks again.

Lem. C. Jan 24, 2021     

Makes the job done. Needs special keys and a different formatting on long terminal outputs, like say top. Otherwise it's quick and nifty. Would pay for this with advanced options added.

Vad. S. Mar 14, 2020     

Great app, no need to use your pc anymore but... Why pasting from clipboard is disabled? It is useful when following a guide and just copying and pasting long commands

Jus. C. Aug 29, 2019     

use ADB on your device you're trying to use ADB on! the thing I love about this is no PC is required whatsoever. I use this for all of my Android device is also to program my fire TV's or fire devices or Android media devices.

jan. h. Apr 23, 2021     

horrible experience but it's THE SINGLUAR app I've found that has actual on-device adb... consider using a proper terminal, like jackpal's one? no persistant command history, very small input and output areas, non-configurabke everything, etc...

Rub. F. Sep 27, 2020     

Excellent app, provides unique functionality, and working also with non-rooted devices is a plus. Well done dev, thank you for creating this app and keep up the good work !

Gar. E. Aug 27, 2020     

The UI needs a little work, but other than that, it's a great app. No ads, and its open source! Thank you!

Tar. Oct 24, 2021     

Awesome app. Wish it had paste feature so that command can be copied and pasted. For those who need close feature, use exit command

Đức. May 21, 2020     

Slow refresh (probably wi-fi latency thing), no monospace font, no copy/paste.

Ced. B. Aug 8, 2021     

Very cool way to control Android devices especially when you've misplaced remote control.

Sam. P. Nov 26, 2020     

Was pretty straight forward to get started, but after I ran "logcat", I couldn't find a way to stop the shell or disconnect the ADB connection

Mat. M. Dec 13, 2019     

Easy, simple and very handy! Lots of power in your finger tips! My greatest thanks to the developer!

All. S. May 4, 2022     

Doesn't connect into my phone, and target phone which is rooted but nothing happen

Jes. K. Sep 17, 2019     

The review that claims that you can set this up wireless is bs you have to configure using usb witch makes this a fail for me only giving three stars cuz I am not gonna even try it as you need a Cord FM KL

Dha. K. S. Jan 30, 2022     

I'm not able to use wireless adb mode because of no pairing option.

Dav. S. Sep 23, 2020     

In general doing the job, the app can be improved by adding an option to use adb on another device using OTG and allowing to paste commands to the input box from the clipboard.

Jam. R. Oct 21, 2021     

Doesn't work. When trying to connect to another device over the wifi it connects to itself.

Ams. J. Jan 28, 2020     

i havent tested this yet, but i wanted to say, as a fellow dev, this BLEW MY MIND at the stoke of genius you had figuring this out. MASSIVE props to you. this is the kind of stuff that really inspires me

Sad. S. Jan 5, 2021     

Cant connect to the host phone...always showing connection failed when i type the ip address

Edd. Jan 29, 2019     

It works great. Love it and I have been using it continuously with no problems.

Ana. K. May 6, 2019     

this is the best n best remote adb shell app.. love and respect for u guys for ur hardwork.. and giving new platforms in android world .. keep rocking.. may god bless u

Cam. B. Oct 23, 2019     

Worked perfect to connect to my FireTV to change the sleep timeout using adb commands