Reset Xiaomi Mi4 to factory settings: 3 working methods (2026)

The Xiaomi Mi4, released in 2014, remains popular with users for its reliability and custom firmware installation. However, over time, any smartphone starts to โ€œbrakeโ€, emit errors or require complete cleaning before selling. Resetting to factory settings is a universal solution for such cases, but it is important to do it correctly so as not to turn the device into a โ€œbrickโ€.

In this article, you will find three proven reset methods (via settings, Recovery and Fastboot), as well as answers to frequent questions: what to do if the phone does not turn on after a reset, how to save data before cleaning and why Mi4 It can hang on the Xiaomi logo, and the instructions are valid for all firmware versions, including: MIUI 5/6/7/8 and custom assemblies of the type LineageOS.

When do I need to reset to factory settings?

Resetting is not always a panacea, but in some cases it is really necessary:

  • ๐Ÿ“ฑ Selling or transferring a phone โ€“ deletion of personal data (photos, messages, accounts).
  • ๐Ÿข Slowdown of work โ€“ lags, hanging, long loading of applications.
  • ๐Ÿ”„ System errors โ€“ constant crashes, application crashes, cyclic reboot.
  • ๐Ÿ”’ Forgotten pattern lock or PIN โ€” If other methods of unlocking have not helped.
  • ๐Ÿ› ๏ธ Preparation for firmware is a mandatory step before installing custom software.

However, resetting wonโ€™t help if the problem is related to hardware malfunctions, such as a broken screen, a broken power button, or a damaged motherboard, in which cases repairs are required.

โš ๏ธ Attention: On Xiaomi Mi4 Unlocked bootloader resets can result in loss of boot capability if you previously installed unofficial firmware.

๐Ÿ“Š Why you want to reset your settings Mi4?
The device is braking.
I'm getting ready to sell.
Forgot my password.
Post-firmware errors
Other

Method 1: Reset via the settings menu (the easiest one)

This method is suitable if the phone turns on and responds to touch.The interface may vary slightly depending on the version of MIUI, but the overall algorithm is maintained.

Step-by-step:

  1. Open the Settings app (cog icon).
  2. Go to About Phone (or Additional โ†’ Restore and Reset in older versions).
  3. Select Settings Reset (or Factory Data Reset).
  4. Click Reset your phone settings and confirm the action.
  5. When requesting, enter the password from the Mi Account (if linked) or the pattern lock.
  6. Wait for the process to be completed (5-10 minutes) and the phone will reboot automatically.

If after resetting the Mi4 requires you to enter your Xiaomi account details that you donโ€™t remember, use the instructions in the FAQ.

Make a backup copy of the data (photos, contacts, messages)

Remember or reset your password from your Mi Account

Connect the charger (the battery must be charged at least 50%)

Make sure your phone is not connected to your PC (to avoid crashes)-->

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

If the Mi4 is stuck on the logo, reboots cyclically or doesnโ€™t respond to touch, use Recovery mode, which is also suitable if you forget the pattern lock.

Instructions:

  1. Turn off the phone (press the power button for 10-15 seconds).
  2. Press the Power button + Volume up at the same time and hold for 5-7 seconds until the Mi logo appears.
  3. Release the buttons - you will be taken to the Recovery menu (navigation is carried out by volume buttons, the choice is by the power button).
  4. Select Wipe & Reset (or Wipe Data in custom TWRP recavators).
  5. Confirm the action by selecting Wipe All Data (or Factory Reset).
  6. Once completed, select Reboot to reboot.

If the Recovery menu does not have Russian, look for English inscriptions or icons. In TWRP, the path can look like this: Wipe โ†’ Format Data โ†’ type "yes".

Problem.Reason.Decision
I can't get into Recovery.Faulty buttons or damaged firmwareUse Fastboot (Method 3) or check the buttons for performance
After reset, the phone asks for a Mi AccountMi Account Protection ActivatedEnter a linked account or contact Xiaomi for support
Recovery is a bug with E:unknown command.Recovery section damagedReflash Recovery via Fastboot (instruction below)
phone is stuck on startup logo after resetFirmware conflict or incompatible softwareInstall the official firmware through the Mi Flash Tool

โš ๏ธ Attention: If Mi4 custom-made (TWRP), Disposal through it can lead to the loss of the ability to download the official firmware without additional manipulation. MIUI via Fastboot.

What to do if a password is required in Recovery?
If the Recovery menu requests a password, it means that the phone has FRP (Factory Reset Protection) activated. In this case: 1. Enter the password from the last Google account associated with the device. 2. If the password is unknown, the only way out is through Fastboot with deletion of all data (see Method 3). 3. On some versions, MIUI helps connect to Wi-Fi and reset via Recovery.

Method 3: Fastboot Reset (for power users)

This method is used if:

  • ๐Ÿ”ง The phone doesnโ€™t even load in Recovery.
  • ๐Ÿ”“ You need to bypass Mi Account protection (only for unlocked bootloader!).
  • ๐Ÿ“ฆ Requires a complete refashion of the device.

The work will require:

  • A computer with ADB/Fastboot drivers installed.
  • USB cable (preferably original).
  • Archive with the official firmware for Mi4 (you can download on the official website).
  • Mi Flash Tool (for Windows)

Step-by-step:

  1. Turn off the phone. Press the Power button + Volume down to enter Fastboot mode (the image of a hare in a hat-eared will appear).
  2. Connect the Mi4 to your PC via USB.
  3. Launch the Mi Flash Tool, press Select and specify the path to the unpacked firmware (file with the.tgz extension).
  4. At the bottom, select Clean All (Full Cleaning) or Clean All and Lock (Cleaning + Lock bootloader).
  5. Press Flash and wait for completion (5-10 minutes). the phone will reboot automatically.

