Resetting the Xiaomi Mi 9 to factory settings is a procedure that can be required in a variety of situations, from preparing a smartphone for sale to fixing critical system failures. However, the wrong approach to this process can lead to data loss, locking the device or even turning it into a βbrick.β In this article, we will analyze all the current ways to reset for the Mi 9 (codenamed cepheus), including hidden nuances that are rarely mentioned in standard instructions.
The Xiaomi Mi 9 features Mi Account protection, which can make it more difficult if you forget your account data, and after resetting some firmware, you need to re-activate OEM Unlock to unlock the bootloader, and we will show you how to get around these pitfalls and restore the device to work without losing functionality.
Important: the procedure differs depending on the version of MIUI (global, Chinese, custom) and the state of the smartphone (whether the screen is working, whether there is access to the menu). If your Mi 9 is locked or not turned on, skip the section about hardware reset through the buttons.
Preparation for resetting: what to do in advance
Before you reset the Xiaomi Mi 9, follow a few critical steps, and ignoring this step can result in your device being locked through the Mi Cloud or losing access to important data.
- π± Create a backup: Use the built-in Backup app (Settings) β The phone. β Backups or third-party tools like Titanium Backup (requires root). Especially important to save: Contacts (export to the site) VCF) Photos and videos (copy to PC or cloud) Messages (applications like SMS Backup & Restore: Wi-Fi and App Settings (via Mi Cloud)
- π Charge the battery: The charge level must be at least 50%.When discharged through Recovery, the discharge during the process can cause firmware damage.
- π Check the Mi Account binding: Go to Settings β Xiaomi account and make sure that the device is linked to your account!
- π‘ Disable Blocks: Delete all Google accounts, disable Find My Device and Mi Cloud Find Device if they are active. FRP-Factory Reset Protection (Factory Reset Protection).
If you plan to sell or transfer a smartphone, additionally:
- π‘οΈ Log out of all accounts (Google, Xiaomi, social media).
- π² Delete. SIM-card and memory card (if any).
- π Turn off Automatic Sync in Google Account Settings.
β οΈ Note: If the Mi 9 has custom firmware installed (such as LineageOS or Pixel Experience), resetting through the standard menu can lead to a hang on the logo. TWRP Recovery.
Method 1: Reset via the settings menu (soft reset)
This is the safest method if the smartphone is turned on and you remember the unlock password. Suitable for MIUI 10-14 (including global and Chinese versions).
- Open the settings (cog icon on the desktop).
- Go to the About Phone section. β Backup and reset.
- Select Reset (in some versions β Reset all settings).
- The system will tell you which data to clean: π± All data (including applications) π Internal memory (optional if you need to clean up the garbage) π Network settings (Wi-Fi, Bluetooth)
password/pattern lock
Wait for the reboot (it will take 3-7 minutes).
After the reboot, the Mi 9 will launch with a greeting screen, just like after the purchase.
- Connect to Wi-Fi.
- Sign in to Mi Account (required! otherwise the device will be locked).
- Set up the smartphone again or restore data from the backup.
βοΈ Checklist before resetting through the menu
β οΈ Note: If after resetting the Mi 9 requires you to enter data from the previous Mi Account, and you do not remember them - the device will be blocked.The only way out is to contact Xiaomi with proof of purchase (check, box).
Method 2: Hard reset via buttons (hard reset)
This method will be useful if:
- π Forgot a pattern lock or password.
- π΅ The smartphone is not turned on (hang on the logo) MI).
- π€ The screen doesn't respond to touch.
For the Xiaomi Mi 9, the procedure is performed via Recovery Mode. Important: some firmwares may require unlocking the bootloader (OEM Unlock) after such a reset.
- Turn off your smartphone (press Power + Volume Up for 10 seconds if it freezes).
- Press simultaneously: Power button + Volume increase
Hold on for 10-15 seconds until the Mi logo and Recovery menu appear.
Recovery
Nutrition
Wipe Data
Wipe All Data
Confirm
Reboot
Reboot to System
If the Recovery menu is in Chinese:
- β (Wipe Data β Wipe All Data).
- (Confirm).
- β (Reboot β Reboot to System).
What happens if Recovery does not open?
| Problem. | Reason. | Decision |
|---|---|---|
| After reset, you need an old Mi Account. | The device is linked to the account of the previous owner | Contact Xiaomi with Proof of Purchase |
| Hangs on the MI logo after being reset | Firmware damage or incompatible version of Recovery | Swipe through Fastboot official firmware |
| The sensor does not work after resetting | Failure of drivers | Do reset again or flash custom Recovery (TWRP) |
| The error "Can't mount data" | Damage to /data section | Format data via TWRP or Fastboot |
Method 3: Reset via Mi Account (if you forgot your password)
If you forget the pattern lock but remember the Mi Account data, you can reset the lock without losing data (on some versions of MIUI).
- πΆ Internet connection (Wi-Fi or mobile network).
- π Linking your device to your Xiaomi account.
- π± No root rights (on rooted devices, the method may not work).
Instructions:
- On the lock screen, enter the wrong password / key 5 times until the message Forgot the password appears.
- Click on this message and select Restore via Mi Account.
- Enter the username and password from your Xiaomi account.
- Follow the instructions on the screen to create a new unlock password.
If this method didn't work:
- π Try to restore access through the web version of Mi Account.
- π§ Check the email linked to your account β there may be an instruction letter.
- π Contact Xiaomi support via official chat (you need a check or a check) IMEI device).
β οΈ Note: If the Mi 9 was bought with hands and the previous owner did not untie his Mi Account, you can unlock the device only through Xiaomi support with the provision of proof of purchase (for example, a check with the help of the user). IMEI). Independent attempts to bypass the lock can lead to a complete loss of functionality of the smartphone.
π‘
If after resetting via Mi Account, the smartphone requires re-activation, but you do not remember the password, try to restore access through the linked phone number or backup mail. In extreme cases, use the "Forgot password?" function on the login screen.
Reset via TWRP (for custom firmware)
If your Xiaomi Mi 9 has custom Recovery (TWRP) installed, a standard Stock Recovery reset may not work.
- Download to TWRP (Power + Volume Combination).
- In the main menu, select Wipe.
- Check the boxes opposite: Dalvik / ART Cache System Data Internal Storage (optional if you need to clear the memory)
Swipe to Wipe
Reboot
System
If the Mi 9 does not load after resetting via TWRP:
- π Try to flash the boot image (boot.img) via Fastboot.
- π₯ Install the official firmware through the Mi Flash Tool.
- π οΈ Check the integrity of the firmware files (they may have been damaged during downloading).
For firmware via Fastboot, use the commands:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash dtbo dtbo.img
fastboot rebootπ‘
Reset via TWRP deletes all data without recovery, and if you need to save photos or contacts, remove the memory card or connect your smartphone to your PC in MTP mode (if it still works) before the procedure.
Common mistakes and their solutions
Even if the instructions are followed correctly, a Xiaomi Mi 9 reset can end up in error.
1. error "Can't mount /data" or "Invalid partition"
Reason: Data partition damage or incompatibility of the Recovery version with firmware.
Decision:
- π§ Fastboot: Fastboot Flash Recovery recovery.img
- π Format the section /data manually TWRP (Choose the Wipe β Format Data β enter).
2.Hanging on the MI logo after being reset
Reason: Conflict of firmware and Recovery versions, damage to system files.
Decision:
- π Run a full flash flash through the Mi Flash Tool (select Clean All option).
- π₯ Download the official firmware for Mi 9 (cepheus) from the Xiaomi website.
3. Requires a password from the previous Mi Account
Reason: The device is linked to the previous ownerβs account.
Decision:
- π Contact Xiaomi with a check or box from your device.
- π If you are the owner but you have forgotten the data, restore access via account.xiaomi.com.
4.The sensor is not working after reset
Cause: Failure of sensor drivers or firmware damage.
Decision:
- π Repeat the reset via Recovery.
- π₯ Sweep the official firmware through Fastboot.
- π οΈ If the problem remains - perhaps the plume of the touch screen is defective (requires repair).