How to reset Xiaomi Mi 8 to factory settings: a detailed guide

The Xiaomi Mi 8, released in 2018, remains a popular smartphone thanks to its powerful hardware and flexible MIUI firmware. However, over time, even this flagship can start to slow down, issue errors or require a complete system reinstallation. Resetting to factory settings is a radical but effective way to return the device to its former performance, eliminate software failures or prepare the gadget for sale.

In this article, you will find three proven ways to reset the Mi 8 (including the Mi 8 SE, Mi 8 Pro and Mi 8 Explorer Edition versions), as well as solutions to typical problems: from a blocked Mi Account to errors in Recovery mode. We will discuss in detail how to save important data before resetting, what settings should be fixed, and what to do if the smartphone does not respond to commands. Particular attention is paid to the nuances of working with an unlocked bootloader โ€“ this is critical for users installing custom firmware.

Preparation for resetting: what to do in advance

Resetting to factory settings deletes all user data, including:

  • ๐Ÿ“ฑ Contacts, SMS Call log (unless synced with Google or Mi Cloud)
  • ๐Ÿ“ท Photo and video in internal memory (folder) DCIM)
  • ๐ŸŽต Music, downloads and documents
  • ๐Ÿ”‘ Saved passwords from Wi-Fi and applications
  • ๐ŸŽฎ Game data and application settings

Before you start, follow the mandatory steps:

Backup via Mi Cloud or Google Drive|

Synchronize contacts with your Google | account

Copy photo/video to PC or external drive |

Record or photograph important settings (APN, VPN, passwords) |

Check the battery level (minimum 50%)|>

Important for users with an unlocked bootloader: if you have installed custom recavators (such as TWRP), a standard reset via the menu can lead to a device blink.In this case, use only methods through Fastboot or Recovery with the original firmware pre-installed.

โš ๏ธ Note: If the Mi 8 activated the Find Device function in the Mi Cloud, after the reset, you will need to enter the information of the Xiaomi account associated with the phone!

Method 1: Reset via the settings menu (the easiest one)

This is a good method if the smartphone is turned on, touch-responsive, and you have access to the menu. MIUI (including MIUI 12/13/14):

  1. Open the settings (cog icon on the desktop).
  2. Go to About Phone โ†’ Additional (or Advanced Settings in new versions).
  3. Choose Recovery and Reset.
  4. Slip on Settings Reset.
  5. The system will suggest you select which to delete, and we recommend that you mark all items (including Network Settings and Applications).
  6. Confirm the action by entering a pattern lock or PIN-code.
  7. Wait for the reboot (it will take 5-10 minutes).

After the reboot, you'll see the screen of the initial setup, like after you buy it. If the smartphone requests Mi Account data, enter the linked account.

๐Ÿ’ก

If the Mi 8 hangs on the Xiaomi logo for a long time after reset, donโ€™t panic โ€“ this is normal for the first 10-15 minutes.If the freeze lasts more than 30 minutes, try restarting the device manually (clip Power + Volume up for 10 seconds).

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

If the Mi 8 doesnโ€™t load, freezes on the logo, or locks on the password screen, use Recovery, which works even when the firmware is damaged, but requires care:

  1. Turn off the smartphone (press the power for 10-15 seconds).
  2. Press Power + Volume up at the same time and hold for 5-7 seconds until the Mi logo appears.
  3. Release the buttons and you will see the Recovery menu (in English or Chinese).
  4. Use volume buttons for navigation and power for selection.
  5. Choose Wipe Data โ†’ Wipe All Data.
  6. Confirm the action by selecting Confirm.
  7. Once you have finished, select Reboot โ†’ Reboot to System.

Possible problems and solutions:

  • ๐Ÿ”„ Menu in Chinese: Use a translator or point location (first Wipe Data, last Reboot).
  • ๐Ÿ”’ Password Mi Account: If you forget your data, restore access through the official website.
  • โŒ The "Can't mount" error /data": Indicates partition damage. The solution is to flash the device through the Fastboot (see Method). 3).

