How to remove the password from the phone Xiaomi Redmi: a step-by-step guide

The situation of the owner forgetting the access code to his device is one of the most common problems in the world of mobile technology.Smartphones Xiaomi and Redmi, with powerful security system MIUI, They protect the user's personal data, but sometimes that protection turns against the owner of the gadget. PIN-A code or a complex password can completely block access to the interface, making the device a useless brick at first glance.

There are several proven ways to unlock and re-access the system, and the specific method depends on the version of the firmware installed, the presence of a linked Mi Account, and the enabled Find Device feature, which in some cases will do without losing data, but most often, you will have to sacrifice files stored in internal memory to completely reset the protection.

Before you start taking action, you need to clearly understand what kind of problem you are facing, this can be a lock screen, which we will talk about, or more serious lock Mi-account after flashing. If the device requires a password from the Mi-account after a complete data cleanup (Hard Reset), then this limitation is impossible to bypass standard methods without losing the warranty and using complex software. Below we will consider current methods for 2026-2026, which will help restore the health of your gadget.

Use the “Find Device” function from Google

The most civilized and easy way to unlock a phone if it is connected to the Internet is to use Google services, which works at the level of the Android operating system and allows you to remotely control access to the device. Successful implementation of this method requires that the locked smartphone has logged in to Google account, and geolocation and data transfer are activated.

The process of unprotecting through Google services does not require a computer or installing additional software. You will need any other gadget (tablet, phone of a friend or PC) with Internet access. It is important to understand that this method does not work on all versions of Android and MIUI, as security policies are constantly tightened.

Why might the method not work?
The “Device Lock” feature in Google Find My Device has been eliminated in newer versions of Android (starting with Android 10 and up) in favor of a complete data cleanup. So if you have a modern Redmi, chances are you can only remotely erase all data, not just change the code.

To start, go to the official Google Device Search website, enter the login and password from the account that is used on the locked phone, the system will try to locate your device, and if the status of the device is displayed as “Online”, you will see the available management options.

  • 🔍 Location: Lets you see where your phone is, which is useful if you’re not sure if you’re holding it.
  • 🔊 Play back sound: Includes maximum signal volume, even if the phone is silent.
  • 🔒 Lock device: allows you to set a new temporary password that will replace the forgotten one (works on older versions of Android).
  • 🗑️ Clean the device: Full reset to factory settings, removing all data and passwords.

If your interface option allows you to use the lock function, just enter a new code. After that, unlock the phone with this code and immediately change the security settings in the settings menu. If only the cleaning option is available, you will have to accept the loss of data to regain access to the system.

Unlocking the block through Mi Account

Xiaomi’s ecosystem includes its own analogue of Google services, which is deeply integrated into the MIUI shell. Xiaomi’s Find Device feature allows you not only to track location, but also to manage screen locking. This method is relevant if you previously created a Mi Account and tied it to the device, and also enabled the appropriate option in the security settings.

The main advantage of this method over a standard reset is the ability to remotely manage without immediately deleting all files (although in the latest versions of MIUI, data security is the priority).

📊 What type of lock you forgot?
pattern lock
Digital. PIN-code
A complex password
Fingerprint.

To use this method, go to the official website of the Xiaomi cloud service. Sign in using your Mi ID. In the list of connected devices, select your Redmi smartphone. If the device is displayed on the network, you will have access to the management functionality.

In the management interface, select the lock option. The system will prompt you to enter a new access code. Once confirmed, the new password will be sent to the device and replace the old one, which will allow you to log in and disable the protection in the settings.

⚠️ Note: If Find Device is enabled, the phone will require you to enter the Mi Account password after resetting your Hard Reset, which is a theft protection that can't be circumvented by simple reprogramming.

It is important to note that to work this method, the phone must be connected to a mobile network or Wi-Fi. If the gadget is turned off or in aeronautical mode, commands from the server will not be executed until the connection appears.

Resetting with Recovery Mode (Hard Reset)

The most versatile and effective method, which works 99% of the time, is a forced reset via the Recovery Mode, which does not require the Internet, a computer or knowledge of old passwords, since it is performed at a low level of the system.

Before starting the procedure, make sure that the battery is at least 30-40%. Interrupting the reset process due to battery discharge can lead to damage to system files and the inability to load the operation.--It's also highly recommended that you remove the memory card and SIM-map before manipulation.

☑️ Checklist before reset

Done: 0 / 4

To enter recovery mode, Xiaomi and Redmi use a combination of physical buttons. Turn the device off completely. Then press the volume button and hold it down, press the power button. Hold both buttons until the Mi logo appears, then release the power button, while continuing to hold the volume.

