Originally Posted by Kilroy.
Assuming you forgot the Pattern/Password that you use to secure your phone. Of course,
you could get in using your Gmail account Password...
But what if you don have an account or you forgot the password to that, too???
Here are two possibilities:
B. For everyone without a recovery version installed:
What you need:
-A computer running a Linux distro (Ubuntu, Mint, etc.) NOTE: This Guide was written for MINT 14, but it should work on other distros, too.
-a USB cable to connect your phone to the PC
-adb installed (look at quick tutorial below)
1. Connect you (turned on) Phone to the Computer via USB.
2. Open a terminal window.
Now you just have to reboot.
NOTE: The Pattern lock will probably still show up, but you can type in anything you want, as it will accept anything!
Please test this on every Android OS, as I have only tested it on GB so far, but, theoretically, it should work on any Android Version & ROM.
I know there are similar threads on xda, but this is the first that offers a tutorial for getting past almost all locks (Password, PIN, Pattern) instead of only he Pattern, and, of course, the first to offer a flashable zip.