Reset Xiaomi Redmi 4X to factory settings: the full guide

Resetting the Xiaomi Redmi 4X to factory settings is a procedure that can be required in a variety of situations, from preparing the device for sale to fixing software failures. This budget-proven but time-tested device (released in 2017) is still in active use, and its owners often face the need to โ€œcleanโ€ reboot the system. However, not everyone knows that there are three fundamentally different methods of reset, each of which is suitable for specific scenarios โ€“ from regular through the menu to emergency through Fastboot.

In this article, weโ€™ll look at all the ways, including hidden nuances that the manufacturer doesnโ€™t always mention in the official documentation, such as why IMEI can disappear after a reset via Recovery, how to properly prepare the device so that you donโ€™t lose access to the Mi Account, and what to do if the phone is stuck on startup the Mi logo after a failed attempt, and how to bypass the locking of Xiaomi account after a reset โ€“ a problem that one in five users faces.

Before you start, make sure your Redmi is available. 4X charged at least 30% โ€” This is critical to avoid "bricking" the device. 15%, Some resetting methods may result in E:Error in error /cache/recovery/last_locale.

1.Resetting preparation: what to do in advance

Factory reset is an irreversible procedure that deletes all user data, including photos, contacts, messages and installed apps. Even if you plan to reset your phone due to crashes, backup remains a must.

Here is what you need to do before starting:

  • ๐Ÿ“ฑ Sync data with Mi Cloud: Go to Settings โ†’ Xiaomi account โ†’ Mi Cloud and enable sync for contacts, notes and photos. It's free for Mi Account holders.
  • ๐Ÿ’พ Create a local copy: Use the built-in Backup app (Settings) โ†’ Additionally. โ†’ Backup and reset) or third-party utilities like Titanium Backup (requires root).
  • ๐Ÿ”‘ Make sure you know the username/password from Mi Account: After resetting, the phone may require authorization to unlock (Find Device feature).
  • ๐Ÿ“ถ Check Wi-Fi Connection: If you reset via a menu, a stable internet connection is needed to re-activate the device.

On Redmi 4X with MIUI 9/10, Factory Reset Protection (FRP) can work after a reset, which requires you to enter the last synchronized account. If you forget your password, restore it in advance at accounts.google.com.

๐Ÿ’ก

If you are selling a phone, remember to log out of your Mi and Google account manually before resetting: Settings โ†’ Accounts โ†’ Delete your account. This will save the buyer from activation problems.

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

This method is suitable if the phone turns on and responds to touch, and you remember the pattern lock or PIN-It's the simplest and least risky, because it's through the standard interface. MIUI.

Step instructions:

  1. Open the settings (cog icon on the desktop).
  2. Scroll down and select Additional (or About Phone in newer versions of MIUI).
  3. Go to Backup and Reset.
  4. Tap Reset settings (or Reset to factory settings).
  5. Choose Delete all data and confirm the action.
  6. When requesting, enter a pattern lock/PIN-code.
  7. Wait for the reboot (it will take 3-7 minutes).

Once the phone is rebooted, it will suggest that you configure it as new, and if the message appears on the screen, "This device has been reset. Enter Mi Account details," then the Find Device function was active, and enter the username and password from the associated Xiaomi account.

Make sure your phone is charged >30%|

Synchronize data with Mi Cloud|

Remember the username/password from Mi Account and Google|

Shut down. SIM-Card (optional if there is a problem with the network)|

Prepare a stable Wi-Fi connection-->

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

If the Redmi 4X is stuck on the logo, reboots cyclically or doesn't respond to touch, resetting through Recovery will help, which works even when the firmware is damaged, but has risks:

  • โš ๏ธ Possible loss IMEI (Re-flashing the modem part).
  • โš ๏ธ Some firmware requires a password from Mi Account even after resetting.

How to log in to Recovery and perform a reset:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press both Loudness up (+) and Nutrition at the same time.
  3. Hold on for 5-10 seconds until the Mi logo and Recovery menu appear.
  4. Use volume buttons for navigation and power button for selection.
  5. Choose Wipe Data โ†’ Wipe All Data.
  6. Confirm the action (Confirm).
  7. Once you have finished, select Reboot โ†’ Reboot to System.
What to do if Recovery requires a password?
If a password request appears after selecting Wipe Data, this means that the Mi Account Lock protection is activated on the phone. In this case: 1. Enter the password from the associated Xiaomi account. 2. If the password is forgotten, restore it on account.xiaomi.com. 3. If the account is not yours (for example, the phone is bought with hands), contact the previous owner to unlock or use the official Mi Unlock Tool tool (requires a wait of 72 hours).

Important: On some custom firmware (e.g. LineageOS), the Wipe Data item may be called Format Data, in which case, after formatting, you will need to re-install the firmware through ADB Sideload.

Method 3: Reset via Fastboot (for power users)

The method through Fastboot is the most radical and is used when:

  • ๐Ÿ”ง The phone doesnโ€™t even load in Recovery.
  • ๐Ÿ”„ You need to reflash the device after a failed update.
  • ๐Ÿ”’ You need to bypass the Mi Account lock (only for unlocked bootloader).

This method will require:

  • ๐Ÿ–ฅ๏ธ Computer with drivers installed ADB/Fastboot.
  • ๐Ÿ”Œ Cable USB Type-C (original or high-quality).
  • ๐Ÿ› ๏ธ Mi Flash Tool (for firmware) or Platform Tools (for fastboot commands).

Step-by-step:

  1. Turn off the phone.
  2. Press Volume Down (-) + Nutrition, hold until the Fastboot logo appears.
  3. Connect the phone to the PC.
  4. Open the command line in the folder with the platform-tools and execute: fastboot devices (should display the serial number of the device).
  5. For a full reset, type fastboot erase userdata fastboot erase cache fastboot reboot.

