How to reset Xiaomi Mi5 to factory settings: 3 ways + FAQ

Why is it necessary to reset the Mi5 to factory settings?

The Xiaomi Mi5, released in 2016, is still in demand among users due to its balanced characteristics: Snapdragon 820 processor, 3 GB of RAM and a 3000 mAh battery. However, over the years, even reliable equipment begins to slow down, glitch or become infected with viruses.

Returning the Mi5 to its original state may be necessary in several cases:

  • ๐Ÿข The phone is severely slowing down, applications are constantly flying out or hanging.
  • ๐Ÿ”’ You have forgotten the pattern lock or PIN-screen-lock.
  • ๐Ÿฆ  The device is infected with viruses or advertising software that is not removed by standard methods.
  • ๐Ÿ“ฑ Plan to sell or transfer your smartphone to another person and want to delete all personal data.
  • ๐Ÿ”„ After a failed update MIUI The phone stopped working properly.

It is important to understand that resetting is not a panacea for all problems. If the Mi5 has hardware malfunctions (such as a bloated battery or a damaged motherboard), software reboot will not help, and the procedure will not correct the errors associated with the bootloop due to a damaged bootloader.

๐Ÿ“Š Why do you want to lose Xiaomi? Mi5?
Remove the brakes.
Remove viruses
Prepare for sale
Reset password
Other

Preparation for resetting: what should be done in advance?

Before you start resetting, be sure to save all the important data โ€” after the procedure, they will be irretrievably deleted. There is no memory card slot in the Mi5, so you will have to back up through the cloud or computer.

Here's what needs to be done:

  • ๐Ÿ“ฑ Sync your contacts with your Google or Mi Account. Go to Settings โ†’ Accounts. โ†’ Google and enable synchronization.
  • ๐Ÿ“ท Copy photos and videos to your computer through USB-Cable or upload them to Google Photos/Mi Cloud.
  • ๐Ÿ’ฌ Export. SMS and a call log using apps like SMS Backup & Restore.
  • ๐ŸŽฎ Save game data if it is linked to accounts (e.g. Google Play Games or social media).
  • ๐Ÿ” Make sure you know the username and password from Mi Account โ€“ after resetting, the phone may require you to enter credentials to unlock.

If you are using a custom-built Mi5 (like LineageOS or Pixel Experience), note that you may need to re-rout through Recovery. Also check your battery power โ€“ it should be at least 50% to avoid a sudden shutdown during the process.

โš ๏ธ Note: If the phone has enabled Find Device in Mi Account, the Xiaomi account may be blocked after the reset. To avoid this, disable it in advance in Settings โ†’ Mi Account โ†’ Find Device.

Make a backup copy of the data|Charge your phone to at least 50%|Disable Find Device in your Mi Account|Remember the username/password from Mi Account|Prepare. USB-cable (if you need to reset via PC)

-->

Method 1: Reset via the settings menu (soft reset)

The easiest and safest method is to reset directly from the operating system, which is suitable if the phone turns on and you can log into the settings menu, which requires no additional tools and takes only 5-10 minutes.

Instructions:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the section Additional โ†’ Recovery and Reset (in new versions of MIUI, the path can look like Settings โ†’ About Phone โ†’ Reset settings).
  3. Select Resetting (or Delete all data).
  4. The system will be asked to PIN-code or pattern lock for confirmation.
  5. Click Reset your phone and wait for the process to be completed.

Once you reboot, the Mi5 will go back out of the box, and you just have to go through the initial setup, like when you first turn on, and if the phone requests Mi Account data, enter it, which is a normal anti-theft procedure.

โš ๏ธ Warning: Some firmware may have a "This device is locked" error after a reset, which means that the phone is tied to Mi Account and you need to enter the account information you linked to before the reset to unlock it. If you forget your password, restore it to account.xiaomi.com.

๐Ÿ’ก

If the phone is loading for a long time after reset (more than 15 minutes), donโ€™t panic โ€“ the first turn on after a hard reset can take up to 30 minutes.

