Locked Out? Learn to Crack the Android Pattern Lock
There is nothing more annoying than putting a pattern lock on your phone and then forgetting it. It is a moderately strong security feature if you use it correctly. They do so well that apparently they even stump the FBI. However, you do need to get in there somehow and now there’s a way to crack the Android pattern lock.
XDA Senior Member m.sabra has written up not one, but two easy ways of bypassing the Android pattern lock. Both require ADB and both also require that the device have USB Debugging enabled. Root isn’t required, although it is highly recommended as always.
Both processes do about the same thing just in different ways. The first method edits the values of a couple of variables to zero, and the second method simply removes the gesture.key entirely. If one doesn’t work, then the suggestion is to try them both together, as m.sabra explains:
you can try both of them,here is how i managed to remove the lock:
1- run the first method.
3-run the second method
Keep in mind this is intended to help those who are locked out of their own devices, not to crack into devices that are not theirs. This is a good reminder to not leave USB Debugging enabled when not needed.
For more information, check out the original thread.
[Thanks to XDA Recognized Contributor varun.chitre15 for the tip!]