If the Mi Flash Tool is making an error, try:

  • ๐Ÿ”Œ Connect the phone to another USB-port (preferably) USB 2.0).
  • ๐Ÿ”„ Reinstall drivers ADB Android SDK Platform-Tools.
  • ๐Ÿ“ฅ Download a different firmware version (e.g. Global Stable instead of China Stable).

โš ๏ธ Attention: Resetting via Fastboot with the option "Clean all and lock" will block the bootloader, which will make it impossible to install custom firmware without re-unblocking. TWRP Or LineageOS, choose only Clean All.

๐Ÿ’ก

If the Mi Flash Tool doesn't see the phone, try manually installing drivers through Windows Device Manager. In the list of devices, find "Android Bootloader Interface" and update the driver by specifying the folder with ADB.

How to save data before resetting?

Resetting to factory settings completely removes all data from internal memory, including:

  • ๐Ÿ“ธ Photos and videos (including screenshots).
  • ๐Ÿ“ž Contacts (if not synchronized with the Google/Mi Account).
  • ๐Ÿ’ฌ Communications (SMS, chat-room).
  • ๐ŸŽต Music and uploaded files.
  • ๐ŸŽฎ Game saving (if not linked to an account).

Methods of backup:

Type of dataHow to saveTools
Photo/videoCopy on PC or in the cloudGoogle Photos, Mi Cloud, USB cable
ContactsSynchronize with your accountGoogle Contacts, Mi Account
CommunicationsExport to fileSMS Backup and Restore
AnnexesKeep a list of establishedTitanium Backup (root), Mi Mover
Calls/magazinesExports to CSVCall Logs Backup app

For a full system backup (including settings and applications), root rights and the TWRP + Titanium Backup utility will be required. Without root access, copy at least the most important files manually through Explorer or Mi PC Suite.

๐Ÿ’ก

Even if you have made a backup, check its integrity before resetting! connect the phone to your PC and make sure the files are readable and not corrupted.

What if the phone doesnโ€™t turn on after reset?

If Xiaomi Mi4 after resetting:

  • ๐Ÿ”„ Hanging on the Mi logo โ€“ most likely, the system partition is damaged or the firmware is incompatible with the bootloader version.

Solutions for each case:

  1. Hanging on the logo: Try to go to Recovery and repeat the reset. If it doesn't work, run the official firmware through Fastboot (see Method 3). For custom firmware, check compatibility with the bootloader version.
  2. Unresponsive: Connect to charge for 30 to 60 minutes, maybe the battery is dead. Try to pinch Power Button + Up/down Volume for 20 to 30 seconds (forced reboot). If it doesn't work, bring it to the service, there may be a malfunction of the board.
  3. Requires Mi Account: Enter the last account associated. If the account is deleted or forgotten, contact Xiaomi with proof of ownership of the device (check, box). For unlocked devices, you can flash the firmware through Fastboot with the Clean all and lock option (but this will delete all data).

If none of the methods worked, there may be a hardware problem (e.g., a damaged flash memory) in which case, contact the service center.

FAQ: Frequent questions about resetting Xiaomi Mi4

โ“ How to bypass Mi Account protection after resetting?
Mi Account Lock cannot be officially bypassed, it is a measure of protection against theft. However, there are several ways: Enter the details of the last Xiaomi account associated. If the account is deleted, restore it via account.xiaomi.com (you need an email or phone). For unlocked downloaders, run the firmware through Fastboot with the Clean all and lock option (data will be deleted!). Contact Xiaomi with proof of purchase (check, box, IMEI). Attention: Using informal methods of bypassing (for example, via EDL) can lead to lock the device!
โ“ Can I drop it? Mi4 data-free?
No, factory reset always deletes the /data partition. However, you can: Back up your Mi PC Suite or TWRP (if there is root), copy important files manually (photos, documents) to your PC, use Google Drive, Mi Cloud to synchronize contacts and notes. If the phone is locked but turns on, connect it to your PC in MTP mode (if access is allowed) and copy the files.
โ“ Why after the dump? Mi4 slow down?
This can happen for several reasons: ๐Ÿ”‹ Old battery - if the battery is worn out, the phone will lag even after being reset. check the battery's health through the AccuBattery app. ๐Ÿ“‰ Outdated firmware - after reset, install the latest version MIUI Or custom firmware (for example, LineageOS 14.1). ๐Ÿงน Clogged memory -- even after resetting, there are temporary files. SD Maid for cleaning. ๐Ÿ”ง Damaged flash memory โ€“ if the reset didnโ€™t help, check the memory through Fastboot with the command: fastboot devices fastboot erase cache If the lags are left, try flashing your phone through Fastboot with full cleaning (Clean all).
โ“ How to drop Mi4, if the screen is not working?
If the screen is broken or does not respond to touch, but the phone turns on: Mi4 PC-only USB and use ADB Resetting: Adb shell recovery --wipe_data If ADB Unconnected, log in to Recovery via button combination (Power) + Volume up) and control the menu with volume buttons. For a complete reset, swipe your phone through Fastboot (see Method 3). If the screen is completely black and the phone does not respond to buttons, most likely the problem is in the plume or motherboard โ€“ repair is required.
โ“ Can I roll the firmware back on? Mi4 post-discharge?
Yes, but with reservations: ๐Ÿ”™ Official Firmware: You can flash any version MIUI via Fastboot, but older firmware may contain vulnerabilities. ๐Ÿ”„ Custom firmware: For example, LineageOS or Resurrection Remix, but an unlocked bootloader is required. โš ๏ธ Risks: Recoiling on too old firmware can lead to conflicts with the bootloader (for example, an anti-rollback error). It is recommended to install the latest stable version for your model. Mi4 available on Xiaomi's website.