Reset Xiaomi Redmi 5 to factory settings: 3 working methods + error solving

Xiaomi Redmi 5, released in 2017, is still a popular budget smartphone thanks to reliable hardware and support for custom firmware. However, over time, any gadget begins to slow down, glitches or requires complete cleaning before selling. Hard reset is a universal solution for such cases, but the Redmi 5 has nuances: binding to a Mi Account, locking the bootloader and the risk of โ€œbrickingโ€ if you do not act correctly.

This article provides three proven reset methods (via menus, buttons and PC), instructions for bypassing locks, and answers to frequent questions: what to do if the phone does not turn on after reset, how to save photos before cleaning and why it asks for a password from an old account. All methods are tested on Redmi 5 with MIUI 9-12 firmware (including global and Chinese versions).

When to Reset Xiaomi Redmi 5 โ€“ 7 Good Reasons

Factory resets are not a panacea, but in some cases, they are the only way to make the smartphone work again. Here are typical scenarios where the procedure is justified:

  • ๐Ÿข The phone is lying down, the apps are spontaneously closing, and MIUI It stops even after cleaning the cache.
  • ๐Ÿ”’ You have forgotten the pattern lock or PIN-Unlocking through Mi Cloud is not working.
  • ๐Ÿ“ฑ Before selling or transferring the device โ€“ to delete personal data (photos, messages, passwords).
  • ๐Ÿ”„ After a failed firmware update, when the smartphone hovers on the Xiaomi logo or cyclically reboots.
  • ๐Ÿฆ  Viruses or malware that is not removed by the antivirus (for example, banner ads in the status bar).
  • ๐Ÿ”ง System errors: persistent notifications โ€œCom.android.phone process stoppedโ€ or failures in the communication module.
  • ๐Ÿ› ๏ธ Preparing for firmware through Fastboot or TWRP โ€” Clean system reduces the risk of errors.

However, resetting wonโ€™t help if the problem is a hardware problem: a broken screen, a faulty battery or a damaged motherboard, in which case repairs are required at a service center.

โš ๏ธ Note: Redmi 5 with a tied Mi Account may require the previous owner to enter the username/password after reset. If you bought the phone with your hands, make sure the seller untie the device from your account!

๐Ÿ“Š Why You Needed to Reset Redmi 5?
Removing the leg and brakes
Forgot the unlock password.
I'm making a phone for sale.
After a failed update
Other

Method 1: Reset via the settings menu (software reset)

The safest method is to reset directly from the operating system, which is fine if the phone is switched on and you remember the unlock password.

  • โœ… No need for PC or additional tools.
  • โœ… Save the ability to unlock through Mi Cloud (if the account is tied).
  • โœ… Minimum risk of error.

Instructions:

  1. Open Settings โ†’ Additional โ†’ Recovery and Reset.
  2. Select the option โ€œReset settingsโ€ (on some firmware โ€“ โ€œErase all dataโ€).
  3. The system will be asked to PIN-code or pattern lock (if installed).
  4. Confirm the action by clicking โ€œReset settingsโ€.
  5. Wait for the reboot (it will take 3-5 minutes).

Once reset, the phone will start with the initial setup screen, as after purchase, and if you request Mi Account data at this point, the device was linked to the previous owner's account.

Backup photos and contacts|Remember the username/password from the Mi-account|Connect the charger (the battery must be charged) >50%)|Make sure that SIM-The card is removed (if you plan to sell your phone)-->

Method 2: Hard Recovery (volume buttons + power)

If the phone is not turned on, getting stuck on the Xiaomi logo or locked, resetting through Recovery mode will help.This method works even without access to the system, but requires care: wrong actions can lead to data loss or lock the bootloader.

