How to reset Xiaomi phone to factory settings: 3 proven ways

Resetting Xiaomi’s smartphone to factory settings is a radical but effective way to return the device to a β€œsecond life”: it solves 90% of software problems, from brakes after upgrading to the consequences of viral attacks. However, not everyone knows that an incorrect reset can lead to the blocking of Mi Account or loss of important data. In this guide, we will discuss three official reset methods (through settings, Recovery and Fastboot), explain how to prepare the phone, and warn against the typical mistakes that even experienced owners of Redmi, POCO and Mi.

Importantly, the procedure is different for devices with an unlocked bootloader and those that are tied to a Xiaomi account. If you forget the Mi Account password, a Recovery reset can turn your phone into a brick β€” more on this in the section on risks and consequences. We also collected current data on models from 2022-2026, where Xiaomi changed the logic of the Recovery menu (for example, in the Redmi Note 12 and POCO F5).

Before you start, answer two questions:

  1. Do I need to save data (photos, contacts, messages)? If so, resetting through settings is preferable.
  2. Do you remember the username/password from Mi Account? If not, avoid using Fastboot.
πŸ“Š Why do you want to lose Xiaomi?
The device is braking.
Preparing for sale
Forgot the pattern lock
After a failed update
Other

Preparing the phone for resetting: what to do

Even if you're in a hurry, skipping this stage can result in data loss or device lockdown, and here's a checklist of mandatory actions:

β˜‘οΈ Preparing for Xiaomi's reset

Done: 0 / 5

Pay special attention to backup. Xiaomi has two ways:

  • πŸ”„ Mi Cloud: Go to Settings β†’ Mi Account β†’ Mi Cloud β†’ Backup. Minus - limit of 5GB on free fare.
  • πŸ’Ύ Local copy: in the same settings, select Local Backup. The file will be saved in the folder MIUI/backup/AllBackup internal.

Important for POCO owners: In POCO Launcher-based firmware, the path to backup may be different. Use a file manager (like Files by Google) and look for a folder by keyword backup.

If you plan to sell or transfer your phone, you must:

  1. Untie the device from Mi Account in Settings β†’ Mi Account β†’ Exit.
  2. Delete all Google accounts in Settings β†’ Accounts and Sync.
  3. Remove the screen lock (PIN, pattern lock, fingerprint).

πŸ’‘

If the phone doesn't turn on but is responding to charging, try holding the power + volume button for 10 to 15 seconds, which can trigger Recovery even on a dead battery.

Method 1: Reset via the settings menu (the safest)

This method is suitable if:

  • β˜‘ The phone is turned on and reacts to touch.
  • β˜‘ You remember the password from the lock screen.
  • β˜‘ No need to get around Mi Account.

The instructions are relevant for MIUI 12-14 (including HyperOS on new models):

  1. Open the settings (cog icon).
  2. Go to About Phone (in older versions – Additional β†’ Recovery and Reset).
  3. Select Resetting (or Delete all data).
  4. Click Erase all data and confirm the action.
  5. Enter the password from the lock screen (if requested).
  6. Wait for the reboot (it will take 5-10 minutes).

On HyperOS models (e.g. Xiaomi 14, Redmi Note 13), the path has changed: Settings β†’ Memory β†’ Resetting β†’ Delete all data.

What happens after the reset:

  • πŸ“± All applications and their data will be deleted.
  • πŸ“ž Contacts, SMS Calls will disappear (unless synced with Google).
  • πŸ“· Photos and videos will only remain if they are on the memory card (it can be removed before resetting).
  • πŸ”’ The phone will require re-association to the Mi Account when first enabled.
What if the phone asks for an old password after reset?
This means that Google FRP (Factory Reset Protection) has been activated before. To unlock: 1. Connect to Wi-Fi. 2. Enter data from the Google account that was linked to the phone before the reset. 3. If you don't remember the password, restore it via [link] (https://accounts.google.com). If the account is deleted, you will need firmware via Fastboot (see Method 3).

Method 2: Reset via Recovery Mode (if the phone is not turned on)

This method is used when:

  • πŸ”΄ The phone hangs on the logo. MI or POCO.
  • πŸ”΄ The screen does not respond to touch (but the device is switched on).
  • πŸ”΄ Forgot the unlock password.

The login algorithm for Recovery depends on the model:

Xiaomi modelButton combinationNotes
Redmi Note 10–12, POCO X3–X5Power + Volume IncreaseHold 10-15 seconds before vibration
Xiaomi 11T, 12, 13Power + Volume Increase (after Fastboot logo)In Fastboot, select Recovery with the volume button
POCO F1–F4Power + Volume + Volume reduction + Volume reductionSome of the firmware only works this combination.
Redmi 9, 9A, 9CPower + Volume Increase (hold to menu)It may take 2-3 attempts.

After entering Recovery:

  1. Use volume buttons for navigation, power button for selection.
  2. Select Wipe Data (or Clear Data).
  3. Confirm Wipe All Data.
  4. After completion, select Reboot.

⚠️ Attention: On models with MIUI 13+ And HyperOS, after resetting through Recovery, you may have a request to enter Mi Account data, even if the phone was not previously tied. This is due to Xiaomi's security policy. If you don't remember the password, use Method 3 (Fastboot).

For owners of Redmi Note 11 and newer: in some regional firmware, the Wipe Data item may be called Factory Reset or Erase All. If the menu is in Chinese, look for characters (clear the data).

Method 3: Fastboot Reset (for advanced users)

This method is the last chance if:

  • πŸ›  Phone locked off Mi Account after reset.
  • πŸ›  Recovery does not start or gives an error.
  • πŸ›  You need to run the device from scratch.

The work will require:

  • πŸ–₯ Computer with Windows/macOS/Linux.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ›  Mi Flash Tool or Fastboot Teams.
  • πŸ”“ Unlocked bootloader (unless previously unlocked).

Step-by-step:

  1. Turn off the phone.
  2. Press Power + Volume down until the Fastboot logo appears.
  3. Connect the phone to the PC.
  4. Download the Mi Flash Tool and firmware for your model (choose the Fastboot version).
  5. In Mi Flash Tool, click Select, specify the path to the firmware, then Refresh (should appear) COM-port).
  6. Select Clean All (full reset) and press Flash.

Alternatively, through ADB:

fastboot oem edl


fastboot flash all [name firmware].tgz




fastboot reboot

⚠️ Note: Fastboot Firmware on models with a locked bootloader (Redmi Note 10 Pro, POCO X3 Pro et al.) requires official unlocking through the Mi Unlock Tool. Without it, the phone will turn into a brick.

Important. POCO F3/F4: These models are used EDL-If the Mi Flash Tool can't see the device, try the command:

fastboot oem edl

After that, the phone will go to EDL, and it will be seen by the program QFil or Mi Flash.

Risks and consequences of discharge: what to fear

