How to fully format Xiaomi Redmi 5A: a detailed guide with photos

Xiaomi Redmi 5A is one of the most popular budget smartphones of 2017, which is still actively used.Over time, any phone starts to slow down, glitch or require complete cleaning before selling. Formatting (reset to factory settings) solves most software problems, but it is important to do it correctly so as not to lose important data or lock the device.

In this article, we will look at all possible ways to reset Redmi 5A: through phone settings, Recovery mode, and even with the PC (if the smartphone does not turn on), focus on saving photos, contacts and applications, and how to avoid mistakes like Mi Account Lock after a reset. If you plan to sell or transfer the phone, here you will find a checklist for a complete cleanup.

Warning: on the Redmi 5A with MIUI 12+ firmware, resetting through settings does not delete data from internal memory (photos, videos, documents) - only apps and settings.

Preparation for formatting: what to do before the dump

Before you reset Redmi 5A, follow the mandatory steps to avoid data loss and Mi Account issues.

The most common mistake users make is to reset the phone without logging out of the Xiaomi account, after which the device may require the username / password of the previous owner (even if you know it, sometimes there are problems with the servers).

  • ๐Ÿ”„ Delete your Mi Account in Settings: Settings โ†’ Xiaomi account โ†’ Delete your account. If the option is inactive, check your Internet connection.
  • ๐Ÿ“ฑ Remove the screen lock (PIN, After resetting, the phone will require you to enter the old password if it was set.
  • ๐Ÿ”‹ Charge the phone to at least 50%. Interrupting the reset process can cause the device to "brick" (inoperability.
  • ๐Ÿ“ Save important data: Contacts (export to file) VCF), Use Mi Cloud, Google Photos or connect your phone to your PC.

If you are resetting your phone before selling, be sure to check:

Xiaomi account deleted|Screen lock removed|Data backup made.|Resets are performed via Recovery (not through settings)|Checked the absence of linked cards in Google Pay-->

Attention to details: Redmi 5A with firmware older than MIUI 11, after resetting through settings, files remain in DCIM, Downloads and WhatsApp folders, which must be manually deleted or used for a full reset via Recovery.

๐Ÿ’ก

If you forgot your Mi Account password but your phone is still working, try resetting it via account.xiaomi.com before formatting. Once you reset your phone, it will be harder to recover access!

2. Method 1: Reset via phone settings (the easiest)

This method is suitable if Redmi 5A is turned on, reacts to touch and you have access to the settings menu.

Instructions:

  1. Open the settings (cog icon on the desktop).
  2. Go to the section Additional โ†’ Recovery and Reset.
  3. Select Resetting (on some firmware - Erase all data).
  4. Confirm the action by entering the screen lock password (if it was set).
  5. Wait for the reboot (it will take 3-5 minutes).

Once reset, the phone will start as new. The important thing is, if you're selling a device, then you should go to Recovery and select Wipe Data again, and that will delete the remaining files.

What to do if the settings do not have the item "Reset"
On some custom firmware, the item may be called differently. Try the path: Settings โ†’ About Phone โ†’ Reset (tap 7 times on the build number if you need to unlock hidden options).

Typical problems when resetting through settings:

  • โŒ The phone is stuck on the Mi logo, so the process is interrupted.
  • โŒ After reset, asks for a password from Mi Account โ€“ you did not delete the account in advance (solution โ€“ see Section 5).
  • โŒ No photos removed โ€“ this is normal for this method (use Recovery for full cleaning).

3. Method 2: Hard Recovery Reset (complete cleaning)

Recovery mode is a service menu that lets you reset your phone even if it's not on or locked. Redmi 5A uses stock Recovery (standard) or TWRP (if you installed it), and we'll look at both.

How to get to Recovery on Redmi 5A:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the Power button + Volume up simultaneously and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will see the Recovery menu (in English or Chinese).

If you have a standard Recovery (black screen with yellow inscriptions):

  • ๐Ÿ“ฑ Select Wipe Data (use volume buttons for navigation, power for confirmation).
  • ๐Ÿ”„ Confirm the action by selecting Wipe All Data.
  • ๐Ÿ”™ After cleaning, go back to the main menu and select Reboot. โ†’ Reboot to System.

If you have a TWRP (blue/orange interface):

  • ๐Ÿ“ฑ Tap Wipe. โ†’ Format Data.
  • ๐Ÿ”„ Enter yes to confirm.
  • ๐Ÿ”™ Reboot through Reboot โ†’ System.

Reset time: Recovery takes longer (5-10 minutes) and don't interrupt it even if the screen is out, wait for the vibration or the Mi logo to appear.

Yeah, I dropped my phone.|Yeah, I was installing custom firmware.|No, but I know what it is.|No, I don't plan on.|I don't know what it is.-->

ParameterReset via settingsReset via Recovery
Removes applicationsโœ… Yes.โœ… Yes.
Deletes photos/videoโŒ No.โœ… Yes.
Requires a lock passwordโœ… Yes.โŒ No.
It works on a locked phone.โŒ No.โœ… Yes.
Time of the process2-3 minutes5-10 minutes

โš ๏ธ Warning: If after reset via Recovery, the phone requires a password from Mi Account, and you do not remember it - do not enter it at random! After 5 unsuccessful attempts, the device will be locked for 72 hours).