Step-by-step:

  1. Turn off the phone (if it freezes, hold 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 (in Chinese firmware, the interface can be in Chinese).
  4. Use volume buttons for navigation and power button to select the item.
  5. Select โ€œWipe Dataโ€ (or โ€œIn Chineseโ€) and then โ€œWipe All Dataโ€.
  6. Confirm the action by selecting โ€œConfirmโ€ (or โ€œโ€).
  7. Once completed, select โ€œRebootโ€ to reboot.

If after resetting the phone asks for a password from the Mi-account, and you do not know it, try:

  • ๐Ÿ”‘ Enter your account details (if your phone was linked to your profile).
  • ๐Ÿ“ง Use the "Forgot Password?" function at account.xiaomi.com.
  • ๐Ÿ› ๏ธ Contact the unlock service (paid, requires proof of ownership of the device).

โš ๏ธ Note: Some Redmi 5 firmware may call the "Wipe Data" option differently (e.g., "Factory Reset"). If the Recovery menu doesn't have the right partition, then custom firmware is installed - in this case, you need firmware through Fastboot.

What happens if Recovery does not open?
If after holding Power + Volume up, the phone vibrates, but does not load the Recovery menu, the following reasons are possible: 1. Recovery partition is damaged - you need to flash through Fastboot. 2. Volume button stuck - try to move the button gently or use tweezers. 3. Locking the bootloader - on some firmware Xiaomi blocks access to Recovery. Solution: unlock the bootloader through an official tool (requires binding to the Mi-account).

Method 3: Reset via Fastboot and Mi Flash (for power users)

This method is suitable if:

  • ๐Ÿ”ง The phone does not turn on or respond to buttons.
  • ๐Ÿ”„ Requires a complete flashing (for example, after a failed update).
  • ๐Ÿ”“ You need to bypass the Mi Account lock (only for the unlocked bootloader!).

The work will require:

  • ๐Ÿ’ป Windows computer (7/10/11).
  • ๐Ÿ”Œ Cable USB Type-C (original or quality).
  • ๐Ÿ“ฅ Mi Flash Tool Programming.
  • ๐Ÿ“ฆ Firmware for Redmi 5 (download from Xiaomifirmwareupdater.com).

Instructions:

  1. Install Xiaomi drivers and run the Mi Flash Tool.
  2. Turn off your phone and put it in Fastboot mode: Keep Volume down + Power 5-7 seconds.
  3. Connect your phone to a PC. Mi Flash should define a port (e.g., COM3).
  4. In the program, click "Select" and specify the path to the unpacked firmware (file with the extension.tgz).
  5. Select firmware mode: Clean all โ€“ clean all and lock โ€“ clean + lock the bootloader (only if you plan to sell the phone).

Flash

Mistake.Reason.Decision
Can't receive hello packetInappropriate firmware or driversCheck the firmware version (should match the Redmi 5 model). Reinstall the drivers.
Flash is not donePhone connection interruptedTry another one. USB-port or cable.
Mi account lockThe phone is tied to someone else's accountUnblock through Mi Cloud or contact the service.
The phone does not turn on after the firmwareIncompatible firmware or recording errorRepeat the firmware with another version MIUI through EDL-Regime (requires an authorized account).

โš ๏ธ Note: Fastboot removes all data without recovery, including photos on internal memory. If you need to save files, remove the microSD card before the procedure.

๐Ÿ’ก

If after firmware the phone is stuck on the Xiaomi logo, try to go to Recovery (Power) + Volume up) and make Wipe Cache. This often solves the problem without re-routing the firmware.

How to save data before resetting โ€“ 4 reliable ways

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

  • ๐Ÿ“ธ Photos and videos (including screenshots).
  • ๐Ÿ“ž Contacts (unless synced with Google or Mi Cloud).
  • ๐Ÿ’ฌ Communications in SMS and messengers (WhatsApp, Telegram, etc.).
  • ๐ŸŽฎ Save games and customize applications.

