Schemaninja logo


How to Reset Pattern Lock on Android?

Affiliate disclosure: In full transparency – some of the links on our website are affiliate links, if you use them to make a purchase we will earn a commission at no additional cost for you (none whatsoever!).

Android is the best user- friendly mobile OS ever built. The customizability it offers is something that can’t be found on any other mobile platform. That’s the main reason behind it’s huge and ever-growing popularity.

Android is Google’s kid. So it is also noted that you can access any Google product quickly.

I think you already know the lock screen options on an Android phone. Usually, there are slide, pattern, pin, and password options. See, it is offering four various choices even for the lock screen.

Have you ever faced a situation of forgetting the pattern? Did you solve it by yourself or did you have to bring your phone to a mobile shop?

From this moment onwards, you don’t have to seek anyone’s help to reset pattern lock on Android. It’s not a Herculean task to reset pattern lock on Android.

There are some ways to do it. I am covering some of the useful and accessible methods here. No matter what device you use, methods are uniform.

Reset Pattern Lock on Android

Today we will be using two main methods to reset the pattern lock.

#1. Using Google Account to Reset Pattern Lock on Android

A Google account is recommended to every Android user. You need it for downloading apps from Play store. So, chances are great to have one for yourself. Here are the steps to follow.

Tap on the Forgot Password button. You will get a login field after attempting to unlock for a limited number of times.

You can simply use it by entering the username and password. You will be logged in soon and then, see some instructions. Follow them. That’s all. You have reset pattern lock on Android.

But the biggest con is you should be connected either via mobile data or via wifi to apply this trick. And on the counterpart, this is timeless and easy.

#2. Using the Recovery Mode to Reset Pattern Lock on Android

What if you are not connected to the internet? Then the first step will not come to your rescue. It’s not a moment to bang your head on the wall either. The solution is right in front of you. Read further to know more.

Have you ever heard about the “Recovery Mode” on Android? It’s a helpful option. We are performing this method with the help of recovery mode.

  1. You have to turn the device off. Wait some time to let your device make a short vibration.
  2. Then, it’s time for the action. Just press the Power button, Volume Up button and Home button simultaneously. Don’t leave any one of them before your screen gets turned on.
  3. You can now see a screen like this. It’s like CMD on Windows, right? Use Volume UP and Down buttons to navigate.
  4. Just navigate to ‘reset factory data’ or ‘reset user data’ according to what option is available. And then, select the option by
  5. You are a geek, and now you can help your GF to reset pattern or pin lock on Android like a boss ;).
  6. Reboot your phone. Now you notice that you have bypassed the pattern lock.

That’s all.

N.B.:- If you have important apps and contacts on your phone, I recommend not to do this. Because you will end up losing all your personal info like calls, texts, contacts, etc.

On some phones, you will not get a physical Home button. In this scenario, you just press the Power button and Volume Up button only.

#3. Using the ADB to Reset Pattern Lock on Android

Just think you have a lot of important contacts saved on your device. What to do other than factory reset? You will feel like in the middle of a devil and see. If you reset, the contacts will be deleted. If you don’t reset, your phone will be turned to be good-for-nothing stuff.

This one is a little bit geeky. It is very much useful. All your files and data will be secured.


  • You must have access to a PC with Admin privileges.
  • You will also need to have enabled USB Debugging prior to this procedure.

Now we proceed to the nitty-gritty of the procedure.

Step 1

First off, download the Android SDK from this link.

From the given choices, choose the one which suits you best. Once the download has finished, we will install it.

Step 2

Next up, we open the tool. Check Android SDK Platform-tools, and click on install packages to continue with the installation.

Step 3

In this step, we connect the Android device to the PC or Laptop via the USB cable.

Step 4

Then, open the folder where we installed the SDK (it should be something like Users >> App Data >> Local >> Android >> Android-SDK >> Platform-Tools).

Click on anywhere on the white space of the window by holding shift. We will be greeted by a menu that looks like the image given below. Click on the Command Window option.

Step 5

We type in the command given below to ensure our device is connected properly.

adb devices

Step 6

Now, put the below code into that command prompt window

adb shell
 cd /data/data/
 sqlite3 settings.db
 update system set value=0 where name=’lock_pattern_autolock’;
 update system set value=0 where name=’lockscreen.lockedoutpermanently’;


adb shell rm /data/system/gesture.key

(in case the above command doesn’t work)

Step 7

That’s all. Just reboot your device and unplug the USB cable.

Congratulations! You have successfully reset pattern lock on android on your device and it’s ready to be used again!


Aishwar Babber is a passionate blogger and a digital marketer. He loves to talk and blog about the latest tech and gadgets, which motivates him to run GizmoBase. He is currently practicing his digital marketing, SEO, and SMO expertise as a full-time marketer on various projects. He is an active investor in NewSmartWave and ImageStation.

Leave a Comment