How to Delete Xiaomi Account with Redmi Note 5A: 5 Ways to Delete

Deleting Xiaomi’s Mi Account with Redmi Note 5A can be difficult in a variety of situations, from selling a device to solving sync problems. However, many users face difficulties β€” the system requires a password from an old account, blocks access after a reset or simply prevents you from untethering a profile through standard settings. In this article, we will discuss all working ways to delete an account, including bypassing FRP (Factory Reset Protection), which is activated after a factory reset.

The Redmi Note 5A (codenamed ugg) comes in multiple versions, with global (MIUI Global) and Chinese (MIUI China) firmware, which not only affects the interface, but also the way you delete your account. For example, Chinese versions often lack the option to unbundle through settings, and Hard Reset may require login/password input even when you log in locally, and we have taken into account all the nuances and prepared instructions that will suit any version of the Redmi Note 5A, whether it is Prime, Lite or the standard model.

Before you start, make sure you have:

  • πŸ”‹ Battery charge of at least 50% (to avoid shutdown during the process).
  • πŸ“‹ Login and password from the linked Mi-account (if you plan to delete through settings).
  • πŸ’» Computer with drivers installed ADB/Fastboot (alternative methods).
  • πŸ“‘ Stable Internet connection (required to confirm deletion).
πŸ“Š Why you should delete your Xiaomi account with Redmi Note 5A?
I'm making a phone for sale.
Forgot my password from my old account.
Changed his profile to a new one.
The device is locked after being reset
Another reason.

1. Delete the Mi Account through phone settings (official method)

The easiest and safest method is to untie your account directly from the Redmi Note 5A menu, which is suitable if you remember your login/password and your phone is not locked. Importantly, after deleting all data synchronized with the Mi Cloud (contacts, notes, photos) will be lost on the device, but will be stored in the cloud.

Instructions:

  1. Open the Settings app (cog icon).
  2. Scroll down and select Mi Account (or Accounts) β†’ Xiaomi in Global Firmware).
  3. Click on the profile avatar at the top of the screen.
  4. Select Exit (or Delete Account in some versions of MIUI).
  5. Confirm the action by entering the password from the account.
  6. Reboot your phone and your account will be untied.

If you do not have the option to delete your account, try the following algorithm:

  • πŸ“± Go to Settings. β†’ The phone. β†’ Version. MIUI and tap 7 times on the line to activate the developer mode.
  • πŸ”§ Back to Settings β†’ Additionally. β†’ For developers and enable debugging by USB.
  • πŸ–₯️ Connect your phone to your PC, confirm debugging permission, and use the Mi Account Unlock Tool (official software from Xiaomi).

πŸ’‘

If the phone requires re-authorization when turned on after deleting your account, check the date and time settings. Incorrect settings can cause synchronization errors with Xiaomi servers.

2. reset to factory settings (Hard Reset) and bypass FRP

If you forget your Mi Account password or your phone is locked after a reset, you'll have to use Hard Reset. However, on the Redmi Note 5A, Factory Reset Protection (FRP) is activated after this procedure, which requires you to enter data from the last associated account, and you can bypass it in several ways, from using the Mi Flash Tool to manually deleting files via ADB.

Warning: Hard Reset completely erases all data from internal memory, including photos, messages and installed apps. If your phone had important files, try retrieving them first through TWRP Recovery (if installed).

Steps for Hard Reset:

  1. Turn off the phone.
  2. Press the Volume Up + Power buttons at the same time and hold for 10-15 seconds until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data β†’ Wipe All Data (manage by volume buttons, confirm by power button).
  4. Confirm the reset and wait for the process to be completed.
  5. Select Reboot to reboot.

After the reset, the phone will require you to enter data from the last Mi Account. If you do not remember them, use one of the methods of bypassing FRP below.

β˜‘οΈ Preparation for bypassing FRP on the Redmi Note 5A

Done: 0 / 5

FRP bypass through the Mi Flash Tool (for locked phones)

If the Hard Reset Redmi Note 5A requires a password from an old account, you can reflash the device using the Mi Flash Tool.This method is suitable for global and Chinese versions of firmware, but requires a computer and a USB Type-C cable (or Micro-USB, depending on the modification).

Important: The firmware via the Mi Flash Tool erases all data, including IMEI and NFC settings (if any), after the procedure, some functions may need to be re-activated.

Step-by-step:

  1. Download the firmware for Redmi Note 5A (select the version ugg_global_images global or ugg_images Chinese).
  2. Uncancel the firmware file into a folder without Cyrillic characters.
  3. Install the Mi Flash Tool and Qualcomm drivers (you can download from the official website).
  4. Put the phone in Fastboot mode: turn it off, then press Volume down + Power.
  5. Connect the Redmi Note 5A to your PC and start the Mi Flash Tool.
  6. Click Select, specify the path to the firmware folder and select Clean All method.
  7. Click Flash and wait until it is completed (the process will take 5-10 minutes).

