How to Reset Xiaomi Mi 5 to Factory Settings: A Complete Guide to Error Solutions

The Xiaomi Mi 5, released in 2016, is still a popular smartphone thanks to its powerful hardware (Snapdragon 820, 3/4 GB of RAM) and current support for custom firmware. However, over time, any gadget begins to β€œbrake”, glitch or require complete cleaning before selling. Hard reset is a universal solution to such problems, but the Mi 5 has nuances: from binding to Mi Account to locking the bootloader.

In this article you will find 3 proven ways to reset (via settings, Recovery and Fastboot), instructions for saving data, as well as solutions to typical errors - for example, when the phone requires a password after reset or hung on the Mi logo.

Preparation for resetting: what to do before the start

Resetting to factory settings removes all data from internal memory: photos, contacts, messages, installed applications and even files on the memory card (if used as internal storage).

  • πŸ“± Back up. Use the settings. β†’ Additionally. β†’ Backup and reset β†’ Local backup or third-party utilities like Titanium Backup (requires root).
  • πŸ”‹ Charge the battery to at least 50%. Interrupting the discharge process due to discharge can lead to the "bricking" of the device.
  • πŸ”‘ Make sure you know the username/password from Mi Account. After resetting, Mi 5 will require authorization if Find Device was previously enabled.
  • πŸ“‘ Disable Google Account (if used). Go to Settings β†’ Accounts. β†’ Google and delete the account, otherwise it may work after the reset FRP-lockdown.

If you drop your phone before selling, additionally:

  • πŸ“¦ Extract. SIM-Memory card (if not used as internal memory).
  • πŸ”„ Log out of all accounts (Mi Account, Google, Social Media).

⚠️ Note: On the Mi 5 with the unlocked bootloader, resetting via Recovery can result in a loss of ability to flash the device through Fastboot.If you plan to install custom firmware, use the method through settings.

πŸ“Š Why you are dropping the Xiaomi Mi 5?
Removing the leg and brakes
I'm getting ready to sell.
I want to install custom firmware.
Forgot the pattern lock
Other

Method 1: Reset via the settings menu (the safest)

This is a method that works if the phone turns on and you remember the unlock password. It's the simplest and doesn't require any additional tools.

  1. Open the settings (cog icon on the desktop).
  2. Go to the section Additional β†’ Backup and Reset.
  3. Select Settings Reset.
  4. Click Reset your phone settings and confirm the action.
  5. Wait for the reboot (it will take 5-10 minutes).

If the menu does not include Additional, try an alternative route:

Settings β†’ About the phone β†’ Reset settings β†’ Erase all data

⚠️ Attention: On some firmware MIUI After selecting a reset, you will be asked to enter a password from Mi Account, even if Find Device is disabled. If you do not remember the password, use the method through Recovery (see next section).

β˜‘οΈ Preparing for reset via settings

Done: 0 / 5

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

If the Mi 5 is stuck on the logo, does not respond to touches or is locked with a pattern lock, reset via Recovery is the only way out. Xiaomi Mi 5 uses stock Recovery from MIUI, but its functionality is limited.

  1. Turn off the phone (press the power button for 10 seconds).
  2. Press Volume Up + Power and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
  3. Use volume buttons for navigation and power button for selection.
  4. Select Wipe Data β†’ Wipe All Data (on some versions of Wipe & Reset).
  5. Confirm the action and wait for the completion.
  6. Reboot the phone (Reboot) β†’ Reboot to System).

If after resetting the phone requires a password from Mi Account, and you do not remember it, you will have to use Fastboot (mode 3) or contact the service center to unlock.

What happens if Recovery does not open?
If after holding Volume up + Power the phone vibrates, but the menu does not appear, try: 1. Connect the charger and repeat the combination. 2. Use Volume down + Power (on some firmware). 3. Swipe stock Recovery through Fastboot (see Method 3).

Method 3: Fastboot Reset (for power users)

This method requires a computer and a Mi Flash Tool utility, but it is the only one that is guaranteed to bypass Mi Account lock (if the bootloader is unlocked), suitable for "brick" devices or if the first two methods did not work.

You'll need:

  • πŸ’» Windows computer (7/10/11).
  • πŸ”Œ Cable USB Type-C (original, undamaged).
  • πŸ“¦ Mi Flash Tool and stock firmware for Mi 5 (gemini version).
  • πŸ”“ Unlocked bootloader (if not unlocked, follow the instructions below).

Step-by-step:

  1. Turn off the phone and put it in Fastboot mode: press Volume down + Power before the bunny with the inscription Fastboot appears.
  2. Connect the phone to the computer.
  3. Launch the Mi Flash Tool, press Select and point the path to the unpacked firmware.
  4. At the bottom, select Clean All (full reset) and click Flash.
  5. Wait for the end (5-10 minutes). The phone will reboot automatically.
