How to untie Mi-account from Xiaomi Redmi 5A: all working methods

Untieting your Mi Account from your Xiaomi Redmi 5A smartphone may be required when selling the device, changing owners, or if you forget the login details. Despite the fact that the model was released in 2017, it is still actively used, and the procedure for removing the binding is nuanced due to the outdated version of MIUI and the protection features of Xiaomi.

The main problem is that the system can request a password from the account even after resetting the settings (FRP). If you do not remember the login data, the standard methods will not work, and you will have to use workarounds. In this article, we will discuss 5 proven methods, including official and technical, taking into account the specifics of Redmi 5A (codename riva).

Important: the procedure differs from the new Xiaomi models due to the lack of support for modern versions of MIUI (the latest official firmware for the Redmi 5A is MIUI 12 based on Android 8.1 Oreo).If your device has not been updated for a long time, some methods may not work - we will warn you about this in advance.

1. Delete account through phone settings

The easiest way is to untie your account directly from the device menu, which is suitable if you remember the Mi Account password and the phone is not locked.

Step-by-step:

  1. Open the Settings app (cog icon).
  2. Go to the Accounts section β†’ Mi Account.
  3. Click on your profile at the top of the screen.
  4. Select Account Management β†’ Delete the account.
  5. Enter the password from Mi Account and confirm the deletion.

After that, the device will be unaccounted, but the data (contacts, notes, backups) will be deleted from Xiaomi servers. If you plan to sell the phone, be sure to reset (Settings β†’ Additional β†’ Restore and Reset β†’ Reset settings).

Make a backup copy of the data|Remember the password from Mi Account|Disable two-factor authentication|Check the availability of Internet on the phone-->