Methods of backup:

  1. Mi Cloud: ๐Ÿ”— Go to Settings. โ†’ Mi Account. โ†’ Mi Cloud โ†’ Backup. ๐Ÿ“ฑ Select data to save (contacts, messages, photos, notes). โš ๏ธ Disadvantage: Free only available 5 GB, and downloading large files can take hours.
  2. Google Account: ๐Ÿ”— Settings โ†’ Accounts. โ†’ Google โ†’ Synchronization. ๐Ÿ“ฑ Enable synchronization for contacts, calendar and application data. โš ๏ธ Photos are synced only if Google Photos are enabled.
  3. Local copy on PC: ๐Ÿ’ป Connect your phone to your computer through USB (Select the File Transfer Mode). ๐Ÿ“ Copy the folders. DCIM (Photos, Downloads (downloads) and WhatsApp/Media hard-drive.

MicroSD Memory Card

  • ๐Ÿ“ฑ Transfer important files to a memory card (via any file manager).
  • โš ๏ธ After reset, the card can be removed and inserted into a new phone.

To back up messages from messengers, use the built-in functions:

  • ๐Ÿ’ฌ WhatsApp: Settings โ†’ chat โ†’ Backup (saves history in Google Drive).
  • ๐Ÿ“Œ Telegram: export chats through Settings โ†’ Additionally. โ†’ Export of data.

๐Ÿ’ก

Even if you back up, check the integrity of the file: open a few files on a PC or other device. Often users copy the data but forget to make sure it's not corrupted.

Frequent mistakes after resetting and how to fix them

After resetting the Xiaomi Redmi 5, there may be software or hardware-related problems, and consider typical problems and solutions:

1.The phone asks for a password from the Mi Account after the reset

This is a theft protection that is activated if the device was tied to a Xiaomi account.

  • ๐Ÿ”‘ Enter your account details (if your phone was yours).
  • ๐Ÿ“ง If you forget your password, restore it through the recovery form.
  • ๐Ÿ› ๏ธ If the phone is bought with hands and the seller has not untied the account, contact him for data or use the lamentable unlock services (from 500). โ‚ฝ).

2.The phone does not turn on after a hard reset

Possible causes and actions:

  • ๐Ÿ”‹ Battery is discharged โ€“ connect the charger and wait 15-20 minutes.
  • ๐Ÿ”ง Firmware is damaged - run your phone through Fastboot (see Method 3).
  • ๐Ÿ”Œ Iron problems โ€“ if the phone does not respond to charging and buttons, carry to the service.

3. Permanent reboots or lags after discharge

This may be related to:

  • ๐Ÿ”„ Unstable firmware - update MIUI through settings โ†’ The phone. โ†’ Updating the system.
  • ๐Ÿงน Residual data โ€“ make Wipe Cache in Recovery.
  • ๐Ÿ”‹ Faulty battery โ€“ check its health through the AccuBattery app.

4.The network or Wi-Fi is not working.

After reset, the settings of the communication module may be lost.

  • ๐Ÿ“ถ Manually select the operator: Settings โ†’ SIM-maps and mobile networks โ†’ Choice of network.
  • ๐Ÿ”„ Reset network settings: Settings โ†’ Wireless networks โ†’ Additionally. โ†’ Resetting network settings.
  • ๐Ÿ“ก Reflash the radio module (requires root rights or firmware via Fastboot).
How to check if the bootloader is unlocked?
1. Turn off the phone. 2. Press Volume Down + Power to log in to Fastboot. 3. Connect the phone to your PC and open the command line. 4. Enter the command: fastboot oem device-info 5. If the answer has a line Device unlocked: true, the bootloader is unlocked. If false is locked.

FAQ: Answers to Frequent Questions

Can I reset Redmi 5 without losing data?
No, factory reset always deletes data from internal memory. However, you can back up (see section above) or use the Settings Reset feature without clearing the data (only available in some firmware via Settings โ†’ Additional โ†’ Settings Reset โ†’ Network/App Reset).
The phone says, "This device is locked." What do you do?
This message means that the bootloader is locked and the device is tied to the Mi Account. Solutions: Enter your Xiaomi account details (if your phone is yours). If the account is someone else's, contact the previous owner or use unlock services. To unlock the bootloader, officially apply on the Xiaomi website (requires account binding and waits 7-30 days).
How to reset Redmi 5 if the screen is not working (no response to touch)?
If the screen is broken or the sensor is not working, but the phone is turned on: Connect the mouse through USB OTG-Adapter: you can control the menu. Use Method 2 (hard resets via buttons) or Method 3 (firmware via Fastboot). If the phone doesn't respond to buttons, contact the firmware service via Fastboot. EDL-regime.
How long does it take to dump?
Time depends on the method: Reset via menu: 3-5 minutes, Hard resets via Recovery: 5-10 minutes, Fastboot firmware: 10-20 minutes (depending on PC speed and speed) USB-If the process is delayed (>30 minutes, so it's a failure - turn off the phone and try again.
Can I roll back the firmware on Redmi 5 after resetting?
Yes, but with reservations: If the bootloader is unlocked, you can flash any version of MIUI through Fastboot or TWRP. If the bootloader is blocked, the rollback is only possible on the newer firmware (downgrade is blocked by Xiaomi policy).