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

Resetting Xiaomi to factory settings is a radical but sometimes necessary step to fix system problems, prepare the device for sale or eliminate the consequences of a failed upgrade.The procedure removes all user data, applications and settings, returning the smartphone to the β€œout of the box” state. However, not everyone knows that there are three official reset methods – through the settings menu, Recovery mode and Fastboot – each of which is suitable for different situations.

In this article, we will discuss all the ways to take into account the features of MIUI firmware (including the global and Chinese versions), explain how to bypass the Mi Account lock after resetting if you forget your password, and warn against typical errors that can turn a smartphone into a β€œbrick.”

Preparation for resetting: what to do before the start

Before you start resetting, make sure you follow all the critical steps. Neglecting preparation can lead to the loss of important data or even locking the device, starting with the most obvious: backup.

Create a backup through the built-in MIUI tools: Settings β†’ About Phone β†’ Backup. Alternatively, use Xiaomi Cloud (requires authorization to Mi Account) or third-party services like Google Drive. Please note that some data (such as WhatsApp messages) is not automatically saved – it needs to be exported manually.

  • πŸ”‹ Charge your smartphone to at least 50% – interruption of the process due to battery discharge can damage the firmware.
  • πŸ“± Make sure you know the username and password from the Mi Account attached to the device.
  • πŸ”‘ Write or take a picture. IMEI This will help you to restore access to the mobile network if something goes wrong.
  • πŸ“‘ Connect to a stable Wi-Fi network – after reset, you will need to download updates and restore applications.

⚠️ Note: If the Find Device function is enabled on the smartphone, the Mi Cloud factory lock may work after the reset. β†’ Mi Account β†’ Find Device.

πŸ“Š Which Resetting Method Do You Use More Often?
Through the settings menu
Through Recovery.
Through Fastboot.
Never dropped it.

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

This method is suitable if the smartphone is turned on, you have access to the menu, and you remember the pattern lock or PIN-The procedure takes 5-10 minutes and requires no additional tools.

Instructions for MIUI 12-14 and HyperOS:

  1. Open Settings β†’ About the phone β†’ Reset settings.
  2. Select to erase all data (reset to factory).
  3. Enter the screen lock password (if installed).
  4. Confirm the action by clicking Delete Everything.

After the reboot, the device will be as new.

Backup checked | Battery charge >50% | Find Device function disabled | Mi Account-->

On some models (such as Xiaomi 13 Pro or Redmi Note 12), the path may be slightly different: Settings β†’ Additional β†’ Restore and Reset β†’ Reset. If you don’t find an item, search by settings (the magnifier icon in the upper right corner).

⚠️ Note: HyperOS devices may need to re-link Mi Account after a reset, even if you have correctly entered the data.

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

If the smartphone is stuck on the logo, does not respond to touch or is blocked, Recovery mode will help. This method works even without access to the main system, but requires accuracy - errors can damage the firmware.

To enter Recovery:

  1. Turn off the device (press the power button for 10-15 seconds).
  2. Press the combination of Loudness up + Power and hold until the Mi logo appears.
  3. Release the buttons and you will see a menu in English or Chinese.

To navigate, use volume buttons (up/down for selection, power for confirmation).

From the Recovery menu, select: Wipe Data β†’ Wipe All Data β†’ Confirm.

Once the process is complete, go back to the main menu and select Reboot β†’ Reboot to System.

Xiaomi modelCombination for entering RecoveryFeatures
Redmi Note 10/11/12Volume up + NutritionMenu in English, support for sensory control
Xiaomi 12/13 SeriesVolume up + NutritionRequires confirmation via Mi Account after reset
POCO F3/F4/F5Volume up + NutritionThere is an Advanced item on the menu to reset the cache
Xiaomi Pad 5/6Volume up + Volume down + NutritionAdditional Wipe Cache item for cleaning the cache
What happens if Recovery does not open?
If after pressing the combination, the smartphone vibrates but does not load the menu, try: 1. Connect the charger (sometimes helps with a discharged battery). 2. Use another combination: Volume down + Power (older models). 3. Flash the device via Fastboot (see Method 3). If the menu appears but does not respond to buttons, the sensor may be damaged, try connecting. OTG-mouse.

Method 3: Fastboot Reset (for power users)

The Fastboot method is the most radical and requires a computer connection, and it's used if:

  • πŸ”„ The smartphone does not load even in Recovery.
  • πŸ”“ You need to bypass the Mi Account lock (only for unlocked bootloader).
  • πŸ“¦ Refuse the device to a clean version MIUI/HyperOS.

The work will require:

  • Computer with ADB/Fastboot drivers installed (you can download from the official Android website).
  • USB Type-C cable (preferably original)
  • Firmware file for your model (download only from the official Xiaomi resource).

Step-by-step:

  1. Turn off your smartphone and press Volume Down + Power to enter the Fastboot (the image of a hare in a hat-eared will appear).
  2. Connect the device to your PC and open the command line in the folder with the platform-tools.
  3. Check the connection command: fastboot devices If the device is recognized, reset: fastboot erase userdata fastboot erase cache fastboot reboot

πŸ’‘

