The situation where the smartphone owner suddenly finds it impossible to get into the system happens more often than people think. PIN-A code or altered password from a Mi Account account could turn a modern device into a useless piece of plastic and glass.In 2026, Xiaomi, Redmi and the security systems of the company will be used to create a new system. POCO They are much stricter, requiring a comprehensive approach to restoring access.
Before taking action, you need to be clear about the consequences of the chosen method. Most of the methods described below involve the complete deletion of user data. This is a necessary security measure to protect confidential information in the event of a gadget being stolen. Unless you have previously backed up in the cloud or on your computer, it will be impossible to restore photos and contacts after the procedure.
In this guide, we will cover all the current methods of bypassing locks, from standard recovery functions to the use of engineering menus and specialized software. It is important to act consistently, since an error at any stage can lead to locking the device over IMI or activating protection against theft.
Preparation for the procedure of unlocking and diagnosis
The first step before any manipulation is to accurately diagnose the current lock, and users often confuse screen locking with account locking or locking. FRP-If the phone requires you to enter the code only after turning on or out of sleep mode, it is a local password. If you request a login and password from Google or Mi Account after resetting, we are dealing with a more serious level of protection.
To successfully perform the procedure, you will need a stable Internet connection. In some cases, the system may require proof of identity via SMS to the attached number or push notification to a trusted device. Make sure that the battery is charged at least 60%, as the reset and subsequent setup process can take a considerable amount of time.
βοΈ Checklist before reset
If you're trying to remember a password, try using the Forgot Password feature, which appears after several failed attempts to enter, the system may suggest you answer a check question or send the code to a backup email, which is the only way to save data without losing information.
Reset via Recovery (Hard Reset) menu
The most common and effective method, if you don't remember the screen password, is to run Hard Reset through Restore mode, which returns the device to factory settings, completely clearing internal memory. The method works on the vast majority of Xiaomi, Redmi and POCO models, regardless of the version of the HyperOS shell or MIUI.
To enter Recovery mode, you need to turn off your smartphone completely. Then press the volume button and the power button at the same time. Hold them until the Mi logo appears, then release the power button, keep the volume up. When the Recovery menu appears, move up and down with the volume button, and confirm the choice with the power button.
β οΈ Warning: After you run Hard Reset, the device can request a password from a previously synchronized Google account or Mi Account (FRP). If you do not remember this data, it will be extremely difficult to unlock the phone without contacting the service.
From the Recovery menu, select a language (usually English), then go to Wipe Data. Then select Wipe All Data and confirm the action by selecting Confirm. The formatting process will take anywhere from 10 seconds to several minutes, depending on the amount of memory. Once completed, click Back to Main Menu and select Reboot β Reboot to System.
What to do if the Recovery menu does not open?
Once you reboot, the phone will start as new, you will need to reset the original setup, connect to Wi-Fi and log in to your account, and all personal data, including photos, contacts and apps, will be permanently deleted.
Remote reset via Xiaomi Cloud
If the Internet was turned on on on the locked device and the Find Device function is activated, you can reset remotely via the web interface. This method is convenient because it does not require physical access to the smartphone buttons, which is important if the volume buttons fail.
Go to the official i.mi.com website from a computer or other smartphone. Sign in using the same Mi Account that was entered on the locked device. In the interface, select your device from the list of available gadgets.
- π± Click on the Find Device icon).
- ποΈ In the menu that appears, select the option "Wipe Data).
- π The system will require you to re-enter the password from the account to confirm the operation.
- β³ Wait for notification of successful completion of the operation.
Remote reset only works if the phone is on and has an active network connection (mobile or Wi-Fi).If the device is offline, the command will be queued and executed automatically as soon as the phone is online.
π‘
Remote reset via Mi Cloud works only if the phone was previously turned on the Internet and activated the service "Find the device".
This method also removes the screen lock, but leaves FRP protection active, meaning that once reset, the phone will still require you to enter a password from the Google account that was the main one on the device.
Google Find My Device with Google Find My Device
The alternative way, independent of the Xiaomi ecosystem, is to use Google services, a similar method to the previous one, but using a Google account linked to a smartphone, which is especially true if you don't remember the Mi Account data, but remember the username and password from Gmail.
Go to android.com/find and log in to your Google account. The system will try to locate your device. If your phone is online, you'll see three options in the side menu: Call, Lock, and Clear the device.
Select the option to Clear the device (Erase Device). The system will give a warning that all data will be deleted. Confirm the action. The smartphone will receive a reset command, then restart and begin the cleanup process. Unlike Mi Cloud, you do not need to re-enter the password if you are already logged in to the browser.
It is worth noting that after such cleaning, the phone may require proof of identity through the SMS to the number that was linked to your Google account. SIM-The card is active and is on the phone (if you havenβt taken it out) or you have access to the number to receive the code.
Unlocking the ADB (for advanced users)
The Android debugging bridge (ADB) method is more technically complex and only works if the developer menu has been activated on the phone in advance and USB debugging has been activated. If these items were not enabled before locking, this method will not work.
You'll need a computer with ADB drivers installed and a USB cable itself. Connect your phone to your PC. Open the Command Prompt (CMD) or PowerShell in the ADB folder and type in the command to check the connection: adb devices. If the device is displayed with device status, you can try to delete lock files.
adb shell rm /data/system/gesture.key
adb shell rm /data/system/keyguard/keyguard.key
adb shell rm /data/system/locksettings.db
adb shell rm /data/system/locksettings.db-wal
adb shell rm /data/system/locksettings.db-shmOnce the commands are executed, the device must be restarted. In some versions of Android and MIUI shells, deleting these files allows you to log in without a password, after which it can be changed in the settings. However, on new versions of HyperOS, this method is often ineffective due to enhanced security measures.
| Parameter | Hard Reset | Mi Cloud / Google | ADB method |
|---|---|---|---|
| Data retention | No. | No. | Maybe (depending on the OS version) |
| I need Internet on my phone. | No. | Yes. | No (PC needed) |
| Difficulty | Low. | Low. | Tall. |
| Risk of blocking FRP | High-pitched | High-pitched | Medium. |
FRP (Google Account Lock) and Mi Account
After successfully resetting a password with any of the above methods, the user is often confronted with an activation screen that requires the user to enter account details that have been synchronized with the device before, a FRP (Factory Reset Protection) protection system designed to prevent the use of stolen phones.
If you remember the username and password from Google or Mi Account, just type them in. If the data is lost or you bought the phone with your hands and do not know the history of its activation, the situation becomes more complicated. In the case of Mi Account, you can unlock the device only through an appeal to official support Xiaomi with the provision of a check for the purchase and a box with a box of products. IMI-code.
β οΈ Attention: Attempts to circumvent FRP using third-party software (Bypass tools) can lead to unstable operation of the system, blocking the system. IMEI malware or malware infection of the device: Official service centers do not take responsibility for devices with modified software.
For owners who are confident in ownership, there is a legal way to unlock through Xiaomiβs support site, you will need to download scanned copies of the purchase documents (check, warranty card) and a photo of the device.
π‘
Keep the box and check from your smartphone for at least a year after you buy it, the only proof of legal ownership that will help you regain access to your device if you lose your account passwords.