Recover/Unlock/Reset a Pattern Lock/Password if Forgotten on an Android Device

Reset a Pattern Lock
Share on facebook
Share on twitter
Share on linkedin
Share on facebook
Protecting our Android phones with an unlock pattern or password is a convenient way to prevent others from accessing our information and personal data.
The problem with this is that if you ever forget these lock options, we will not be able to access and use the phone normally. Therefore, today I want to share a quick way to unlock Android without the unlock pattern or password using the computer.

Recover or Unlock or Reset a Pattern Lock orPassword if Forgotted on an Android Device

What do we need?

For this method to work on your mobile, you must have enabled debug mode and it also must have configured the ADB (Android Debug Bridge) that came with Android SDK and that among other things you used to root any Android Smartphone, install a custom ROM or set multiple settings. If you do not know how to do this, just perform the following procedure:

  1. Download the file installer_r24.0.2-windows.exe from the official website.
  2. During installation, you will be prompted to install Java SE Development Kit (JDK) if you have not installed it.
  3. Then specify that installing Android SDK is made ​​in the ” C drive ” or any other directory instead of the default directory and choose a name like AndroidSDK or something.
  4. When the window appears Android SDK Manager sure that packets Android SDK Platform-tools and Google USB Driver and click are marked beam then ” Install packages. “
  5. In the next window click “ Accept “then click” Install “and wait for the download package is complete.
  6. Close the Android SDK Manager Log window and thus already have everything ready to do the procedure without unlocking the Android unlock pattern.


What is the Most Commonly Used Pattern for Unlocking a Phone?

The Android Authority has said that the lock patterns are relatively easier to predict than they are believed. There are also typical patterns that most smartphone users employ.

With the aid of the information below, you could predict pattern lock and attempt to recall your own:

  1. The majority of smartphone users employ just 5 nodes with a substantial number using only
  2. Up to 77 percent of people typically begin their patterns at any one of the corners.
  3. About 44 percent of smartphone users generally begin their patterns from the dot at the top-left corner.
  4. More than 10 percent of lock designs were designed in the form of an alphabet, usually reflecting the first letter of an individual or a valued one.

Steps to unlock Android without the unlock pattern

Once we are ready with all of the above, all you have to do is follow the steps given below. Remember that you can only unlock Android if your phone has enabled USB debugging, otherwise it will not be possible to perform the procedure. With this method you get is disable touch gestures on the unlock screen so you can use any pattern to unlock the phone.


Connect your Android phone to your computer via USB cable.


Navigate until “folder SDK “is found within the Android SDK folder, then select” Folder platform-tools “and then press the Shift key while right-clicking with the mouse. In the context menu click on ” Open Command Window Here “.


In the command window that displays must type the following command ” adb “without quotes and then press Enter.
command run to unlock the phone1


After this, the following command you must write is: ” adb shell “and once again press the Enter.
After this the following command you must write is adb shell and once again press the Enter .2


Now type “ rm /data/system/gesture.key “and press the Enter . (Be sure to type the command that which is indicated, including the space).
step 5 to unlock the android phone if you have forgotten ur password3


With this, you can now unlock your Android phone using an unlock pattern. Then you can simply change the pattern by anyone other than you want or set another blocking method.

Unlock Android without a password

Now, if instead of a lock pattern you used a password and also you’ve forgotten, the procedure to unlock Android with no password is virtually the same, the only difference is that in STEP 5 must type the following command: ” rm /data/system/password.key “and likewise press Enter.
if u used the password and forgotten the password then use this step to unlock the pattern4
Once you do this, there immediately disappears password lock on Android and you can access directly to your phone and use it normally.

What if I have not enabled USB debugging?

Well, all is not lost and no doubt this is the worst-case scenario you may face because now the factory reset or reboot is probably your only option. Note that by doing this all your data is deleted on the phone, contact information, applications, and settings, however, the stored contents are not deleted on the microSD card. Even though, perform the procedure at your own risk.
forgoted to enable the debug functionality5
Know that there are different methods to make Android Reset depending on the make, model, and even the Android version you use for your phone. You may also need to do several times the procedure to enter Recovery Mode. In most Android phones the procedure you have to do is:

Steps to do a Factory Reset on Android


With your phone turned off, press the volume key (-) and the power key (Power) at the same time for a period of between 10-15 seconds.


Then you will see an on-screen menu of options; use the volume keys to scroll and select ” wipe data/factory reset “.
Hard-Reset-Android-2 7


Then press the power key (Power) to confirm and then on the next screen select ” Yes – delete all user data “and confirm again with the power key.
Hard-Reset-Android-3 8


When the process is complete select “ Reboot system now “to reboot the device and thus already have your Android phone unlocked or rather as fresh from the factory.
Optionally you can try pressing both volume keys simultaneously and the power button for 15-20 seconds or until the options menu appears and also select the Factory Reset option.

How to Unlock an Android Device’s Pattern via Reboot to Safe Mode

As Safe mode can deactivate most of the third-party apps, you can easily rely on it to delete your pattern lock if you have been locked out by a third-party lock screen application.