๐Ÿ’ก

Resetting via Fastboot does not delete the firmware, only user data. If the phone does not boot due to a damaged system partition, you will need a complete firmware reflash through the Mi Flash Tool.

โš ๏ธ Warning: If the bootloader locks on the phone, the fastboot commands will not work until unlocked through the official Mi Unlock tool:

(bootloader) Variable not accessible


FAILED (remote: 'Flashing is not allowed in Lock State')

Possible problems after discharge and their solution

Even after a successful reset, the Redmi 4X can be unstable, and here are the typical problems and ways to fix them:

Problem.Possible causeDecision
Phone asks for Mi Account after resetFind Device or Mi Account Lock is activatedEnter your associated account details. If you forgot, reset your password to account.xiaomi.com
No network (IMEI missing)Modem firmware (NVRAM) damaged when reset via RecoveryRestore your IMEI with Engineer Mode (#4636###) or run NVRAM with the SP Flash Tool
Cyclical reboot (bootloop)Damaged system partition or incompatible firmwareSwipe your phone through Fastboot or EDL-Mode (requires an authorized Xiaomi account)
The sensor does not work after resettingSensor calibration failure or firmware damageCalibrate through Engineer Mode or reflash your phone

If the phone does not detect after the reset SIM-map, check it out:

  • ๐Ÿ“ถ Correct installation SIM (on the Redmi 4X supported by nano-SIM + MicroSD or two nano-SIMs).
  • ๐Ÿ”ง Network settings: Settings โ†’ SIM-maps and mobile networks โ†’ Selecting a network (select manually).
  • ๐Ÿ“ก Status. IMEI: enter *#06# โ€” if displayed Null/Unknown, restoration.

Through the settings menu |

Through Recovery Mode|

Through Fastboot|

Another way.-->

6.How to reset Xiaomi 4X without data loss (partial reset)

If the goal is not to clean the phone completely, but only to fix the malfunctions of the applications or interface, you can perform a partial reset, which saves user files (photos, videos, music), but returns system parameters to the factory settings.

Instructions:

  1. Go to Settings โ†’ Additional โ†’ Backup and Reset.
  2. Select Settings Reset.
  3. Tap Reset application settings (or Reset all settings, but without a tick to Delete data).
  4. Confirm the action.

What will be dropped:

  • ๐Ÿ“ฑ Settings of Wi-Fi, Bluetooth, mobile network.
  • ๐Ÿ”Š Sound profiles and notifications.
  • ๐ŸŽฏ Screen settings (brightness, timeout).
  • ๐Ÿ”ง Application parameters (cache, permissions).

What's left:

  • ๐Ÿ“‚ Files in the phone memory (DCIM, Downloads, etc.).
  • ๐Ÿ“ž Contacts and messages (if synced with Mi Cloud or Google).
  • ๐ŸŽฎ Installed applications (but their data can be reset).

๐Ÿ’ก

If there are problems after a partial reset, try clearing the cache of individual applications manually: Settings โ†’ Applications โ†’ Select the application โ†’ Clear the cache.

7.Alternative methods: reset via ADB and Mi PC Suite

For users who do not have access to the phone menu, but have a computer, two additional ways are suitable:

Reset via ADB (Android Debug Bridge)

  1. Turn on USB Debugging in Settings โ†’ About Phone โ†’ MIUI version (tap 7 times, then go back to Additional โ†’ For Developers).
  2. Connect your phone to your PC and do: adb shell pm uninstall-k --user 0 com.miui.securitycenter (optional, to remove unnecessary applications) adb reboot recovery
  3. In the Recovery menu, select Wipe Data.

Reset via Mi PC Suite:

  1. Download and install Mi PC Suite.
  2. Connect your phone to your PC via USB.
  3. In the program, select Backup โ†’ Reset to factory settings.
  4. Follow the master's instructions.

โš ๏ธ Attention: Mi PC Suite may not recognize Redmi 4X On older versions of Windows (below Windows 10), in which case, install drivers manually through the Mi Flash Tool.

FAQ: Frequent questions about resetting Xiaomi Redmi 4X

Can I reset Xiaomi 4X without a password if I forget the pattern lock?
Yes, but only through Recovery Mode or Fastboot, but if the phone has a Mi Account attached, you will need to enter its data after the reset, and if the account is not yours, you can only unlock it through the official Mi Unlock Tool (requires a wait of 72 hours).
After the reset, the phone asks for an old Google account. What do you do?
This worked FRP (Factory Reset Protection) protection. Enter the last synchronized Google account. If you do not remember the password, restore it to accounts.google.com. FRP bypass on Redmi 4X is possible only through the firmware custom Recovery (requires an unlocked bootloader).
I dropped my phone and now I don't have a network. IMEI?
The problem arises from damage to the section NVRAM. Solutions: Restore IMEI Enter ##3646633## via Engineer Mode: Go to Connectivity โ†’ CDS Information โ†’ Radio Information and enter AT-- Recovery teams. NVRAM through SP Flash Tool (needs backup or stock firmware). โš ๏ธ Incorrect input IMEI This can lead to a network lock! Use only the original values.
How long does it take to reset Xiaomi 4X?
Time depends on the method: Through the settings menu: 3-7 minutes; through Recovery: 5-10 minutes (longer if the file system is damaged); through Fastboot: 1-2 minutes (only erasing data); if the process is delayed (> 15 minutes), do not interrupt it - this can lead to "bricking".
Can the reset be cancelled after the process has begun?
No. Once you have confirmed the reset, the process is irreversible. Interrupting (e.g., battery extraction or forced reboot) can result in: Data loss on the internal drive, damage to system files (need firmware), locking the bootloader (on some firmware).