Did you ever forget the password of your android device or messed up with lock screen security and ended up resetting the device and losing all data on it. Well, here is a solution you can use to rescue your android without wiping any data.
You should also bookmark this page for future use. Developed by xda member piraterex, this guide will help you to recover almost any android device. But before you proceed to do so please read the following disclaimer from the author.
This Is For Educational Purposes Only You Shall Not Use This On Other People Phones Without Permission Under Any Circumstances I’m Not Responsible For Any Eventual Errors And Misbehaving Of Your Devices.
If your device already has a custom recovery installed such as CWM or TWRP then the can easily the pattern lock, password lock or face unlock.
Guide To Bypass or hack Pattern Lock, pincode lock, Face detection or Password lock on android:
1. Download the Pattern-Password-Disable.zip file
2. Copy the downloaded zip file into an SD card.
3. Insert the SD card into the device.
4. Reboot the device into recovery mode.
5. Select Install Zip from SD Card.
6. Navigate to the installed zip file and select it to flash.
In case your device is not able to use the guide above you should head over to original xda thread as there are few other methods described for all android devices (such as not rooted, no recovery or on any other situation).