If the smartphone does not turn on after the fastboot reboot command, try flashing clean firmware with the fastboot flash all [name file].zip. Make sure the firmware file matches the device model!

⚠️ Note: On devices with a blocked bootloader, a reset via Fastboot can result in a complete lock (requiring Mi Account authorization even after a reset). Check the bootloader status with the command: fastboot oem device-info If Device unlocked: False, unlock it in advance through the official Xiaomi tool.

How to bypass the Mi Account lock after a reset

One of the most common problems after a reset is requesting authorization to the Mi Account, even if you enter the correct password, which is due to the device being linked to the account for security reasons, and the decisions depend on the status of the bootloader and the version of MIUI:

If the loader is unlocked:

  • πŸ“± Fastboot your device using custom firmware (e.g. Pixel Experience or LineageOS).
  • πŸ”§ Use the Mi Account Unlock Tool (unofficial solution, requires caution).

If the loader is locked:

  • πŸ“§ Contact Xiaomi with proof of ownership of the device (check, box, IMEI).
  • πŸ•’ Wait 72 hours – sometimes the lock is automatically removed (relevant for HyperOS).

πŸ’‘

The only legal way to unlock is the official Mi Unlock tool, and all other methods (including β€œbypassing testpoints”) can damage the device or violate the warranty.

Frequent Mistakes and How to Avoid Them

Even when following instructions, users encounter problems, and here are the most common mistakes and ways to solve them:

Mistake.Reason.Decision
Discharge interrupted by 99%Userdata section damagedRun a reset via Fastboot with the fastboot format userdata command
After the reset, there's no net.IMEI settings have gone wrongRestore the IMEI with Engineer Mode (code #4636###)
The sensor does not work after resettingThe touchscreen driver is damaged.Refuse the device using the original firmware
Hangs on the Mi logo.Conflict of firmware modulesRun Wipe Cache in Recovery or run clean firmware

If the device does not turn on after reset, try:

  • πŸ”Œ Connect to charging for 30-60 minutes (sometimes helps with a discharged battery).
  • πŸ”„ Hold the Loud down + Power for 20-30 seconds for forced reboot.
  • πŸ“‘ Fastboot is a free download using the Mi Flash Tool.

Xiaomi reset with HyperOS: what has changed

In 2026, Xiaomi began the transition to a new operating system HyperOS, which replaced MIUI. the Reset procedure in it retained the logic, but there were key differences:

Changes to HyperOS:

  • πŸ”’ Additional check for Mi Account even when resetting via the settings menu.
  • πŸ“± New Recovery interface with touch control support (on models 2023-2026).
  • ⚑ Accelerated reset process (by optimizing the file system).
  • πŸ”„ Automatic recovery of some system applications after first running.

For HyperOS reset:

  1. Go to Settings β†’ About Phone β†’ Reset and Recovery.
  2. Choose to erase all data and confirm the action.
  3. After the reboot, follow the instructions of the setup wizard, including authorization to the Mi Account.

How to get rid of HyperOS to MIUI?
There is no official way to roll back, but you can try: 1. Unlock the bootloader through the Mi Unlock Tool. 2. MIUI via Fastboot (Data Loss Risk). 3. Use custom Recovery (TWRP) file-in MIUI. ⚠️ Warning: rollbacks can lead to camera, sensor or mobile network issues!

FAQ: Answers to Frequent Questions

Can you reset Xiaomi without losing data?
No, a full reset always deletes user data. However, you can: Back up through Settings β†’ About Phone β†’ Backup. Copy important files (photos, videos) to your computer or cloud manually. Use Xiaomi Cloud to synchronize contacts, notes and messages. If you need to free up space without reset, clear the app cache in Settings β†’ Apps β†’ Clear cache.
The smartphone, after the reset, asks for an old password from Mi Account that I don't remember.
This is standard protection against theft. Solutions: Restore your password through the official Mi Account website (access to the linked mail or phone is required). If recovery is not possible, contact Xiaomi Support with proof of purchase (check, warranty card). For unlocked devices: Fastboot custom firmware (risk of loss of warranty). ⚠️ Do not use unofficial services to unblock – this can lead to device loss or fraud.
How to reset Xiaomi if you forget the pattern lock?
If you remember the Mi Account: 5 times enter the wrong key until the Forgot password button appears. Log in via Mi Account and reset the lock. If you don't remember: Recovery through Recovery (Method 2). After rebooting, log in to Mi Account to unlock the device.
Will the warranty work after a Fastboot reset?
Xiaomi does not officially cancel the Fastboot reset warranty if: You use the original firmware from the official website. You did not unlock the bootloader by unofficial methods. You did not install custom cores or modified recovery (TWRP). However, if the device stopped turning on after the reset, the service center may refuse to repair under warranty, citing β€œincorrect software updates.” To avoid problems, save the Fastboot command log and use only verified firmware.
Can you reset Xiaomi through a computer without a Fastboot?
There are two alternatives: through the PC Suite: Install official software from Xiaomi. Connect your smartphone to USB and select System Restore. Follow the wizard's instructions (Migre Account authorization required). ADB (Fastboot-free: Adb shell recovery --wipe_data This command initializes the reset via Recovery, but requires debugging enabled. USB (Settings β†’ For developers β†’ Debugging by USB).