How to Reset Xiaomi Redmi 5A to Factory Settings: The Complete Guide

Resetting the Xiaomi Redmi 5A to factory settings is a procedure that can be required in a variety of situations, from preparing the phone for sale to fixing software failures. The Redmi 5A model (codenamed riva) is still popular due to its reliability, but even it is not immune to performance problems or a forgotten pattern lock.

In this article, weโ€™ll look at all the possible ways to reset, from the standard menu to Recovery mode to even remote reset via Mi Account, focus on the nuances of unlocking if you forget your password, and also warn against the typical errors that can turn a smartphone into a โ€œbrick.โ€ Regardless of the reason โ€” whether itโ€™s a sale, viruses or brakes โ€” you will find here step-by-step instructions with illustrations (in text format) and answers to frequent questions.

Important: Redmi 5A is MIUI-based, and the reset process may vary slightly depending on the firmware version (e.g. MIUI 9 vs MIUI 12). All methods in this article are tested on current versions of the software, but if your phone hasn't been updated in a long time, some menu items may be called differently.

Before you start, make sure you have a backup of important data.Reset completely deletes:

  • ๐Ÿ“ฑ Contacts, messages and call history (unless synced with Mi Cloud)
  • ๐Ÿ“ท Photos and videos in internal memory
  • ๐ŸŽต Music, downloads and documents
  • ๐Ÿ”‘ Saved passwords from Wi-Fi and applications
  • ๐ŸŽฎ Game and App Settings (Progress May Reset)

If you drop your phone before selling, remember to log out of your Mi Account โ€“ otherwise the new owner wonโ€™t be able to use the device!

1. Reset via the settings menu (the easiest way)

This method is suitable if the phone turns on, you remember the unlock password, and you want to return the factory settings without unnecessary manipulation.

Instructions:

  1. Open the Settings app** (cog icon).

The phone will reboot and start the cleaning process, and the Redmi logo will appear on the screen, and then the wizard of the initial setup, as after the purchase.

Battery stock. > 50%|Disable Google Account (if any)|Synchronize contacts with Mi Cloud|Delete SD-card (if used)-->

โš ๏ธ Warning: If the phone requires you to enter the old Mi Account password after reset, you did not log out before cleaning.

2. Reset via Recovery Mode (if the phone is not turned on or locked)

If Redmi 5A does not respond to the screen, freezes on the logo or you forgot the pattern lock, Recovery mode will help. This method works even with damaged firmware, but requires care - improper actions can lead to loss of IMEI or lock the bootloader.

Step-by-step:

  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 and hold for 10-15 seconds until the Mi logo appears.
  3. Release the buttons and you will be taken to the Recovery menu (black screen with blue inscriptions in English).
  4. Use Volume Down for navigation and Volume Up for selecting a point.
  5. Select Wipe Data โ†’ Wipe All Data (complete cleanup).
  6. Confirm the action and wait for the completion.
  7. Go back to the main menu and select Reboot โ†’ Reboot to System.

If the phone reboots and starts setting up from scratch, if the error "This device is locked" appears after the reset, then the Mi Account account is tied to the device - additional unlocking will be required.

๐Ÿ’ก

If the Recovery menu is in Chinese, select the hieroglyphics item (data cleanup) and confirm.

Problem.Reason.Decision
Phone is not included in RecoveryVolume or power button is faultyTry to pinch the buttons longer (20+sec) or plug in charging
No command appearsRecovery section damagedInstall stock Recovery via Fastboot
After reset, asks for a Mi Account passwordThe device is tied to the accountUnlock via Mi Cloud or contact support
Discharge interrupted by 50%Internal memory damaged.Swipe your phone through Fastboot with a full cleanup

Remote reset via Mi Account (if you forgot your password)

If you forget your unlock password and canโ€™t log in to the menu or Recovery and your phone is linked to Mi Account, you can reset it remotely via Xiaomiโ€™s website.

  • ๐Ÿ”— The phone is connected to the Internet (Wi-Fi or mobile network).
  • ๐Ÿ”’ Remember the username and password from Mi Account.
  • ๐Ÿ“ฑ Find the device has been activated in the settings.

Instructions:

  1. Go to i.mi.com and log in.
  2. In the Devices section, select your Redmi 5A.
  3. Press Find the device. โ†’ Erase the data.
  4. Confirm the action via SMS or email.
  5. Wait until the process is completed (it can take up to 30 minutes).

After a successful reset, the phone will restart and prompt you to go through the initial setup. If the device was offline, the reset command will be executed the next time you connect to the Internet.

โš ๏ธ Note: Remote reset via Mi Account does not work if the phone is disabled Find the device or it is in Flight Mode mode.

Yes, I had to reset | No, I always remember passwords | Using a fingerprint | I keep backup codes-->

4. Reset via Fastboot (for power users)

If standard methods don't work (e.g., software is damaged or bootloader is blocked), you'll have to use Fastboot mode, USB-Cable and Minimal Knowledge of Working with ADB/Fastboot.

What you need:

  • ๐Ÿ–ฅ๏ธ Computer with Windows/Linux/macOS.
  • ๐Ÿ”Œ Original. USB-cable (will not damage ports!).
  • ๐Ÿ“ฆ Utilities. ADB and Fastboot (download from Android site).
  • ๐Ÿ”“ Unlocked bootloader (if not previously unlocked, you will need to link to Mi Account).

