How to completely reset Xiaomi Redmi 4X to factory settings: a detailed guide

Resetting the Xiaomi Redmi 4X to factory settings is a necessary procedure when selling a device, fixing software failures or preparing for firmware. However, the wrong actions can lead to data loss, blocking the Mi Account or even โ€œbrickingโ€ the smartphone. In this article, we will analyze all the current methods of resetting (including hidden features Recovery Mode and Fastboot), explain how to save important information, and warn against typical errors that users make.

Redmi 4X (codenamed santoni) was released in 2017, but is still popular thanks to its robust hardware and custom firmware support. However, its software has features: for example, linking to a Xiaomi account can make it harder to reset if you forget your password, and we have taken into account all the nuances and prepared instructions that work even on devices with a locked bootloader.

Before you start, answer two questions:

  1. Do I need to save data (photos, contacts, messages)?
  2. Do you remember the username/password from the Mi Account tied to your phone?

The answers are the key to the reset method and the extra steps, and if in doubt, start with the safest method (through the settings menu).

1.Resetting preparation: what to do in advance

Resetting to factory settings removes all user information, including:

  • ๐Ÿ“ธ Photos and videos in the gallery (except for those in the gallery) SD-map)
  • ๐Ÿ“ž Contacts that are not synced to Google or Mi Cloud
  • ๐Ÿ’ฌ Communications in SMS, WhatsApp, Telegram and other messengers
  • ๐ŸŽฎ Save games and customize applications
  • ๐Ÿ”‘ Passwords from Wi-Fi, social media accounts and banking applications

To avoid losses, follow the following steps:

Make a backup through Settings โ†’ Additional โ†’ Backup

Sync contacts with Google Account or Mi Cloud

Copy photos/videos to your computer or cloud

Record the username/password from Mi Account (if linked)

Make sure the battery is charged > 50%-->

Important for Redmi 4X owners: if you used Device Protection (in Settings โ†’ Lock and Protection menu), after resetting, the phone will require you to enter a password from the last Xiaomi account. Without this data, unlocking the device will be extremely difficult!

If you are selling a phone, donโ€™t forget:

  • ๐Ÿ”„ Log out of all accounts (Google, Mi Account, social networks)
  • ๐Ÿ“ฑ Delete SIM-card and memory card (if installed)
  • ๐Ÿ”’ Disable Find the device in the Mi Cloud settings

๐Ÿ’ก

If you plan to flash Redmi 4X after reset, unlock the bootloader in advance through the official Mi Unlock Tool. This takes up to 720 hours of waiting (according to Xiaomi rules).

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

This method is suitable if:

  • โœ… The phone is turned on and reacts to touch.
  • โœ… You remember the pattern lock./PIN-code
  • โœ… No critical failures in the system

Instructions:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the section Additional โ†’ Recovery and Reset.
  3. Select Settings Reset.
  4. The system will suggest you to choose which to delete. We recommend that you mark all data (including internal memory).
  5. Confirm the action by entering a pattern lock or PIN-code.
  6. Press Reset and wait for the reboot (it will take 3-5 minutes).

The unique feature of Redmi 4X is that if you used the dual app, resetting through the settings menu will only remove the current space. To erase everything, select the "Reset all spaces" option from the same menu.

What to do if there is no item "Recovery and Reset"?
On some firmware (e.g. MIUI 10 for Redmi 4X), the path may be different. Try: Settings โ†’ About Phone โ†’ Settings Reset or Settings โ†’ System and Device โ†’ Additional โ†’ Setting Reset.

Once reset, the phone will reboot and suggest that you configure it as new, so if you sell the device, don't restore the data from the backup, which can leave personal information behind.

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

Use this method if:

  • ๐Ÿ”ด The phone is stuck on the logo. MI or cyclically reboot
  • ๐Ÿ”ด The screen does not respond to touch, but the device is turned on
  • ๐Ÿ”ด You forgot your pattern lock, but remember your Mi Account

To log in to Recovery Mode on Redmi 4X:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the Power button + Volume up at the same time.
  3. Hold for 5-7 seconds until the Mi logo and recovery menu appear.

In Recovery Mode, volume buttons (Up/Down, Move, Power, Select) are used.

  1. Select Wipe Data (or Wipe & Reset on some versions).
  2. Confirm the action by selecting Wipe All Data.
  3. After cleaning, go back to the main menu and select Reboot โ†’ Reboot to System.

