The situation when access to a smartphone is limited by a forgotten password or a triggered pattern lock is familiar to many users of the ecosystem of Redmi and Poco. MIUI and its new version of HyperOS provide a high level of data protection, but sometimes this becomes an obstacle for the owner of the device. If you are looking for a way to remove the lock screen Xiaomi, it is important to understand that the methods of solving the problem directly depend on whether you remember credentials or access to them is lost completely.
Modern Android security algorithms encrypt user information by linking it to the unlock key. Simple deletion of a password file without the appropriate access rights is often impossible without data loss. In this guide, we will look at all the legal and technical ways to regain control of a device, from standard Google features to the use of engineering menus and special utilities. The choice of method will depend on the specific model of your smartphone and the settings included earlier.
Before we start to take action, we need to evaluate the criticality of the photos, contacts and documents stored on the phone. Some of the methods described below involve completely resetting the device to factory settings. We have arranged instructions from the most gentle to radical methods so that you can try to save information if possible. Read the warnings carefully before you take each step.
Using Smart Lock to bypass protection
The easiest way to remove Xiaomiโs lock screen without data loss is only if the Smart Lock feature has been activated in advance in security settings. This technology allows the device to remain unlocked in trusted places, when connecting to certain Bluetooth gadgets or when you are hearing voice recognition. If you have previously configured trusted devices, such as a smartwatch or a car stereo, simply connect your smartphone to them.
To activate via voice control, just say the command โOK Googleโ or โUnlock the phoneโ if such an option was enabled. The system recognizes the voice of the owner and removes the lock by providing access to the desktop. After that, it is strongly recommended to go to the settings and disable the complex password, replacing it with a simpler or biometric.
โ ๏ธ Note: Smart Lock only works if the function was enabled before the access problem occurred. If the security settings were reset or the function was not activated, this method will not help.
Check the list of trusted places in Google settings. If your home or office is added there, visiting that geolocation will automatically remove screen protection. GPS-module.
๐ก
Turn on Smart Lock in advance for frequented places โ this will save time and nerves in the future by allowing you to not enter a password every time at home.
Resetting your password through your Google account (Find My Device)
If your smartphone is connected to the Internet and you have a Google account activated on it, you can use the remote control service. Previously, you could change the lock password through the web interface, but in modern versions of Android and MIUI shells, this feature most often leads to a forced data reset for security purposes.
To do this, go from your computer or other device to android.com/find and log in under the same Google account as the locked phone. The system will try to locate the device. If the connection is established, an action menu will appear on the screen. Select the option to Clear the device or Block to try to set a new temporary password.
- ๐ Make sure your phone is on mobile internet or Wi-Fi.
- ๐ฑ Google Accounts must be the primary account on your device.
- ๐ Geolocation services should work properly.
It's important to understand that in most cases, on newer versions of Xiaomi firmware, a remote command will result in a complete deletion of all data, which is a protective measure against theft: if the phone is stolen, the attacker will not be able to access the files, but the owner will lose information when trying to regain control, so this method is suitable if it is the access to the system, rather than saving files, that is the priority.
Engineering menu and reset code (works on old MIUI)
On devices with older versions of the MIUI shell (roughly before version 11-12), there was a vulnerability that allowed you to reset the pattern lock through an engineering menu, the essence of the method was to call a special menu through a standard dialer. If your phone is old, this method, because it does not require a computer.
You need to open the Phone app and dial the combination ##546368423## or ##3646633##. If the system responds and opens the Engineer Mode menu, go to the Common section and select Factory Test. Next, look for Hardware Testing -> UI Check (or similar in name). Some versions required just to click the "Clear eMMC" or "Format Data" button, which led to a reset.
| Model/Version MIUI | Performance of the method | Risk of data loss | Conditions required |
|---|---|---|---|
| Redmi Note 8 (MIUI 11) | Tall. | Yes (full reset) | Access to dialing |
| Xiaomi Mi 9 (MIUI 12) | Medium | Yes. | Unlocked loader |
| Redmi Note 10 (MIUI 13+) | Low. | Yes. | It's practically not working. |
| Poco F3 (HyperOS) | No. | Yes. | Method not applicable |
On modern devices, the login to the engineering menu via dialing is blocked by the manufacturer. Attempts to use third-party applications to emulate a call are also often blocked by the MIUI security system. If the code does not work or the menu does not open, do not waste time - move to the next method.
โ ๏ธ Warning: Donโt download dubious applications from unverified sources that promise to โhackโ the engineering menu, they may contain malicious code that will steal your data when you first connect to the network.
Recovery Mode (Hard Reset)
The most universal and guaranteed way to remove the lock screen Xiaomi is to perform hard reset (Hard Reset) through the recovery mode. This method deletes all user data, including photos, contacts, apps and most importantly, the lock file screen, the device will return to the state โlike from the storeโ.
To enter Recovery mode on a phone that is turned off, press both the power button and the volume button. Hold them until the Mi logo or Main Menu appears. This menu is controlled by volume buttons (up/down), and the choice is confirmed by the power button.
โ๏ธ Algorithm of actions in Recovery
From the menu, select Wipe Data, then Wipe All Data. The system will warn you that you will not delete it. Confirm the action. Once you have completed the process, select Reboot -> Reboot to System. The first download can take up to 5-10 minutes.
An important nuance for Xiaomi users is that once reset, the system will require you to enter a password from Mi Account or Google Account that was synced with the device earlier. This is anti-theft protection. If you don't remember the password from your Mi Account, unlocking the phone will be extremely difficult without going to the service center with a check for purchase.
Removing the lock via ADB (USB debugging required)
If the phone was pre-installed on debugging USB (USB Debugging, in the developer menu, you can try to delete the lock file without completely resetting the data. ADB cable USB.
Connect your smartphone to your PC. Open the Command Prompt (CMD) or PowerShell on your computer in the ADB tool folder. Enter a command to check the connection:
adb devicesIf a device with device status appears on the list, the connection is established, then you need to enter a command to delete the file that stores the pattern lock or password:
adb shell rm /data/system/gesture.keyDepending on the type of lock:
adb shell rm /data/system/password.keyAfter you execute the command, restart the device. In most cases, the lock screen will disappear and you can set a new pin. However, if the phone requires unlocking immediately after you turn on (before booting the system), this method may not work, since the /data partition will be encrypted.
What if ADB canโt see the phone?
Specialized software: XiaomiMiTool and analogues
There are a number of software solutions developed by enthusiasts and companies to work with Xiaomi devices, one of the popular tools is XiaomiMiTool (or its forks), which allows you to interact with the phone at a deep level, sometimes bypassing standard restrictions.
The process is usually this: install software on your PC, plug in your phone, go to Fastboot mode (clamping power and volume down), the program reads information about the device and offers options. Some features may be paid or require authorization through Mi Account with a certain level of access.
- ๐ The program allows you to backup data before reset (if the Android version allows).
- ๐ Ability to re-flash the device in case of errors.
- โ ๏ธ Requires a stable Internet connection and a developer account.
Using third-party software always carries risks. Incorrect action can lead to the โbrickingโ of the device (turning into a useless piece of plastic) or blocking by IMEI. Use such tools only if you are confident in your actions and understand the consequences.
โ ๏ธ Note: Official Xiaomi support is not responsible for any problems that arise after using third-party software to unlock.
Frequently Asked Questions (FAQ)
Can I remove the lock screen Xiaomi without losing data?
What to do if your phone asks for a Mi Account after a reset?
Will the phone reflashing help remove the password?
Is it possible to unlock Xiaomi through a fingerprint if you forget your password?
๐ก
The most reliable way to avoid access issues is to regularly back up your data to the Mi Cloud or Google Drive cloud and remember your account password.