How to reset settings on Xiaomi to factory, if you forgot the password: the full guide

Introduction: Why Factory Resetting May Be the Only Solution

A forgotten password on a Xiaomi smartphone is a situation that thousands of users face every day. Unlike the iPhone, where Apple provides official unlock tools through iTunes, Android device owners often have to act on their own. Hard reset is a radical but effective method to regain access to the phone when other methods do not work.

There are pitfalls, however. First, once reset, all data β€” photos, messages, apps β€” will be permanently deleted unless sync with the Mi Cloud was enabled. Second, new Xiaomi models (starting with the Redmi Note 10 and Mi 11) may require a reset to enter data from the previous Mi Account if the device protection feature was activated, which means that without the username and password from the associated account, the phone will turn into a β€œbrick”.

In this article, we will discuss all the working methods of resetting a password on Xiaomi, including bypassing possible locks, and give recommendations on how to minimize data loss, POCO, Mi and Black Shark.

Preparation for resetting: what to do before the procedure

Before you start resetting, make sure you exhaust all alternative ways to unlock. For example, if your phone has a fingerprint or facial recognition set up, try using them - sometimes the system allows you to unlock the device even after several failed attempts to enter a password.

If there are no alternative methods, follow the following steps:

  • πŸ”‹ Charge your phone to at least 50%. Recovery or Fastboot resets can take up to 10-15 minutes, and battery drains in the process will cause permanent firmware damage.
  • πŸ“± Make sure you have access to the Mi Account tied to the phone. After resetting on the device-protected models, you will need to enter your login and password.
  • πŸ’Ύ Check if sync with Mi Cloud has been enabled, and if so, some of the data (contacts, notes, photos) can be restored after unlocking.
  • πŸ”§ Prepare. USB-cable and computer (for methods using Fastboot or Mi Flash Tool).

⚠️ Warning: On devices with an unlocked bootloader, a reset via Recovery may result in a loss of the ability to upgrade over the air (OTA). In this case, you will need to install updates manual firmware through Fastboot.

πŸ“Š What Xiaomi Unlocking Method You Have Tried Before?
Reset via Recovery
Used Mi Account.
I went to the service center.
Never blocked.
Another way.

Method 1: Recovery Mode Reset (without a computer)

The most versatile way to reset a password is to use Recovery Mode, which works on all Xiaomi models, including the Redmi 9, POCO X3, Mi 11 Lite and others, regardless of the version of MIUI. The main advantage is that you do not need to connect to a PC.

Instructions:

  1. Turn off the phone with a long press on the power button (or a combination Power + Volume up if the sensor is not responsive).
  2. Press the Power and Volume buttons up for 10-15 seconds at the same time until the Mi logo appears.
  3. Release the buttons when you see the Recovery menu (usually in English or Chinese).
  4. Use the volume buttons for navigation and the power button to select the Wipe Data item (or on Chinese firmware).
  5. Confirm the reset by selecting Wipe All Data (or similar).
  6. After the process is complete, select Reboot to reboot.

On some models (such as the Redmi Note 8 Pro), the Recovery menu may be in Chinese, in which case you should focus on the icons: the reset point is usually indicated by the image of a garbage can or a circular arrow.

β˜‘οΈ Preparing for resetting through Recovery

Done: 0 / 4

⚠️ Note: If after resetting the phone requires the entry of Mi Account data, and you do not remember them, the only way out is to contact the Xiaomi service center with proof of purchase.

Method 2: Fastboot Reset (for advanced users)

If Recovery Mode is unavailable (for example, due to a damaged firmware) or the phone gives an error when resetting, you can use Fastboot mode. ADB/Fastboot.

Step-by-step:

  1. Install Google’s Platform Tools on your PC (includes fastboot and adb).
  2. Turn off the phone and press Power + Volume down to enter the Fastboot Mode (a hare in a hat-eared image will appear).
  3. Connect your phone to your computer through USB-cable.
  4. Open the command prompt (cmd) in the folder with Platform Tools and execute the command: fastboot devices If the device is determined (its serial number will appear), continue. If not, install the drivers manually.
  5. Run the full reset command: fastboot erase userdata fastboot erase cache fastboot reboot

Some models (e.g., POCO F3) may require an additional command to unlock the bootloader:

fastboot flashing unlock

But keep in mind that this will result in the deletion of all data and resetting. DRM-Keys (Maybe Widevine support is missing) L1 for Netflix HD).

Xiaomi modelDoes Fastboot support resetting?Is it necessary to unlock the loader
Redmi Note 10/11Yes.Not (unless there was a manual lock)
POCO X3/X4Yes.Yes (on some firmware)
Mi 11/12Yes.No.
Black Shark 4/5Yes.Yeah (because of the custom bootloader)

πŸ’‘

If the fastboot device command doesn’t show your device, try using the original device. USB-Xiaomi cable and port USB 2.0 on a computer (Ports 3.0 sometimes cause recognition problems).

Method 3: Unlocking with Mi Account (official method)

If you have activated sync with Mi Account on your phone, you can try unlocking it through Xiaomi’s website, which only works if you have Internet access on a locked device (via Wi-Fi or mobile network).

