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.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';
- .quit