Enable USB debugging on Android remotely

grzebyk picture grzebyk · Oct 10, 2013 · Viewed 70.1k times · Source

I've got the LG P970 phone running on Gingerbread with a broken screen. By broken screen i mean that screen displays nothing - it's lighten up, all black with color lines but it's touch sensitive (i believe). I've got important data on it and I want to get it back. Unfortunately USB debugging mode is disabled on the phone so adb devices command on linux shows empty dialog.

So here comes my question: is there any possibility to remotely turn on usb debugging mode on android device?

Answer

Daniel Neel picture Daniel Neel · Jul 22, 2015

This is how I solved this problem (on a Samsung Galaxy S4):

This assumes that the phone's screen does not display anything, but the touch input still works.

  1. Figure out how to take a screenshot on your phone without using the UI. On the Galaxy S4, you can use hardware buttons to do this.
  2. Unlock your phone's lock screen, and connect it to a computer.
  3. Open the phone in a file manager.
  4. Find the location where the phone stores screenshots.
  5. Take a screenshot on the phone. Look at the updated screenshot.

By doing this, you can perform an action on Android, take a screenshot, and see what screen comes up. After doing this awhile, you should be able to find the USB Debugging menu.