Pressing the power button turns on the screen, but instead of the desktop, the device requires you to enter a forgotten pattern key or an incorrect PIN code, completely blocking access to the data and functions of an Android smartphone. Despite the risk of your gadget turning into a useless piece of plastic and glass, there is no need to panic, since the operating system provides several legal ways to restore access, depending on the firmware version and pre-configured security settings.

Before taking radical measures, such as a complete data reset, you need to assess the situation and remember whether accounts were linked to the phone. If the device has been connected to the Internet and synchronized with your account Google, the chances of successful unlocking without losing photos and contacts increase significantly. In this article, we will analyze in detail all the current methods, from remote control to using the engineering menu, so that you can bring your gadget back to life.

Remember that modern data protection methods are becoming stricter with each security update. What worked on Android 5.0may be completely useless on Android 13 or 14. Therefore, it is important to act consistently, starting with the least destructive methods, and carefully read warnings about the possible consequences for your information.

Using Google's Find My Device service

The most reliable and official way to regain control of your device is to use a cloud service Find My Device (Find Device). This tool was developed by Google specifically for finding lost phones, but it also has remote locking and unlocking functionality. For this method to work, it is critical that the smartphone is turned on, has an active connection to the Internet (mobile or Wi-Fi) and has been logged into your account previously. Google was completed previously.

Go to the service website from any other device - a computer, tablet or friend’s phone. Enter the login and password for the account Googlethat is used on the locked smartphone. The system will try to determine the location of the device and offer three options: play sound, block the device or erase data. It is the function data clear in this context that is the key to solving the problem, since it deletes the lock screen along with all security settings.

⚠️ Attention: Using the “Clear data” function will completely delete all information from the internal memory of the phone. Photos, contacts and messages will be lost if they were not synchronized with the cloud in advance.

After confirming the reset operation, the phone will reboot. When you first launch it, it will look like new, without any password on the welcome screen. You will need to re-set the language, connect Wi-Fi and log into your account Google. If you had a backup enabled, the system will offer to restore applications and settings from the last saved version.

💡

Before using the reset function, make sure that the phone is at least 30-40% charged so that it does not turn off during the data deletion process, which can lead to file system damage.

Unlocking via Google account on older versions of Android

Owners of devices running older versions of the operating system (approximately before Android 5.0 Lollipop) are luckier. In those days, a convenient “Forgot your pattern key?” function was built into the locking interface. If you entered an incorrect code or pattern five times in a row, a special button appeared on the screen that allowed you to reset the protection through your account.

The procedure looked like this: after the inscription appeared, you had to click on the button Forgot your pattern key? or Forgot your PIN code?. An input window opened, where you needed to enter the login and password for the account Googlelinked to this smartphone. After successful authentication, the system offered to set a new blocking method or disable it altogether.

Unfortunately, in modern versions Android this function has been removed for security reasons. It was too easy for attackers to bypass the security by simply guessing the email password. Therefore, if you have a new phone, this method will most likely not work and you will have to move on to more complex options. However, if you have an old tablet or phone in your drawer, this method remains the fastest and safest for data.

📊 What version of Android is installed on your locked device?
Android 4.x - 5.x (Old)
Android 6.x - 9.x (Average)
Android 10 and higher (New)
I don’t know / I can’t check

Reset settings via Recovery mode (Hard Reset)

If remote methods are not available and the function through the account does not work, the only universal option remains - a forced reset via mode Recovery. This is a special service menu, hardwired into the device’s memory, which allows you to control the system at a low level, regardless of the state of the main interface. This method works on 99% of devices, regardless of brand, be it Samsung, Xiaomi, Honor or Pixel.

To get to this menu, you need to perform a certain combination of buttons when the phone is turned off. Most often, this involves simultaneously pressing the power button and one of the volume buttons. The exact combination depends on the manufacturer, so below is a table with the most common input options.

Manufacturer Button combination Additional conditions
Samsung (with Home button) Volume Up + Home + Power The phone must be turned off
Samsung (without the Home button) Volume Up + Power (or Bixby) Connect the USB cable to the PC
Xiaomi / Redmi Volume Up + Power Hold until the logo appears
Huawei / Honor Volume Up + Power Sometimes you need to connect the cable
Pixel / Nexus Volume Down + Power Then select Recovery mode using the arrows

After entering the menu you will see a list of items in English. Navigation is carried out using the volume buttons (up/down), and the selection is confirmed with the power button. You need to find an item containing the words Wipe data/factory reset or Clear storage. Be extremely careful: choosing the wrong item, for example Wipe cache partition, will not solve the problem with the password, since it clears only temporary files.

☑️ Algorithm of actions in Recovery

Done: 0 / 6

After confirming the reset, the process of formatting the internal memory will begin. This may take from a few seconds to a couple of minutes. Upon completion, the screen will return to the main Recovery menu, where you will need to select Reboot system now. The phone will reboot and you will see the initial setup screen, as if you had just bought the device in the store.

⚠️ Attention: On devices with Android 5.1 and above, FRP (Factory Reset Protection) protection will work after the reset. The phone will require you to enter the login and password for the Google account that was synchronized with the device before the reset. This is done to protect against theft.

Bypassing FRP protection (Google Account Verification)

Protection FRP (Factory Reset Protection) has become a serious obstacle for many users who have forgotten not only the screen password, but also the data from their Google account. After performing a Hard Reset, the system is locked at the welcome stage, requiring you to prove that you are the rightful owner by entering your email and password. If you do not remember this data, the phone turns into a “brick” from the point of view of the average user.

