How to reset Xiaomi Mi 9: all ways to reset to factory settings

Why Xiaomi Mi 9 might be needed and what it does

Resetting the Xiaomi Mi 9 to factory settings is a procedure that brings the smartphone back out of the box, which removes all user data, apps, settings, and even system updates (in some cases), most often a complete reset is required in three situations:

First, if the device has started to slow down, overheat or spontaneously reboot. Over time, accumulated cache, fragmented files and conflicting applications can slow down even a flagship smartphone. Second, the reset is necessary before selling or transferring the phone to another person to protect personal data. Third, it is the only way to unlock the Mi 9 if you forget the pattern lock or password.

It's important to understand that resetting doesn't always solve hardware problems (e.g., a battery that is running out or a broken speaker), but it's effective for software failures, including errors after a failed MIUI update or conflicts with custom firmware. Next, we'll look at all the methods available, from the simplest to the most advanced ones that require a PC.

Preparing for reset: what to save and how to avoid mistakes

Before resetting the Mi 9, make sure to follow three steps:

  • πŸ“± Create a backup. Use the built-in Backup app (Settings) β†’ The phone. β†’ Backups or third-party services like Google Drive, especially important to keep:
  • πŸ”‹ Charge the battery to at least 50%. Interrupting the discharge process due to discharge can lead to a "brick" (inoperability) of the device.
  • πŸ”‘ Make sure you know the data from your Mi Account. After a reset, the phone may require you to enter your Xiaomi login and password to unlock (Mi Account Lock).

If you reset your phone before selling, be sure to log out of your Mi Account in advance (Settings β†’ Mi Account β†’ Sign out). Otherwise, the new owner will not be able to use the device without your data.

⚠️ Note: If the Mi 9 has custom firmware installed (such as LineageOS or Pixel Experience), resetting through the standard menu can lead to a logo hanging.

πŸ“Š Why you are dropping the Xiaomi Mi 9?
Removing the leg and brakes
Preparing for sale/transfer
Forgot your password/pattern lock
After a failed update
Another option

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

This method is suitable if the phone turns on and you remember the unlock password. It does not require a computer and takes no more than 5 minutes.

  1. Open Settings (the gear icon on the main screen).
  2. Go to the About Phone section. β†’ Backup and reset.
  3. Select Resetting β†’ Erase all data.
  4. Enter a password (if requested) and confirm the action.
  5. Wait for the reset. The first on-set after the reset can take up to 10 minutes.

If the menu doesn’t have Backup and Reset, try the alternative path: Settings β†’ Additional β†’ Restore and Reset. Some versions of MIUI may have a different name for the section.

β˜‘οΈ Preparing for reset via settings

Done: 0 / 5

⚠️ Note: After resetting through settings, Mi 9 can automatically update to the latest version MIUI, If you want to stay on your current firmware, turn off the Internet before the procedure.

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

If the Xiaomi Mi 9 is stuck on the logo, does not respond to touches or is locked with a password, use hardware reset via Recovery Mode.This method works even without access to the main system.

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons. In a few seconds, the Recovery menu will open.
  4. Use volume buttons for navigation and power button for selection. Select Wipe Data β†’ Wipe All Data.
  5. Confirm the action and wait for the process to be completed.
  6. Choose Reboot. β†’ Reboot to System.

If the Recovery menu is in Chinese, focus on the location of the items: this is Wipe Data, and Reboot to System.

Problem.Reason.Decision
Recovery menu not openingFaulty buttons or damaged boot loaderTry the method through Fastboot or contact the service
The discharge process has stalled.The file system is damaged.Remove the battery (if possible) or wait for the discharge, then repeat.
After reset, you need a Mi Account passwordMi Cloud Lock protection activatedEnter your account details or contact Xiaomi for support
What happens if the Recovery Mode does not open?
If Power + Volume Up doesn't work, try: 1. Connect your phone to charge and try again. 2. Use Power + Volume Down (on some firmware). 3. Hold the buttons longer (up to 20 seconds). If nothing helps, go to the method via Fastboot.

Method 3: Fastboot Reset (for power users)

The method via Fastboot is suitable if:

  • πŸ”§ You need to reflash your phone completely (for example, after a failed update).
  • πŸ”’ Recovery Mode is unavailable or damaged.
  • πŸ“¦ You need to install custom firmware after resetting.

You will need a computer with ADB/Fastboot drivers installed and a USB Type-C cable. Download the official firmware for Mi 9 (codename cepheus) from en.miui.com.

  1. Turn off the phone and put it in Fastboot mode: pinch Power + Volume down until the hare appears in the eardress cap.
  2. Connect the Mi 9 to your PC and open the command line (Win + R β†’ enter cmd).
  3. Check the connection command: fastboot devices must display the serial number of the device.
  4. Run the reset command: fastboot erase userdata fastboot erase cache
  5. If necessary, reflash the phone: fastboot flash all [name file firmware.zip]
  6. Reboot the device: fastboot reboot

⚠️ Attention: Fastboot erase commands delete data irrevocably. If you plan to sell your phone, after resetting via Fastboot, additionally run Wipe Data in Recovery to clear all partitions.

πŸ’‘

If the phone doesn’t show up after the fastboot device command, install the Mi Flash Tool drivers or try another one. USB-port (preferably) USB 2.0).

Method 4: Reset via Mi Flash Tool (official method from Xiaomi)

