How to Reset Xiaomi Mi 4X to Factory Settings: The Complete Guide

Xiaomi Mi 4X is a popular smartphone that even after years remains in demand due to balanced characteristics and support MIUI. However, over time, any gadget begins to β€œbrake”, glitch 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 lose important data or turn the phone into a β€œbrick”.

In this article, you will find 3 proven ways to reset the Mi 4X: through phone settings, using hardware buttons and in Fastboot mode. We will analyze each method in detail, point out critical nuances for the Mi 4X model (for example, features of work with a bootloader), and give recommendations for data preservation and recovery after a reset. If your smartphone is getting stuck, does not turn on or requires unlocking, here you will find the latest solutions.

Preparing for resetting: what to do before cleaning

Before you start resetting, make sure you follow all the key steps.An unprepared reset can result in loss of photos, contacts and even locking up your Xiaomi account (if you have a Mi Account attached).

  • πŸ“± Save important data: contacts (export to.vcf), photos, messages. Use Mi Cloud, Google Drive or physical copying on your PC.
  • πŸ”’ Make sure you know the username/password from Mi Account. Once reset, the phone may require you to enter credentials to unlock.
  • πŸ”‹ Charge the battery by at least 50%. interruption of the process due to discharge is fraught with software failures.
  • πŸ“‘ Turn off Find My Device (if enabled).In some cases, the feature may block resets.

Pay special attention to Mi Account. If you forget your password, restore it before reset via the official website account.xiaomi.com. Xiaomi Mi 4X based on MIUI can request confirmation of account after cleaning, and without access to mail / phone to unlock the device will be extremely difficult.

πŸ“Š Have you ever reset your phone to factory settings?
Yeah, you.
Yeah, at the service center.
No, but I'm planning.
No, I'm not.

⚠️ Attention: If on Mi 4X custom recapable (for example, TWRP), standard resetting through settings may not work. In this case, use the hardware button method or Fastboot.

Method 1: Reset via the settings menu (if the phone is working)

The easiest and safest method is to reset directly from the MIUI interface. This is suitable if the smartphone is turned on, reacts to touch and you have access to the menu. Instructions are relevant for the Mi 4X on all versions of MIUI (including MIUI 12/13):

  1. Open Settings (the gear icon on the main screen).
  2. Go to the About Phone section β†’ Additional β†’ Recovery and Reset.
  3. Select Resetting (may be called Resetting to Factory).
  4. Confirm the action by entering a pattern lock or PIN-code (if installed).
  5. Wait until the process is complete (usually takes 3-5 minutes) and the phone will reboot automatically.

Once you reboot, you'll see the initial setup screen, like after you buy it. If your phone requests Mi Account data, enter it. If you forgot your password, use the restore feature on Xiaomi's website.

Make a backup copy of the data|Disable Find My Device|Battery charge β‰₯50%|Remember the Mi Account data|Make sure your phone is not connected to your PC-->

⚠️ Note: Some of the Mi's firmware 4X After the reset, you may see an error "This device is locked." This means that the phone is tied to the Mi Account, and you will need to enter a login / password to unlock it. If you do not remember the data, contact Xiaomi with proof of ownership of the device (check, box).

Method 2: Reset via Recovery (if the phone is not turned on or got stuck)

If the Mi 4X doesn’t respond to touch, is stuck on the logo, or doesn’t load beyond the lock screen, use Recovery Mode, which works even in severe software failures, but requires precise execution of instructions.

To enter Recovery on Xiaomi Mi 4X:

  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 and you will be taken to the Recovery menu (black screen with English text).

In the Recovery menu, the volume buttons (Up/Down for navigation, Power for selection) are controlled.

  1. Select Wipe Data (or Wipe & Reset in newer versions).
  2. Confirm the action by selecting Wipe All Data.
  3. Once you have finished, select Reboot β†’ Reboot to System.

The phone will reboot and start the cleaning process. It can take up to 10 minutes -- don't interrupt it! If the Mi 4X freezes again after the reboot, repeat the procedure or try the Fastboot method.

What happens if Recovery does not open?
If after holding Power + Volume up the phone vibrates but does not go into Recovery, try: 1. Use Power + Volume down (on some firmware). 2. Connect the phone to charge and try again. 3. Make sure the battery is charged at least 20% (at a critically low charge Recovery may not start). If nothing helps, go to the method with Fastboot (method 3).

Problem.Possible causeDecision
Phone is not included in RecoveryFaulty buttons or firmware failureUse Fastboot or connect the keyboard over OTG
After the reset, the error "No command" appears.Recovery section damagedRecovery via Fastboot
Recovery in ChineseFirmware for the Chinese regionSearch for icon items or use an interpreter
Discharge interrupted by 50%A damaged file systemPerform Wipe Cache before resetting

Method 3: Fastboot Reset (for power users)

Fastboot is the most reliable method, but it requires connecting the phone to the computer and installing special drivers.

  • πŸ”§ Phone is not included in Recovery;
  • πŸ“± On the screen is a constant loading (bootloop);
  • πŸ”’ You need to unlock the bootloader before the firmware.

