How to completely clean your Xiaomi smartphone: 3 ways to reset + delete your Mi Account

Complete cleaning of the Xiaomi smartphone is not just deleting files, but a comprehensive reset of all settings, applications and associated accounts to the state of β€œout of the box”. This is required before selling a device, when critical system failures or if you want to get rid of the digital garbage accumulated over the years of use. After reset, Mi accounts remain tied, hidden files are not deleted, and sometimes the device is completely blocked because of the FRP-Protection of the Factory Reset Protection).

In this article, we will discuss three official cleanup methods (through settings, Recovery and Fastboot), and how to properly delete your Mi Account to avoid blocking. We will focus on the nuances for models with MIUI 14/15 and HyperOS, where the process is different from the old versions. If you plan to sell your phone, here you will find a training checklist that will protect your data from recovery.

1.Reset preparation: what to do before cleaning

Before you start resetting, follow the mandatory steps – this will save you from losing important data and activation problems after cleaning.

  • πŸ“± Back up. Use the built-in Settings tool. β†’ The phone. β†’ Backup or third-party services (Google Drive, Mi Cloud). Especially important to save: Contacts and messages (export to.vcf) Photo / video (check folder) DCIM/Thumbs β€” There may be hidden thumbnails) Logins and passwords from Settings β†’ Passwords and security
  • πŸ”Œ Charge the phone to at least 50%. Interrupting the reset process due to battery discharge can lead to a device "brick" (inability to turn on).
  • πŸ“‹ Write it down. IMEI. Dial *#06# - this data will be useful for unlocking, if after resetting the phone requires the original SIM-map.
  • πŸ” Unplug your Mi Account (if you plan to sell your phone) and this is detailed in section 4.

⚠️ Note: If you use Xiaomi with an unlocked bootloader, after resetting via Fastboot, the device may require re-unlocking.Prepare your Mi and PC account with Mi Unlock Tool.

Backup to Mi Cloud or Google Drive| Write down IMEI and serial number |Disable Find My Device in Google |Remove SIM and memory card (if any) | Charge phone to 50%+

-->

On models with HyperOS (e.g. Xiaomi 14, Redmi Note 13) before reset, it is recommended to disable the Smart Lock function (Settings β†’ Lock Screen β†’ Smart Lock). Otherwise, after cleaning, you may have problems unlocking the screen through Face ID or fingerprint.

2. Method 1: Reset via phone settings (the easiest)

This method is suitable for most users and does not require additional tools, but it does not delete the Mi Account - it should be unplugged separately!

Instructions for MIUI 14/15 and HyperOS:

  1. Open the Settings. β†’ The phone.
  2. Tap 5-7 times on the MIUI version (or HyperOS version) to activate the developer mode (optional, but useful for debugging).
  3. Return to the main settings menu and select Additional β†’ Reset.
  4. Click Erase all data β†’ Delete everything.
  5. Enter. PIN-lock-screen code.
  6. Confirm the action, wait for the reboot (it will take 5-15 minutes).
Xiaomi modelTime to resetFeatures
Redmi Note 12/137-12 minutesAfter the reset, you may need to re-assign your Google account
POCO X5/F55-10 minutesHyperOS does not have an option β€œAdvanced” – look for β€œReset” in the search for settings
Xiaomi 13/14 Pro10-15 minutesOn flagships, reset takes longer due to data encryption
Redmi A2/A33-7 minutesBudget models are dropped faster, but can "hang" on the logo after cleaning

⚠️ Note: If after resetting the phone asks to enter the old PIN-The code or password from the Mi Account you don't remember -- don't try to guess! After 5 failed attempts, the device will lock for 24 hours.

πŸ’‘

If the phone is "hang" in the reset phase (the Mi logo burns for more than 20 minutes), force it to restart, holding Power + Volume up for 10 seconds.

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

This method will come in handy if the smartphone is not booting, cyclically rebooting or locked. You don't need access to the system to log in to Recovery, but you will need physical buttons.

