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.
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.
- Open Settings (the gear icon on the main screen).
- Go to the About Phone section. β Backup and reset.
- Select Resetting β Erase all data.
- Enter a password (if requested) and confirm the action.
- 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
β οΈ 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.
- Turn off the phone (press the power button for 10 seconds if it freezes).
- Press the Power button + Volume up at the same time and hold for 10-15 seconds until the Mi logo appears.
- Release the buttons. In a few seconds, the Recovery menu will open.
- Use volume buttons for navigation and power button for selection. Select Wipe Data β Wipe All Data.
- Confirm the action and wait for the process to be completed.
- 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 opening | Faulty buttons or damaged boot loader | Try 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 password | Mi Cloud Lock protection activated | Enter your account details or contact Xiaomi for support |
What happens if the Recovery Mode does not open?
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.
- Turn off the phone and put it in Fastboot mode: pinch Power + Volume down until the hare appears in the eardress cap.
- Connect the Mi 9 to your PC and open the command line (Win + R β enter cmd).
- Check the connection command: fastboot devices must display the serial number of the device.
- Run the reset command: fastboot erase userdata fastboot erase cache
- If necessary, reflash the phone: fastboot flash all [name file firmware.zip]
- 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:
- Download the Mi Flash Tool from the official website and install it on PC.
- Download fastboot firmware for Mi 9 (select Global or EEA for European devices).
- Turn off the phone and transfer to Fastboot (Power buttons + Volume down).
- Connect the Mi 9 to your PC and start the Mi Flash Tool.
- In the utility, click Select and indicate the path to the unpacked firmware.
- Select Clean All mode and press Flash.
- 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:
- Activate Developer Mode: Go to Settings β About Phone and click on MIUI Version 7 times.
- Back to Settings β Additionally. β For developers and include USB-debugging.
- Connect the Mi 9 to your PC and confirm your trust in the device.
Now do the reset:
- Open the command line on your PC and type: Adb devices Make sure the device is displayed.
- Reset command: Adb shell recovery --wipe_data Or for full cleaning, adb shell am broadcast -a android.intent.action.MASTER_CLEAR
- 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 cause | Decision |
|---|---|---|
| The phone will not turn on after resetting | The loader or firmware is damaged. | Repeat the reset via Fastboot or Mi Flash Tool |
| Constantly rebooting. | Firmware or module conflict | Install stock firmware through Fastboot |
| He doesn't see. SIM-map | Reset damaged modem settings | Update your firmware or reset via the Mi Flash Tool |
| Requires an old password after recovery | Google account data cached | Complete 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.