How to reset Xiaomi Mi 8 Pro to factory settings: a complete guide with photos

Xiaomi Mi 8 Pro is the flagship smartphone of 2018, which still remains relevant thanks to powerful hardware and support for custom firmware. However, over time, any gadget begins to slow down: temporary files accumulate, updates conflict, and viruses or failed experiments with root rights can make the system completely inoperable, in which cases, resetting to factory settings is the only way to return the device to its former performance.

But how to properly perform a hard reset on the Mi 8 Pro so as not to turn the phone into a brick? In this article, three working methods (including hidden Recovery and Fastboot features), tips for saving data, and a breakdown of typical errors that users encounter.

Reset Preparation: What to Do Before Hard Reset

Factory reset is not just a single button press, an unprepared device can lose critical data or even lock itself.

  • πŸ”‹ Battery charge at least 50%. If the phone runs out during reset via Recovery, there is a high risk of damage to system files.
  • πŸ“± Backup. Even if you plan to reset your phone because of viruses, copy photos, contacts and SMS on PC or in the cloud (for example, through Mi Cloud or Google Photos).
  • πŸ”‘ Xiaomi account details. After the reset, you'll need to enter the username and password from the Mi Account associated with the device. If you forget the password, restore it in advance.
  • πŸ“‘ Wi-Fi network. Once reset, the phone will require an Internet connection to activate.

If the Mi 8 Pro has custom firmware installed (for example, LineageOS or Pixel Experience), note: after resetting through standard Recovery, the device can bootloop (infinite reboot), in which case you will need to reflash the phone via Fastboot - this will be discussed in the corresponding section.

⚠️ Note: If the Find Device feature is enabled on the phone, confirmation via the device may be required after the reset. SMS Make sure you have access to a linked number or mail.

πŸ“Š Have you ever done a setup reset on Xiaomi?
Yes, through the menu.
Yes, through Recovery.
No, I'm afraid to break something.
I don't know what that is.

Method 1: Reset via phone settings (the safest)

If the phone turns on and responds to touch, use this method, which is the simplest and requires no additional tools, and the instructions are relevant for the original MIUI firmware (including global and Chinese versions).

Open Settings β†’ About Phone β†’ Additional β†’ Reset. Alternative path (newer versions of MIUI): Settings β†’ Memory β†’ Reset. Next:

  1. Select β€œDelete all data” (or Erase All Data in English).
  2. Enter a pattern lock or PIN-lock-code.
  3. Confirm the action by clicking β€œReset”.
  4. Wait for the reboot (it will take 3-7 minutes).

After the reboot, the phone will suggest you set it up as new, at which point you can restore data from the backup (if it was created through Mi Cloud or Google Account).

Save Contacts in Google Account

Copy photos on a PC or flash drive

Remember the username/password from Mi Account

Connect the charger

Make sure the phone doesn’t run out.-->

⚠️ Note: Some custom firmware may not have Settings Reset or not work properly if the phone hangs on the logo after pressing the reset button. MI, Use methods 2 or 3.

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

If the Mi 8 Pro doesn't load beyond the logo, freezes or reboots cyclically, a Recovery reset will help, and it's sewn into the firmware and works even if there are serious system failures. Importantly, phones with an unlocked bootloader can have custom Recovery (like TWRP) installed, and the steps will be slightly different.

To enter Recovery:

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press the power button + volume up and hold for 10-15 seconds until the MI logo appears.
  3. Release the buttons and you will be taken to the Recovery menu.

In standard Recovery (Chinese or global MIUI), the control is carried out by the volume (move) and power (select) buttons.

  1. Select Wipe Data (or Clear Data).
  2. Confirm the action by selecting Wipe All Data.
  3. Once you have finished, select Reboot β†’ Reboot to System.

If you have TWRP on your phone, it's touch-sensitive.

  1. Click Wipe β†’ Format Data.
  2. Enter yes to confirm.
  3. After formatting, press Reboot System.
What happens if Recovery does not open?
If the phone vibrates after holding the buttons, but the screen remains black, try: 1. Connect the charger and try again. 2. Use the power + volume down combination (on some versions of MIUI). 3. Recovery via Fastboot (instructions in the next section).

Problem.Reason.Decision
Phone is not included in RecoveryRecovery section damagedSwitch Recovery through Fastboot
After resetting, the phone asks for a passwordActive protection of Mi AccountEnter the username/password from the Xiaomi account
Recovery in ChineseChinese firmware installedUse a translator or flash a global version
The "No Command" error in RecoveryRecovery section damagedInstall TWRP or flash stock Recovery

