What to do if the screen lock does not turn off. How to unlock Android using ADB program

The most basic way to protect an Android smartphone is the screen lock function. Currently, fingerprint or face scanning is widely used to unlock the phone, but older devices use a password or pattern that can be forgotten, thereby losing access to the smartphone. In this article we will tell you how to completely disable the blocking in this case.

Screen lock - settings and methods

First, let's figure out how to enable screen locking. To do this, you need to go to the settings of your smartphone and find the “Security” item there, in the menu that opens, go to the “Screen Lock” tab and select the method that suits you. Typically, on smartphones without a fingerprint scanner, a password or pattern is used. When you turn on the latter, you need to draw a sequence between the dots with your finger, which you will need to enter every time you unlock your smartphone.

To remove the screen lock, perform the same steps in reverse order. Go to settings, get to the desired menu item and select “Disable screen lock”. The system will ask you to confirm the action by re-entering your password or pattern. But what if you forgot them?

How to remove the lock from your phone screen if you forgot your password

The most convenient and fastest way in this case is to use a personal Google account. If you remember the email to which the smartphone is linked and the password to it, enter the incorrect graphic code as many times as possible, after which the smartphone will be locked and the message “Forgot your password?” will appear on the screen. Click on it and to restore access to the phone, enter the e-mail and password to your account.

The above method can only be used if the Internet is available, to turn on Wi-Fi on a locked smartphone in the emergency call menu, dial *#*#7378423#*#* and in the window that appears, click “service tests - wlan”, then: “connect to the network wi fi".

If you have forgotten the password for this account, you will need to use a more drastic method - resetting your smartphone to factory settings via recovery. If you follow the instructions, there is nothing complicated about this even for inexperienced users. When you reset the settings, in addition to the password, all information from the smartphone’s memory will be erased: calls, contacts, messages, programs and files, only the contents of the SD card will remain untouched.

To restore the phone to factory settings if you do not have access to the interface, you must enter the “Recovery” mode. This is done differently in devices from each manufacturer, so explore the Internet for access to Recovery specifically for your smartphone model. Once in the menu, find and activate the “Factory Reset” item there.

To avoid losing the most important information such as contacts in the future if a similar problem occurs, synchronize them with your Google account, which will allow you to restore your phone book if necessary. The same can be done with photographs; this opportunity is provided by the Google Photo service, which itself can upload all the photos you take to the cloud automatically.

We delete a graphic key without losing information

There is a way to remove the pattern via Recovery without reverting the phone to factory settings.
To do this, you need to put your phone into recovery mode and open the “Advanced” tab.

Then go to “File Manager” and in the /data/system folder delete the files responsible for displaying the graphic key:


To do this, hold down the file, select “Delete” in the context list and confirm the action by swiping to the right.
Then click “Back” and perform a similar operation with all the above files.

That's all, all that remains is to turn off the phone by returning to the main recovery mode menu and selecting “Reboot” > “System”. When turned on, access to the system will be open without the need to enter a graphic key.

If you are reading this, it means you were interested, so please subscribe to our channel on , and for one thing, give it a like (thumbs up) for your efforts. Thank you!
Subscribe to our Telegram @mxsmart.

One of the main advantages of the Android shell is its multi-stage protection system, which can be improved almost indefinitely. But there are times when, having installed protection, users do not know how to remove it. The presented essay will examine in detail the question: how to install protection and how to remove the screen lock on Android.

How to set a password

First, we will describe in detail how to install protection on Android. To do this you need to perform the following manipulations:

In the future, in order to unblock Android, you will need to connect the dots in the sequence in which they were specified when activating the option.

In addition, there are also special utilities on Google Play that allow you to lock and unlock the Android display, but at the same time they have a much wider range of options than ordinary ones. Both paid and free versions are available. One of the best utilities of this type is Pattern Lock Screen.

How to remove Android screen lock: Video

How to unblock

Now let's look at how to unlock the Android screen:

To remove the password from the screen on an Android device in this way, you need to remember the code combination. But users often forget the codes they enter.

What to do when you forgot your pattern key on Android: Video

How to remove a forgotten code

There are ways to get into the operating system without forgetting the password.

The first is a factory reset. To do this, you need to enter the mode. How to get into it depends on the specific device: to find out the algorithm, you need to contact the official instructions or the manufacturer’s technical support. Select “Factory Reset” from the menu. All contacts and SMS will be erased, but the password will disappear along with them.

Another way to remove the screen lock password is. However, in this case there is a risk of getting a non-working device.

Advice: before turning off a gadget with a password set, it is recommended to write it down somewhere, then the risk that the code will be forgotten is minimized; There are special programs for generating and storing code words.

Disabling screen lock on Android: Video