๐Ÿ’ก

If after reset via Recovery, the phone requires you to enter a password from Mi Account, and you do not remember it - restore access through account.xiaomi.com before rebooting the device.

Table: Decoding Recovery Mode Menu Items for Redmi 4X

ItemDescriptionWhen to use
RebootPhone rebootAfter successful discharge
Wipe DataDeletion of user dataFor a complete reset
Wipe CacheClearing the cache (does not delete personal files)If the phone is slowing down, but the data must be saved
Connect with MiAssistantMode for PC connectionIf you need firmware through the Mi Flash Tool

Yeah, I dropped my phone myself.

Yeah, but only for firmware installation.

No, I'm afraid to break something.

I don't know what that is.-->

Method 3: Reset via Fastboot (for power users)

This method is used in extreme cases:

  • ๐Ÿ› ๏ธ The phone does not respond to buttons and does not load.
  • ๐Ÿ› ๏ธ You need to refashion the device from scratch.
  • ๐Ÿ› ๏ธ Requires to unlock the loader

The work will require:

  • ๐Ÿ’ป Computer with drivers installed ADB/Fastboot
  • ๐Ÿ”Œ Cable USB Type-C (original, undamaged)
  • ๐Ÿ“ฆ Firmware archive for Redmi 4X (You can download it on the official Xiaomi website)
  • ๐Ÿ› ๏ธ Mi Flash Tool (for Windows)

Step-by-step:

  1. Turn off the phone. Press the Power button + Volume down to enter the Fastboot Mode (a hare in a hat-eared hat will appear).
  2. Connect the Redmi 4X to your computer.
  3. Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
  4. Enter the command to check the connection: fastboot devices If the device is determined (the serial number will appear), continue.
  5. For a full reset, run fastboot erase userdata fastboot erase cache fastboot reboot.

โš ๏ธ Attention: fastboot erase commands permanently delete data. If you plan to flash your phone, unlock the bootloader first through the Mi Unlock Tool - otherwise the reset will not help install custom firmware.

If after reset via Fastboot the phone does not turn on:

  • Check if the drivers are installed correctly on the PC.
  • Try another one. USB-cable (preferably original).
  • Make sure the battery is charged (plug in the 10-15 minutes before the procedure).

5. Frequent errors and their solutions

Even if the instructions are followed correctly, Redmi 4X users are facing problems.

Error 1: After resetting, the phone asks you to enter the Mi Account password, but you donโ€™t remember it.

  • ๐Ÿ”‘ Try to restore access through the recovery form (you will need an email or phone number linked to your account).
  • ๐Ÿ“ง If recovery doesnโ€™t work, contact Xiaomi with proof of device ownership (check, box, etc).
  • ๐Ÿšซ Do not use bypass programs โ€“ they often contain viruses and do not work on new versions. MIUI.

Error 2: The phone is stuck on the MI logo after being reset.

  • ๐Ÿ”„ Wait 10-15 minutes โ€“ the first download after a reset can be long.
  • ๐Ÿ”Œ If the screen doesnโ€™t change, plug in the charging and reset again via Recovery Mode.
  • ๐Ÿ› ๏ธ In extreme cases, run your phone through the Mi Flash Tool (instructions in the previous section).

Error 3: The sensor does not work after the reset.

โš ๏ธ Warning: This can be a hardware problem (feeling off the plume) or a faulty firmware. If the sensor doesn't respond even in Recovery Mode, contact the service center.

Table: Redmi 4X error codes and their value

Error codeReason.Decision
This device is lockedbootloader lockedUnlocking with Mi Unlock Tool
Can't verify updateFirmware file damagedDownload the firmware again from the official website
E:Unknown commandThe Wrong Team at RecoveryCheck the team syntax.

6. How to return data after reset

If you made a backup before the reset, you can restore the data in two ways:

Method 1: Through the Mi Cloud

  1. When you first set up your phone, select Restore from backup.
  2. Enter the data from the Mi Account.
  3. Choose the most recent copy and wait for the process to be completed.

