USB Debugging ON

Like I told in my previous post, my phone screen went completely black. I looked around the internet to find some software which would project my android screen onto my computer. I found this great software: Droid@Screen

Droid@Screen is a single jar application which means it works on Linux as well.  It uses Android Debug Bridge (adb) to connect to phone and project android screen to one’s computer.

But sadly this required USB debugging to be turned on and I had that turned off.  After several tries and taking several screenshots, downloading them using AirDroid, I remembered that I had installed App Lock and turned it on settings. I took nearly 50 screenshots to finally click select the USB debugging on. I attached some screenshots so that someone else may find it helpful sometime.

Screenshot_2014-03-17-22-31-11 Screenshot_2014-03-17-22-35-54 Screenshot_2014-03-17-22-36-09 Screenshot_2014-03-17-22-36-27 Screenshot_2014-03-17-22-37-03 Screenshot_2014-03-17-22-37-26 Screenshot_2014-03-17-22-37-41

After turning the USB Debugging on, I connected the phone using the USB to my computer. But as I shared earlier the phone fell in water and since then the USB port didn’t work properly. I finally got the phone connected properly and got Droid@Screen working. The trick was to plug in the usb to the computer partially.

The trouble now was how to type. I found the following to send text to the phone using adb shell.

$ adb shell input text this-is-a-text

but this allowed sending word by word. Space required the below

$ adb shell input keyevent 62

So I thought of writing a small program to allow me to type.

One reply

  1. […] explained in the previous post, I thought of writing a small program to allow me to type using adb […]

Leave a Reply