How To Unlock Android Phone If You Forget the Password Or Pattern Lock

How To Unlock Android Phone If You Forget the Password Or Pattern Lock

Even worse is being locked out of the device entirely.

Kids and sneaky friends are usually the worst culprits for messing with your password, but that’s what you get if you leave your device lying around unattended.

It’s probably also your fault for having such interesting text messages and apps. (As you might be able to tell, I have a few…let’s call them “curious” friends.)

Anyway, if you can’t get past the lockscreen on your device, we’ve prepared a list with methods that should prove to be helpful no matter what the situation is.

(If you’ve got a cracked or broken Android screen, we have a guide that should prove helpful.) If your Android screen is completely dead we also have a few solutions on offer.

Method 1: Using your Google Account Password to unlock phone

You Will Need:

  • Your Device
  • Access to your synced Google account

This method uses your Google Recovery account to unlock the device from your lockscreen. One of the perks of Google Account integration is that it’s intertwined with most devices, and it’ll prove helpful here.

To get started;

  1. Tap Forgot Password? To open a new menu. (This option is only available on some devices.)Google Password
  2. Enter your Google account details in the menu shown and tap Sign in.
  3. Your device will now unlock, and you will have full access.

If your Google account information isn’t working, you can try one of the other methods on this list, or there are numerous ways to recover your Google account information using your PC. You can go directly to Google’s account recovery page, and follow the steps to reset via the associated email address.

Method 2: If You’ve Entered an Incorrect Password/Pattern Too Many Times

You Will Need:

  • Your Device
  • A little patience