⚠️ Note: If you reset your account after deleting it, the phone may request login data again. FRP (To avoid blocking, be sure to turn off protection in the settings: Settings β†’ Lockdown and protection β†’ Find the device. β†’ Shut down.

2. Resetting settings without deleting your account: risks and consequences

Many users try to untie an account through a full reset (Hard Reset) without deleting it in advance. 5A This leads to activation. FRP-locking – after restarting the phone will require you to enter a login and password from the previous account.

What to do if the phone is already locked after resetting?

  • πŸ”‘ Try to reset your password through account.xiaomi.com (forgot your password section?").
  • πŸ“§ Use a backup email. If you've registered for a backup address, it'll be linked to reset your password.
  • πŸ“ž Call for Xiaomi support. Proof of ownership (check, box, IMEI).

If neither option is suitable, technical methods remain (see sections 4 and 5).But note: they require ADB or Fastboot skills and may result in loss of warranty or device inoperability.

Yeah, but the phone's locked.|Yeah, and it went well.|No, I'm afraid to take risks.|I tried it, but it didn't work.-->

3. bypassing FRP-blocking through Recovery mode

If Redmi 5A requires you to enter your account data after reset, you can try bypassing the lock via Recovery Mode, which works on older versions of MIUI (before MIUI 11), but does not guarantee 100% results.

Instructions:

  1. Turn off the phone.
  2. Press the Power + Volume buttons up at the same time until the Mi logo appears.
  3. In the Recovery menu, select Wipe Data β†’ Wipe All Data (manage volume buttons, confirmation – power button).
  4. After reset, go to Reboot β†’ Reboot to System.

If the blockage remains, try an alternative method:

  • From the Recovery menu, select Connect with MiAssistant (may be absent from some firmware).
  • Connect your phone to a PC with Mi PC Suite installed.
  • Follow the instructions of the program to unlock.

⚠️ Attention: On new versions MIUI (even for the Redmi 5A If you don't have a Connect with MiAssistant in the Recovery menu, go to the method with ADB (section).

Why is Wipe Data not working?
Starting with MIUI 9, Xiaomi has strengthened FRP protection. Simple data reset via Recovery does not remove the account’s binding to the device at the hardware level. Complete deletion requires either authorization in Mi Account or the use of service tools (ADB, Fastboot).

4. Delete account via ADB (for experienced users)

The method using Android Debug Bridge (ADB) This is suitable if you have access to the phone menu, but you can’t delete your account through the settings. ADB.

Preparation:

  • πŸ–₯️ Download Platform Tools (official package from Google).
  • πŸ”Œ Turn on the phone to debug. USB: Settings β†’ The phone. β†’ Version. MIUI (Press 7 times to activate Developer Mode, then Settings β†’ Additionally. β†’ For developers β†’ Debugging by USB.
  • πŸ”— Get Redmi on board. 5A PC-only USB-cable (original!).

Commands to delete the account:

adb shell


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




pm clear com.miui.cloudservice




pm clear com.xiaomi.finddevice




reboot

If you have left your account after the reboot, try an alternative method:

adb shell am start -n com.android.settings/.Settings

Then manually delete your account through the Settings β†’ Accounts menu.

Team team.Action.Note
pm uninstall -k --user 0 com.xiaomi.accountRemove the Mi Account app for the current userDoes not delete data from Xiaomi servers
pm clear com.miui.cloudserviceClears the cache of the cloud serviceIt can help with synchronization errors.
adb shell settings put global frp_lock 0Disables FRP-blocking (does not work on all firmware)Requires Superuser Rights (Root)

πŸ’‘

If ADB doesn’t recognize the device, try reinstalling drivers manually through MiFlash. In Windows Device Manager, select Update Driver β†’ Search on this computer β†’ specify the folder with the drivers from the archive.

5. Official unlocker from Xiaomi (Mi Unlock Tool)

If previous methods have failed, the official tool from Xiaomi, the Mi Unlock Tool, is designed to unlock the bootloader, but sometimes helps with deleting the account.

Steps to unlock:

  1. Download the Mi Unlock Tool (Windows only).
  2. Sign in to the tool under the same account that is linked to the phone.
  3. Connect Redmi 5A in Fastboot mode (clip Power + Volume down).
  4. Follow the instructions of the program. If you receive a message about the need to wait, wait for the timer to end.

What to do if the tool does not help?

  • πŸ”„ Try changing the version. MIUI older (e.g., older, MIUI 10) via Fastboot.
  • πŸ“„ Contact the Xiaomi service center with documents on the phone.
  • πŸ’» Use third-party services (at your own risk), for example, GSM Flasher.

πŸ’‘

The official Mi Unlock Tool is the only legal way to unlock without losing data, but it requires patience. If time is running out, you should use ADB or contact the service.

Alternative methods: risks and warnings

On the Internet, you can find dozens of β€œmagic” ways to delete a Mi Account – from using the SP Flash Tool to editing build.prop files. Most of them are either outdated or carry risks:

What is the danger of using informal methods?

  • 🚨 Brick device, wrong firmware through SP Flash Tool can turn your phone into a brick".
  • πŸ•΅οΈ Data theft. Third-party circumvention programs FRP They may contain malicious code.
  • πŸ”’ Loss of warranty: Any interference with system files voids Xiaomi warranty.

If you are still experimenting with:

  1. Create a full backup through TWRP (if installed).
  2. Use only the verified firmware from the XDA Developers forums.
  3. Before you run the firmware, check for compatibility with the riva model (codename Redmi 5A).

⚠️ Attention: On Redmi 5A newer-stitched MIUI 10 Most alternative methods have stopped working because of tighter protections, such as file editing. /data/system/gesture.key (popular 2018–2019 years) now blocked by the system.

7.What to do after a successful detachment of the account?

After deleting Mi Account, you need to do several things to avoid problems in the future:

Checklist after decoupling:

Perform a reset settings (Settings) β†’ Recovery and discharge)|Check all functions (camera, sensors, network)|Update your firmware to the latest version (if you plan to use your phone)|Create a new Mi Account (if you have your phone)|Disable the "Find the Device" function (Settings) β†’ Mi Account β†’ Find the device)-->

If the phone is for sale:

  • πŸ“¦ Delete everything. SIM-memory-cards.
  • πŸ”‹ Charge the battery to at least 50% – the new owner will be able to check the device immediately.
  • πŸ“„ Keep a check or box – this will help the new owner in case of warranty repairs.

If you have the phone,

  • πŸ”„ Create a new Mi Account and link it to your device (this is necessary for cloud services to work).
  • πŸ”’ Enable two-factor authentication in your account settings.
  • πŸ“² Update the firmware through Settings β†’ System update (if available).

FAQ: Frequent questions about detachment of the account on Redmi 5A

Can I unplug my account without a password?
Without a password, you can untie your account only through ADB, Fastboot or contacting a service center. If the phone is blocked after a reset (FRP), it is impossible to officially unlock it without account data - you will need proof of ownership (check, box, IMEI).
Why does the phone ask for an account again after the reset?
This is Factory Reset Protection (FRP), a theft protection feature that activates if a Mi Account was attached to the phone and it was not untied before being reset, and the only legal ways to get around are by entering account details or calling for Xiaomi support.
Can I use Redmi 5A without a Mi Account?
Yes, but with limitations: Contact sync, notes, photos will not work; Find Device and remote lock will be disabled; some system applications (such as Mi Cloud) will not be available; and you'll need to create a new account for full use.
How do I know if my account has been completely deleted?
You can check this in two ways: Go to Settings β†’ Accounts: If the Mi Account section is missing, the account is deleted. Reset. If the phone does not request login data after the reboot, FRP-lockdown.
Where can I find IMEI to appeal for Xiaomi?
IMEI You can find out in a number of ways: On the device box (on the barcode sticker). On the phone menu, dial *#06#, a window with a barcode will appear. IMEI. In settings: Settings β†’ The phone. β†’ General information β†’ IMEI. On the back of the phone (under the battery if it's removable) you'll need both to call for support. IMEI (Redmi 5A They're two for each. SIM-map).