One of the great features provided by the Android operating system is the Pattern lock which is avoiding accidental taps on the phone. This feature should be activated first, by creating a pattern that will be used for unlocking the device. As any password, the pattern can easily be forgotten by the users which will start panic being unable to access the phone. There is one way to fix this. You will need to use ADB commands to bypass the pattern and get full access to your phone. Follow the steps below and learn how to do it.
First, you should install ADB on your PC. Download it from the internet and make sure that you install it correctly. The program will work only if you have USB debugging enabled on your phone.
(By the way, if you’re enjoying this article, you may want to subscribe to our YouTube channel; we do giveaways, hands-on product reviews, feature top tech, and much more!)
So, you will need to connect the phone to the PC using the USB cable and open the folder where ADB is installed. Hold down the Shift button on the PC keyboard and right click on a blank area of the screen. Then, you will choose Open command window here. You will need to type the following commands into the Command Prompt Window opened:
- adb shell
- cd /data/data/com.android.providers.settings/databases
- sqlite3 settings.db
- update system set value=0 where name=’lock_pattern_autolock’;
- update system set value=0 where name=’lockscreen.lockedoutpermanently’;
After that, you will need to reboot the device and it is all done. You will be able to access your phone and create a new pattern or never create a new one.
And as always, we end with an invite: don't be a stranger and join our community - be a part of the conversation where we help each other out, discuss the latest and greatest, and make the best of our tech.