After entering an incorrect password, pattern key, or system failure Android main screen may be locked โthe device displays a โDevice lockedโ notification, stops responding to touches, or requires Google account information. The reasons range from a simple error during unlocking to software conflicts after updating or installing applications. In most cases (up to 80%), the problem is resolved on its own - it is enough to apply proven methods for a specific version of Android (from 5.0 to 14) and smartphone model, without resorting to the services of a service center.
It is important to understand that unlocking methods depend on device models (Samsung, Xiaomi, Huawei, etc.), Android versions (from 5.0 Lollipop to 14) and lock type (PIN, pattern, fingerprint, Face ID). Some methods require first setting up a Google account or the Find My Device function, others work even without the Internet. In this article we will analyze all the current methods - from the simplest to the technically complex, including bypass FRP protection (Factory Reset Protection).
If you are reading this article on a locked phone through another gadget, go straight to the section "Emergency methods", which describes unlocking methods without losing data. In other cases, we recommend that you familiarize yourself with all the options to choose the best one.
Why Android blocks the main screen: 5 main reasons
Locking the screen is not always a consequence of your actions. Often the problem occurs due to system glitches or third-party applications. Here are the most common reasons:
- ๐ข Repeated incorrect password entry. Android locks the device after 5โ30 unsuccessful attempts (depending on the model). On Samsung Galaxy s Android 12+ you may be required to enter your Google account after 15 attempts.
- ๐ฑ Crash after OS update. This is especially true for devices Xiaomi, Realme i Oppo, where MIUI/ColorOS updates sometimes reset the lock settings.
- ๐ ๏ธ Damage to system files. Viruses, incorrect removal of applications or โcleaningโ through
ADBcan lead to a blocking cycle. - ๐ถ Activating Child Mode. On some devices (for example Huawei Mate), enabling "Children's Space" blocks access to the main interface.
- ๐ FRP protection after reset. If you reset the phone via
Recoverywithout disabling your Google account, the device will require the data of the previous owner.
On Android 9 Pie and newer a function has appeared "Lock after reboot" - the device may require a password even after normal restart. This is not a glitch, but a security measure that can be disabled in the settings (if the phone is already unlocked).
Method 1: Unlocking via Google account (for Android 4.4โ7.0)
This the simplest method that works for devices before Android 7.0 Nougat inclusive. If your smartphone was released before 2017 (for example Samsung Galaxy S6, LG G4, Sony Xperia Z3), try the following steps:
- Enter any password/pattern 5 times in a row until the message โForgot your pattern?โ appears. or "Forgot your password?" If two-factor authentication is enabled, you will need a code from SMS or application
- Click on this inscription - the system will prompt you to enter data Google account, which was associated with the device.
- Enter your email and password. If two-factor authentication is enabled, a code from SMS or app will be required Google Authenticator.
- After successful authorization, the device will be unlocked and you can set a new password.
Important: On Android 8.0 Oreo and newer this method doesn't work โGoogle has removed the ability to unlock through an account for security reasons. If you have a modern device, proceed to the next section.
โ ๏ธ Attention: If you don't remember your Google account password, recover it via recovery page (opens in a new tab). Do not use third-party services to โhackโ accounts - this violates the user agreement and may lead to blocking of the device.
Check your Wi-Fi/mobile network connection
Make sure your Google account is not deleted from devices
Have a backup email/phone number on hand to recover your password
Turn off the VPN (may block access to Google servers)
-->
Method 2: Using Google Find My Device
If synchronization with your Google account is enabled on your phone and you have access to the Internet, you can unlock the device remotely through the service Find My Device. This method works on all versions of Android, but requires:
- ๐ถ Connecting the phone to the network (Wi-Fi or mobile data).
- ๐ Enabled "Find device" function in settings (
Settings โ Google โ Security โ Find my device). - ๐ง Access to the Google account linked to the phone.
Instructions:
- Open the page on your computer or other phone Find My Device (the link will open in a new tab).
- Log in using the same Google account as on the locked device.
- In the list of devices, select your smartphone. If it is not displayed, refresh the page or check your Internet connection.
- Click. "Lock device" (Lock device).
- Enter new temporary password (twice) and click "Block".
- On a locked phone, enter this temporary password - device is unlocked.
After unlocking, do not forget to replace the temporary password with a permanent one in the security settings. If the "Find device" function is disabled, this method will not work - proceed to the next one.
If you have Samsung, use an analogue from the manufacturer - service Samsung Find My MobileIt allows. unlock the screen even without an Internet connection (via LTE).
Method 3: Booting in safe mode (to remove viruses)
If the screen lock occurred after installing the application or due to a virus, try booting the device in safe modeIn this mode, all third-party apps are disabled, and you can remove the problematic one. Software
Instructions for booting in safe mode:
- Turn off the phone (hold the power button and select "Turn off").
- Hold the power button to turn on the device.
- As soon as the manufacturer's logo appears on the screen (Samsung, Xiaomi etc.), press and hold the volume down button.
- Hold it until the phone boots up completely. The message "Safe Mode" (Safe Mode).
In Safe Mode:
- ๐ฑ Go to
Settings โ Applications. - ๐ Find suspicious apps (especially with administrator rights).
- ๐๏ธ Remove them and restart the phone in normal mode.
If the blocking remains after deleting applications, the problem is not in the software. In this case, only resetting the settings will help (see the next section).
โ ๏ธ Attention: In safe mode, everything is disabled. widgets and some system functions (for example, Bixby on Samsung or Google AssistantDo not be alarmed if the interface looks different - this is normal.
Method 4: Hard reset (Hard Reset) via Recovery Mode
If no software methods help, it remains reset to factory settings. This will delete all data from the device, including photos, contacts and applications, but will restore access to the system. The method works on all versions of Android, but a bypass may be required after the reset. data-i="146">(if the Google account has not been disabled). FRP protection (unless your Google account has been disabled).
Instructions for logging in Recovery Mode:
| Manufacturer | Button combination | Notes |
|---|---|---|
| Samsung | Power + Volume up + Bixby |
On new models (Galaxy S22 and newer) instead Bixby is used Volume down. |
| Xiaomi/Redmi/Poco | Power + Volume up |
On some models you need to hold buttons 10+ seconds. |
| Huawei/Honor | Power + Volume up |
On Huawei P30 and newer may require connection to a PC. |
| Google Pixel | Power + Volume down |
In the Recovery menu, select "Wipe" data/factory reset" via the volume buttons. |
| OnePlus | Power + Volume Down |
On OnePlus 8T and newer, the bootloader menu will first appear. |
After logging in Recovery Mode:
- Use buttons volume for navigation and power to confirm the selection.
- Select "Wipe data/factory reset" (on some devices - "Clear" eMMC").
- Confirm the reset (usually "Yes" or "Confirm").
- After completion, select "Reboot system now".
The phone will reboot and offer to set it up as a new one. If after the reset you are asked to enter your previous Google account data, this is FRP protection. How to bypass it, read in the next section.
What to do if you canโt enter Recovery?
If the button combination does not work, try:
1. 10โ15 minutes (a low battery may block entry to Recovery).
2. Use ADB commands from a PC (USB debugging mode must be enabled).
3. data-i="190">you first need to hold down Samsung you need to press first Power + Volume down, and after the logo appears, quickly switch to Volume up.
Method 5: Bypass FRP protection after reset (for Android 5.1โ13)
Factory Reset Protection (FRP) - this is a protection mechanism that is activated after a reset if the device had Google account linked. It requires you to enter the previous owner's details, making it difficult to steal or resell phones. Bypassing FRP is possible, but the methods differ depending on the Android version and device model.
Below are the current methods for popular brands. Attention: These methods are only for unlocking your own devices. Using them to bypass security on other people's phones is against the law.
Method 1: For Samsung (Android 9โ12)
- On the welcome screen, connect to Wi-Fi.
- Go back and click "Add network" (Add Network).
- In the network name field, enter
123456789, select it and click "Share" (Share). - Select "Gmail" and add a new Google account (or log in to an existing one).
- After authorization, reboot the phone - FRP will be bypassed.
Method 2: For Xiaomi (Android 10โ11)
- On the input screen Google account, click "Advanced settings" (More options).
- Select "Help" (Help) โ "Feedback" (Feedback).
- Click on the text input field, then on the three dots in the upper right corner and select "Share".
- Select "Gmail" and log in with your account.
- Return to the settings menu and reset via "Recovery and reset".
Method 3: Universal method for Android 5.1โ8.0
For older versions of Android you can use APK files to bypass FRP. You will need:
- ๐ฑ Another Android smartphone or PC.
- ๐ FRP bypass APK file (for example, FRP Bypass APK or QuickShortcutMaker).
- ๐ USB-OTG cable or memory card.
Download the APK to another phone, move it to a flash drive, insert it into a locked device and install the file through Explorer. After installation, launch the application and follow the instructions on the screen.
โ ๏ธ Attention: On Android 13 and newer, bypassing FRP is much more complicated. For Samsung Galaxy S23, Google Pixel 7 and other flagships of 2023โ2026, an official unlock key from the manufacturer may be required (for a fee).
Method 6: Emergency unlocking without data loss (for root users)
If If your device has root access enabled USB debugging, you can unlock the screen without resetting data via ADB (Android Debug Bridge). data-i="242">USB debugging Android SDK.
Step-by-step guide:
- Connect the phone to the PC via a USB cable.
- Open the command line (
Win + Rโ entercmd) and run the commands:adb shellsu
rm /data/system/gesture.key
rm /data/system/password.key
rm /data/system/locksettings.db
rm /data/system/locksettings.db-wal
rm /data/system/locksettings.db-shm
reboot - After rebooting, the phone will be unlocked.
If you have Android 10+, instead of deleting the key files, use the command:
adb shell am start -n com.google.android.gsf.login/
For Samsung c One UI an additional command may be needed:
adb shell content insert --uri content://settings/secure --bind name:s:user_setup_complete --bind value:s:1
If ADB does not recognize the device, check:
- ๐ The quality of the USB cable (try the original one).
- ๐ฅ๏ธ Are drivers installed for your model (download from the manufacturer's website).
- ๐ Is debugging mode enabled (
Settings โ About phone โ Build number- press 7 times, then return toSettings โ System โ For developers โ USB debugging).
The ADB method only works if USB debugging was enabled BEFORE blocking. If you have not activated this mode in advance, the method will not work.
Method 7: Reversal. to the service center (warranty cases)
If none of the methods listed above helped, or you are afraid of damaging the device with your own manipulations, contact official service center. This is relevant in the following cases:
- ๐ฑ The device is under warranty. (resetting yourself may void the warranty).
- ๐ The lock is due to a hardware malfunction (for example, the sensor does not respond to touches).
- ๐ก๏ธ The phone has a corporate security policy installed (for example, Knox on Samsung).
- ๐ฆ The phone was bought secondhand, and the previous owner did not unlink the Google account.
What to take with you to the service:
- ๐ Receipts or warranty card (if the device is under warranty).
- ๐ Passport (to confirm ownership).
- ๐ฑ Phone box (on some models Huawei and Xiaomi the serial number on the box is needed for unlocking).
- ๐ณ Card for payment (if the warranty has expired, unlocking may cost 1-3 thousand rubles).
The cost of unlocking in unofficial services is usually lower, but there are risks:
- โ ๏ธ Using unlicensed software that can leave backdoors.
- โ ๏ธ Loss of warranty (if the device is still under warranty service).
- โ ๏ธ Data corruption (unqualified services may perform the reset incorrectly).
โ ๏ธ Attention: In service centers Apple unlocking is performed only upon presentation of the original receipt. The Android rules are more loyal, but for devices with FRP you may need proof of purchase (for example, through a linked card in Google Pay).
FAQ: Frequently asked questions about unlocking Android
Is it possible to unlock the phone without losing data?
Yes, but only if:
- The device is enabled USB debugging and there is access to
ADB. - You remember data from Google account (on Android 4.4โ7.0).
- The blocking was caused by third party application (you can delete it in safe mode).
In all other cases, you will need to reset the settings, which will delete user data.
What to do if you forgot your Google account password?
Restore access via Google recovery page. If you do not have access to a backup email/phone number, contact Google support with proof of account ownership (for example, receipts for app purchases). The process may take up to 3-5 days.
Why does the phone ask for the old PIN after resetting?
This happens due to the function Secure Startup (on Samsung) or Protected launch (on other brands). It requires you to enter the last used password after reboot. If you do not remember it, you will have to reset it again, but after Fastboot Mode (you need a PC for this).
How to unlock the phone if the sensor does not work?
If the sensor does not respond to touches, but the screen turns on:
- Connect a USB mouse via OTG adapter โon most devices it will work even on a locked screen.
- Use the mouse to enter a password or go to
Recovery Mode. - If the mouse does not help, try connecting the phone to the PC and controlling it via
ADBor TeamViewer QuickSupport (if the function was enabled in advance).
If the sensor is physically damaged, it will need to be replaced at a service center.
Is it possible to unlock the phone via a SIM card?
No, SIM card will not help unlock the Android screen. Previously, on some devices Samsung the method was available through Emergency Call (emergency call), but after Android 7.0 this loophole is closed. The only thing you can do via SIM is to call the phone from another device to check if the microphone and speaker are working (relevant in case of hardware failures).