Step-by-step:

  1. Turn off the phone (clip Power + Volume up for 10 seconds if it freezes).
  2. Click the combination: For most models: Power + Volume Up For POCO F4/F5: Power + Volume Down For Xiaomi 12T/13T: Power + Both Volume buttons

Mi

Recovery

Nutrition

Wipe Data β†’ Wipe All Data

Factory Reset

Confirm

Reboot

On HyperOS models, the Recovery menu can be in English or Chinese. If you see characters, focus on the order of items:

  • 3rd Item: Wipe Data
  • Point 1 - Reboot
What happens if the Recovery Mode does not open?
If the phone vibrates after pressing the button combination, but the menu does not appear, the Recovery firmware may be damaged. In this case, only resetting through Fastboot (section 3) or flashing through the Mi Flash Tool will help. On models with a locked bootloader, you may need to authorize your Mi Account to unlock.

Method 3: Reset via Fastboot (for power users)

Fastboot reset is the most reliable way to ensure that all data is deleted, including hidden partitions, and requires a PC connection and minimal command line knowledge.

  • πŸ”„ Phone locked after failed reset via settings
  • πŸ”’ You forgot your Mi Account password and your device requires authorization
  • πŸ› οΈ You need to remove the custom firmware (custom) ROM)

What you need:

  • Computer with Windows/Linux/macOS
  • USB Type-C Cable (original, undamaged)
  • Platform Tools (download from the official Android website)
  • Knowledge of the phone model (e.g, redmi_note_12_pro)

Instructions:

  1. Unpack Platform Tools into a folder on your PC (e.g., C:\platform-tools).
  2. Turn off your phone and press Power + Volume down to enter the Fastboot (a bunny with the word Fastboot should appear).
  3. Connect your phone to your PC and open the command prompt in the Platform Tools folder (click Shift + right mouse button β†’ Open the PowerShell window here).
  4. Check the connection command: fastboot devices If the device is determined (the serial number will appear) - continue. If not, install the Mi USB Driver drivers.
  5. Run full reset: fastboot erase userdata fastboot erase cache fastboot format userdata fastboot reboot

πŸ’‘

The fastboot format userdata command deletes all data without recovery, including files in internal memory. If you want to save photos, use fastboot erase userdata without formatting.

For models with HyperOS (such as Xiaomi 14), an additional command may be required:

fastboot erase metadata

It removes the encryption metadata, which prevents errors when you first set up after resetting.

5 How to delete a Mi Account before selling a phone

Even after a full reset, Xiaomi phones may still have a Mi Account binding. If you sell a device, the new owner won't be able to activate it until you unplug the account. Here's how to do it correctly:

Method 1: Using phone settings (if it works)

  1. Open Settings β†’ Accounts and Sync β†’ Mi Account.
  2. Click on your profile β†’ Exit.
  3. Enter the password from the Mi Account and confirm the exit.
  4. Return to Settings β†’ About Phone β†’ Reset and clean up (Section 2).

Method 2: Through the Xiaomi website (if the phone is not turned on)

  1. Go to account.xiaomi.com and log in.
  2. In the Devices section, find your phone and click Delete Device.
  3. Confirm the action via SMS or email.
  4. Wait 24 hours – the binding will be removed (on some models right away).

⚠️ Note: If you are selling a phone with a locked bootloader, the new owner will not be able to unlock it without your Mi Account. To avoid problems, unlock the bootloader in advance through the Mi Unlock Tool (instructions on the official website).

Always remove.|I delete, but I don't always remember.|I don't delete -- I don't know how.|I am selling with an account (I don’t know if it’s important)|Another option-->

6 How to Check That Your Phone Is Completely Clean

After the reset, it is important to make sure that your data is not left on the device.

  • πŸ” Phone Memory: Open the File Manager and make sure folders are in place DCIM, Downloads, Documents are empty. Check the hidden folders (turn on the display in the manager settings).
  • πŸ‘€ Accounts: Go to Settings β†’ Accounts – Your Google, Mi, or Social Media should not be there.
  • πŸ“‘ Network settings: Make sure saved Wi-Fi networks are removed (Settings) β†’ Wi-Fi β†’ Save networks).
  • πŸ”‘ Security: Check that fingerprints and face are ID reset (Settings) β†’ Passwords and security β†’ Fingerprints/faces).