Mi Flash Tool is a proprietary utility from Xiaomi for firmware and reset devices. It is useful if:

  • πŸ“¦ I need to return the stock firmware after the custom.
  • πŸ”„ The phone is not switched on or got stuck in the bootloop.
  • πŸ”’ Requires to unlock the loader before resetting.

Instructions:

  1. Download the Mi Flash Tool from the official website and install it on PC.
  2. Download fastboot firmware for Mi 9 (select Global or EEA for European devices).
  3. Turn off the phone and transfer to Fastboot (Power buttons + Volume down).
  4. Connect the Mi 9 to your PC and start the Mi Flash Tool.
  5. In the utility, click Select and indicate the path to the unpacked firmware.
  6. Select Clean All mode and press Flash.
  7. Wait for the finish (5-10 minutes) and restart the phone.

Once you have firmware through the Mi Flash Tool, the phone will be completely reset, including all system partitions, and this is the most reliable way to return the Mi 9 to factory status, but it requires an unlocked bootloader.

πŸ’‘

Use the Mi Flash Tool only with official firmware. Installing incompatible versions can damage the modem module.

Method 5: Reset via ADB (for developers)

method ADB (Android Debug Bridge is suitable if you have access to the developer settings and are enabled USB-Debugging: It allows you to reset your phone without losing some system data (e.g. updates). MIUI).

Before we start:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Back to Settings β†’ Additionally. β†’ For developers and include USB-debugging.
  3. Connect the Mi 9 to your PC and confirm your trust in the device.

Now do the reset:

  1. Open the command line on your PC and type: Adb devices Make sure the device is displayed.
  2. Reset command: Adb shell recovery --wipe_data Or for full cleaning, adb shell am broadcast -a android.intent.action.MASTER_CLEAR
  3. Wait for the reboot.

This method is less aggressive than Fastboot, but requires pre-configuration, and is useful if you want to reset only user data without affecting system files.

What to do after resetting: setting up and solving problems

After resetting the Xiaomi Mi 9, follow the following steps:

  • πŸ”„ The first turn on can take up to 15 minutes – do not interrupt the process.
  • πŸ“Ά Connect to Wi-Fi and wait for automatic activation (if required).
  • πŸ”‘ Enter data from Mi Account if the phone requests (this is normal after a reset).
  • πŸ“± Restore data from a backup (via Mi Cloud or Google Account).
  • πŸ”’ Set up a new password/pattern lock (do not use the old one if you have forgotten it before).

If there are problems after the discharge:

Problem.Possible causeDecision
The phone will not turn on after resettingThe loader or firmware is damaged.Repeat the reset via Fastboot or Mi Flash Tool
Constantly rebooting.Firmware or module conflictInstall stock firmware through Fastboot
He doesn't see. SIM-mapReset damaged modem settingsUpdate your firmware or reset via the Mi Flash Tool
Requires an old password after recoveryGoogle account data cachedComplete reset again by disabling Google Restore

⚠️ Note: If the Mi 9 is not connected to the mobile network after reset, check your settings. APN (Settings β†’ SIM-maps and mobile networks β†’ Access points (APN)). Often they are reset to factory values that may not be suitable for your operator.

Frequent questions about the reset Xiaomi Mi 9

Can I reset the Mi 9 without losing data?
No, a full reset always deletes user data. However, you can: Back up your Mi Cloud or Google Drive; use ADB backup to save individual applications (requires root rights); transfer important files (photos, documents) to your PC before reset; if the goal is to eliminate the lags, try clearing the cache in Recovery (Wipe Cache) first, it won't delete personal data.
How to bypass Mi Account after resetting if you forget your password?
Mi Cloud Lock security is tied to Xiaomi account. If you forget the data: Try to restore the password on account.xiaomi.com. If the phone is bought with your hands and the previous owner is not logged out, contact him to unlock. Officially you can not bypass the lock, but you can: Contact Xiaomi with proof of purchase. Use paid unlock services (risk of fraud!). Attention: Bypass methods through firmware or change IMEI violate the warranty conditions and can lead to the failure of the phone.
Will the reset remove MIUI updates?
Depends on method: Reset via Settings: Saves the current version of MIUI, but can download updates automatically after connecting to Wi-Fi. Hard Reset via Recovery: Also saves the firmware version. Reset via Fastboot or Mi Flash Tool: Remove all updates if you stitch through the old version of MIUI. To stay on the current firmware, turn off the internet immediately after the reset or use ADB commands for selective wipe.
Can I reset the Mi 9 with buttons if the screen is not working?
Yes, if the sensor is unresponsive but the screen is on: Connect the phone to the PC and use the mouse through USB OTG-Adapter (if the function is enabled) USB-Debugging. Reset through ADB (If the screen is completely black: Use Hard Reset via Recovery (Power buttons) + Volume up. Or run your phone through Fastboot to blind (requires experience). If you're not sure, you better go to the service center.
How often do I need to reset the Mi 9 for optimization?
Regular resets are not recommended. They are only needed in extreme cases: After 2-3 years of active use (if cleaning the cache and reinstalling applications don't help); before selling or transferring your phone; after failing to experiment with firmware or root rights; To maintain performance: Clear the cache every 1-2 months (Settings β†’ Storage β†’ Clear cache); Turn off background activity of unnecessary applications; Update MIUI to the latest stable version.