Forgetting lockscreen security, such as Pattern, PIN, and Password is a common thing for many Android phone users. It is easy to recover lockscreen security if you have a Google account setup for the phone, but if you have forgotten your Google account password, or do not have a Google account setup for your phone to retrieve a new PIN, then the choice is either to bypass the security or format the phone from recovery.
In this guide shows you how to bypass lockscreen security, such as Pattern, PIN, Fingerprint, Password, Face unlock, etc. on Android phone. Thanks to the XDA user ‘Honestly Annoying’ for the simple trick. This method supports most phones that are running on Android 5.1 Lollipop or Android 6. 0.1 Marshmallow, however root access is required.
Since this method needs to execute ADB commands to bypass lockscreen security, it requires ADB debugging enabled on your phone or a custom recovery like TWRP installed on it. Also, you should have ADB and fasboot setup on your computer.
How to Bypass Lock Screen Security on Android
1. Setup ADB and Fastboot on your computer (Refer this guide for instruction)
2. Connect your Android phone to your computer
3. Go to the ADB installation directory, open a command window from there and issue the following commands one-by-one.
4. Once done, reboot your phone. After booting, the lockscreen security will be removed from your device. (Source – XDA)