How to unlock Android Phone: 5 methods to unlock your android device

There are instances when we can forget the security pin or password of our android device, this can lead to frustration as we can’t access our phone without it.

You can also be locked out of your phone if you got a cracked screen disabling the input of a password or a dark screen, preventing you from seeing your screen.

Luckily, with Android, there are tricks and tips to unlock your phone without taking it to an engineer for help

This post teaches you some proven method to unlock your android phone, in case you get locked out.

Password reset

5 Methods to unlock your Android device

Safe methods, without losing your data

If you want your phone data preserved, and are not willing to lose them after forgetting the password, you can safely get back into your phone by using the following password recovery method.

1. Unlock your device with Android Debug Bridge

Android Debug Bridge (ADB) Is a tool used by programmers to debug android devices, consequently, you can use this tool to get back into your phone if you had a PC.

The ADB tool uses a USB or TCP connection, to connect to the daemon on your android device.

This method can be helpful if you got a cracked screen or a blackout screen.

Note: To use this method, USB debugging must have been previously turned on on your phone, if this is not the case, you may consider other options, but it is recommended to always turn on USB debugging on your phone from settings>developer option>enable USB debugging, to make things easier in case if a similar occurrence in the future.

There is also another method to enable USB debugging on your phone once it is locked and you are unable to access the settings.

This option requires your Android phone partition to be mounted, to mount;

1. Boot your android phone into recovery mode.

2. Go to mount and storage from recovery mode.

3. Then click on Mount Data by using the volume and power button.

Once done, you can continue with the following step.

Step 1: Download the Android SDK package on your PC.

Step 2: Open the command prompt on your PC from the same root as your SDK file.

You can do this by navigating to the root directory, holding on to the shift key, right-click in the SDK folder, then clicking on the open command window here option, this will open the command prompt (in Windows 10, you may see “open power shell instead”.

Step 3: Using a USB cable, connect your phone to your PC, and enter the following command (adb devices) without the brackets into the command prompt.

You may be prompted to enable debugging, enable it, and repeat the command

Once your phone is detected, you will notice your phone serial number in the command prompt window.

Step 5: Now, enter the following command in order:

adb shell
Cd/data/ settings/databases
sqlite3 settings.adb
update system set value=0 where name='lock_pattern_autoblock';
update system set value=0 where name ='lockscreen.lockedoutpermanently';

Step 6: Now reboot your device, if that doesn’t resolve the issue, enter the following command into the command prompt.

abd shell

Reboot your phone when done.

With a rooted device:

If your device is rooted, enter the following command into the command prompt instead:

adb shell

Now, reboot your device.

If you still remember your password but got a broken or black screen, you can input the following command into the ADB command line.

shell input keyevent 66
adb shell input text 1234

Now, replace 1234 with your password and click Enter.

2. Unlock your device with Google (Android 4.4 and Earlier)

If you have previously signed into your device with your Google account, you can recover your device password using your Google account information.

This method is only available to devices running Android 4.4 and earlier versions.

Step 1: On your locked screen, click on forgotten password (displayed after several attempt).

Step 2: The account menu will be displayed, input your username and password to sign in to your google account.

Step 3: You will be prompted to reset your pattern or password, input a new pattern or password to continue, then login to your phone using the new pattern.

3. The Call Method

With this method, all you need is another phone and your phone number.

Step 1: Place a call to your locked phone and accept the call.

Step 2: While on it, simply click on the back button to access your phone’s main screen.

Step 3: Now, you won’t be able to change your password unless you remember the old one.

If you have it saved somewhere on your phone, you can retrieve it, else you can use this method to do some tweaks that can be useful for other methods, like enabling USB debugging, enabling find my device, or backing up your data before resetting.

Unsafe methods, Erasing all data

These methods require you to erase every data of your device, using this method results in a complete loss of your data.

4. Unlock your device with the Android device manager

Note: This method requires you to have previously enabled the android device manager on your phone.

By default, Google device administrator is enabled on most android devices, these include "find my device" and "screen lock service". 

To confirm, go to settings>security>safety protection>other security settings>device administrators. You will notice google find my device, confirm that it is ticked as shown below:

Step 1: Go to

Step 2: Sign in to your Google account (the account associated with your device) to display your device as shown below:

Step 3: Click on Erase device to erase every data on your device, including the password.

5. Boot into safe mode

You can unlock your device by booting into safe mode, this results in a partial loss of data.

Step 1: long press the power-off icon.

A pop-up will appear, asking you to confirm that you want to boot into safe mode.

Click “ok” to continue.

Step 2: Your phone will reboot without all the installed third-party app, you can thereafter clear the data for your default apps using this method (from that link, scroll to step 4 of how to clear the cache for an android app)

Step 3: Reboot your phone to normal mode to get back into your system without a password.

I hope you find this information helpful, kindly leave a comment if you had any questions.

Leave a Reply

Inline Feedbacks
View all comments