There are several ways to bypass this check, but they strongly depend on the specific phone model and the version of the security patch Android. Manufacturers regularly close exploited vulnerabilities, so there is no universal “remove FRP” button. Often, users have to look for specific instructions for their model, using another phone to search.

One ​​of the common methods involves using the capabilities of the browser or special applications launched through the accessibility menu. For example, when setting up Wi-Fi, you can try to bring up the Google keyboard (Gboard), go to the input settings and launch the browser from there. A special application for resetting accounts is downloaded in the browser or a new account is logged in, which “overwrites” the old one in the system.

Risks of bypassing FRP on your own

Attempts to use unverified apps to bypass protection can lead to the installation of malware on your computer or phone. In addition, incorrect actions may disrupt the operation of system partitions, which will require flashing the device at a service center.

If you can’t remember your account information, and the technical bypass methods seem too complicated, the most reasonable solution would be to try to restore access to the Google account itself through a computer. Go to the Google account recovery page, answer the security questions and, having access to your mail, you can easily unlock your phone.

Unlocking via USB debugging (ADB)

This method is only suitable for advanced users who have previously enabled the USB debugging (USB Debugging) mode on their smartphone in the "For" menu developers." If this option was active before the screen was locked, and you previously gave permission to debug this computer, you can try to delete the password file via the command line.

To do this, you will need a computer with ADB drivers installed and a USB cable. Connect your phone to your PC, open a command prompt (Terminal or CMD) in the ADB tools folder and enter the command to delete the key file. This file stores hashes of your pattern or PIN.

adb shell rm /data/system/gesture.key

Or, in some cases, you may need to delete the file locksettings.db. After executing the command, you must reboot the device. You can enter any random code or pattern on the lock screen, and the phone will unlock. However, it is worth noting that on modern versions Android with data encryption, this method often does not work, since without unlocking the screen, access to the partition /data is closed.

💡

The ADB method is effective only if USB debugging was enabled BEFORE locking the phone. If the developer mode was turned off, this method is useless.

Specific solutions for Samsung and Xiaomi

Some manufacturers add their own services that allow you to bypass the screen lock without losing data. For example, smartphone owners Samsung can use the service Find My Mobile. If you have created a Samsung account and linked it to your device, and also enabled the “Remote Unlock” function, you can go to the service website from your computer and remove any type of screen lock with one button.

This is the only legal way that keeps all your data intact. The service sends a command to the phone, and the protection is disabled programmatically. For devices Xiaomi there is a similar Mi Cloud service, but its functionality for unlocking the screen is limited and often requires preliminary configuration, which users rarely do in advance.

It is also worth mentioning the application Smart Lock, which is part of the standard Android. If you set up trusted places (such as home), trusted devices (smartwatches, headphones), or the On Body feature, your phone might remain unlocked under certain conditions. Try to go to the place that you indicated as safe, or connect a Bluetooth headset - perhaps the system will let you in without entering a password.

⚠️ Attention: Remote unlocking functions from manufacturers (Samsung Find My Mobile, Mi Cloud) only work if there is an active Internet connection on the locked device. If the SIM card does not work or Wi-Fi is turned off, the command will not reach the phone.

Prevention and creation of backups

The best way to deal with forgotten passwords is their correct storage and regular backups. Human memory is imperfect, and complex combinations invented for protection are forgotten most quickly. It is recommended to use password managers or write down codes in a secure place, inaccessible to others, but accessible to you in an emergency.

Regular synchronization with the cloud is your insurance. Set up automatic photo upload to Google Photos, synchronization of contacts with your Google account, and backup of application settings. In this case, even if you have to do a Hard Reset, you will lose a minimum of time restoring your usual environment for using the phone.

Also, do not neglect setting up alternative unlocking methods. Biometric sensors (fingerprint, face scanner) are convenient, but they may not work if you rebooted the phone or a lot of time has passed. Always have a spare PIN or pattern that you remember, and periodically check that it's working.

💡

Use the Smart Lock feature in your security settings to keep your phone unlocked when it's in your pocket or near a trusted Bluetooth device, such as a smartwatch.

What what should I do if the phone asks for a Google account after a reset, but I don’t remember it?

You need to restore access to your account via your computer. Go to Google recovery page, enter your phone number or backup email. If you don't remember them either, try to remember the date you created your account or your last passwords. Without entering the correct data from the account that was last on the phone, it is almost impossible to legally unlock the device due to FRP protection.

Will a reset via Recovery delete files on the SD memory card?

In most cases, the standard procedure Wipe data/factory reset affects only the internal memory of the device. Files on an external memory card (photos, music, documents) are usually saved. However, to be completely sure, before resetting, it is better to remove the memory card from the slot if the design of the phone allows this to be done without turning on the screen.

Is it possible to unlock the phone if it is completely discharged?

No, to perform any unlocking actions, including entering Recovery mode or receiving commands from the Internet, the phone requires a battery charge. Connect the device to the charger and wait at least 15-20 minutes before trying to turn it on or enter the service menu.

Will calling the phone from another number help you unblock it?

No, this is a myth that was relevant for very old versions of Android more than 10 years ago. On modern smartphones, an incoming call does not give access to the desktop or settings. The lock screen remains active, and you can only answer the call by swiping, without gaining access to the system.

Is it safe to use third-party apps to remove the password?

Using unverified software carries high risks. Many apps that promise “magic” password removal are actually viruses or ransomware. In addition, they often simply perform the same Hard Reset that you can do for free with buttons, but in doing so they can steal your data from your computer. Trust only the official methods of the manufacturer or Google.