The work will require:

  • πŸ’» Windows computer (or Linux/macOS fixed ADB/Fastboot);
  • πŸ”Œ Cable USB Type-C (original or quality);
  • πŸ“₯ Xiaomi drivers and the Mi Flash Tool utility (download from the official website);
  • πŸ”“ Unlocked bootloader (if not previously unlocked, you will need to link to Mi Account).

Step-by-step:

  1. Turn off the Mi 4X.
  2. Press Volume Down + Power and hold until the screen with the hare in the hat-eared (Fastboot) appears.
  3. Connect the phone to the PC.
  4. Open the command prompt (cmd) in the folder with ADB/Fastboot and type:
fastboot devices

If the device appears in the list, execute the reset command:

fastboot erase userdata


fastboot erase cache




fastboot reboot

If the error "FAILED (remote: unknown command)" appears, the bootloader is locked, in which case it will need to be unlocked through the Mi Unlock Tool (instructions on the official Xiaomi website).

1. whether Xiaomi drivers are installed (download Mi Flash Tool).

2. whether you use the original cable (cheap cables often don't transfer data to Fastboot).

3. Try another one. USB-port (preferably) USB 2.0 on the back of the PC).-->

What to do after resetting: setup and recovery

After a successful reset, the Xiaomi Mi 4X will return to its original state.

  1. Go through the initial setting: select a language, connect to Wi-Fi, log in to Mi Account (if tied).
  2. Restore data from a backup (if you did a backup via Mi Cloud or Google).
  3. Update the firmware to the latest version through Settings β†’ About Phone β†’ System Update.
  4. Set up a fingerprint/face (if you use biometric authorization).

If your phone is running slower than before, follow these steps:

  • 🧹 Clear the application cache manually (Settings) β†’ Annexes β†’ Clear the cache).
  • 🚫 Turn off autoloading of unnecessary applications (Settings) β†’ Battery β†’ Auto-start).
  • πŸ”„ Reset the partition cache (Wipe Cache) via Recovery (does not delete data, but speeds up work).

⚠️ Note: If after the discharge of the Mi 4X Not connected to the mobile network, check your settings APN. Sometimes they're reset to standard, which leads to no internet. Go to Settings. β†’ SIM-maps and mobile networks β†’ Access points (APN) and adjust your operator’s settings manually.

Common mistakes and their solutions

Even with the exact instructions, there can be problems, and here are the most common errors when resetting the Xiaomi Mi 4X and how to fix them:

Mistake.Reason.Decision
"This device is locked" after resettingPhone tied to Mi AccountEnter your username/password or contact Xiaomi with proof of purchase
phone is stuck on startup Mi logo after resetSystem partition damagedFastboot phone search with Mi Flash Tool
Recovery won't openFaulty buttons or failure of RecoveryUse Fastboot or connect it USB-keyboard OTG
There's no sound after the reset.Resetting audio settingsCheck volume settings and permissions for applications
Fastboot doesn't see the deviceNo drivers or cable problemsInstall Xiaomi drivers, try another cable/port

If none of the methods worked and the phone remains inoperable, there may be a hardware problem (e.g., damaged memory or motherboard), in which case we recommend contacting the Xiaomi service center.

πŸ’‘

If after resetting the Mi 4X requires a password from the Mi Account but you don't remember it, DO NOT try to enter random combinations. After 5 unsuccessful attempts, the device can lock for 72 hours. Contact Xiaomi support with a check or box from the phone to unlock.

FAQ: Frequent questions about the reset Xiaomi Mi 4X

Can I reset the Mi 4X without losing data?
No, factory reset always deletes user data (photos, apps, settings).However, you can back up through Settings β†’ Additional β†’ Backup and Reset or manually copy files to your PC.
The phone asks for the old password after the reset.
This means that the Mi 4X has enabled Device Protection. If you don't remember the password, try: Enter the last PIN/pattern lock you use. Restore access via Mi Account (if the phone is tied); Contact the service center with proof of purchase. You can't bypass this lock yourself - you will need an official unlock.
How to reset the Mi 4X if you forget your pattern lock?
If the phone turns on but you forgot the pattern lock: 5 times enter the wrong key, will the button Forgot the password appear?. Enter Mi Account (if the phone is tied). If Mi Account is not tied, reset via Recovery (method 2). If Mi Account is also forgotten, restore access to account.xiaomi.com.
The reset stopped and the phone is now off.
An interrupted reset can damage system files. Try: Go to Recovery and repeat Wipe Data. If Recovery doesn't open, use Fastboot (method 3). Refuse your phone through the Mi Flash Tool (you'll need a PC and original firmware). If the phone doesn't respond to any manipulation, contact the service center.
Do I need to unlock the loader before resetting?
No, for a standard reset via settings or Recovery, you don't need to unlock the bootloader. However, if you plan to flash custom software (like LineageOS), the bootloader needs to be unlocked through the Mi Unlock Tool.