Algorithm of action:

  1. On the locked screen, click Forgot Password? (or Forgot Password).
  2. Select the recovery option through Mi Account.
  3. Enter the linked email or phone number, then confirm your account ownership via SMS or backup email.
  4. Follow the instructions on the screen to create a new unlock password.

If this method does not work, try an alternative:

  • 🌐 Go to the Mi Account website from your computer.
  • πŸ”‘ Sign in with the same account as on your phone.
  • πŸ“± In the Devices section, find the locked phone and select Find the device option.
  • πŸ”„ Use the Unblock feature (if available for your model).

⚠️ Note: Remote unlocking via Mi Account is not available on all models. POCO M3 redmi 9A It may not be available due to manufacturer restrictions, and in this case, only reset methods via Recovery or Fastboot are left.

What if the Mi Account is not tied to the phone?
If the account was not tied in advance, it is almost impossible to restore access to the phone without a reset. The only chance is to contact the Xiaomi service center with a check about the purchase. In some cases, specialists can reset the account by serial number, but this is a paid service (from 1000 to 3000 rubles depending on the model).

What to do after reset: data recovery and setup

After a successful reset, you will have to initially set up the phone, and if you previously synced with Mi Cloud, some of the data (contacts, notes, photos) can be restored:

  1. When you first turn on, select the language and region.
  2. Connect to Wi-Fi.
  3. At the stage of logging in to your account, use the same Mi Account that was tied before the reset.
  4. In the Data Recovery section, select Mi Cloud and select categories for recovery (contacts, messages, photos).

If the sync has not been configured, try recovering data through third-party utilities, such as:

  • πŸ“ DiskDigger – to restore deleted photos and documents (requires root rights).
  • πŸ“± Dr.Fone - paid software for deep memory scanning (works without root, but with limitations).
  • πŸ” Recuva is a free utility for recovering files from a memory card (if it was inserted into your phone).

Important: after reset on some models Xiaomi may lose support for Widevine L1, which will lead to a decrease in the quality of streaming in Netflix, Disney+ and other services to 480p. To return the L1, you will need to reflash the phone with official firmware through the Mi Flash Tool.

πŸ’‘

If you plan to sell or transfer your phone after a reset, be sure to log out of Mi Account in the settings (Accounts β†’ Mi Account β†’ Sign out). Otherwise, the new owner will not be able to use the device without your login details.

Common Mistakes and How to Avoid Them

When resetting settings on Xiaomi, users often face typical preventable problems:

Mistake.Reason.Decision
Can't mount /data in RecoveryA damaged file systemRun Wipe Data Re-Off or Switch Your Phone through Fastboot
Phone asks for old password after resetMi Account Protection ActivatedEnter the data of the linked account or contact the service
Fastboot doesn't see the deviceLack of drivers or faulty cableInstall drivers manually or use the original cable
After the reset, there's no net.IMEI settings are down.Restore the IMEI through the Engineering Menu (#4636##)

One of the most critical mistakes is interrupting the reset process, for example, if you take out the battery or force the phone to turn off during Wipe Data, it can lead to:

  • πŸ”΄ Brick (complete incapacity) of the device.
  • πŸ”΄ Poose. IMEI (phone will stop catching the network).
  • πŸ”΄ Damage to section /data, What you need to flash through the Mi Flash Tool.

If the phone doesn’t turn on after the reset or hangs on the Mi logo, try:

  1. Press Power + Volume up for 20-30 seconds for forced reboot.
  2. Repeat reset via Recovery.
  3. Swipe your phone with the official firmware through Fastboot (instructions on the Xiaomi.eu forum).

FAQ: Answers to Frequent Questions

Can I reset my password to Xiaomi without losing data?
No, standard reset methods (Recovery, Fastboot) always delete user data. The only way to save information is if the phone was synced to Mi Cloud or you backed up through Settings β†’ System β†’ Backup.
What if the phone asks for an old Mi Account after a reset and I don’t remember it?
In this case, you will need: Try to restore access to the account through the Xiaomi website (forgot the password button?). If you cannot restore it, contact the Xiaomi service center with a document confirming the purchase (check, warranty card). Specialists can remove the binding of the account by serial number (paid service). IMEI or a complete loss of phone functionality.
Does Recovery work on all Xiaomi models?
Yes, Recovery mode is available on all Xiaomi smartphones, including budget models (Redmi 9A, POCO C31) and flagships (Mi 13, Black Shark 5). Except for devices with damaged firmware, where Recovery may not start.
Can I unlock Xiaomi through Google Account like I do on other Androids?
No, since MIUI 12, Xiaomi has removed the unlock function through Google Account (FRP).Now the only official ways are to reset via Recovery/Fastboot or restore access to Mi Account.
Will the password be reset via the Mi Flash Tool?
Yes, full firmware via the Mi Flash Tool (Clean All option) will delete all data, including the password. However, this method requires: Unlocked Bootloader. Official firmware for your model (you can download it on the Xiaomi website). Install Fastboot drivers. Instructions: 1. Download and install Mi Flash Tool. 2. Unpack the firmware into a folder without Cyrillic characters. 3. Connect the phone in Fastboot. 4. In Mi Flash Tool, select the folder with the firmware and click on the 5Refle and finish.