How to completely reset Xiaomi settings via Fastboot: instructions with photos and tips

Resetting Xiaomiโ€™s smartphone settings via Fastboot mode is a radical but effective way to bring the device back to factory status when standard methods donโ€™t work. MIUI, Unlike a reset via the Recovery menu, Fastboot allows you to control the process from a computer, which gives you more control and flexibility.

But Fastboot requires caution: the wrong commands can turn a smartphone into a brick. In this article, weโ€™ll explore the unique nuances of resetting for Xiaomi 2022-2026 devices, including models with a locked bootloader, and how to avoid typical errors when working with tools like MiFlash or fastboot through the command line. If youโ€™ve never encountered phone firmware, donโ€™t worry: weโ€™ll give step-by-step instructions with explanations for beginners.

What is Fastboot and when to reset it

Fastboot mode is a low-level protocol for interacting with the bootloader of an Android device. It allows you to perform critical operations such as flashing, unlocking the bootloader or resetting to factory settings, even if the operating system does not boot. On Xiaomi smartphones, this mode is activated by a combination of buttons or a command from a PC.

Reset via Fastboot is necessary in the following cases:

  • ๐Ÿ”„ Smartphone stuck on the logo MIUI or cyclically rebooted (bootloop).
  • ๐Ÿ”’ You forgot your password/pattern lock and Find My Device is disabled.
  • ๐Ÿ› ๏ธ Standard Recovery Reset does not work (for example, due to damaged firmware).
  • ๐Ÿ“ฑ You need to delete all data before selling, but the phone does not respond to touch.
  • ๐Ÿ”ง Reflash the device from scratch (for example, after a failed update).

It is important to understand that resetting via Fastboot erases all data, including photos, contacts and applications. If you have Mi Account enabled and synced with Xiaomi Cloud, some data (such as contacts) can be restored after authorization.

โš ๏ธ Note: On Xiaomi devices with a blocked bootloader, a reset via Fastboot may require prior unlocking. Without this, some commands (such as fastboot erase userdata) will not work.

Preparation for resetting: what to do before the start

Before you start resetting, make sure that all the preliminary steps are followed, which will help to avoid errors and data loss.

1. Check the status of the loader

Xiaomi devices come with a locked bootloader by default to find out its status:

  1. Turn off the phone.
  2. Press Volume Down + Power before the Fastboot logo appears.
  3. Connect the device to the PC and type the command: fastboot oem device-info
  4. If the answer is Device unlocked: false, the bootloader is locked.

2. Unlock the bootloader (if necessary)

Unlocking will require:

  • ๐Ÿ“ฑ Mi Account Linked to the Device.
  • ๐Ÿ”— Confirmed phone number in the account.
  • ๐Ÿ–ฅ๏ธ Mi Unlock Tool (you can download it on the official Xiaomi website).

The process takes up to 72 hours (due to Xiaomi's security policy). FAQ.

3. Install the necessary drivers and tools

To work with Fastboot on the PC must be installed:

  • ๐Ÿ–ฅ๏ธ ADB and Fastboot (part of Android) SDK Platform Tools. You can download it from Google.
  • ๐Ÿ”Œ Drivers for your Xiaomi model (usually installed automatically when you first connect in Fastboot mode).
  • ๐Ÿ“‚ Backup of important data (if the phone is still turned on).

Download and unpack Platform Tools|Check the status of the loader|Unlock bootloader (if blocked)|Install drivers for Xiaomi|Backup of data (if possible)-->

Step-by-step: how to reset Xiaomi via Fastboot

Now, letโ€™s get to the process itself. Below is a universal guide that is suitable for most Xiaomi, Redmi and other models. POCO (2018โ€“2026: If your device is older, additional steps may be required (see para. FAQ).

Step 1: Put your phone in Fastboot mode

  1. Turn off your smartphone.
  2. Hold and hold the buttons down. + Food for 10-15 seconds.
  3. On the screen will appear the logo Fastboot (robot with an open stomach and the inscription). FASTBOOT).

Step 2. Connect the device to the PC

Use the original. USB-Connect the phone to your computer and wait for the drivers to be installed (if they were not installed earlier).

Step 3: Open the command line in the folder with ADB

  1. Go to the folder where Platform Tools was unpacked.
  2. In the address bar of the explorer, enter cmd and press Enter (the terminal will open in this folder).
  3. Check the connection of the device command: fastboot devices If the phone is determined, you will see its serial number.

Step 4. Perform a reset settings

For a complete reset, enter the following commands in turn:

fastboot erase boot


fastboot erase system




fastboot erase userdata




fastboot erase cache




fastboot reboot

After the last command is executed, the phone will restart and begin the initial setup process, as after the purchase.

๐Ÿ’ก

If after reset the phone is stuck on the logo MIUI, Try flashing stock firmware again through MiFlash. You can download the official firmware on Xiaomi Firmware website.

Common Mistakes and How to Avoid Them

Even with the correct following of the instructions, users often encounter problems, and let's look at the most common errors and how to solve them.

Mistake.Reason.Decision
fastboot: error: Failed to boot into userspaceThe system or boot section is damaged.Swipe stock firmware through MiFlash in Clean All mode.
Device not found or empty list in fastboot devicesDrivers are not installed or the cable is faulty.Try another one. USB-port (preferably) USB 2.0), manually install drivers through Device Manager.
Phone doesn't leave Fastboot after reboot commandThe loader or firmware is damaged.Complete the flashing through MiFlash with Clean All and Lock tick.
This miui version cannot be downgradedTrying to sew an older version of MIUI.Unlock the bootloader and run the desired version through fastboot with a flag --skip-secondary.