Mistake.Reason.Decision
Couldn't flash custDamaged firmware filesDownload the firmware again, check the checksum
Device not foundFastboot drivers not installedInstall Mi PC Suite or Drivers Manually
Anti-rollback checkTrying to flash the old version of MIUIUse the firmware no older than the current one
The phone does not turn on after the firmwareMode is incorrectly selected (Clean All instead of Save User Data)Repeat the firmware with the correct mode

⚠️ Note: Fastboot firmware with Clean All option deletes all data without recovery, including the contents of internal memory. If you need to save files, use Save User Data, but this does not guarantee bypassing Mi Account.

1. reconnect the cable to another USB-port (preferably) USB 2.0).

2. Launch the utility on behalf of the administrator.

3.In Device Manager, check that the phone is identified as Android Bootloader Interface.-->

How to unlock the bootloader on Xiaomi Mi 5

If the bootloader is locked, firmware via Fastboot is impossible. Xiaomi officially allows unlocking, but the process requires waiting (usually 72 hours).

  1. Download the Mi Unlock Tool and install it on your PC.
  2. Turn on the phone Developer Options (7 times click on the MIUI version in Settings β†’ About phone).
  3. Activate OEM Unlock and USB Debugging in Settings β†’ Additional β†’ For Developers.
  4. Link Mi Account to your phone in Settings β†’ Mi Account.
  5. Transfer the phone to Fastboot (Loudness down + Power) and connect to the PC.
  6. Launch the Mi Unlock Tool, log in to your Mi Account and follow the instructions. Expect a confirmation SMS (may take up to 3 days).

After unlocking the bootloader, you can flash custom firmware (LineageOS, Pixel Experience) or reset your phone via Fastboot without restrictions.

πŸ’‘

Unlocking the bootloader resets all the data on the phone! make a backup in advance.

Solving problems after discharge

Even after a successful reset, problems can arise. Let's consider the most common and ways to fix them:

1.The phone requires a password from the Mi Account

If Find Device was previously enabled, Mi 5 will request data from Mi Account after resetting.

  • πŸ”‘ Enter the correct password. If you forgot, restore it through the official website.
  • πŸ“§ Contact the previous owner (if the phone is purchased by a used phone) and ask them to delete the device from their account via Find Device.
  • πŸ”§ Swipe your phone through Fastboot (method 3), but it will only work with the bootloader unlocked.

2.The phone is stuck on the Mi logo after being dumped

Reasons:

  • πŸ”„ Interrupted resetting process (for example, due to battery discharge).
  • πŸ“₯ Damaged firmware (if dropped via Fastboot).

Decisions:

  • πŸ”‹ Squeeze the power. + Volume down 20 seconds for forced reboot.
  • πŸ“₯ Repeat the firmware via Fastboot with another version MIUI.
  • πŸ”§ If the phone doesn’t respond, try flashing through EDL Mode (requires an authorized Xiaomi account).

3.The sensor or buttons do not work after resetting

This could be due to incompatible firmware or damage to the plume connector.

  • πŸ”„ Sweep through the stock. MIUI for Mi 5 (Gemini version).
  • πŸ› οΈ Disassemble the phone and check the connection of the screen plume (requires repair skills).
How to Sign In to EDL Mode on Mi 5?
For the entrance EDL Mode (emergency firmware mode) you need: 1. Turn off the phone. 2. Close the test points on the board (requires disassembly) or use a Deep Flash cable. 3. Connect to a PC and flash through the Mi Flash Tool with the Clean All and Lock option. ⚠️ This method is risky and can permanently put the phone out of action!

Frequently asked questions

Can I reset the Mi 5 without losing data?
No. Any factory reset removes all data from internal memory. The only way to save files is to back up in advance (via MIUI Backup or manually copy files to a PC).
What if the phone says β€œThis device is locked” after the reset?
This means that the bootloader is locked and you tried to flash the phone through Fastboot Solutions: Unlock the bootloader via Mi Unlock Tool (see section above).Use the official firmware and Clean All and Lock mode in the Mi Flash Tool.
How to reset the Mi 5 if you forget the pattern lock?
If you remember the Mi Account, use the Recovery method (method 2). If not, only the firmware through Fastboot (method 3) remains, but you will need to unlock the bootloader.
Can I reset Mi 5 through a computer without a Fastboot?
Yes, with the utility. ADB. Connect your phone to your PC, turn on Debugging. USB, Open the command line and enter Adb shell recovery. --wipe_data But this method only works if the phone is on and unlocked.
What firmware to choose for Mi 5 after resetting?
Recommended options: Official MIUI: download the latest version for gemini. Custom firmware: LineageOS 16 (Android 9) or Pixel Experience (Android 10) - requires an unlocked bootloader. For stable operation, choose firmware based on Android 7-9 (new versions can slow down due to weak iron).