Friends, here is a very important trick for your android phone. If you've an android phone and u have forget your pattern lock and email than don't need to hard reset. Just follow below steps:- Method:[adb shell method](root only) Steps :
Connect ur locked Android device in pc and open adb shell.
Then type the following :
Then restart the device.
Now u can unlock your device with any pattern and then in Settings u can change lock setting.