If you have forgotten your set password or pattern on Android, there is no reason to panic. Access to your smartphone can be restored, and there are several ways to remove the lock. The updated instructions describe each of them in detail.

How to reset a password or lock on Android

(!) The article contains the main methods of resetting a password/pattern, ranging from the simplest (when you remember the username and password of your Google account) to the more complex: Hard Reset, deleting the “gesture.key” and “password.key” files. Read all the points carefully, follow the links provided for detailed instructions, and everything will work out!

Method 1: Enter your Google account information

Working method for devices running Android 4.4 and below. Starting with Android 5.0, this option was removed from many firmwares. But not all manufacturers did this, so check whether it works for you or not.

When your phone or tablet is connected to a mobile network or Wi-Fi, to remove the lock, you just need to enter your email and password. To do this, enter the pattern key incorrectly 5-10 times, after which a warning will pop up about blocking the device for 30 seconds.

The “Forgot your pattern key?” button will appear on the screen; by clicking on it, you can enter your data and unlock the device.

If you forgot your account password, you will have to recover it - go to this page from a working gadget or PC.

Please note that this method requires Internet access. Therefore, open the quick settings panel by swiping down (“the curtain can be opened directly from the lock screen on Android 5.0 Lollipop and newer) and turn on mobile data or Wi-Fi. The device will connect to the access point if it has previously worked on this network.

2. Reset picture password using ADB

The pattern can be removed using ADB. You need to connect the device via USB to your computer and enter the necessary commands. All details in

The method will only work when USB debugging is enabled.

Method 3. Reset to factory settings

The next method is simpler than the previous one, but using it will delete all data from the internal memory, such as installed applications, linked accounts, SMS, etc. Photos, audio and other files on SD will remain intact. You will find complete instructions in the article:.

The next time you activate the device, restore the data from the backup copy - it works provided that it was carried out previously.

Method 4. Flash a smartphone or tablet

By flashing your Android phone or tablet, you will remove the lock or password. On our website there is firmware for Android devices from various manufacturers, separately Samsung through and LG through.

Method 5: Removing gesture.key (pattern unlock) and password.key (password reset)

The method is intended for owners of phones and tablets with and. Its effect is that the system files “gesture.key” and “password.key” are deleted, which are responsible for displaying the graphic lock and password, respectively.

For this you need the Aroma file manager. Download the archive from the link and send it to your phone or tablet without unpacking it. Then turn off the device and . To do this, instead of the power button, press and hold one of the possible combinations (or read the FAQ for specific models):

  • Volume up + “ON”
  • Volume down + “ON”
  • Volume up/down + Power + Home

Using the volume up and down buttons, you can move up and down, respectively, and confirm your selection with the power/lock button. In new smartphones, Recovery can be touch-sensitive.

Instructions:

1. In the CWM Recovery menu, select “Install zip”.

2. Then click “Choose zip from /sdcard” and go to the folder where Aroma was downloaded or use “Choose zip from last install folder”. In the second case, you will see all the latest downloaded archives, among which you will find the one you need.

3. Select the archive with Aroma Explorer.

  • “gesture.key” (“gatekeeper.pattern.key” in new firmware)
  • "password.key" (or "gatekeeper.password.key" instead)
  • "locksettings.db-wal"
  • "locksettings.db-shm"

Select them and click “Delete” in the additional menu.

Finally, reboot your device. You can enter any password and the phone will be unlocked. Then feel free to go to the settings and set a new lock.

6. How to remove graphic lock via TWRP Recovery

Unpack the archive with Odin and run the program.

Switch your smartphone to firmware mode (aka Bootloader, download mode). To do this, with the device turned off, press and hold 3 keys:

  • “ON” + volume down + “Home” button

When you get to such a menu, press the Volume Up key to continue.

Android and the word “Downloading” will appear on the screen - which means you have switched Samsung to firmware mode.

Connect your phone to your computer via USB and wait for the drivers to install. The first cell “ID:COM” will display the connected port, and the message “Added” will appear in the logs.

Now click on the AP button (PDA in older versions of Odin) and select the Recovery file.

If there is a checkmark next to “AP”, and the path to the file is written in the field next to it, you can proceed.

To start the firmware, click “Start”.

Since the weight of the Recovery file is small, the process will take a couple of seconds. The message “All threads completed. (succeed 1 / failed 0)”, and in the upper left cell – “PASS!”. This means that the custom Recovery firmware was successfully installed.

Now turn off your phone and hold one of the key combinations to get into Recovery:

  • “Home” + volume up + power on
  • “Home” + “ON” (on older Samsung)
  • Volume up + power on (on older tablets)