Method 2: Recovery Mode (hard reset)

If the Mi5 doesnโ€™t turn on, is stuck on the Mi logo or locked with a pattern lock, youโ€™ll have to use Recovery Mode, which works even on a broken system, but requires care โ€“ incorrect actions can lead to a blink (complete failure) of the device.

Step-by-step:

  1. Turn off the phone (if it freezes, press the power button for 10-15 seconds).
  2. Press the Volume Up + Power buttons at the same time and hold them for 5-7 seconds until the Mi logo appears.
  3. Release the buttons and you will see the Recovery menu (in English or Chinese).
  4. Use volume buttons for navigation and power button to select the item.
  5. Select Wipe Data โ†’ Wipe All Data (or Clear Data in Chinese).
  6. Confirm the action by selecting Confirm or Yes.
  7. Once you have finished, select Reboot โ†’ Reboot to System.

If the menu is in Chinese, focus on the location of the items:

Russian translationEnglish versionChinese version (hieroglyphs)
Clear the dataWipe Data
ConfirmConfirm
Reboot the systemReboot to System
CancellationCancel

If the phone doesn't turn on after reset or freezes on the screensaver, the firmware may be damaged, in which case you will need to flash through Fastboot (read about this in the next section).

What happens if the Recovery Mode does not open?
If after holding Volume up + Power the phone vibrates, but the menu does not appear, try: 1. Use the combination Volume down + Power (on some firmware). 2. Connect the phone to charge and try again. 3. If the screen remains black, the display or button plume may be damaged. In this case, the reset can only be done via the PC (method 3).

Method 3: Fastboot Reset (for power users)

If the first two methods fail (for example, due to a damaged Recovery or a blocked bootloader), the last option is to reset via Fastboot mode, USB-cables and installed drivers ADB/Fastboot. He's a good fit for:

  • ๐Ÿ”ง Recovery of the phone after a failed firmware.
  • ๐Ÿ”’ Bypassing Mi Account lock (only on older versions) MIUI).
  • ๐Ÿ“ฑ Eliminate bootloop (circular loading).

Instructions:

  1. Install ADB and Fastboot on PC (or use the Mi Flash Tool).
  2. Turn off the Mi5 and press Volume Down + Power to enter the Fastboot Mode (a hare in a hat-eared image will appear).
  3. Connect your phone to your computer via USB.
  4. Open the command line (Win + R โ†’ cmd) and type:
fastboot devices

If the device is determined (the serial number will appear), execute the command to completely reset:

fastboot erase userdata


fastboot erase cache




fastboot reboot

These commands will delete all user data and cache, but save the firmware. If you need to reflash the phone completely, download the official firmware for Mi5 (codename gemini) from the Xiaomi Firmware site and use the Mi Flash Tool.

โš ๏ธ Attention: On new versions MIUI (above 12) a reset via Fastboot can lead to the blocking of the bootloader (Anti-Rollback.

๐Ÿ’ก

Fastboot reset is the most radical method, and only use it if other methods fail, as the wrong commands can turn your phone into a brick.

What do I do after the dump?

After the successful reset of the Xiaomi Mi5, the initial setup is to be made.

  1. Sign in to Mi Account and Google Account โ€“ this will unlock access to previously synchronized data.
  2. Restore your backup (if you did it through Mi Cloud or Google Drive).
  3. Set up your fingerprint and face unlock (if necessary) in Settings โ†’ Screen lock.

If your phone is running slower than before, try:

  • ๐Ÿงน Clear the application cache in Settings โ†’ Annexes โ†’ Application management.
  • ๐Ÿ”„ Disable animation in Settings โ†’ Additionally. โ†’ For developers (enable developer mode by clicking 7 times on the Version) MIUI in the section About the telephone).
  • ๐Ÿ“ต Remove unnecessary system applications through ADB (Only for experienced users!).