Factory resets are not harmless, but the real problems Xiaomi users face are:

  1. Locking Mi Account: if the phone was linked to the account, after reset, you will need to enter a login / password. Without them, unlocking is possible only through Fastboot (and then not on all models).
  2. Loss of IMEI: On some devices (e.g. Redmi 9T) the IMEI may be dropped via Fastboot, which will make it impossible for you to get mobile connectivity, and you can only recover it via the engineering menu (#4636##).
  3. This device is locked: appears on devices with a locked bootloader after a failed reset, the solution is official unlocking via the Mi Unlock Tool (it will take 7-15 days).
  4. Loss of warranty: If a reset resulted in firmware through unofficial tools (such as TWRP), Xiaomi’s service center may refuse warranty repairs.

How to minimize the risks:

  • πŸ” Always untie your Mi Account before resetting (if your phone is working).
  • πŸ“‘ Check it out. IMEI After the procedure, enter *#06#).
  • πŸ”§ Use only official firmware from the Xiaomi website.
  • πŸ”‹ Do not interrupt the reset process (even if the phone is long hanging on the logo).

πŸ’‘

If the phone doesn’t turn on or reboots after reset, try flashing it through Fastboot with the Clean All and Lock option option in the Mi Flash Tool. This will return the stock firmware and lock the bootloader, but will keep the warranty.

How to unlock the bootloader on Xiaomi before resetting

If you plan to reset via Fastboot or install custom firmware, the bootloader must be unlocked. Xiaomi officially allows this, but with restrictions:

  • ⏳ Waiting 7-15 days: after linking the account to the device, you need to wait (the period depends on the model).
  • πŸ”— Mi Account Link: The phone must be linked to the account from which the unlock request will be sent.
  • πŸ“Ά Stable Internet connection: the process requires a network connection.

Instructions for unlocking:

  1. Download the Mi Unlock Tool (Windows only).
  2. Enable OEM Unlock in the developer settings (Settings β†’ About Phone β†’ MIUI Version (click 7 times) β†’ Additional β†’ Developers β†’ Unlock OEM).
  3. Link the phone to Mi Account in Settings β†’ Mi Account.
  4. Launch the Mi Unlock Tool, log in to your account and follow the instructions.
  5. Connect your phone in Fastboot mode (Power buttons + Volume down).
  6. Press Unlock and wait until the end (the phone will reboot).

⚠️ Attention: On Xiaomi models 12S Ultra, Redmi K50 Unlocking the bootloader may result in loss of Widevine features L1 (no HD Netflix, Disney.+). It's irredeemable!

For the POCO F5 and Xiaomi 13, these models use a new anti-Rollback protection mechanism. Once you unlock the bootloader, you will not be able to return to the old version of MIUI, which will lead to locking the device.

Not all Xiaomi phones behave the same when reset, and we've collected some nuances for the most common models:

ModelFeatures of dischargeTypical problems
Redmi Note 10/11/12Resetting through settings works steadily. Recovery may require confirmation via Mi Account.After resetting via Fastboot, IMEI sometimes flies (solved by the firmware of the nvram module).
POCO X3/X4Recovery doesn't have Russian. Use volume buttons to navigate.Frequent firmware errors through Fastboot due to unstable USB-linkage.
Xiaomi 11T/12/13Recovery requires a binding Mi Account prior to resetting, and added account verification.After the reset, an error may appear β€œThis device is locked” (solved by official unlock).
Redmi 9/9A/9CResetting through settings takes up to 15 minutes. There is no touch control in Recovery.Frequent hanging on the logo after reset (helps re-firmware via Fastboot).
POCO F5/ProSupports Fastboot firmware without unlocking the bootloader (but with limitations).After reset, Widevine may need to be activated again. L1 for HD-content.

Important for Xiaomi 13 Ultra and Redmi K60: these models use the new HyperOS protection system. Reset via Recovery can lead to a Mi Account request even if the phone was not tied before.

Frequent questions about Xiaomi reset

Can you reset Xiaomi without losing data?
No, factory reset always deletes user data. However, you can: Back up via Mi Cloud or locally, copy a photo/video to a computer or memory card, sync your contacts with a Google account. If the phone is locked but turns on, try connecting it to your PC and copying files via MTP (in some cases, this works even without unlocking the screen).
The phone after reset asks for an old Google password. What do you do?
This is Google FRP (Factory Reset Protection). Solutions: Enter the data from the Google account that was linked to the phone before the reset. If you don't remember the password, restore it through accounts.google.com. If the account is deleted, you will need firmware via Fastboot with FRP removed (instructions are on the 4PDA forum). On some models (Redmi Note 8 Pro, POCO X2), you can bypass FRP through TalkBack (skills are needed).
The reset stopped, and now the phone doesn't turn on.
Possible causes and solutions: πŸ”‹ Battery is dead: plug in charging and wait 10-15 minutes, then try logging in to Recovery. πŸ›  Firmware interrupted: Fastboot your phone with the Mi Flash Tool (select Clean All). πŸ”§ System partition is damaged, you'll need to completely flash it with the bootloader unlocked. If the phone doesn't respond to the buttons, try holding power. + Volume up. + Volume reduction for 20 seconds (emergency reboot).
How to reset Xiaomi if you forget your Mi Account password?
There are no official ways to bypass Mi Account after resetting.Options: Restore password via account.xiaomi.com (access to account will be required). email/If your account is not yours (for example, the phone is bought by hand), contact the previous owner. For models with an unlocked bootloader, you can flash custom Recovery (for example, TWRP) and delete the file /data/system/mi_account, But it's risky. On new models. - Xiaomi 13, Redmi Note 12) Mi Account bypass is almost impossible without official unlocking.
After the reset, the mobile network doesn't work. What do we do?
Probable reasons: Flew IMEI: Check the code #06# instead of IMEI zeros - restore through the engineering menu (#4636##* β†’ Information β†’ Run ping test β†’ enter AT-Incorrect settings for teams APN: Go to Settings. β†’ SIM-maps and mobile networks β†’ Access points (APN) You can manually adjust it (options can be found on the operator's website). Communication module problem: run your phone through Fastboot with Save user data option (if available). IMEI lost, and the engineering menu does not help, you will need firmware module nvram through SP Flash Tool (for MediaTek) or QFil (for Qualcomm).