How to reset Xiaomi Redmi 5A to factory settings: all working ways

Resetting the Xiaomi Redmi 5A to factory settings can be a challenge in a variety of situations, from preparing the phone for sale to fixing software failures. This model, released in 2017, is still in use today, but its MIUI firmware (most often version 9.6-12.5) has features that are important to consider when resetting. For example, after a hard reset, a device may require data input from the associated Mi Account - even if you forget the password from the lock screen.

Unlike new Xiaomi smartphones, where reset is often blocked by Find My Device, Redmi 5A is a simplified procedure, but requires attention to detail. In this article, we will analyze 5 proven methods - from standard reset through settings to bypassing locks through Fastboot.

If your Redmi 5A is slowing down, not turning on or asking for a password from an old account, don’t rush to bring it to the service. In 90% of cases, the problem can be solved by yourself, following our instructions.

πŸ“Š Why you want to throw Redmi off the grid 5A?
Preparation for sale
Forgot your password/pattern lock
Eliminating glitches and brakes
The smartphone is off.
Other

1.Resetting preparation: what to do before the start

Before you start resetting, make sure you follow all the critical steps. Without a backup, you will lose photos, contacts, messages and app data – it will be impossible to restore them after a hard reset.

This is especially true for the Redmi 5A, as the model does not support automatic backup to the Mi Cloud on newer versions of MIUI.

  • πŸ“± Save contacts: Export them to.vcf via the Contacts app or sync with your Google account.
  • πŸ“· Copy photos and videos: Connect your phone to your PC via USB (File Transfer mode or use cloud services.
  • πŸ”‘ Remember the Mi Account details: After the reset, the phone may require a login and password from the associated Xiaomi account.
  • πŸ”‹ Charge the battery: The charge level must be at least 50% to avoid being turned off during the procedure.

If the phone is locked and you can’t access files, try connecting it to your computer in MTP mode (sometimes it works even when the screen is locked).

⚠️ Attention: If on Redmi 5A Find My Device (located in Settings) β†’ Mi Account. β†’ Find the device, after resetting the phone will require data input from the associated account Mi. Without them, it will be impossible to unlock the device without contacting the service center.

πŸ’‘

If you don't remember the password from your Mi Account, try to restore it through account.xiaomi.com before the reset. After a hard reset, recovery can be blocked for 72 hours.

2. Method 1: Reset via the settings menu (if the phone is on)

It's the easiest and safest method, but it only works if you can unlock the screen and log in to settings. It's good for eliminating software glitches or getting your phone ready for sale.

Instructions for Xiaomi Redmi 5A (relevant to MIUI 9-12):

  1. Open Settings (the gear icon on the main screen).
  2. Go to the section Additional β†’ Recovery and Reset.
  3. Select the Reset option.
  4. Click Delete all data and confirm the action.
  5. Enter the password from the lock screen (if requested).
  6. Wait for the process to be completed (it will take 3-5 minutes).

After the reboot, the phone will be like new – you will need to reconfigure the language, connect to Wi-Fi and log into your Mi Account (if it was tied).

Battery level (minimum 50%)|Backup of contacts and files|Disabling your Google account (if you plan to sell)|Memorizing the password from the Mi Account-->

⚠️ Warning: If after a reset, the phone asks for a password from an old Mi Account and you don't remember it, don't enter the data at random. After 5 unsuccessful attempts, the device will lock for 24 hours.

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

If the Redmi 5A doesn't respond to clicks, freezes on the logo, or doesn't go beyond the lock screen, you'll have to use Recovery Mode, which erases all data, but doesn't require access to the system.

Step-by-step:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the buttons at the same time: Volume up (+) + Power for standard Recovery. Volume down (-) + Power to go to Fastboot (if the first method did not work).

10-15 seconds

Mi

From the Recovery menu, select the language (usually English by default).

Move through the menu with volume buttons, confirm the choice of the power button.

Wipe Data β†’ Wipe All Data

Reboot β†’ Reboot to System

If the phone still doesn’t turn on after reset or if it gives a β€œNo command” error, try repeating the procedure by selecting the Wipe Cache Partition before resetting the data.

Problem.Possible causeDecision
Phone is not included in RecoveryFaulty buttons or battery dischargedCharge your phone for 30 minutes, try again. If the buttons don't work, call the service.
After reset, asks for the Mi Account passwordXiaomi account was tied to the deviceRestore your password through the official website or contact for support.
Error "This device is locked"Protected by Find My DeviceOfficial unlocking is required through the Xiaomi service center.
Recovery in ChineseFirmware for the Chinese marketSelect the first item on the menu (usually Wipe Data).
What happens if Recovery does not open?
If the buttons are kept louder after the buttons are held+ + Power the phone vibrates but does not load the Recovery menu, try: 1. Connect the charger and try again. 2. Use the Volume combination– + Power to go to Fastboot, and then through the PC to reset (method 4. 3. Check the performance of the buttons – if they are locked or not pressed, you will need to disassemble the device.

Method 3: Reset via Mi Account (if you forgot the screen password)

If you have forgotten the pattern lock or PIN-code, but remember the data from the Mi Account, you can reset the screen lock through the Xiaomi website:

  • πŸ“± The phone is connected to the Internet (via Wi-Fi or mobile network).
  • πŸ”‘ Mi Account was linked to the device.
  • πŸ”„ Find My Device is activated.

Instructions:

  1. Go to i.mi.com and log in.
  2. In the Devices section, select your Redmi 5A.

Important: this method does not perform a complete reset - it only removes the screen lock. To completely clean the phone, use Method 1 (reset via settings) after unlocking.

πŸ’‘

Mi Account reset only works when the phone has an active Internet connection, and if the Wi-Fi is off, connect to the network via another phone in hotspot mode.

5. Method 4: Unlocking via Fastboot (for power users)

If standard methods don’t work (e.g., the phone asks for Mi Account password after reset), you can try unlocking the bootloader and flashing clean firmware, which requires a computer and basic knowledge of working with ADB/Fastboot.

What you need:

  • πŸ–₯️ Computer with installed Xiaomi drivers and tools ADB/Fastboot.
  • πŸ”Œ Cable USB (preferably original).
  • πŸ“₯ Firmware for Redmi 5A (for example, official MIUI).
  • πŸ”‘ Unlocked bootloader (unless previously unlocked).

Step-by-step:

  1. Turn the phone into Fastboot mode: Turn off the device. Press Volume down (-) + Power for 10 seconds.

Connect your phone to your PC via USB.

cmd

ADB

fastboot devices

(Serial number of the device must be displayed).

fastboot oem unlock

Attention:

It'll erase all the data!

fastboot flash all [name file firmware.zip]
fastboot reboot

⚠️ Attention: Unlock the bootloader on Redmi 5A It can lead to a loss of warranty (if it is still valid), and after unlocking, the phone will be reset to factory settings and all data deleted, and there is a risk of "bricking" if you interrupt the firmware process.

How to check if the bootloader is unlocked?
Turn on your phone and go to Settings β†’ About. Click on the MIUI version several times until the message "You're a developer" appears. Then go back to Settings β†’ Additional β†’ Developer and find the Unlock Status Mi. If it says "Unlocked", the bootloader is already open.

6. Method 5: Bypassing locking through EDL Mode (extreme case)

If all previous methods failed (for example, the phone asks for the Mi Account password and you don’t remember it), the last option is the EDL (Emergency Download Mode) firmware, which requires special equipment (EDL cable or Deep Flash Cable) and is only suitable for advanced users.

Warning: EDL can lead to total data loss and warranty cancellation, and it often requires paid tools like the Mi Flash Pro or UFi Box.

Instructions:

  1. Download the firmware for Redmi 5A in.tgz format (for example, from the Xiaomi Firmware Updater website).
  2. Install the Qualcomm HS-USB QDLoader 9008 driver on your PC.
  3. Connect your phone to your PC in mode EDL: Turn off the device. Close the Test Point contacts on the motherboard (disassembly required). USB-cable - the computer must define the device as QHSUSB_BULK.

Mi Flash Tool

Clean All

After successful firmware, the phone will be completely reset, but it may be necessary to re-activate through the Mi Account if the device was previously tied.

7. Frequent errors and their solutions

When you reset the Xiaomi Redmi 5A, users often face typical problems, and we have collected the most common ones and ways to fix them.

Mistake.Reason.Decision
"This device is locked"Protected by Find My DeviceOfficial unlock through Xiaomi Service Center (check or box required).
Phone asks for password after resetMi Account is linked, but data is not savedRestore your password through account.xiaomi.com or use EDL Mode.
Recovery won't openFirmware damaged or buttons faultyTry to pinch Volume + Power for Fastboot or charge your phone.
No command errorRecovery section damagedFastboot (fastboot flash recovery recovery.img)
The phone will not turn on after resettingFailed firmware or interrupted processRepeat the reset via Fastboot or EDL with the correct firmware.

If none of the methods worked, the problem may be in the hardware (e.g., damaged eMMC memory), in which case we recommend contacting the service center.

FAQ: Answers to Frequent Questions

Can I reset Redmi 5A without losing data?
No, any hard reset completely deletes user data, and the only way to save the information is to back up in advance through the Mi Cloud or manually copy files to your PC.
The phone asks for the password from the old Mi Account after the reset.
This means that the device was tied to a Xiaomi account.Solution options: Restore your password through the official website. If the account is not yours (for example, a phone bought with hands), contact the previous owner for data or provide him with a check for official unlock. In extreme cases, use firmware through EDL Mode (but this may not work on new versions of MIUI).
After the reset, the phone doesn't turn on.
Possible causes and solutions: πŸ”‹ Battery is dead – charge your phone for 30 to 60 minutes, then turn on again. πŸ”„ Resetting interrupted – try re-entering Recovery and repeating Wipe Data. πŸ› οΈ Firmware is damaged – run your phone through Fastboot or EDL. πŸ’₯ Hardware malfunction – if the phone doesn’t respond to charging and doesn’t warm up, it may be a problem in the motherboard.
How to Reset Redmi 5A if the Sensor is Not Working
If the screen responds to pressing, but the sensor is not working, connect to the phone USB-mouse-wise OTG-Adapter. Then reset through the settings (see Method 1). If the screen is not working fully: Connect the phone to the PC and try to control it through the ADB (Use Hard Reset via Recovery (see Method 2). In extreme cases, run your phone through Fastboot or EDL.
Can you reset Redmi 5A through a computer without Recovery?
Yes, it's a good way to do this through Fastboot (see Method 4) or EDL Mode (see Method 5). Both options require drivers and special utilities (Mi Flash Tool, ADB). If you're not sure about your skills, you'd better contact a service center - incorrect actions can lead to a breakdown of the phone.