You can also initiate and accept phone calls or text messages since other built-in applications are reliant on that particular smartphone.

This procedure is pretty simple, and you will have no problem putting it into action. Let’s have a look at these steps below:

Step 1:

To begin this method, turn off your Android phone if it’s still on.

Step 2:

Hold down the volume down (-) key and the Power key for a while till the “Safe Mode” icon appears in the bottom left corner of your Android device.

Step 3:

Now, go into the settings of those apps in which you have set up a lock and turn it off.

See, it’s done! Any passwords, PINs, or pattern locks on your Android phone will be automatically erased in the Safe Mode.

How to Unlock Your Android Device Using Android Device Manager

One more method for unlocking your Android smartphone or tablet if you have forgotten its password is to use the Android Device Manager.

You can utilize it to gain remote access to your Android phone, which will allow you to change the pattern lock on it. This approach, like the last one, will delete all of the data on your phone.

Follow these easy steps below for unlocking your Android phone’s pattern lock if you have forgotten it by employing the Android Device Manager:

Step 1:

To begin with, go to the Android Device Manager’s official website from your PC or some other device.

Step 2:

A list of all the Android phones and devices that are linked to your Google account will be shown.

Step 3:

Next, verify the account information that you already provided on your Android phone.

Step 4:

Choose the Android device that you want to unlock from the pattern lock.

Step 5:

After choosing your Android phone, you will be presented with 3 choices: Lock, Erase, and Ring. For resetting the pattern lock, select “Lock” from the menu.

Step 6:

Next, input a new password on your Android device as well as a recovery note in it. This will come in handy if you ever forget your smartphone’s password again.

Step 7:

Save the adjustments you made and then close the interface for resetting the lock on your Android phone.

How to Unlock a Samsung Phone Pattern Lock With Samsung Find My Mobile

Samsung, similarly to Google, has built a highly specialized function as well for remotely locating their devices and doing several additional actions on them.

This feature, of course, is only available for Samsung phones and tablets. 

You will easily be able to use this program to unlock your Samsung device by performing the steps shown below. 

Step 1:

Proceed with the official “Find My Mobile”  website of Samsung at: and register into it with your Samsung account details.

Step 2:

On the left panel, you can choose your Samsung phone that needs to be unlocked. It will then display your device’s position on the map by default.

Step 3:

Choose the “Unlock My Device” feature to continue. (In addition, you can also get to use a wide range of highly useful services from this site.)

Step 4:

Next, simply tap on the “Unlock” option to completely remove any type of lock on your Samsung phone.

Finally, You will be notified with an on-screen notification when your Samsung phone gets unlocked.

Final Thoughts

Personally, I’ve tried several times without a method to unlock the Android unlock pattern by ADB and it has worked every time, even also works perfectly with blocking passwords. In any case, USB debugging is very important because if it is not enabled, practically our options are limited to Factory Reset.
Also mention that you can unlock your phone using Google Account associated with the device from the option Forgotten pattern, which appears when there have been several failed attempts. The problem with this is that many users never use that account and therefore are unlikely to remember the password.

Frequently Asked Questions about How to Unlock a Pattern Lock or Password if Forgotten on an Android Device

How can I use my Google account to unlock my Android smartphone?

Follow these procedures to unlock your Android smartphone through your Google account utilizing the ADM command:

Step 1: To begin with, you have to write the following command from your PC, laptop, or even a smartphone. This command is com/android/device manager

Step 2: Sign in utilizing the Google account you registered to unlock your Android device.

Step 3: Choose the Android phone you need to unlock and click on the Lock in the ADM UI.

What is the unlocking master code for any Android device?

If you intend to unlock your Android device by using a master code, you can get it in your device’s guidebook, by contacting your network provider, or from the shop where you have purchased it.

You could obtain the master code by calling your carrier’s customer service number as well. They would require your date of birth, telephone number, full address, and answers to your security questions.

When you obtain this data, you will unlock your Android device by entering the provided master code.

How can you recover a forgotten password from your phone that is no longer supported?

There are a lot of useful methods for unlocking your Android phone’s password that are no longer supported.

For instance, you can also take the help of Android Unlock in this scenario which is a specialized program.

Utilizing manual procedures such as ADB commands, Google accounts, custom recovery (a micro SD card is needed for this), or a factory reset to fully unlock your Android device is also a good option.

How can you erase the password of your Android device without losing its data?

You can also use some specialized software to unlock your Android device’s password without erasing any of its data.

Android Unlock is one such software that helps you to unlock your Android device’s passwords without erasing its data.

This software is quite efficient, and it can unlock all kinds of Android devices’ passwords, PIN codes, face locks, patterns, and so much more.



Some other articles you might find of interest:

What Gaming PC should you get for under $1,000?

The Top 18 Best Prebuilt Gaming PCs Under $1000 Revealed & Reviewed

Have you ever wondered what the internet of the future looks like?

What is the Metaverse, and Are You Ready For Its Arrival?

Can you have two phones with the same number?

Your Quick Guide on How to Use the Same Mobile Number on Two Phones