Forgot your pattern key or entered the wrong password on Android? The situation is familiar to millions of users - all it takes is one mistake when entering, and the system blocks the device for 30 seconds, a minute, or even requires a complete reset. But donโt rush to panic: in 80% of cases, the phone can be unlocked without losing photos, contacts and other data. The main thing is to act according to the algorithm that is suitable specifically for your model.
In this article we will analyze all working methods of unlockingfrom official (via Find My Device or account Samsung) to technical (mode Recovery i ADB). Let us separately dwell on the nuances for different brands - Xiaomi, Huawei, Sony and others, where manufacturers add their own layers of protection. And if the data is not critical, we will show you how to do hard reset in 5 minutes.
โ ๏ธ Important: methods using ADB or firmware require prior activation of debugging USB. If you have not enabled it, skip these sections and proceed to methods through accounts or service centers.
1. Unlocking via Google account (for Android 4.4โ9.0)
This method worked on older versions Android (up to Pie inclusive) and is still relevant for some budget models. If after 5 incorrect attempts to enter the password, the system prompts you to enter your username and password from Google โyou're in luck.
How it works:
- Enter any password 5 times in a row until the button appears
Forgot password?orUnblock via Google. - Specify the email and password from the account that was linked to the phone before blocking.
- Follow the instructions on the screen - the system will either reset the blocking or offer to create a new PIN.
โ ๏ธ Attention: Starting c Android 10 this method is disabled by default due to security vulnerabilities. If you have a new OS version, proceed to the following methods.
- โ Works on: Samsung Galaxy J, Lenovo A-series, Alcatel and other devices with Android 4.4โ9.0.
- โ Doesn't work on: Xiaomi (starting with MIUI 12), Huawei (EMUI 9+), Google Pixel (Android 10+).
- ๐ Alternative: If there are no buttons
Forgot your password?try entering the password 20 times - on some firmware this causes an automatic reset.
Why Google removed this method?
Since 2019, Google has banned unlocking through an account due to the risk of data leakage. Attackers could reset the password on a stolen phone if they knew the owner's email. Now unlocking requires physical access to the device or confirmation through the manufacturer's services (for example, Find My Mobile from Samsung).
2. Using Find My Device (official method from Google)
Service Find My Device from Google allows you not only to find a lost phone, but also unlock it remotely โprovided that:
- ๐ฑ The device is connected to the Internet (via a mobile network or Wi-Fi).
- ๐ Synchronization with Google account is enabled.
- ๐ Function
Find My Deviceactivated in the settings (Settings โ Google โ Security).
Step-by-step guide:
- Go to the site
google.com/android/findfrom another device. - Login using the same account Googleas on the blocked phone.
- Select the blocked device in the list (if there are several).
- Click
Device blocking(yes, blocking is not a typo!). - Enter new temporary password (for example,
123456) and confirm. - A field will appear on the phone to enter this password - use it to unlock.
After logging in, do not forget set a permanent password in the security settings Find My Device valid only once!
If the phone is not connected to the Internet, bring it to a familiar Wi-Fi network (for example, at home or in the office). Some models automatically connect to saved networks even in a locked state.
3. Unlocking through manufacturers' services
Major brands offer it. their own unlocking tools. For example, Samsung has Find My Mobile, and Xiaomi โ Mi Cloud. The main advantage: these services often work even on new versions of Android, where standard methods are disabled.
| Brand | Service | Link | Requirements |
|---|---|---|---|
| Samsung | Find My Mobile | findmymobile.samsung.com |
Samsung account, remote unlock enabled |
| Xiaomi/Redmi/Poco | Mi Cloud | i.mi.com |
Linked Mi account, synchronization enabled |
| Huawei/Honor | Huawei Cloud | cloud.huawei.com |
Huawei ID account, active Internet connection |
| Google Pixel | Find My Device | google.com/android/find |
Google account, geolocation enabled |
Example for Samsung:
- Go to
findmymobile.samsung.com. - Login using your account Samsung.
- Select a blocked device in the list.
- Click
Unblock(orUnlockin the English version). - Confirm the action via SMS or email.
โ ๏ธ Attention: On Xiaomi after unlocking via Mi Cloud you may need to pair the device again. Have at hand the SIM card that was in the phone before.
4. Reset via Recovery Mode (hard reset)
If no software methods work, the only option remains hard reset via recovery mode (Recovery Mode). This method will delete all data from the phone, including photos, messages and applications, but will restore access to the device.
How to enter Recovery Mode:
- ๐ Turn off the phone (press and hold the power button for 10-15 seconds).
- ๐ง Press the combination of buttons (depending on the model):
- Samsung:
Power + Volume Up + Bixby(orHomeon older models). - Xiaomi/Redmi:
Power + Volume Up. - Huawei:
Power + Volume Up(hold for 10 seconds). - Google Pixel:
Power + Volume Down, then selectRecovery Mode.
- Samsung:
- ๐ฑ Release the buttons when the brand logo or menu appears
Recovery.
Next:
- Use the Volume buttons to navigate and the Power button to select.
- Select
Wipe data/factory reset(or similar item). - Confirm the reset (
Yes โ Delete all user data). - After completion, select
Reboot system now.
โ ๏ธ Attention: On some models Xiaomi and Realme after the reset, you may need to enter the old account Mi or Realme (protection FRP). If you do not remember it, the phone will turn into a brick.
Make sure that the phone is charged at least 30%|Download a backup copy of the data (if have access to a PC)|Prepare the SIM card for reactivation|Check the button combination for your model-->
5. Unlocking via ADB (only for advanced users)
If on your phone USB debugging was previously enabled (Settings โ For developers โ USB debugging), you can try resetting the password via ADB (Android Debug Bridge). This method works on Android 5.0โ11.0, but requires a computer and minimal knowledge of the command line.
Step-by-step guide:
- Connect your phone to the PC via a USB cable.
- Open the command line (
Win + R โ cmd) or terminal on Mac/Linux. - Enter the commands in order:
adb shellsu
rm /data/system/gesture.key # for pattern key
rm /data/system/password.key # for PIN/password
reboot - After reboot, the password will be reset.
โ ๏ธ Attention: On Android 12+ this method does not work due to changes in the storage system passwords. Also ADB requires root access on some firmware (for example, ColorOS from Oppo).
Critical detail: if after the command su the error "Permission denied" appears, it means that the phone does not have superuser rights, and the method does not will work.
6. Contacting a service center: when all else fails
If all of the above methods do not work, there are two options left:
- Official service center brand (for example, Samsung Service or Xiaomi Authorized Center).
- Unofficial workshops (risky, but sometimes cheaper).
What you need to know:
- ๐ The official service will require purchase document (receipt or warranty card without it). refuse.
- ๐ฐ Unlocking cost: from 1,000 to 5,000 rubles (depending on the model and complexity).
- โณ Time frame: from 1 day to a week (in unofficial workshops they sometimes do it in 1โ2 hours).
- ๐ Risks: in uncertified centers they can install spyware or damage data.
โ ๏ธ Attention: On phones with eSIM chip (for example, Google Pixel 6 or Samsung Galaxy S22) after a reset in the service may you will need to re-activate the SIM card through the operator.
If the phone is under warranty, do not hack it yourself this will void the warranty obligations. It is better to contact an authorized center with your passport and documents. device.
The service center is the only legal way to unlock phones with FRP (Factory Reset Protection) without losing functionality. future
7. How to avoid blocking in the future
To no longer encounter the problem of a locked phone, follow these simple rules:
- ๐ Use biometric unlocking (fingerprint or facial recognition) as a backup option.
- ๐ Write down your PIN or password in password manager (for example, Google Password Manager or KeePass).
- โ๏ธ Enable automatic synchronization with Google Drive or the manufacturer's cloud (Mi Cloud, Samsung Cloud).
- ๐ง Activate
Find My DeviceiUSB debugging(in case of emergency unlocking). - ๐ฑ Regularly create backups via
Settings โ System โ Backup.
If you are afraid of forgetting your password, install an application for emergency access, for example Emergency Call Bypass (it does not work on all firmware). It allows you to add a button to the lock screen to reset the PIN via SMS.
FAQ: Frequently asked questions about unlocking Android
Is it possible to unlock the phone without losing it? data?
Yes, but only if:
- You have USB debugging enabled and have access to
ADB. - The phone is synchronized with Find My Device or the manufacturer's service.
- You remember the account data Google/Samsung/Xiaomi.
In all other cases, the data will be deleted.
What to do if after resetting the phone asks for an old Google account (FRP)?
This is protection Factory Reset ProtectionSolution options:
- Enter data from last Google accountthat was on the phone.
- If you donโt remember, contact the service center with documents.
- For Samsung you can use Find My Mobile to remove FRP.
โ ๏ธ Bypassing FRP through "holes" in the firmware may disrupt operation phone!
Does unlocking work by calling the emergency number (112)?
No, this method does not work on modern versions of Android (starting from 7.0). Previously, it was possible to access the menu through an emergency call, but now this vulnerability is closed.
Can I unlock the phone if it is turned off?
No. For any software methods (via Find My Device, ADB or account), the phone must be enabled connected to the Internet. If it is turned off, the only option is to reset via Recovery Mode or a service center.
What to do if the phone is blocked by the operator (IMEI is blacklisted)?
This is another problem - hardware blocking by IMEI. It cannot be removed programmatically. Options:
- Contact the operator with documents for the phone (if the blocking is erroneous).
- If the phone is stolen, return it to its rightful owner.
- Buy devices only from official sellers.