A situation where the smartphone screen suddenly becomes inaccessible due to a forgotten access code can knock out any Xiaomi or Redmi owner. Often we set up complex combinations for security, but human memory sometimes fails, blocking access to important contacts and applications. MIUI There are several scenarios for solving the problem.
There are many ways to restore access, from simple actions through the cloud service to more complex manipulation of the engineering menu. The choice of the particular method depends on whether you signed in to the Mi Account in advance and whether the device search function is enabled. In some cases, you can do without losing personal files, in others you will need a complete reset.
The next steps require careful consideration, as incorrect steps can lead to locking the device over IMEI or complete loss of data. We will look at current action algorithms for models of different years of release, including the latest firmware versions. It is important to determine exactly what type of lock is installed before you start active actions.
Using Mi Accounts to Remotely Unblock
The most civilized and secure way to get back access to your smartphone is to use the Xiaomi Cloud service. If you log in to your Mi Account on a locked device and activate the Find Device option, you can delete your password remotely, and you will need any other gadget with Internet access, whether it is a computer or a tablet.
You have to go to the official cloud storage site and log in with the same credentials as the locked phone. The interface allows you to control the device remotely, including the function of erasing data or unlocking the screen. This method only works if you have an active Internet connection on the smartphone itself, otherwise the command will not reach the destination.
After successful authorization in the interface, select your device from the list of available gadgets. The system will offer several options, among which we are interested in the option of locking the screen or cleaning the data, which will automatically remove the old pin code.
- π± Make sure your smartphone is charged and connected to a mobile network or Wi-Fi.
- π Go to i.mi.com from any browser.
- π Enter the login and password from your Mi Account.
- ποΈ Select the βErase Dataβ or βUnblockβ function in the device menu.
It's worth noting that after this procedure, all the data on the internal drive will be deleted if you choose to clean it completely, but this is the only guaranteed way to unblock it without losing warranty and without using third-party software. If the Internet on the phone is turned off, the command will be executed automatically as soon as the device appears on the network.
Reset via Recovery (Hard Reset) menu
If cloud-based methods are not available, a recovery mode known as Recovery Mode comes to the rescue, a low-level menu built into firmware that allows you to perform system operations regardless of the operating system state, and is entered by a combination of physical buttons when the device is turned off.
First, turn off the Redmi smartphone completely. Then press the volume button and the power button at the same time. Hold them until the Mi logo appears, after which the power button can be released, continuing to hold the volume up until the menu appears.
βοΈ Recovery login algorithm
In the menu, the navigation is done with volume buttons (up/down), and the power button selects the item. You need to find the Wipe Data item and confirm the action, and the system will warn you that all data will be destroyed, requiring confirmation.
β οΈ Warning: Once reset via Recovery, the device will require you to enter a password from the Mi Account that was previously synced.This is a theft protection that cannot be circumvented by a simple reset.
The cleaning process takes anywhere from a few seconds to a couple of minutes, depending on the amount of memory filled, and once completed, the phone will automatically restart, and you will see the screen of the initial setup, as when you first turn on the new device.
Unlocking the Google Find My Device
An alternative to the Xiaomi cloud is Googleβs standard service, which is pre-installed on all certified Android smartphones. If your device has a Google account activated and geolocation enabled, you can use the Find My Device platform to manage access.
The technique is similar to using Mi Cloud: go to the service site from another device, select your phone and choose the cleaning option, the main difference is that it is binding to Google email, not to the phone number or Xiaomi ID.
| Parameter | Mi Cloud | Google Find My Device |
|---|---|---|
| Tethering | Mi Account. | Google Account |
| Network requirement | I'll be sure. | I'll be sure. |
| Photo preservation | Maybe (in the cloud) | No (only reset) |
| Speed of operation | Medium |
Using Google tools is especially effective if you donβt remember the password from your Mi Account, but remember the data from Gmail.However, as in the previous case, this will result in the complete removal of user data from internal storage.
What if the phone doesnβt see the network?
It's important to understand that once you unlock it, FRP (Factory Reset Protection) protection will work, which means that when you first set up the phone, you'll need to enter a password from the Google account that was synced before you reset, which is a security measure to prevent the stolen devices from being used.
Use of Fastboot Mode and Computer
For more advanced users, there is a method of unlocking through Fastboot Mode. This mode is designed for low-level interaction with the device's firmware and is often used in flashing or deep system restoration, USB-cable and installed drivers ADB/Fastboot.
To enter this mode, you need to turn off the phone and press the power button and the volume down button at the same time, and the image of a rabbit repairing an android will appear on the screen, indicating that you have successfully entered bootloader mode. Connect the device to the computer with a cable.
fastboot devices
fastboot oem unlockEntering these commands in the command line (provided the bootloader is unlocked) can allow you to reset partition data. However, on modern versions of MIUI with a locked bootloader, this method will not work to reset the screen password without officially unlocking the bootloader, but only confirm the connection with the PC.
π‘
Use the original. USB-Cheap "charging only" cables don't transmit data, and the computer won't see the phone in Fastboot mode.
If the bootloader is unlocked earlier, then through the Fastboot you can flashed clean firmware, which is guaranteed to remove any locks on the screen. Otherwise, this method is more suitable for diagnosing or installing custom recovery, which is already a difficult procedure.
Unlocking the lock via USB debugging (ADB)
There is a theoretical possibility to delete a file with passwords via USB debugging, but it only works if this function was activated in the developer menu before blocking. If the debugging option on USB was enabled and the computer was previously authorized, you can try to delete the system key file.
To do this, connect the phone to the PC, open the command line and enter a command to access the shell interface. Next, you need to go to the data directory and delete the file responsible for storing the pattern lock or PIN-code.
adb shell
cd /data/system
rm gesture.key
rm password.keyOnce the commands are executed, you need to restart the device, and if it goes well, the lock screen will either disappear or allow you to enter any code that will accept it. Unfortunately, on Android 10 and above, the security level is significantly increased, and this method works extremely rarely.
β οΈ Warning: Attempts to infiltrate system files without proper qualifications can lead to a cyclic reboot.
It is worth mentioning that newer versions of firmware have closed access to the /data/system folder without root permissions even when debugging is enabled, so this method is more relevant for older Redmi models with Android 7-9.
Prevention of blocking and backups
To prevent a forgotten password from being taken by surprise in the future, you need to take regular preventive measures, and the most important recommendation is not to turn off sync with cloud services, which is your insurance in case you lose access to your device.
- πΈ Set up automatic uploading of photos in Google Photos or Mi Cloud.
- π Keep password records in secure notebooks or password managers.
- π Remember the control questions tied to your accounts.
- πΎ Repeat important contacts on a regular basis SIM-map or export to file.vcf.
It is also useful to check the health of accounts periodically by logging in from your browser. If you change your phone number, be sure to update the recovery data in the Mi and Google security settings, which will allow you to receive confirmation codes when you try to sign in from new devices.
π‘
Regularly synchronizing data with the cloud is the only way to guarantee that information is saved when an emergency password is reset.
Ignoring these simple rules can result in not only loss of access, but also years of accumulated photos and correspondence. Modern smartphones store vast amounts of personal information, the value of which is often realized only after loss.