โš ๏ธ Note: Some Mi 8 firmware (especially custom ones) may call the Wipe All Data item Format Data, in which case you will need to manually reinstall the firmware after formatting!

What happens if the Recovery Mode does not open?
If after holding Power + Volume up the smartphone vibrates, but the menu does not appear, the reasons may be as follows: 1. Damaged partition Recovery - requires firmware through Fastboot. 2. Faulty buttons - try to connect the device to the PC and use the command adb reboot recovery. 3. Hardware failure - if the smartphone does not respond at all, contact the service center for the diagnosis of the board.

Method 3: Fastboot Reset (for power users)

This method is used if:

  • ๐Ÿ”ง You need to completely reflash the device (for example, after a failed update).
  • ๐Ÿ“ฑ Recovery Mode is unavailable or damaged.
  • ๐Ÿ”“ Requires to unlock the bootloader before installing custom firmware.

The work will require:

  • ๐Ÿ’ป Computer with Xiaomi drivers installed and Mi Flash Tool.
  • ๐Ÿ”Œ Cable USB Type-C (original or high quality).
  • ๐Ÿ“„ Official firmware for Mi 8 (you can download on the official website).

Step-by-step:

  1. Unpack the archive with firmware in a folder without Cyrillic characters (for example, C:\Mi8_Firmware).
  2. Turn off your smartphone and put it in Fastboot mode: press Power + Volume down for 5-7 seconds.
  3. Connect the Mi 8 to your PC. Make sure that the Android Bootloader Interface is in Device Manager.
  4. Open the Mi Flash Tool, press Select and point the path to the firmware folder.
  5. At the bottom, select Clean All (full reset) or Clean All and Lock (reset) mode. + loader-lock).
  6. Press Flash and wait until it is completed (10-15 minutes).
  7. After successful firmware, the smartphone will restart automatically.
Firmware modeDescriptionWhen to use
Clean allDeletes all data but leaves the bootloader unlockedFor reset before sale or after failure
Clean all and lockResets data and blocks the bootloaderReturn to the stock firmware before warranty repair
Save user dataSwitches the system without deleting user dataTo restore functionality without losing files

Important: If the Mi Flash Tool gives you an Anti-rollback error, it means you are trying to flash an older version of MIUI than the one installed now.

Through the settings menu |

Through Recovery Mode|

via Fastboot (Mi Flash Tool) |

I haven't tried it yet.|>

Frequent mistakes and their solutions

Even with the exact instructions, Mi 8 users may face problems, and consider typical scenarios and ways to fix them:

1.After the reset, it requires a Mi Account, but the data is forgotten

  • ๐Ÿ“ง Try to restore access through the recovery form (you will need a linked email or phone).
  • ๐Ÿ“ฑ If your account is linked to another Xiaomi device, log in to it โ€“ this will unlock the Mi 8.
  • ๐Ÿ”“ In extreme cases, contact the support with proof of possession of the device (check or box).

2.The smartphone got stuck on the Xiaomi logo after reset

  • โณ Wait 15-20 minutes โ€“ the first download after a reset can be long.
  • ๐Ÿ”„ If the freeze continues, try resetting the settings via Recovery.
  • ๐Ÿ“ฅ If it doesnโ€™t work, run the device through Fastboot (see Method 3).

3. "This device is locked" error in Fastboot

This error occurs if the Mi 8 bootloader is locked and you're trying to flash custom Recovery or firmware.

  • ๐Ÿ”“ Unlock the bootloader through the official tool (you will need a Xiaomi account and wait 72 hours).
  • ๐Ÿ“„ Use the official firmware and Clean all and lock mode in the Mi Flash Tool.

๐Ÿ’ก

If the Mi 8 does not respond to any of the reset methods, the cause may be a hardware malfunction (damaged memory, power controller).

Reset before selling: what to consider

If youโ€™re preparing the Xiaomi Mi 8 for sale, itโ€™s not enough to just reset your settings.

  1. Untie the accounts: ๐Ÿ“ฑ Mi Account: Settings โ†’ Xiaomi account โ†’ Get out. ๐Ÿค– Google Account: Settings โ†’ Google accounts โ†’ Delete the account.