If you dropped your phone before selling, remember:

  • ๐Ÿ”„ Sign out of Mi Account and Google Account.
  • ๐Ÿ“ฑ Delete everything SIM-Memory cards and cards (if you use an adapter).
  • ๐Ÿ”’ Reset network settings in Settings โ†’ SIM-maps and mobile networks โ†’ Resetting network settings.

Frequent mistakes and their solutions

Even if you follow the instructions correctly, you can have problems.

Problem.Possible causeDecision
The phone will not turn on after resettingFirmware or loader damagedFastboot or Mi Flash Tool
Requires a password from Mi Account after resetReset Protection (FRP) activatedEnter account details or reset via Fastboot (on old MIUI)
Hangs on the Mi logo after being resetFirmware conflict or damaged cacheReset the cache in Recovery (Wipe Cache)
Recovery Mode does not openThe buttons or firmware are damaged.Try resetting via Fastboot or service center
After reset, there is no network (no SIM catches)IMEI or communication module is downRestore IMEI via Engineer Mode or flash the modem

If neither method worked, the problem may be the hardware, for example, a faulty flash memory (eMMC) can cause cyclical failures even after a reset, in which case only repairs at a service center will help.

How to restore IMEI on Xiaomi Mi5?
If it's gone after the dump. IMEI (no network), try: 1. Enter the dial number ##4636## and check the status IMEI. 2.If IMEI No, restore it via Engineer Mode (code #3646633##) by selecting Connectivity โ†’ CDS Information โ†’ Radio Information. 3. Enter AT-Recovery teams (requires root rights) Warning: Mistakes can lead to loss of network forever!

FAQ: Answers to Frequent Questions

Can you reset the Xiaomi Mi5 without losing data?
No, any factory reset involves the complete deletion of user data: ๐Ÿ”ง If the phone is slowing down, clear the cache in Settings โ†’ Memory. โ†’ Clear the cache. ๐Ÿ› ๏ธ If infected with viruses, use an antivirus (e.g. Malwarebytes). ๐Ÿ”’ If you forget your password, try unlocking it through Find Device in Mi Account, but in most cases, a full reset is the only reliable solution.
Will Hard Reset Reset Reset an Operator Lock?
No, factory reset does not remove operator lock. Mi5 tied to a specific mobile operator (for example, was purchased under a contract), unlocking is possible only: ๐Ÿ“ž By official request to the operator (a check or contract is required). ๐Ÿ’ป With the help of paid services of unlocking IMEI (fraud-risk!). ๐Ÿ”ง Through custom modem firmware (requires root and experience). Mi5, Always check it for locking with another. SIM-map.
How to Reset Mi5 if the Screen is Not Working?
If the display crashed or doesn't respond to touches, but the phone turns on, try: Mi5 To the computer and use it. ADB Resetting: Adb shell recovery --wipe_data If ADB If you don't connect, log in to Recovery via a button combination (even with a broken screen, the reset procedure will go through automatically after confirmation). If the screen is completely black (no backlight), the problem may be in the plume or motherboard โ€“ here only repairs will help.
Can the reset be cancelled after it is launched?
No, you can't cancel the reset once you've started. Once you've confirmed the Wipe Data command, all the data is deleted permanently: ๐Ÿ”„ Bootloop (Infinite Boot Loop). ๐Ÿ’ฅ Damage to the file system. ๐Ÿ”ง If the reset is already running, wait until it is completed (usually takes 3-10 minutes).
How do I know if the reset has been successful?
Signs of a successful Xiaomi reset Mi5: ๐Ÿ“ฑ The phone has rebooted and shows the screen of the initial setting (language selection). ๐Ÿ”„ All applications, photos and settings have been removed (except for pre-installed system settings). ๐Ÿ“ก Re-entering of Mi Account and Google data. ๐Ÿ”‹ The battery runs out faster than usual (normal for first switching on). If the phone is unstable after reset (flying out, overheating), maybe the problem is in the hardware - check the battery and the thermal paste.