• Home
  • How to Bypass the Pattern Lock on an Android Device

How to Bypass the Pattern Lock on an Android Device

How to Bypass the Pattern Lock on an Android Device


The Android operating system provides a great security featured called Pattern Lock that lets you avoid any accidental taps made on the device. In order to use the feature, you first have to define a pattern which will then be used to authorize access to your device. Sometimes, the pattern gets forgotten by the users and they start to panic as they’re unable to access the device. As with every issue, there’s a solution. By using a few ADB commands, you can bypass the patter and get access to the device. To learn how to do that, follow our guide below.

I. Before You Begin:

1. You must have ADB installed on your PC. Learn how to install ADB.

2. You must have USB debugging enabled before the device was locked.

II. Bypassing the Pattern Lock on an Android Device:

1. Connect your device to your PC via USB cable.

2. Open the folder where you have installed ADB.

3. Right-click on any blank area on the screen while holding down the Shift button on your keyboard, choose Open command window here.

4. In the Command Prompt Window you just opened, type in following commands:

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

5. Once done, reboot the device.

6. You’re all set!

Great! The Pattern Lock has successfully been disabled on your device and you can now access the device!

Leave a comment

You must be logged in to post a comment.