Android LCD Broken, Screen Locked, Device Unauthorized I have an Android device whose LCD is broken. The unit functions and receives call, messages and gives the usual audio notifications.

However, in order to synch back data, I need to access the main memory.
However, the screen is locked via a pattern.  ADB does see the device, but as unauthorised.

Also:

macbopr: adb shell rm /data/system/gesture.key
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.


How can I overcome this block?
If you need to unlock the screen, you can use the adb shell input command.

This link is a script that you could modify.  I haven't tried it myself, but it looks like it should work.  You'll have to tweek it for your specific device, and enter in your password.