Once you have the firmware, the phone will boot as new, without the attached Mi Account. If you have an Anti Rollback error, you are trying to install an older version of MIUI, download the current firmware.

What to do if the Mi Flash Tool can't see your phone?
Make sure that Qualcomm drivers are installed correctly (check in Device Manager). USB-cable or port (better to use) USB 2.0).Disable driver signatures in Windows (via command line: bcdedit) /set nointegritychecks on.Reinstall the Mi Flash Tool with administrator rights.

4. Delete account via ADB (without data reset)

If your phone is not locked, but standard account deletion is not available, you can use ADB (Android Debug Bridge), which allows you to delete your Mi Account without losing data, but requires enabled USB debugging and access to the developer settings.

Warning: Incorrect ADB commands may disrupt the system. Follow the instructions carefully and do not change the specified settings.

Instructions:

  1. Activate the Developer Mode (see Section 1).
  2. Enable USB debugging in Settings β†’ For developers.
  3. Connect the phone to the PC and confirm the debugging permission.
  4. Open the command line (Win + R β†’ cmd) and type:
adb shell


pm uninstall -k --user 0 com.xiaomi.account




pm clear com.miui.cloudservice




reboot

After the reboot, the account will be deleted, but the data on the phone will remain, and if the command does not work, try an alternative method:

adb shell am start -n com.xiaomi.account/.ui.ProfileActivity

Then manually delete the account through the menu that opened.

5. Alternative methods: TWRP bypass and service codes

If none of the above methods worked, there are two radical options: using custom TWRP Recovery or service codes. The first method is suitable for advanced users, the second is for those who do not want to risk firmware.

Method 1: Removal via TWRP

  • πŸ“± Install. TWRP Recovery for Redmi Note 5A (instructions XDA Developers).
  • πŸ”§ Boot in. TWRP (clamp up the volume + Nutrition).
  • πŸ—ƒοΈ Go to Advanced. β†’ File Manager.
  • πŸ“‚ Delete the folders: /data/system/users/0/accounts.db, /data/data/com.xiaomi.account.
  • πŸ”„ Reboot the phone.

Method 2: Service codes

On some versions of MIUI, the following trick works:

  1. Open the Phone app.
  2. Enter the code ##3646633## (Engineering menu opens).
  3. Go to Connectivity β†’ Wi-Fi.
  4. Click Menu β†’ Advanced β†’ Mi Account Erase.
  5. Confirm removal.

πŸ’‘

Service codes may not work on newer versions of MIUI (above 12). If nothing happens after you enter the code, use alternative methods.

6. Frequent mistakes and how to avoid them

When you delete a Mi Account with a Redmi Note 5A, users often face typical problems, and we have collected the most common errors and ways to solve them.

Mistake.Reason.Decision
β€œIncorrect password” when leaving the accountForgot a password or account linked to another deviceRestore your password via account.xiaomi.com or use ADB
Phone asks for old account after Hard ResetFRP protection activatedGet around FRP with Mi Flash Tool or TWRP
Mi Flash Tool is an Anti-Rollback errorTrying to install an old version of MIUIDownload the current firmware from the official website
ADB does not see the deviceNo driver installed or debugging disabledReinstall Qualcomm driver and check developer settings
After deleting the account, contacts disappearedThe data was only synchronized with the Mi Cloud.Restore Contacts Through Settings β†’ Accounts β†’ Xiaomi β†’ Synchronization

⚠️ Note: If you are selling Redmi Note 5A, Make sure you do Hard Reset and format your internal memory through Recovery so that the new owner can’t recover your data.

⚠️ Note: On the Chinese versions of the Redmi Note 5A (firmware MIUI China) may be linked to Mi Cloud services after deleting your account. To untie your device completely, go to i.mi.com before selling and remove your phone from your trusted device list.

FAQ: Answers to Frequent Questions

Can I delete my Mi Account without a password?
Yes, but only through Hard Reset + FRP bypass (Section 2) or flashing through Mi Flash Tool (Section 3). Standard settings require you to enter a password.
What happens if you don’t delete your account before selling?
The new owner will not be able to use the phone – after resetting the Redmi Note 5A will require you to enter your username / password from the Mi Account, and you risk leaking personal data (photos, messages, passwords from Wi-Fi).
Why does the phone ask for it again after deleting the account?
This is FRP protection. Solution: Flash your phone through the Mi Flash Tool or use ADB to delete your account files (Section 4).
Can I recover data after a Hard Reset?
Hard Reset completely erases internal memory, including photos and messages, and if you want to save data, retrieve it through TWRP before resetting.
Do FRP bypasses work on MIUI 14?
Yes, but with reservations, on the new versions. MIUI (13+) Service codes and some commands may not work ADB. You can use the Mi Flash Tool or TWRP.