ADB enhanced Putty (replacement for "adb shell")

We all know that running "adb shell" from the command line is pretty crap, and when using a latter busybox version which has coloring support it's ultimately crap. One workaround was usually to start a telnet server on the phone, and use putty to connect to that telnet server. Actually there is a more easier way to do that which also works for non rooted phones.

Actually the Android Debug Bridge has a terminal connection feature (roughly speaking), which will be enabled after you connect to the adb server in "0006shell:" mode. You can actually use the putty to connect to this interface always, by setting the following things:

- Turn off line discipline in settings(Terminal--Local echo:Force off Local line-editing:Force off)

- Use RAW mode to connect to localhost:5037

- Enter "0012host:transport-usb" (use mouse right button)

- Enter "0006shell:" (use mouse right button)

PS.Don't put anykey with keyboard



Now you've got a full fledged connection to your device. The main drawback is that it's tedious to repeat the above all the time, so I've made some modifications to the putty binary that adds a new type of connection, called "Adb"

To use the enhanced putty:
- Select Adb from the connection type list
- Enter "transport-usb" in the host (or any other connection string, check the adb socket interface documentation if you need something else than connecting via usb)
- Enter 5037 as port, if it's not already set there.
- Connect and enjoy (you might also save this connection, so next time you only have to double-click on the settings)

DL and source: http://github.com/sztupy/adbputty/downloads

Screenshot:
ADB enhanced Putty (replacement for "adb shell")


http://www.busybox.net/products.html


你可能感兴趣的:(ADB enhanced Putty (replacement for "adb shell"))