Another common problem is hanging out during the Waiting for Device phase, which is usually related to:

  • ๐Ÿ”Œ Faulty. USB-Cable (Try the original from Xiaomi).
  • ๐Ÿ–ฅ๏ธ Driver conflict (remove old versions via Device Manager).
  • ๐Ÿ”‹ Recharge your phone to at least 30% before resetting).

โš ๏ธ Note: On some models (e.g. Xiaomi) 12/13 Fastboot reset may result in Mi Account being blocked if the account was not untied in advance, in which case the phone will require the username and password from the last associated account to be entered after the reboot.

Through the settings menu|Through Recovery.|Through Fastboot.|Never dropped it.-->

Reset on a blocked bootloader: possible limits

If your Xiaomi bootloader is locked, the reset options via Fastboot are limited.

  • ๐Ÿ”“ Quickboot erase userdata or fastboot flash will not work without unlocking.
  • ๐Ÿ”„ You can try resetting through Recovery (click Volume Up). + Food, but it doesnโ€™t always help with serious failures.
  • ๐Ÿ“ฑ The only reliable way is to unlock the bootloader through the Mi Unlock Tool (see the section on preparation).

For devices with a locked bootloader, Xiaomi offers an alternative reset method โ€“ through EDL-The mode is called Emergency Download Mode, but it requires:

  • ๐Ÿ”ง Authorized Mi Account with the right of access EDL.
  • ๐Ÿ–ฅ๏ธ Special cable or testpoints (for new models).
  • ๐Ÿ“‚ Official firmware in.mbn format.

Without experience with EDL It is better to contact the service center, as incorrect actions can finally bring the device down.

What if the Mi Unlock Tool canโ€™t see the device?
1. Make sure the phone is debugging on USB (Settings โ†’ The phone. โ†’ Version. MIUI (7 times) โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB). 2. In Mi Unlock Tool, log in under the same Mi Account as you do on your phone. 3. Try using another one. USB-port (preferably) USB 2.0 on the back of your PC). 4. Disable the antivirus - it can block the utility. 5. If nothing helps, try running the Mi Unlock Tool in Windows 7 compatibility mode.

Reset on specific Xiaomi models: features

Despite the similarity of the process, some Xiaomi models have nuances, and letโ€™s look at them in the popular series.

1. Xiaomi Redmi Note 10/11/12 series

These devices may be affected by this device is locked error after being reset via Fastboot.

  • Unlock the bootloader in advance.
  • Use the fastboot flashing unlock command before resetting.
  • Use MiFlash with Clean All (not Clean All and Lock) option.

2. Xiaomi 12/13/14 series)

On the flagships with Snapdragon 8 Gen 1/2/3:

  • ๐Ÿ”ง The bootloader is locked automatically after reset, unless you use fastboot flashing unlock_critical.
  • ๐Ÿ“ฑ Unlocking can take up to 7 days (Xiaomi policy for new devices).
  • ๐Ÿ”‹ Resetting takes longer due to secure partitions (super, vendor).

3. POCO F3/F4/F5