Method 2: Through Google Account

  • ๐Ÿ“ฑ Contacts, calendar, and some app settings will automatically recover if you sync them with Google.
  • ๐Ÿ“ท Photos from Google Photos can be downloaded manually through the app.

โš ๏ธ Note: If the backup was created on another Xiaomi model (e.g. Redmi Note 5), some settings may not recover or work correctly. In this case, select only the necessary data (contacts, messages) and skip system settings.

To recover files from internal memory (if no backup):

  • ๐Ÿ› ๏ธ Use programs like DiskDigger or EaseUS MobiSaver (root rights required).
  • ๐Ÿ’พ Connect your phone to your PC in Fastboot mode and try scanning your memory with ADB: adb pull /data/data/com.android.providers.media/databases

Important: The chances of recovery are higher the less you use your phone after a reset, and each new record reduces the likelihood of a successful recovery.

Alternative discharge methods

If standard methods donโ€™t help, consider these options:

Method 1: Reset via ADB (without data loss)

It's good if you just need to reset your settings, but you need to save your files.

  • ๐Ÿ’ป Included debugging by USB (Settings โ†’ The phone. โ†’ Version. MIUI โ€” Press 7 times, then Settings โ†’ Additionally. โ†’ For developers โ†’ Debugging by USB).
  • ๐Ÿ”Œ Connection to PCs with installed ADB-driver.

The command to reset settings (without deleting files):

adb shell pm clear -all-user com.android.providers.settings


adb shell pm clear -all-user com.miui.securitycenter




adb reboot

Method 2: Reset via Test Point (to unlock)

Used if Redmi 4X is locked on Mi Account and other methods do not help.Warning: requires disassembling the phone and soldering!

Details about Test Point for Redmi 4X
On the motherboard Redmi 4X has special contacts (Test Points), the closure of which puts the device in EDL mode. This allows you to flash the phone through the Mi Flash Tool without locking. However: - Risk of damage to the board with careless soldering. - Requires experience with a soldering iron and multimeter. - Xiaomi can block IMEI with informal firmware. We recommend contacting specialists if you are not sure of your skills.

Method 3: Contacting a service center

If you:

  • ๐Ÿ”ง Not sure about their technical skills
  • ๐Ÿ”ง Faced with a hardware problem (screen, buttons do not work)
  • ๐Ÿ”ง Received an Anti Rollback error when running firmware

It is better to entrust the reset to professionals. Official Xiaomi service centers in Russia and the CIS can be found on the website mi.com/ru/service.

FAQ: Frequent questions about resetting Xiaomi Redmi 4X

Can I reset Redmi 4X without a password if I forget the pattern lock?
Yes, but only if you have Mi Account tied and sync enabled. In this case: Log in Recovery Mode (power button + volume up). Select Wipe Data. After the restart, the phone will prompt you to enter data from Mi Account. If you do not have an account or you do not remember the password, you will not be able to unlock the phone without losing data. You will need firmware via Fastboot or contact the service.
Will the MIUI version reset after returning to factory settings?
No, the reset doesn't roll back the firmware version. If you have MIUI 12 installed, the reset version will remain the same. To downgrade the version, you need to manually stitch the phone through the Mi Flash Tool.
How to Reset Redmi 4X if it's Not Reactive to the Buttons
If the phone doesn't turn on completely and doesn't respond to the button combinations: Connect charging for 30 minutes, maybe the battery has gone down. Try pinching Power + Volume up + Volume down for 15-20 seconds (sometimes forced reboot works). If the screen remains black but the phone is warming up, it could be a hardware problem (such as the failure of the display or motherboard).
What to do if IMEI is missing after the reset?
This is a critical error that occurs when you get the firmware wrong: ๐Ÿ“ฑ Restore. IMEI via Engineer Mode (type ##4636##, then go to Information) โ†’ Restore IMEI). ๐Ÿ› ๏ธ Swipe your phone with the official firmware through the Mi Flash Tool (select the Clean All option). ๐Ÿšจ If IMEI It's not recovering, you can call the service, you can use the phone without it. IMEI Illegally (Cell Phones Are Not Working).
Can I reset only network settings without touching files?
Yes for this: Go to Settings โ†’ SIM-Maps and mobile networks. Select Network Settings Reset. Confirm action. This will delete stored Wi-Fi networks, passwords and mobile Internet settings, but will not affect personal files.