Delete. SIM-memory-card

Perform the reset.

Check the device.

  • Make sure that there are no photos or files left after the reset.
  • Try to log in to Mi Cloud โ€“ if it requests data, the account is not completely untied.

Additional security measures:

  • ๐Ÿ”’ If the Find Device function was activated on the device, turn it off in advance: Settings โ†’ Mi Cloud โ†’ Find Device โ†’ Shut down.
  • ๐Ÿ’ณ Delete all stored payment data in Google Pay or Mi Pay.
  • ๐Ÿ“ก Reset network settings: Settings โ†’ SIM-maps and mobile networks โ†’ Resetting network settings.

โš ๏ธ Warning: If you sell the Mi 8 with an unlocked bootloader, be sure to alert the buyer! some firmware (e.g. Global Stable) may automatically block the bootloader when upgraded, which will lead to a device blink.

Data recovery after resetting

If you forgot to back up, the chances of returning the data depend on the type of reset:

Type of dischargeIs recovery possible?Tools
Through the settings menuโŒ No (data overwritten)โ€”
Recovery (Wipe Data)โš ๏ธ Partially (unless you have used Format Data)DiskDigger, EaseUS MobiSaver
Through Fastboot (Clean All)โŒ No.โ€”
Hardware reset (through testpoints)โœ… Yes (unless the memory is damaged)UFi Box, Medusa Pro (specialists only)

To recover photos and documents after soft reset (without formatting the data section):

  1. Install DiskDigger or Recuva on your PC.
  2. Connect the Mi 8 to your computer in MTP mode (after reset, you may need to unlock the screen).
  3. Select the internal memory partition and start the scan.
  4. Save the files found on the PC.

Important: Do not write new data to your smartphone after a reset โ€“ this reduces the chances of recovery!

๐Ÿ’ก

If you only need to return contacts, check if they are synced with your Google account. Go to contacts.google.com from any device.

FAQ: Frequent questions about resetting Xiaomi Mi 8

๐Ÿ”น Can you reset the Mi 8 without losing data?
No, a full factory reset always deletes user data. However, you can: Backup through Settings โ†’ Additional โ†’ Backup and Reset (saves apps and settings, but doesnโ€™t always work consistently) Copy important files manually to a PC or external drive. If the goal is to fix crashes without losing data, try resetting the cache to Recovery first (Wipe Cache Partition).
๐Ÿ”น Why Mi 8 Resets the Old Password?
This is due to Factory Reset Protection (FRP), which links the device to a Google or Xiaomi account. Solutions: Enter the account details that were tied before the reset. If you don't remember the password, restore access through Google or Mi Account. To bypass the FRP on the Mi 8 requires special tools (such as the Mi Account Bypass Tool), but using them may violate the warranty.
๐Ÿ”น How to Reset Mi 8 if You Forgot Your pattern lock?
There are three options: Through Mi Account: On the lock screen, click Forgot the password?. Enter the details of the associated Xiaomi account. Follow the instructions to reset the password.

Through Recovery.

Recovery Mode

Through Fastboot.

If the Mi Account is not tied, it is impossible to unlock the device without losing data.

๐Ÿ”น Will there be updates? MIUI post-discharge?
Yes, after reset, the Mi 8 will retain the ability to receive MIUI updates via Settings โ†’ About Phone โ†’ System Update. However: If you flashed the old firmware version through Fastboot, the system may block updates due to Anti-Rollback. On custom firmware (e.g. LineageOS), MIUI updates are not available โ€“ they need to be installed manually. To avoid problems, check the current version of MIUI in Settings โ†’ About Phone โ†’ MIUI version if necessary and upgrade to the latest stable version if necessary.
๐Ÿ”น Can you reset the Mi 8 through a computer without a Fastboot?
Yes, but only if the smartphone has USB debugging enabled and it's recognized by the computer. To do this: Connect the Mi 8 to the PC via USB. Open the command line and type: adb shell reboot recovery This will reboot the device to Recovery, where you can reset. If debugging over USB is disabled, this method will not work, you have to use Fastboot or buttons.