Method 3: Fastboot Reset (for power users)

This method will be useful if:

  • πŸ”„ The phone is loaded into bootloop (infinite reboot).
  • πŸ”§ The device has custom firmware installed, and a standard reset does not help.
  • πŸ› οΈ Requires to completely reflash the phone (for example, after a failed update).

The work will require:

  • A computer with Xiaomi drivers installed (you can download here).
  • USB Type-C cable (preferably original)
  • Fastboot (part of the Android SDK Platform-Tools)
  • Firmware file for Mi 8 Pro (e.g., from here).

Step-by-step:

  1. Turn off the phone.
  2. Press the power button + volume down until the hare appears in the hat-eared (Fastboot mode).
  3. Connect the phone to the PC.
  4. Open the command line in the folder with Platform-Tools and execute the commands: fastboot devices (should display the serial number of the device) fastboot erase userdata fastboot erase cache fastboot reboot

If you need to reflash your phone completely (for example, after a crash), use the command:

fastboot flash all [name file firmware].zip

⚠️ Attention: The fastboot erase userdata command deletes all data, including files in internal memory. If you need to save photos, pre-extract the memory card (if installed).

πŸ’‘

If the fastboot flash all command is followed by a FAILED error (remote: 'Not allowed in Lock State'), then the bootloader is blocked on the phone. Unlock it through the official Xiaomi tool.

What to do after resetting: setup and recovery of data

After a successful reset, the Mi 8 Pro will offer an initial setup.

  • πŸ“± Activate Mi Account. Enter the username and password from the account that was linked to the phone before the reset. If you forget the data, restore it through the Xiaomi website.
  • πŸ”„ Data recovery. If you have backed up your Mi Cloud or Google Account, select the appropriate item in the settings menu.
  • πŸ”’ Install a new pattern lock or PIN-Do not use simple combinations (e.g. 1234 or 0000).
  • πŸ“² Software Update. After reset, check for updates in Settings β†’ The phone. β†’ Updating the system.

If after reset, the phone asks to enter a password from the previous Google account (FRP-locking, and you don't remember it, the only way to unlock it is to contact Xiaomi Service Center with proof of purchase.

If you plan to sell or transfer your phone to another person, after a reset:

  1. Delete all accounts (Settings β†’ Accounts).
  2. Untie the device from the Mi Cloud on the official website.
  3. Do another reset via Recovery (for full cleaning).

Typical errors and their solutions

Even if you follow the instructions correctly, Mi 8 Pro users often face problems.

Mistake.Reason.Decision
The phone will not turn on after resettingBoot or system partition damagedSwitch your phone through Fastboot (mode 3)
Error "This device is locked"bootloader lockedUnlocking with Mi Unlock Tool
After the reset, there's no net.The modem's firmware is down.Switch modem through Fastboot
Recovery asks for passwordActive FDE protection (encryption)Enter the password from the previous screen lock

If the phone loads after reset but is unstable (e.g., spontaneously restarts or warms up), the hardware is likely to be the problem.

  • Check the battery status (it may have swelled).
  • Clear the dust charger.
  • Reset your settings via Fastboot (method 3).

πŸ’‘

If the phone doesn't turn on after reset for more than 10 minutes, don't panic. Sometimes the first download after hard reset takes up to 20 minutes (especially on custom firmware).

FAQ: Frequent questions about resetting Xiaomi Mi 8 Pro

Can I reset my phone if it is locked with a pattern lock?
Yes, but only through Recovery or Fastboot. You can't reset through settings without entering your password. If you don't remember the pattern lock, use method 2 or method 3 from this article.
After the reset, the phone asks for the old Mi Account password.
This is Xiaomi's standard protection against theft: enter the username and password from the account that was linked to the phone. If you forget the data, restore it on the official website. If the account is not yours (for example, the phone is bought with hands), contact the previous owner or service center with a check.
I dropped my phone, but it's still slowing down.
Possible causes: Worn-out battery (replace it) damaged internal memory (check through Fastboot with fastboot getvar all) Installed unstable custom firmware (return to stock MIUI).
Can I reset my phone without losing data?
No. Factory resets always delete: apps and their data; photos, videos and music in internal memory; system settings and accounts; the only way to save data is to back up before reset.
How to reset the Mi 8 Pro through your computer if the screen is not working?
If the screen is broken or does not respond to touch, but the phone turns on, connect it to the PC and use it. ADB: adb shell recovery --wipe_data If the screen is completely black, only the Fastboot (the method) remains. 3).