Depending on the installed Recovery: CWM or TWRP, go to steps 5 or 6 of this article and delete the files:

  • "password.key" ("gatekeeper.password.key")
  • "gesture.key" ("gatekeeper.pattern.key")
  • "locksettings.db-wal"
  • "locksettings.db-shm"

13. How to remove the unlock key on Huawei and Honor: backup PIN code

On Huawei and Honor, in addition to the pattern key, a backup PIN code is used. Therefore, to unlock the device, you need to draw the pattern incorrectly 5 times, and the display will display the message: “Try again in 1 minute.” Wait 60 seconds for the “Backup PIN” button in the lower right corner to become active. Click on it, enter your PIN and the unlock key will be instantly reset.

14. Backup PIN on LG

When setting a screen lock on LG, you need to set a backup PIN code, which you can enter instead of a pattern or password, and unlock the phone.

To do this, draw an irregular graphic pattern until a message appears indicating that input is blocked for 30 seconds. Click “OK”, select “Forgot your pattern?” at the bottom, enter your PIN code and click “OK”.

15. Smart Lock function

Starting with Android 5.0, the system has a Smart Lock feature that allows you to disable the screen lock in certain situations. For example, when the device is at home or connected to a trusted device via Bluetooth. Depending on the device manufacturer, as well as the version of Android, there are different unlocking options using Smart Lock, such as voice detection, face recognition and others.

How to remove screen lock on Android? So that the smartphone does not turn on in a pocket or bag, so that the cat does not accidentally dial someone’s number by stepping on the gadget with its paw, a special function was created in it - screen locking. It’s very easy to enable this function, but what should those who would like to turn it off do? And perhaps the user has one.

Disable blocking

So, how to remove screen lock on Android? There are several options, including: the lock can be removed without problems or not removed at all. First, let’s try to take the easy route: go to “ Settings"gadget, then go to the item - " Safety" If the lock asks for a PIN code and it is impossible to remove it, then you need to go to the very bottom of the menu and look for the item called - “ Safety", click on it and move on. Find the line - “ Clear accounts».

Almost all models of gadgets controlled by the Google operating system are configured to go into a special mode - limited operation with the monitor turned off, that is, blocking. The latest models of smartphones are configured so that at the moment of locking, widgets appear on the screen: weather, time and quick access to popular utilities.

But, if the user needs, immediately after activation, to use the smartphone quickly and for it to work fully, then blocking will only interfere. Therefore, this function must be removed, and how to do this is described below.

So that the gadget instantly switches to “ Desktop"After switching on, you need to do the following:

Go to " Settings», Settings; Next, go to the point called - Security, that is " Safety"; and there, press the key Screen lock, « Screen lock", and then find the item - None, which means " Cancel" After following these simple steps, the smartphone will instantly go into operating mode, immediately after pressing the power button.

Lock on your tablet

It should be remembered that blocking the monitor is protecting information from intruders. Therefore, to prevent third-party people from using the gadget by canceling the blocking, you should launch some other protection method. For example, a protection method such as Lookout Security is suitable for both smartphones and tablets – it will block it remotely and clear the gadget’s memory.

But, if a person uses a gadget only at home, then why does he need to block and protect information? In this case, go to “Settings” and simply remove the check mark next to the “Screen lock” line.

How to remove screen lock on Android? Question answer.

  • If the screen is locked, the WI FI network automatically turns off. What to do?
    Go to the “Settings” of your smartphone, then find the “Additional functions” item, then find the line “Wi-Fi in sleep mode” and click on it.
  • Can I turn off the screen lock during a phone call?
    No. This cannot be done. However, you can configure the maximum time to turn off the phone display.
  • How to turn off the lock not with a graphic key, but simply by moving your finger to the side?
    Go to the “Settings” of your smartphone, then go to the “Security” item and there turn off the “Lock” function and enable the “Finger Shift” function. But, it should be remembered that any involuntary movement of the finger, especially if the phone is in a bag or pocket, will lead to some program being activated.
  • Is it possible to turn off the display of album covers on the smartphone display while it is locked?
    You should go to “Settings”, then to “Play Music” and turn off the function, but if this is not provided in the phone, then you cannot get rid of the covers.
  • How to remove screen lock on Android?
    Go to “Settings”, then find the item called “Security”, and there find the line – “Set up screen lock” and Turn off the function.
    Reset.
  • If the user has forgotten the pattern key, what should he do?
    Only special passwords will help, they are also password reset codes, called service numbers. Only with their help can you reset the pattern key and set up a new one. As a last resort, reset the settings to factory settings. To do this, you need to: simultaneously hold down two buttons on your smartphone - power and sound. Wait for the special menu to launch and then press the button to erase everything.