This is easy enough to solve. The simplest method is to wait for the timer to run out so you can try to input the password or pattern lock again. If someone has been fiddling with your device, it shouldn’t take too long for the timer to reset. (Usually it should take about 30 seconds before it allows you to have another go or five.

If you just can’t wait for the timer, you may be able to use an associated Google account to unlock the phone, using the same steps listed in the previous method;

  1. Tap Forgot Password? To open a new menu. (This option is only available on some devices.)
  2. Enter your Google Account details here.
  3. Your device will now unlock, and you will have full access. (It will also reset your password.)

Method 3: ABD Commands on an Unrooted Device (Android Debug Bridge)

If you haven’t dipped your toes into ADB before, now is as good a time as any. Using a series of ADB commands, you can unlock your phone, as long as you have USB debugging enabled. If you do not have USB debugging enabled, I will address this in a step in this method.

There are three different series of commands you can use, and I’ll be going through each.

  1. If you do not have Android SDK tools installed, or enabled your device to accept ADB commands, please enable these features to complete this method.sdk tools
  2. Next you’ll need to confirm that you have SDK and ADB set up correctly. If you’ve already confirmed this before, please skip to Step 3.To do this, open your platform tools folder, and then the command promptinside of it.
    • You can open the command prompt in a folder with Shift + right-click, then select open command window here.

    platform tools

    Now there is two commands you need to enter to confirm your ADB setup. The first is:

    • adb version

    This will reveal the version number of your ADB software if done correctly. For the next command, make sure your device is connected to the PC:

    • adb devices

    If your device is connected, the serial number should appear in the command prompt window. If you were unable to retrieve the serial number, please try this step again until successful.

  3. USB debugging needs to be enabled for this method to work as intended, but there is a way to circumvent this.If you boot into recovery mode, you can do these steps as normal without the need for USB debugging. However, your partition may need to be mounted, to do this:
    • Go to Mounts and Storage in your recovery.
    • Now mount /data.

    After you’ve done this, you can proceed as if you have USB debugging enabled.

  4. Hop into your command prompt and buckle your seatbelt, because we’re going for a ride. With your phone connected to your PC, and the cmd open, enter these commands one after the other:
    • 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

    After you’ve completed this, reboot your device. If this doesn’t reset your lock screen, then please advance to Step 5.

  5. With your phone still connected to your PC, and the command prompt open, enter:
    • adb shell rm /data/system/gesture.key

    With that complete, reboot your phone once more. If you’re rooted, these commands will be easier to type.

Method 4: ADB Commands on a Rooted Device

There are a few differences to factor in when dealing with a rooted device. Supersu requires a few permissions to be enabled. Additionally, there is an easier command line to enter through ADB if your phone is already rooted.

  1. For this method, you will still need to follow Steps 1-3 of Method 3. If you have already completed the tasks presented in those steps, please continue as normal.
  2. With the command prompt open in the appropriate place, and your phone connected to a PC, enter the following commands:
    • adb shell
    • su
    • rm /data/system/locksettings.db
    • rm /data/system/locksettings.db-wal
    • rm /data/system/locksettings.db-shm
    • reboot

    That’s all there is to it. In case neither of these ADB methods have worked for your device, there’s still one more method left that won’t wipe all of your user data.

Method 5: Registered Samsung Device

You Will Need:

  • Your device
  • A registered Samsung account
  • A PC

If you have a Samsung account registered with your device, you can use the Samsung website to remotely unlock your screen. The problem is, many users don’t bother to register. This is another method that will probably only help a small section of people, but it could still be handy.

  1. Open the Samsung website on your PC and login with your account information.Find My Mobile
  2. Select your device from the taskbar on the left.
  3. Find the option called Unlock my screen on the sidebar. Tap it, and your device should now be unlocked.

Method 6: Factory Reset

You Will Need:

  • Your device
  • A USB cable
  • A PC

A factory reset is a drastic method that will delete all data from your device.

Warning: This method will allow you to access your device, but it will delete all data (images, contacts, videos, apps etc) from your phone. This should be used as a last resort.

The worst thing is, normally it’s advised to make a backup of all of your data before a factory reset. If you’re stuck behind a lockscreen it’ll limit just how much data you can access and backup. (Thankfully, the contents of your SD card will remain untouched by the reset.)

So what can you do? To back up your images when the screen is locked;

  • Connect your device to your computer using a micro USB cable.
  • Find your phone and open the main folder with your PC.
  • Your pictures should be located in the folder named DCIM.
  • Copy the folder to your computer to save the files.
  • Repeat the process for any other folders you would like to save.

You can also remove your SD card if you wish.

Now that’s out of the way, let’s get down to the factory reset. Depending on your device, the steps may be a little different, but the end result will always be the same. Most devices will let you to hard reset by accessing recovery mode.

  1. Turn the device on, and hold down a combination of your buttons to access the boot menu. (For example, the Samsung Galaxy S6 requires you to hold down Power, Volume up and Home.)
  2. If you can’t find the correct combo, it should be easy to find the information online. It’s usually Power, Volume down and Camera for most Android devices.
  3. Use your volume keys to navigate up and down, and the Power key to confirm your selection.
  4. Find the option that will allow you to Wipe Data/Factory Reset.Factory Reset
  5. Confirm that you want to wipe your device, and the phone should now begin the process. (It can take several minutes to complete, depending on the amount of data on your phone.)
  6. When completed, the device will restart without the passcode, but also without your data.

Method 7: Lock Screen Bypass Apps

This next method is going to require money, and will not work on Android devices above version 4.1. You can skip this method if you want to try something free, and for more up-to-date devices.

Otherwise, you’ll be paying $4.20 for an app that can help you bypass, and reset your lock screen. There are specific instructions for how you can get this app to work, even when you’re already locked out of your phone.

The app I’ll be talking about is Screen Lock Bypass Pro, which you can get by using the button below. Be warned: results may vary with this method.

Screen Lock Bypass Pro

https://play.google.com/store/apps/details?id=net.thomascannon.screenlockbypass.pro

  1. If your device is currently connected to your PC, unplug it. You’ll be plugging it back in within a few more steps.
  2. Following the link in the button above, install Screen Lock Bypass Pro through your PC. This requires your device to be registered and connected to the internet.screen-bypass-page
  3. After you’ve installed the app, and everything has worked as planned, you can plug the phone back in. You should now have a new screen displaying.screen-bypass-2On this screen, tap Activate, and then Remove Lock on the next screen. After you’ve done this, and confirmed it, your lock screen will be reset.

Method 8: Deleting Passcode Information in Recovery (No Root Required)

This method requires a custom recovery, for example, TWRP or CWM. Additionally, you’ll need a file explorer to access spots you normally wouldn’t be able to without root. This method will assume you are using AROMA file manager. However, the steps will be the same regardless of the manager used.

Installing a file explorer or manager means you’ll need to flash the manager install file through your recovery. This is normally done through the root of an SDcard, but is not necessary, and is only recommended.

  1. Assuming you have already flashed your file explorer of choice, boot into recovery mode.
  2. Using your file manager, navigate to data/system.
  3. If you’re attempting to delete pattern swipe info:
    • Find and then long press: delete gesture.key

    If you’re attempting to delete a password:

    • Find and then long press: delete password.key
  4. Once you’ve deleted the file you’re searching for, exit your file manager of choice and then safely reboot your phone. If done correctly, your phone’s lock screen will be reset, allowing you access again.

Method 9: A Remote Factory Reset

We’re still on factory resets, but what if I told you it was possible to reset your phone without touching it? With Android Device Manager, you can lock, reset, and ring your phone from a distance as long as you can access the website.

Android Device Manager additionally functions as a phone tracker, which is a great security and retrieval feature.

  1. On a computer, visit the Android Device Manager. If this is your first time using the service, you’ll receive a welcome.android-device-manager-welcomeIf your device is registered with your Google Account, and ADM was enabled on your phone before you were locked out, you can use this service.
  2. If you look in the top left corner, you’ll see any compatible/registered devices. Underneath that, will be a bar with three different symbols.adm-symbolsFor this method, we’ll be dealing with the one on the far right, labeled Erase.
  3. After confirming the Erase function, your phone will boot into recovery and start performing a factory reset. Once you’ve confirmed this action, it’s impossible to stop. If you shutdown your phone before the reset finishes, the reset will just resume on startup.Once this process has finished, you’ll be able to pass your lock screen without a pattern, pin, or password.

If you haven’t unlocked your bootloader, now’s a good time.

Unlocking your bootloader essentially performs a factory reset, and is essential before a root. If you need to perform a factory reset, and haven’t yet rooted your phone, this is one more reason to make you take the plunge.

Passcodes are meant to protect us, but they can also be a double-edged sword in the wrong hands. Hopefully, we’ve been able to help you get back into your locked device without resorting to a factory reset, but sometimes you will have no other option if you can’t remember the code and you need to use the device.

If you’ve reset your passcode, make sure to set up another as soon as possible to avoid any further problems. It might be a pain at times, but if your phone is lost or stolen at least

 

Leave a Comment

Your email address will not be published.