Once you enter the Recovery menu, you navigate with volume buttons (up/down), and the choice is confirmed by the power button. In some versions, the menu supports touch control. You need to select Wipe Data, then Wipe All Data, and confirm the action by selecting Confirm.

Action.Navigation buttonsConfirmation buttonThe result
Entrance to RecoveryLoudness + Nutrition-Download the recovery menu
Choice of menu itemVolume Up/down-Moving the cursor
Confirmation-NutritionExecution of the team
Reboot.-NutritionReboot to System

The cleaning process can take anywhere from a few seconds to a couple of minutes. Once completed, the message "Data wiped successfully" will appear on the screen. Select the Reboot option to restart the device. The first start of the system will take longer than usual.

Unlocking with computer and ADB

For advanced users who previously included on their device debugging mode USB (USB Debugging, there's a way to unblock it through a computer. This method uses the Android Debug Bridge toolkit (ADB). It allows you to send commands directly to the system, bypassing the lock screen, but only if the appropriate permissions were given in advance.

If debugging mode was not activated before locking, this method, alas, will not work. Modern versions of Android block ADB connection on the password entry screen for security reasons.

To start, you'll need to install drivers for your device and the SDK Platform Tools platform on your computer. Connect your phone with a cable to your PC. Open the command line in the ADB tool folder.

adb devices

If your device is listed as a device, you've got a connection. You can try to delete the file that stores the pattern lock information. The path to the file may vary depending on the Android version, but the most common command is:

adb shell rm /data/system/gesture.key

For digital PIN-The command may look different by affecting the password.key file. Once the command is executed, you need to restart the device. If everything is successful, the phone should start without asking for a password or accept any code entered.

💡

If ADB doesn’t see the device, try installing Google USB Driver Universal Drivers or Xiaomi specific drivers through Windows Device Manager.

Service codes and engineering menu

There is a myth that you can decode your password using special service codes that are entered through a "caller." Indeed, codes like ##7780## or ##3497153906# exist and are designed to reset settings or test the camera. However, dialing is usually not available on a locked screen.

Attempting to call an emergency number or exploit vulnerabilities in the call interface (which were periodically found in older versions of Android) on modern Redmi with current MIUI security patches is most often unsuccessful.

However, it is worth mentioning the existence of an engineering menu that can sometimes be triggered by button combinations at start-up, but it also most often requires an unlocked state to perform critical actions.Trying to use third-party apps from the Play Market to reset a password without root rights is also doomed to failure due to Android security limitations.

⚠️ Be careful with software from the internet that promises to hack any Xiaomi in 5 minutes.Most of them are malware or require payment for a feature that is technically impossible without a data reset.

What to do if your phone requires an account after a reset

After you run Hard Reset, you may be faced with an activation screen where the system will require you to enter a password from a Google account or Mi Account that was synced to the device before. FRP (Factory Reset Protection, designed to steal identity and device.

If you remember your account information, just type it in. It's a standard property verification procedure. You have problems if you forget your account password, too, and then you can only restore access through the process of restoring your account on another device.

💡

FRP-The lock is a protection against theft, not forgetfulness, and you can legally circumvent it only by knowing your account details.

There are complex technical bypasses of FRP through flashing or using special utilities (for example, Mi Flash Pro with authorization), but they require an authorized seller account or a service center. It is almost impossible for an ordinary user without account data to unlock the phone without contacting official support.

To prevent such situations in the future, it is recommended that:

  • 📝 Record passwords from important accounts in a safe place.
  • 🔐 Use biometrics (fingerprint, Face) ID) as the main method, and keep the password as a backup.
  • ☁️ Regularly backup data to the cloud.

Frequently Asked Questions (FAQ)

Can I unlock Redmi without losing photos and contacts?
Unfortunately, in modern versions of MIUI and Android, this is almost impossible. Data is encrypted, and the decryption key is your password or your pattern lock. Without it, access to the file system is closed, and the only chance is if you have synced with Google Photos or Mi Cloud, then the data can be restored after the reset.
Will resetting through buttons work if the phone is turned off?
Yes, to enter Recovery mode (Hard Reset), the phone must be turned off. The button combination triggers a special mode before the main operating system loads, which allows you to reset even when you forget your password.
What is Mi Unlock and will it help you to remove your password?
Mi Unlock is the official bootloader unlocking utility, and it's not designed to remove the screen password, and in fact, to run Mi Unlock, the phone needs to be unlocked and have access to the Internet, so it's useless in a forgotten password situation.
Will the phone be able to run through the computer?
Flashing through Mi Flash will completely replace the phone’s software, including the system partition with passwords. However, if the Find Device protection was enabled, after firmware is installed, the phone will still request the password from the Mi Account on the first activation.