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:
- Open the Settings app (cog icon).
- Go to the Accounts section β Mi Account.
- Click on your profile at the top of the screen.
- Select Account Management β Delete the account.
- 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:
- Turn off the phone.
- Press the Power + Volume buttons up at the same time until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (manage volume buttons, confirmation β power button).
- 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?
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
rebootIf you have left your account after the reboot, try an alternative method:
adb shell am start -n com.android.settings/.SettingsThen manually delete your account through the Settings β Accounts menu.
| Team team. | Action. | Note |
|---|---|---|
| pm uninstall -k --user 0 com.xiaomi.account | Remove the Mi Account app for the current user | Does not delete data from Xiaomi servers |
| pm clear com.miui.cloudservice | Clears the cache of the cloud service | It can help with synchronization errors. |
| adb shell settings put global frp_lock 0 | Disables 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:
- Download the Mi Unlock Tool (Windows only).
- Sign in to the tool under the same account that is linked to the phone.
- Connect Redmi 5A in Fastboot mode (clip Power + Volume down).
- 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:
- Create a full backup through TWRP (if installed).
- Use only the verified firmware from the XDA Developers forums.
- 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).