4. Method 3: Reset via Fastboot (if the phone doesn't turn on)

If Redmi 5A doesn't respond to buttons, hangs on the logo, or doesn't go into Recovery, the last option is to reset via Fastboot with a PC, which requires installing drivers and the Mi Flash Tool program.

What you need:

  • ๐Ÿ’ป Windows computer 7/10/11.
  • ๐Ÿ”Œ Cable USB (preferably original).
  • ๐Ÿ“ฅ Mi Flash Tool Programming.
  • ๐Ÿ“ Firmware for Redmi 5A (Download from Xiaomifirmwareupdater.com).

Step-by-step:

  1. Install Mi Flash Tool and drivers (if Windows does not find them automatically, download the official drivers).
  2. Turn off Redmi 5A and press the Power button + Volume down to enter the Fastboot (a hare in a hat-eared hat will appear).
  3. Connect your phone to your PC. Android Bootloader Interface should appear in the Device Manager.
  4. Unpack the downloaded firmware (file with extension.tgz) in the folder without Cyrillic.
  5. Open the Mi Flash Tool, press Select and point the path to the firmware folder.
  6. At the bottom, select Clean All (full clean) and click Flash.
  7. Wait for the end (10-15 minutes) and the phone will reboot automatically.

Importantly, this method completely reflashes the phone, not just resets it.

  • โœ… The device will be as new (including the version) MIUI).
  • โŒ All data is deleted without the possibility of recovery.
  • โš ๏ธ If the firmware is not suitable for your model, the phone may stop turning on (hard brick).

๐Ÿ’ก

Fastboot is the only way to bring Redmi 5A back to life that doesn't respond to buttons or freezes on boot, but requires care: the wrong firmware can finally break the device.

5.How to Unblock Mi Account After Resetting

If you forgot to delete your Mi Account before reset, the phone will require you to enter your username and password after activation.

Method 1: Restoring access

  1. Go to account.xiaomi.com.
  2. Click Forgot Password? and follow the instructions (requires access to an email or phone linked to your account).
  3. After restoring the password, enter it on the phone.

Method 2: Unlocking through the service center

If you donโ€™t remember the email or phone attached to your account:

  • ๐Ÿ“„ Prepare a check or box from your phone (proof of purchase).
  • ๐Ÿ“ Find the nearest Xiaomi service center.
  • ๐Ÿ”“ Ask to unlock the device. The procedure is free, but it can take 1-3 days.

Method 3: Bypassing the lock (unofficial)

If you donโ€™t have a check and your account isnโ€™t yours (for example, you bought a phone with your hands), you can try:

  • ๐Ÿ”ง Install TWRP and through it delete the account files (requires an unlocked bootloader).
  • ๐Ÿ“ฑ Use it. EDL Mode and flash the phone through the Mi Flash Tool with a checkmark Clean All and Lock (risky!).

โš ๏ธ Warning: Unofficial ways to bypass Mi Account locks can lead to hard brick or ban Xiaomi account.We recommend using them only as a last resort and at your own risk.

Frequent Formatting Errors of Redmi 5A and Their Solutions

Even if you follow the instructions correctly, you can have problems.

