The situation when the screen of a Xiaomi, Redmi or Poco smartphone suddenly turns into an impregnable fortress due to a forgotten pattern lock or pin code is familiar to many. Panic is the first feeling that affects the owner, especially if important contacts, documents or personal photos are stored in the device's memory. However, the absence of a computer at hand does not mean that access to the gadget is lost forever.
There are several proven ways to bypass protection or completely reset the system to factory state directly from the device itself. Modern MIUI and HyperOS shells have built-in security mechanisms, but also provide backdoors for emergencies. It is important to understand that most methods associated with a complete reset will lead to the deletion of all user data.
In this article, we will discuss in detail the algorithms of actions for various scenarios, from using the Mi Cloud cloud service to logging into the Recovery engineering menu. You will learn what nuances unlocking on old and new versions of Android has, and how to avoid activating the Mi Account lock after the reset procedure.
Use the "Find Device" function via Mi Cloud
The most civilized and safe way to get back access to a smartphone, where data can be stored (in some cases), is through the use of the manufacturer's cloud service. If the device was pre-enabled and logged in to the Mi Account, you have a real chance to do without losing files.
Once logged in, you will see a control panel that displays your phoneβs location. Among the options available, there is often a remote screen unlock or full reset feature. However, it is worth considering that Xiaomiβs security policy changes periodically, and the option to unlock without deleting data may not be available on new versions of firmware or other regions.
If the unblock option is inactive, you can initiate a remote data cleanup, which force you to restart your phone and trigger Factory Reset by removing the forgotten password, and then you can log in again using your Mi Account.
β οΈ Note: Remote reset via Mi Cloud is only possible if the device is connected to mobile Internet or Wi-Fi. If the phone is turned off or in flight mode, the command will be executed only after it appears on the network.
The key advantage of this method is that you can perform all the actions remotely. You don't need to know the exact model of the processor or the version of Android, because the server will determine the device by IMEI or account binding.
Resetting with Recovery Mode (Hard Reset)
The most universal method, which works 99% of the time, is to use the Recovery system partition, which is built into the phone's memory, regardless of the operating system's state, and to get into it on a locked smartphone, you need to do a certain sequence of actions with physical buttons.
Turn the device off completely first. Then press the volume button and the power button at the same time. Hold them until the Mi or Redmi logo appears. Once the logo lights up, the power button can be released, continuing to hold the volume swing up until the main Recovery menu appears. The interface may be different: on some models it is touch-sensitive, on others it is controlled by volume buttons (up/down) and confirmation by the power button.
βοΈ Recovery login algorithm
In the Recovery menu, you're interested in Wipe Data or Clear Data. Once you select this, the system will request confirmation, as this action is irreversible. Select Wipe All Data and confirm the action. The cleanup process will take from a few seconds to a couple of minutes, after which the phone will automatically restart.
| Model/Series | Button combination | Type of menu | Risk of data loss |
|---|---|---|---|
| Xiaomi Mi 9 / 10 / 11 | Volume Up + Nutrition | Touch-sensitive | 100% |
| Redmi Note 8 / 9 / 10 | Volume Up + Nutrition | Button | 100% |
| Poco X3 / F3 | Volume Up + Nutrition | Touch-sensitive | 100% |
| Black Shark (series) | Volume Down + Nutrition | Button | 100% |
After the reboot, you will see the screen of the initial setup, as if you just bought a phone. All your photos, apps and contacts will be deleted if the sync was not enabled.
Unblocking through Google Account (for Android 9 and below)
On devices running older versions of the Android operating system (up to or including version 9), there was a vulnerability or rather a feature that allowed you to reset your password through your Google account. If you type in the pattern lock incorrectly five times in a row, a button may appear on the screen "Forgot the key?" or "Forgot the password?".
Clicking this button will prompt you to enter the username and password from the Google account that was the main one on the device, which allows you to unlock the screen without deleting data, but on modern versions of MIUI and Android 10-14, this feature is almost completely eliminated for security reasons.
Why did Google remove this feature?
However, owners of budget models from past years, such as the Redmi 7A, Redmi 8A or Mi A1, should try this method.In some custom firmware builds or on global versions with an outdated security patch, Google's data entry window may still pop up after multiple failed entry attempts.
If after 5-10 attempts the system does not offer to restore access through Google, then your smartphone is protected by more modern protocols, and you will have to resort to a complete reset via Recovery, described above.
Use of Service Code for Resetting (CIT Menu)
There is a myth that you can enter a special code into the "caller" even from a locked screen. This is not quite true: you can not dial the code from the lock screen. However, if you have the ability to call the emergency menu (for example, through the SOS function or if the phone allows you to open the dial for emergency services), you can theoretically try to use the codes of the engineering menu.
One common code for resetting settings on many Android devices, including some Xiaomi models, is ##7780##. Entering this combination should trigger a reset menu. But on current versions of MIUI, this code most often redirects to the Advanced Settings -> Reset menu, which is itself password protected.
β οΈ Note: Do not try to enter codes like this ##7780## or *2767*3855# Some of them may initiate an instant reset without further confirmation, resulting in data loss.
A safer option for using codes is to enter the CIT-The Factory Test is a button combination when booting, but it requires the phone to be turned off and is not always available without the bootloader unlocked. For the average user who has forgotten the password, this method is less effective than Hard Reset.
However, if your phone allows you to open the notification panel or power menu from a locked screen (which depends on the security settings before locking), you can try to launch the Phone app and type in the code. If the system has blocked digit entry, this method will not work.
Bypassing Mi Account lock after reset
After performing the Hard Reset procedure through Recovery, a modern Xiaomi smartphone will require you to enter the password from the Mi Account that was synced with the device earlier on the first boot. This is a feature of theft protection Find Device. If you do not remember the password from the Mi Account, the phone will remain locked even after the reset.
In this case, without a computer, the situation is complicated: you need to restore access to your account through any other browser. Go to id.mi.com and use the password recovery function. You will need access to the associated phone number or email.
π‘
If the phone number associated with the Mi Account is lost or unavailable, try to restore the SIM card from the carrier. Without access to the SMS code, it is almost impossible to restore the account.
If the account was deleted from the device before blocking (you logged out in the settings), then after resetting the request, the password will not be activated. The phone is activated as a new one, which emphasizes the importance of logging out before selling or transferring the device.
In cases where account data is lost irretrievably, official support for Xiaomi can help unlock the device only when you provide a check about the purchase and a box with a box of products. IMEI-Mi Lock bypass scripts without PCs on new Android versions are almost non-functional due to security updates.
Prevention of blocking and safety advice
To prevent a forgotten password situation from catching you off guard, it's important to set up backup access methods in advance. Biometrics (fingerprint or face unlock) is convenient, but it doesn't replace the digital code that is required after a device is rebooted.
It is recommended to check the sync status of your data regularly, make sure that your contacts, photos and notes are copied to the cloud, in which case even a full reset will not be a disaster, since you can easily recover information after entering a password from your account.
π‘
Regular data synchronization and remembering the password from the Mi Account is the only guarantee that locking the screen will not lead to irretrievable loss of information.
It is also worth writing a complex password or pin code to a secure location (notebook, password manager on another device). Using simple combinations like "1234" or "0000" reduces security, but complex passwords of 10+ characters human memory often can not withstand.
Remember that data-free unlocking methods are rare and depend on specific security holes in a particular firmware version, so the main and most reliable way is to recover Factory Reset from the backup.