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

Xiaomi Redmi 5A

factory-setting

But how do you do this correctly on Redmi 5A so you don't lose important data or turn your phone into a brick? In this article, we'll look at all the reset methods available, from the standard menu to Recovery mode and even remote control via Mi Account. You'll also learn how to prepare for the procedure, what to do if your smartphone doesn't respond to commands, and how to recover data after a reset.

Important: Redmi 5A came in several versions (for example, with 2/16 GB or 3/32 GB of memory), but the instruction is suitable for all versions, including global (riva) and Chinese (riva with MIUI China). If your device is blocked by an operator (for example, MegaFon or Beeline), the reset will not remove the binding to the network โ€“ this will require a breakup by IMEI.

Before you start, answer one question:

๐Ÿ“Š Why you want to reset your settings on Redmi 5A?
The phone's slowing down a lot.
Preparing for sale/gift
Forgot the pattern lock
Viruses or errors in the system
Another option

1.Resetting preparation: what to do in advance

Setting reset is an irreversible process that deletes all user data, including:

  • ๐Ÿ“ฑ Contacts, SMS Call log (unless synced with Google or Mi Cloud)
  • ๐Ÿ“ท Photos, videos and music in internal memory
  • ๐ŸŽฎ Save games and customize applications
  • ๐Ÿ”‘ Passwords from Wi-Fi, accounts in social networks and instant messengers
  • ๐Ÿ“‹ Notes, calendars and other personal data

To minimize losses, follow the following steps:

1. Create a backup. Use built-in MIUI tools or third-party applications:

  • ๐Ÿ”„ Settings โ†’ Additionally. โ†’ Backup and reset โ†’ Local backup
  • โ˜๏ธ Sync your data with Mi Cloud (requires a Xiaomi account)
  • ๐Ÿ“ฑ For media files suitable Google Photos or transfer to PC USB

2. Make sure the phone is charged. The reset process can take up to 10-15 minutes, and an interruption due to battery discharge will make it impossible to turn on the device without flashing through the Fastboot. The optimal charge level is at least 50%.

3. Find out the MIUI version. This will help if you need to restore the firmware after a failed reset. Path: Settings โ†’ About Phone โ†’ MIUI version. Write down the number or take a picture of the screen.

4. Untie your accounts. If you're selling a phone, delete your Google and Mi Account attachments:

  • ๐Ÿ“Ž Settings โ†’ Accounts. โ†’ Google โ†’ Delete the account
  • ๐Ÿ“Ž Settings โ†’ Mi Account. โ†’ Get out.

โš ๏ธ Attention: If on Redmi 5A Device Protection (in some versions) MIUI), After reset, you will need to enter the password from the last Mi Account. Without it, the phone will be locked! โ†’ Additionally. โ†’ Confidentiality โ†’ Device protection.

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

This method is suitable if the phone turns on and responds to touch, and you remember the pattern lock or PIN-The procedure takes 5-7 minutes and requires no additional tools.

Step-by-step:

  1. Open Settings (the gear icon on the main screen).
  2. Go to the Additional section (in some versions of MIUI System and Device).
  3. Select Backup and Reset.
  4. Slip on Settings Reset.
  5. The system will suggest you to choose which to delete. We recommend that you mark all data (including internal memory).
  6. Confirm the action by entering PIN-code.
  7. Press Reset and wait for the reset.

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.

โ˜‘๏ธ Checklist before resetting through the menu

Done: 0 / 5

What to do if there is no reset menu? In rare cases, the Reset option may be hidden (for example, on custom firmware).

Settings โ†’ About Phone โ†’ MIUI version (shap 7 times to activate developer mode)


Settings โ†’ Additional โ†’ For developers โ†’ Resetting settings

โš ๏ธ Note: If after resetting the phone requires you to enter a password from Mi Account, and you do not remember it, restore access through account.xiaomi.com. EDL) It may lead to a blockage. IMEI!

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

If Redmi 5A doesnโ€™t respond to the screen, freezes on the logo or is locked with a pattern lock, a Recovery reset will help.This method works even without access to the system, but requires care โ€“ incorrect actions can lead to the loss of Recovery.

Step instructions:

  1. Turn off the phone (press the power button for 10 seconds if it freezes).
  2. Press the button combination: Volume up (+) + Power.
  3. Hold them for 10-15 seconds until the Mi logo and Recovery menu appear.
  4. Select a language (e.g. English) from the menu, then tap on Wipe Data.
  5. Select Wipe All Data and confirm the action.
  6. After cleaning, press Reboot โ†’ Reboot to System.