Devices POCO They often come with global firmware, but have nuances:

  • ๐ŸŒ For reset, use the firmware of the region EEA (Europe) or Global.
  • ๐Ÿ”“ Unlocking the bootloader may require binding SIM-card to Mi Account.
  • ๐Ÿ“‚ After reset, check the version MIUI โ€” Sometimes you need to manually upgrade to the latest stable version.

๐Ÿ’ก

On devices with a MediaTek chipset (e.g., Redmi) 10C or POCO M4 Pro) a special utility is required to be reset via Fastboot SP Flash Tool instead of standard commands.

What to do after resetting: the first steps

After a successful reset, the phone will start in initial setup mode.

1. Pass the initial setup

  • ๐ŸŒ Select language and region (Russia or Europe is recommended for stable service operation).
  • ๐Ÿ”Œ Connect to Wi-Fi (required to download updates).
  • ๐Ÿ”’ Skip Mi Account binding if you donโ€™t plan to use cloud services.

2. Update firmware

After resetting, there may be an outdated version on the phone. MIUI. To avoid bugs:

  1. Go to Settings โ†’ About the phone โ†’ System update.
  2. Download and install the latest stable firmware.
  3. Restart the device after the update.

3. Restore data (if there is a backup)

If you have done backup through Mi Cloud or Google Account:

  • ๐Ÿ“ฑ Log in to your account and synchronize contacts, notes, photos.
  • ๐ŸŽฎ Install apps from Google Play or GetApps.
  • ๐Ÿ“ Move local files (photos, videos) from your PC or cloud storage.

โš ๏ธ Attention: On devices with MIUI 14 and later, after a reset, you may need to re-activate Mi Account to unlock some features (for example, Find My Device or Second Space).If you forget your account information, restore it in advance at account.xiaomi.com.

FAQ: Frequent questions about Xiaomi reset via Fastboot

โ“ Can you reset Xiaomi via Fastboot without a computer?
No, to work with Fastboot, you need a computer with installed ADB And Fastboot. Without a PC, you can reset only through the Recovery menu (click Volume Up). + Power when the phone is turned off) or through system settings (if the phone is turned on).
โ“ How long does it take to reset via Fastboot?
The process of erasing partitions takes 1-2 minutes, but a full reboot and initial setup can take up to 10-15 minutes, especially on flagship models (such as the Xiaomi 13 Ultra or the first one). POCO F5 If the phone is stuck on the logo for more than 20 minutes, something went wrong (see the error section).
โ“ What to do if your phone asks for an old Mi Account?
This is Xiaomi's standard theft protection. To unlock the device: Enter the username and password from the last associated Mi Account. If you don't remember the data, restore it to account.xiaomi.com. If your account is not yours (for example, a handheld phone), contact the previous owner to unblock the device or provide him with a purchase check to unlock through Xiaomi support. On some models (for example, Redmi Note 12) you can bypass the lock through the device. EDL, But it requires special equipment.
โ“ How to unlock a bootloader if the Mi Unlock Tool says "Couldn't unlock"?
The Couldnโ€™t unlock error is usually associated with: ๐Ÿ”Œ Unstable connection (try another one) USB-port). ๐Ÿ“ฑ Account mismatch (on the phone and in the Mi Unlock Tool must be the same Mi Account). โณ Insufficient latency (new devices require 72โ€“168 hours after account binding). ๐Ÿ“‹ Unsupported model (some devices for the Chinese market are not unlocked by the global version of the Mi Unlock Tool).Solution: Make sure the phone is debugging enabled USB and allowed to unlock OEM (Settings โ†’ Additionally. โ†’ For developers โ†’ Unlocking OEM). Check that the Mi Unlock Tool uses the same version. MIUI, If nothing works, try using alternative methods (for example, using fastboot oem unlock on older models).
โ“ Can you drop Xiaomi from Fastboot if it doesnโ€™t turn on and respond to buttons?
If the phone is completely dead (it doesn't respond to charging, it doesn't vibrate when you connect to a PC), then Fastboot won't help: ๐Ÿ”‹ Check charging: connect to another cable and power supply on 30+ minute. ๐Ÿ”Œ Try the "forced" Fastboot: pinch the Volume down + Power and connect to the PC (sometimes the device is determined even without a visual reaction). ๐Ÿ› ๏ธ If nothing works, the problem may be in the hardware (for example, a burned motherboard.