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).
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:
- Open the Settings app (cog icon).
- Scroll down and select Mi Account (or Accounts) β Xiaomi in Global Firmware).
- Click on the profile avatar at the top of the screen.
- Select Exit (or Delete Account in some versions of MIUI).
- Confirm the action by entering the password from the account.
- 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:
- Turn off the phone.
- Press the Volume Up + Power buttons at the same time and hold for 10-15 seconds until the Mi logo appears.
- In the Recovery menu, select Wipe Data β Wipe All Data (manage by volume buttons, confirm by power button).
- Confirm the reset and wait for the process to be completed.
- 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
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:
- Download the firmware for Redmi Note 5A (select the version ugg_global_images global or ugg_images Chinese).
- Uncancel the firmware file into a folder without Cyrillic characters.
- Install the Mi Flash Tool and Qualcomm drivers (you can download from the official website).
- Put the phone in Fastboot mode: turn it off, then press Volume down + Power.
- Connect the Redmi Note 5A to your PC and start the Mi Flash Tool.
- Click Select, specify the path to the firmware folder and select Clean All method.
- 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?
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:
- Activate the Developer Mode (see Section 1).
- Enable USB debugging in Settings β For developers.
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Win + R β cmd) and type:
adb shell
pm uninstall -k --user 0 com.xiaomi.account
pm clear com.miui.cloudservice
rebootAfter 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.ProfileActivityThen 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:
- Open the Phone app.
- Enter the code ##3646633## (Engineering menu opens).
- Go to Connectivity β Wi-Fi.
- Click Menu β Advanced β Mi Account Erase.
- 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 account | Forgot a password or account linked to another device | Restore your password via account.xiaomi.com or use ADB |
| Phone asks for old account after Hard Reset | FRP protection activated | Get around FRP with Mi Flash Tool or TWRP |
| Mi Flash Tool is an Anti-Rollback error | Trying to install an old version of MIUI | Download the current firmware from the official website |
| ADB does not see the device | No driver installed or debugging disabled | Reinstall Qualcomm driver and check developer settings |
| After deleting the account, contacts disappeared | The 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.