If the Recovery menu is in Chinese, focus on the location of the items:

  • ๐Ÿ“› The first item is Reboot (reboot)
  • ๐Ÿงน The second item is Wipe Data (cleanup)
  • ๐Ÿ“ฅ Third item - Connect with MiAssistant (for firmware)

The Redmi 5A uses Xiaomiโ€™s stock Recovery, but if youโ€™ve previously installed custom (like TWRP), the steps may differ. In TWRP, you need to select Wipe โ†’ Format Data, then type yes for confirmation.

What happens if Recovery does not open?
If the phone vibrates after holding Volume++ Power, but the menu does not appear, the following reasons are possible: 1. Volume button is faulty - try Volume Down + Power combination. 2. Recovery partition is damaged - you will need to flash through Fastboot or EDL. 3. The phone is completely discharged - connect charging for 10-15 minutes, then try again. 4. Hardware lock - on some versions of MIUI China Recovery is disabled for security. In this case, only the official service will help.

Problem.Reason.Decision
Phone is not included in RecoveryVolume button stuckTry another combination or disassemble the case to clean the buttons
Recovery menu in ChineseGlobal firmware not installedOrientate by location of points or go through the global version
After resetting, the phone asks for a passwordProtecting the Mi device is activatedEnter the password from the last Mi Account or restore access
Recovery is a bug with E:unknown command.Recovery section damagedReflash Recovery via Fastboot (instruction below)

Method 3: Remote reset via Mi Cloud (if phone is lost)

If you lost the Redmi 5A or it was stolen, but it had a Mi Account attached, you can do a remote reset, which is also useful if the phone is locked, but you have access to another device with the Internet.