Instructions:

  1. Turn off Redmi 5A and press the Power button + Volume down to enter the Fastboot (a hare in a hat-eared hat will appear).
  2. Connect the phone to the computer.
  3. Open the command prompt (cmd) in the folder with ADB and execute: fastboot devices If the device is determined (the serial number will appear), continue.
  4. Run full reset: fastboot erase userdata fastboot erase cache fastboot reboot

If the bootloader is locked, you will need to unlock it through the Mi Unlock Tool before reset (the process takes up to 720 hours of waiting for new accounts).

What if the Fastboot canโ€™t see the device?
1. Install Xiaomi drivers USB Drivers (download on the official website). 2. Try another one. USB-cable or port (better) USB 2.0). 3. Disable the driver signature in Windows (to do this, type in the command line on behalf of the administrator: bcdedit /set nointegritychecks on, then restart the PC). 4. If you are using a virtual machine, turn on support. USB 2.0/3.0 customized.

5. How to unlock Redmi 5A after reset if you need a Mi Account password

One of the most common problems after a reset is asking for a Mi Account password, even if you logged out before clearing, and this is due to the Mi Cloud Lock feature, which links the device to your account to protect against theft.

Methods of unlocking:

  1. Enter the correct data: If you remember your login/password, enter it on the lock screen. After successful authorization, the phone will be unlocked.
  2. Reset via Mi Cloud (described in Section 3): Works if the device is online.
  3. Official unlock: Contact Xiaomi support with a check to buy. the process can take up to 30 days.
  4. Unofficial methods (at your own risk!): ๐Ÿ› ๏ธ Firmware through EDL (requires an authorized developer account). ๐Ÿ”ง Mi Account Unlock Tool (the risk of blocking the account!).

Important: Unofficial methods can result in IMEI or Mi Account locking.If the phone is bought with hands, contact the previous owner to unblock the device.

๐Ÿ’ก

If Redmi 5A asks for Mi Account password after reset and you donโ€™t remember it, the only legal way to unlock it is to ask Xiaomi for proof of purchase.

6. Frequent mistakes and how to avoid them

Even experienced users sometimes make mistakes when resetting Redmi 5A. Here are the most common ones and ways to prevent them:

Mistake 1: Resetting with a discharged battery

If the charge is below 30%, the phone may shut down during the process, causing damage to system files. Always charge the device to at least 50% before resetting.

Mistake 2: Interrupting the process

Do not remove the battery or turn off the phone during a reset (especially in Recovery or Fastboot) and this can result in loss of IMEI or "brick" (inoperable state).

Mistake 3: Wrong firmware

If you are flashing your phone through Fastboot, always check the firmware version. Installing software for another model (e.g. Redmi 5 instead of 5A) will make the device inoperable.

Mistake 4: Ignoring backup

Many users forget to save data before resetting.Use Mi Cloud, Google Drive or physical copying to your PC for backup:

  • ๐Ÿ“ฑ Contacts (export to.vcf).
  • ๐Ÿ“ท Photo and video (copy folder) DCIM).
  • ๐Ÿ”‘ Wi-Fi Passwords (apps like WiFi Password Viewer).

Mistake 5: Buying a Locked Phone

When buying a Redmi 5A, always check to see if it is untied from the Mi Account.

  1. To do the reset on you.
  2. Go through the initial setup to the desktop screen.
  3. Show in Settings โ†’ Accounts that the device is not tied to Mi Account.

๐Ÿ’ก

Before buying used Xiaomi, check the IMEI lock status on IMEI.info. If the Blacklisted status, the phone is stolen or blocked by the operator.

FAQ: Answers to Frequent Questions

Can I reset Redmi 5A without losing data?
No, a full reset always deletes user data from internal memory. However, you can: Create a backup through Settings. โ†’ Additionally. โ†’ Backup. Copy files to a PC or SD-If the phone is locked, the only way to save the data is to unlock it without resetting (for example, through a computer system). ADB, if debugging is on USB).
The phone doesn't turn on after the reset.
Possible causes and solutions: Battery is dead โ†’ Charge your phone for 30 to 60 minutes, then try to turn it on. bootloader is damaged โ†’ Fastbootโ€™s stock firmware. Incompatible firmware โ†’ Install the correct version of the Redmi 5A software (codenamed riva). Hardware malfunction โ†’ Contact the service center (may motherboard has failed).
How do I know if the Redmi 5A bootloader is unlocked?
Turn on your phone in Fastboot mode (power button + volume down). If the bottom of the screen says Unlocked, the bootloader is unlocked. If Locked is locked. To unlock: Connect the device to Mi Account in the settings. Download Mi Unlock Tool from the official website. Connect the phone to Fastboot and follow the instructions of the program. Attention: New accounts require a wait of up to 720 hours (30 days) before unlocking!
Can you reset Redmi 5A on a computer without a Fastboot?
Yes, if the phone is debugging on. USB It's recognized by the computer. Use the command: adb shell recovery. --wipe_data But this method only works if: The phone turns on and connects to the PC. In the developer settings, debugging is enabled. USB. Drivers installed ADB. If debugging is disabled, only Recovery or Fastboot remains.
After the reset, the camera/Wi-Fi/sound is out. What do you do?
These are typical symptoms of malfunctioning firmware or corrupting system files. Solutions: Fastboot your phone with a full-cleaning Fastboot system. Reset the settings again with Recovery. Check the hardware: camera module or Wi-Fi chip may be faulty. If the problem persists, install custom Recovery (such as TWRP) and scrub a clean version of MIUI for Redmi 5A.