Unlock your screen via adb. (send the menu keycode)

britoso

Senior Member
Jan 13, 2010
2,791
301
163
Orlando
Found this via google groups.

You can unlock your phone via an adb shell command :)
Code:
adb shell
input keyevent 82 

or on one line:
adb shell input keyevent 82
key event 82:
public static final int KEYCODE_MENU

Since: API Level 1
Key code constant: Menu key.
Constant Value: 82 (0x00000052)
Background: I flashed a kernel and rebooted and when the phone was fully booted I could not unlock the lock screen!
Had disabled the slider and had the menu key set to unlock (cm7). Unfortunately the kernel must have had a bug or something and all my soft buttons were not working.
 

HandyBesitzer

Senior Member
Jan 29, 2012
586
109
0
Köln
mh do you know what it is for the Desire??

I tryed this, but it doesn't worked. had a simular problem. I worked on the lockscreen and than i removed the ring, and i could push it XD