For remote reset:

    Advantages of the method:

    • ๐ŸŒ It works from anywhere in the world (only the internet is needed).
    • ๐Ÿ”’ No need for physical access to the phone.
    • ๐Ÿ“ก You can track the location of the device before resetting.

    Limitations:

    • โŒ The phone must be connected to the Internet (mobile data or Wi-Fi).
    • โŒ The Mi Account must be linked to the device before loss.
    • โŒ After resetting, the phone will not unlock - you will need to enter account data at the first turn on.

    โš ๏ธ Warning: If you sold your phone and didn't untie your Mi Account, the new owner won't be able to use it! To avoid this, be sure to remove the device from the list in Mi Cloud after resetting.

    ๐Ÿ’ก

    If your phone is stolen, lock it through Lock Device before being reset via Mi Cloud, which will prevent an attacker from accessing your data until it is completely cleared.

    5.What to do if the reset did not help: diagnosing problems

    In 10 percent of cases, the Redmi 5A may not work properly after a reset, either by slowing down, or by failing to turn on at all.

    Problem 1: The phone hangs on the Redmi logo after being reset.

      Problem 2: After the reset, a request for a Mi Account password appeared, but you do not remember it.

        Problem 3: The phone turns on but doesn't see SIM-map.

        • ๐Ÿ“ถ Possible cause: Reset damaged modem settings or NV-data files.
        • ๐Ÿ›  Solution: Fastboot your phone with official firmware. If the problem persists, check the physical condition of the slot. SIM-maps (possibly oxidation of contacts).

        Problem 4: After resetting, the phone became discharged faster.

        • ๐Ÿ”‹ Possible cause: background processes or unoptimized firmware.
        • ๐Ÿ›  Solution: Calibrate the battery: fully discharge the phone, then charge to 100% without interruptions. disable auto-run of unnecessary applications in Settings โ†’ Annexes โ†’ Auto-run. Install a more recent version. MIUI (if available).

        ๐Ÿ’ก

        If the phone is unstable after reset, donโ€™t rush to carry it for repair. 80% of the time, it helps to re-flash through Fastboot from the official Xiaomi website.

        6. Data recovery after reset: is it possible?

        If you have not made a backup, the chances of returning the data depend on what type of reset was performed:

        1. Soft reset (via the settings menu).

        • ๐Ÿ“ The data on the external memory card (microSD) remains intact.
        • ๐Ÿ—ƒ Files in internal memory are deleted, but you can try to restore them using programs like DiskDigger or Recuva (root access is required).
        • โ˜๏ธ Data synced to Google or Mi Cloud is automatically restored when first enabled.

        2.Severe reset (via Recovery).

        • ๐Ÿšซ Internal memory formatted at low level โ€“ data recovery unlikely.
        • ๐Ÿ”ง If the phone was on OEM Unlock and custom Recovery installed (e.g, TWRP), The chances are higher โ€“ you can connect the phone to the PC and use it ADB file-extract.

        3. Remote reset (via Mi Cloud).

        • ๐Ÿ”’ All data is erased without recovery (encryption is used).

        To restore photos and contacts:

        • ๐Ÿ“ท Check the folder. DCIM/.thumbnails on the memory card - sometimes there are miniatures.
        • ๐Ÿ“ž Contacts can be restored from Google backup (if sync was enabled).
        • ๐Ÿ’พ For deep scanning, use Dr.Fone or EaseUS MobiSaver (only works on intact partitions).

        โš ๏ธ Note: If you plan to sell your phone, do not restore data after reset! New files can overwrite old ones, but fragments of personal information (photos, messages) will still remain in memory. TWRP or specialized utilities like SD Card Formatter.

        7. Frequent mistakes and how to avoid them

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

        Mistake 1: Resetting the Mi Account without detachment.

        If you sell a phone and you haven't deleted your Xiaomi account, the new owner won't be able to use it.

          Mistake 2: Interrupting the resetting process.

          If you take out the battery or turn off the power during cleaning, the phone may stop turning on.

          • Make sure the battery is >50%.
          • Do not press any buttons while the process is underway.

          Error 3: Use of unofficial firmware after reset.

          Installing custom ROMs (like LineageOS) without unlocking the bootloop will lead to bootloop.

          • Unlock the bootloader through the Mi Unlock Tool.
          • Install only firmware compatible with Redmi 5A (riva).

          Error 4: Reset via Fastboot without a backup persist.

          On some versions of MIUI, cleaning the persist partition causes the loss of IMEI.

          • Before firmware, save /persist folder via TWRP or ADB.
          • Use the fastboot erase persist command only as a last resort.

          Mistake 5: Buying a phone with a Mi Account tied

          If you bought a used Redmi 5A and it requires a password from the previous owner, it will be difficult to return it.

            ๐Ÿ’ก

            If you often sell or buy used Xiaomi phones, save this link to check the status of Mi Account. Enter the IMEI of the device to see if the account is associated with it.

            FAQ: Answers to Frequent Questions

            Can I reset Redmi 5A without losing data?
            No, a full reset always deletes user data. However, you can: Back up through Settings โ†’ Backup; Copy important files to a PC or memory card; Sync contacts and photos with Google or Mi Cloud. If the phone is locked but you need data, contact the service center - they can extract information through Chip-Off (expensive but effective).
            The phone after the reset asks for the password from Mi Account, but I don't remember it.
            This means that the device has been activated the function of Device Protection Mi. Solutions: Restore password via account.xiaomi.com (requires access to an email or phone associated with the account). If recovery is not possible, contact the official Xiaomi service with documents on the phone (no warranty required). Do not use programs to bypass the lock (for example, through EDL) - this can lead to blocking IMEI! The cost of unlocking in the service: ~ 1500-3000 rubles (2026).
            How to reset Redmi 5A if the screen is not working, but the phone is turning on?
            If the screen is broken or doesn't respond to touch, but the phone is turning on, try: Connect the phone to your PC and use ADB Resetting: Adb shell recovery --wipe_data (required USB-if you're debugging. ADB Unconnected, reset via Recovery (volume combination)+ + Power, even if the screen is not visible, be guided by vibration. In extreme cases, run your phone through Fastboot (instructions in the section). 5). If the screen is completely black (no backlight), it may be a problem in the plume or motherboard - then only repairs will help.
            After the reset, the phone can't see. SIM-How to fix the map?
            Causes and solutions: Software failure: Fastboot your phone with official firmware. Modem section is damaged: TWRP Try flashing modem and nvdata files separately from stock firmware. Hardware problem: Check the slot SIM-I've got a card for damage or oxidation. SIM-Operator lock: If the phone has been locked under a specific operator (e.g. MegaFon), you will need to break the lock. IMEI. If nothing helps, contact the service - it is possible that the modem chip is damaged (Qualcomm). MSM8917 redmi 5A).
            Can I roll back MIUI to an older version after resetting?
            Yes, but with reservations: Official rollback: You can flash any stable version through Fastboot MIUI for Redmi 5A (Unofficial rollback: If you want to install custom firmware (e.g. Pixel Experience), unlock the bootloader first via Mi Unlock Tool. MIUI The newer 12 can trigger Anti-Rollback, which will lead to bootloop. When you roll back, you lose data (even if you backed up on the new version). MIUI Disable unnecessary functions (Settings) โ†’ Battery โ†’ Performance mode).