Mistake.Reason.Decision
Phone hangs on Mi logo after resetCleaning process interrupted or firmware damagedRepeat reset via Recovery or run your phone through Fastboot
After the reset, asks for an old PIN-codeScreen lock is not removed before formattingEnter an old password or reset via Recovery
Mi Account is not deleted in the settingsNo Internet connection or Xiaomi server is not availableCheck the internet, restart your phone or try it later
Fastboot doesn't see the phoneDrivers not installed or cable damagedInstall drivers manually, try another cable/USB port
After the firmware, there's no network.The MIUI version is not for your region.Switch to Global Stable or EEA firmware version

Additional advice:

  • ๐Ÿ”„ If the phone doesnโ€™t turn on after reset, plug it into charging for 30 minutes, then try to go to Recovery.
  • ๐Ÿ“ฑ If the screen doesnโ€™t respond to touch in Recovery, use volume buttons for navigation and power to select.
  • โšก If the battery is quickly running out after firmware, make a Wipe Cache in Recovery.

7.How to recover data after reset (if you did not make a backup)

If you forgot to save important files before formatting, there are chances of recovery โ€” but they depend on how you reset:

After resetting through settings:

  • ๐Ÿ“ Photos and videos can stay in folders DCIM Pictures โ€“ check through the file manager.
  • ๐Ÿ“ž Contacts can be restored if they have been synced with a Google Account (check contacts.google.com).
  • ๐Ÿ’ฌ Communications SMS It is almost impossible to recover (if there was no backup in the Mi Cloud).

After resetting via Recovery/Fastboot:

  • โŒ Data deleted irrevocably (unless you used programs like Dr.Fone or EaseUS MobiSaver before resetting).
  • ๐Ÿ” You can try connecting your phone to your PC and scan your internal memory with recovery programs (success is not guaranteed).

Data recovery programs (at your own risk):

  • ๐Ÿ’ป Tenorshare UltData (paid, supported by Xiaomi).
  • ๐Ÿ’ป EaseUS MobiSaver (Free version with limitations).
  • ๐Ÿ’ป Dr.Fone (paid, high chance of photo recovery).

โš ๏ธ Note: Do not install data recovery software on Redmi itself 5A โ€” They can overwrite deleted files, making recovery impossible!

FAQ: Answers to Frequent Questions

Can I reset Redmi 5A without losing data?
No, any reset removes apps and settings, but if you reset through settings (not Recovery), photos and documents can stay: ๐Ÿ“ Photos โ€“ in Google Photos or on PC. ๐Ÿ“ž Contacts โ€“ export to the file VCF or sync with Google. ๐ŸŽฎ Save games โ€“ use accounts in games (e.g. Google Play Games).
The phone after the reset asks for the password from Mi Account, but I don't remember it.
There are several options: Try to restore your password on account.xiaomi.com (you need to access an email or phone). If your account is not (you bought a used phone), contact the Xiaomi service center with a check. In extreme cases, you can try to flash your phone through Fastboot with a Clean All and Lock tick, but this is risky (may lead to breakage). Important: Don't buy Mi Account unlock services on dubious sites - this is fraud!
What is the best way to reset the Redmi 5A?
Depends on the situation: ๐Ÿ“ฑ If the phone is working โ€“ reset via settings (the easiest way to do so). ๐Ÿ”„ If you are selling your phone or need to erase everything โ€“ Recovery). โšก If the phone doesn't turn on, Fastboot (requires a PC) To clean it completely before selling, use the combination: first reset via settings, then Wipe Data in Recovery.
Can the reset be cancelled after it is launched?
No, once the reset is confirmed, the process is irreversible. If you interrupt it (e.g., pull out the battery or turn off the power), the phone can: โŒ Stop turning on (bootloop). โŒ Lose data IMEI (no net). โŒ It requires flashing through Fastboot. If the reset is already running, wait until it is completed (even if it seems that the phone is getting stuck).
After the reset, the network is gone (no signal).
This problem arises if: ๐Ÿ“ถ The wrong version is stitched in. MIUI (for example, for another region). ๐Ÿ”ง Modem files are damaged or EFS. ๐Ÿ“ฑ Not inserted. SIM-Map (check the tray). Solution: Reboot the phone. Check if the plane mode is on (Settings) โ†’ SIM-Maps and mobile networks. Run the correct version MIUI via Fastboot (e.g. Global Stable for your region) If it doesn't work, contact the service (possibly damaged communication module).