For a deep check, use the DiskUsage app (available on Google Play) to show which files are taking up space on the internal drive, and if you see suspicious folders (e.g.,.thumbnails,.data) reset again via Fastboot.

πŸ’‘

HyperOS models may have a system application cache after reset. To delete it, go to Settings β†’ Storage β†’ Cleanup after you first set it up and select Deep Clean.

7. Frequent mistakes and how to avoid them

Even experienced users sometimes face problems when resetting Xiaomi, and here are the most common mistakes and solutions:

Mistake.Reason.Decision
Phone asks for old password after resetActivated. FRP-Protection of the Factory Reset Protection)Enter the last password you used from Google or Mi. If you don’t remember, reset via Fastboot (Section 3)
After the reset, Wi-Fi/Bluetooth will not be turned on.Failure in communication modules (often on POCO M3/M4)Reset network settings: Settings β†’ Network and Internet β†’ Reset Wi-Fi/mobile network settings
Phone hangs on Mi logo after resetThe firmware or userdata section is damagedRun a reset via Fastboot with the fastboot format userdata command
Mi Account is not deleted through settingsXiaomi servers are temporarily unavailableTry untiing your account through the website or try again in 24 hours

If the phone is slower than before, it's normal, and MIUI/HyperOS is optimized for the user within 2-3 days, to speed up the process.

  • Turn off animation: Settings β†’ Special features β†’ Remove animations.
  • Clear the cache: Settings β†’ Storage β†’ Cleanup β†’ Cache of applications.
  • Update: Settings β†’ About the phone β†’ System update.

FAQ: Answers to Frequent Questions

Can data be recovered after a complete reset?
Theoretically, yes, but only if the reset was done through Settings or Recovery without formatting. Special programs (for example, Dr.Fone, EaseUS MobiSaver) can restore some files if new data is not written in their place. However, after the command fastboot format userdata, you can not restore the data - the data is deleted at a low level. If you sell a phone, we recommend that after the reset, write junk files (for example, video) to it, and then reset again.
Why does the phone require a Mi Account after a reset that doesn't exist?
This means that the device was tied to the Mi Account, but not untied before reset. Solutions: If you are the owner: log in to your Mi Account on the site and remove the device from the list. If you are a buyer: ask the seller to untie the account. If the connection is lost, contact Xiaomi with a purchase check. Last option: unlock the bootloader through the Mi Unlock Tool and flash the phone with clean firmware. On models with HyperOS, Fastboot can work bypass with fastboot erasep command, but this requires an unlocked bootloader.
How to reset Xiaomi if you forget the password from the lock screen?
There are three options: via Mi Account: On the lock screen, click Forgot password? β†’ log in to Mi Account and reset PIN. Through Recovery: Reset the instructions from section 3 (data will be deleted). Through Fastboot: Use the command fastboot erase userdata (section 4). If the phone is encrypted, after reset via Recovery, it can require the old password. In this case, only Fastboot will help.
Should I take it out? SIM-card and memory card before resetting?
βœ… SIM-It is better to take out the card - this will prevent accidental binding to the operator after reset (on some Xiaomi models, the settings of the mobile network are saved). ❌ Memory map (SD) You don't have to remove it, because resetting through settings or Recovery doesn't affect external drives, but if you use it as internal memory (Adoptable Storage), the data on it will be deleted!
Can you reset Xiaomi without losing your warranty?
Yes, a reset via Settings or Recovery does not affect the warranty. However: If you unlock the bootloader, the warranty burns. If the reset is done via a Fastboot with flashing, the warranty can be voided (depending on the service center). On HyperOS models, a reset via Fastboot does not always result in a loss of warranty unless the firmware has changed. Use only official reset methods (sections 2 and 3) to maintain the warranty.