You can also do this: turn off the phone, then simultaneously press two buttons: turn on and volume. A menu will appear on the display, in which you need to select the line - wipe data/factory reset. The volume control buttons and the power button will help you navigate through the menu.
BUT! You should know that resetting to factory settings entails the loss of all photos, music and movies, phone numbers, and so on. Therefore, if there is a memory card, you need to remove it.

A call will help

How to remove screen lock on Android? A call will help you unlock the gadget. Simply, you can ask a friend, or call from your home phone to a blocked mobile phone. And when the bell rings, just press the HOME button, then go to “Settings” and change the access key. But it may also be that the phone model will not allow you to change the setting during a call.

Discharge smartphone

Continuing the topic of how to remove the screen lock on Android, we advise you to discharge the gadget, and when a notification about the battery status appears on the display, click on it and go to the “Battery Management Menu”, and from there go to “Settings” and change the code.

And one last thing. You can go to “Settings”, then to “Device”, then “Lock Screen”. A message will appear - “No” and click on it. There will be no more display locking. And if the smartphone was turned off, then hold down the volume and logo at the same time, “Menu” will appear and press “Home” there, and then press the power off button. Then proceed according to the standard scheme: “Settings”, “Screen management”, “Security” and select the item that is necessary. Confirm action.

Locking the screen of your phone is an important security feature that helps protect your smartphone not only from accidentally pressing the screen, but also from third-party users. Tell your password only to close people whom you completely trust. Phones based on the Android operating system have a high degree of security - if you forget your password to unlock the screen or a special pattern, you can lose all the data on your device. Write down your passwords in a safe place, such as a notepad, that only you can access, so you don't forget this important information. If you want to remove screen protection or have forgotten your password, read this article and take its basic instructions into account.

How to disable screen lock on Android

If you decide to remove screen protection with a password, pattern or fingerprint, then first make sure that no one will take your phone without the owner’s knowledge and will not try to take over personal information and passwords. Blocking is the most reliable way to protect your data. If you still decide to remove this function, repeat the algorithm outlined below.

  • Open your smartphone tray. To do this, swipe your finger from top to bottom across the device screen, starting from the very top edge, where the current time and battery status are located.
  • In the tray you will see some options, the date and time, and a small gear icon. Click on this picture.


  • All the smartphone settings will open in front of you. Scroll down this list until you see the line “Lock screen and security”. Click on this item.


  • In the “Screen lock type” field, you will see all the security locks that you currently have selected. Click on this option to disable them all.


  • To continue, enter the current password or pattern that you currently have installed.


  • Among all the options for setting a code on the screen, you will see the “No” option - this line removes all blocking options and removes them from the phone. Click to continue.


A warning will appear on the screen indicating that you need a screen lock to protect your information. Its absence can be fraught.

  • Click “Cancel” to cancel the action and still leave the block.
  • “Keep fingerprints” – remove the lock, but save the current fingerprints for the future.
  • “Delete fingerprints” – remove the screen lock and delete all saved fingerprint settings.

Make your choice.


  • Next, go to “Security lock settings” to remove all settings for auto-locking your phone.


  • Move the slider to the “Disabled” state next to the “Auto reset” item.
  • The Automatically lock option will now darken and lock the screen without a password—all you have to do is swipe your finger across the screen.


  • Also go to the “Lock screen and protection” menu and select “Secure Launch”.


  • Set it to “Do not prompt”.
  • This setting disables the prompt for a password or pattern after the phone is turned on. Now you have disabled absolutely all types of screen lock on your Andriod device.


How to disable screen lock on Android using antivirus

Some antiviruses impose their own blocking on applications and the phone screen. Typically, this function is only available in full versions of antiviruses, which come with a paid subscription. If your antivirus asks for a code, then try disabling it according to the instructions below.

  • Whatever your antivirus, their settings are designed approximately the same so that new users can understand the interface. Log in to your antivirus by clicking on its icon in the menu or on the desktop.


  • In this case, you need to enter the “Block applications” field at the bottom of the screen.


  • Set all sliders that are highlighted in blue to the “Disabled” position. At the top, also disable the function by pulling the slider.
  • Now the antivirus will not create barriers for you by locking your phone screen with your password.


How to remove screen lock on Android if you forgot your password

If you can't remember your screen passcode, then you have a problem - you may need to reset your device to factory settings.

  • Depending on your settings, you can enter a password or pattern endlessly or only fifteen times. With certain options, after fifteen incorrect attempts, the device itself resets all parameters and deletes the contents of the phone.


  • After some time, you will have an interval in attempts. At first it will be 30 seconds, then a minute and so on. If you still can't remember your password, you need to reset your settings. You can restore all data, photos, documents and other content later if you backed up your device to any virtual storage.
  • For example, Samsung devices copy data to Samsung Cloud, so you won't lose your files.