Forgot your Mi Account password or bought a used Xiaomi smartphone with a tied account? Computer reset is one of the most reliable ways to unlock a device if standard methods (SMS, email) are not available. In this article, we will analyze all the current ways to delete Mi Account using a PC: from official tools to alternative solutions for complex cases.
It is important to understand that the procedure for resetting through a computer requires preparation. Depending on the Xiaomi model (for example, Redmi Note 12, POCO X5 or Mi 11) and the version of MIUI, both requirements and risks can vary from data loss to complete lockdown of the device. We will describe each step in detail so that you can choose the best method without unpleasant consequences.
If you are not sure about your technical skills, we recommend that you first read the section on possible risks and alternatives. ADB Fastboot and also tell how to bypass the lock through EDL-mode (for advanced).
Why is resetting via computer more effective than via phone?
You can only reset your Mi Account directly on your smartphone if:
- π You remember your password or have access to your password email/SMS.
- π± The device is not locked after failed input attempts.
- π The phone's debugging on. USB (through ADB).
If one of these conditions is not met, the computer becomes the only solution, and here are the key benefits:
- π₯οΈ More tools: Mi Flash Tool can be used on PC, ADB, Fastboot and even specialized programs like Mi Account Unlock Tool.
- π§ Deep Reset: Some methods (e.g., through EDL) Allows you to completely reflash the device, removing all traces of the old account.
- π‘οΈ Bypassing restrictions: If your phone is locked after 5 failed password attempts, your PC will help you unlock it without waiting.
Itβs also easier to control the process on your computer: you can see error logs, you can interrupt the operation if it crashes, and you can use backups, for example, when you reset via Fastboot, you can save important data (photos, contacts) before you clean it completely.
Requirements before resetting: what to prepare
Before you start, make sure you have everything you need, and not even one item can make the procedure impossible.
| Component | What do you need? | Where to find/how to check |
|---|---|---|
| USB Type-C Cable (original) | For stable connection to the PC without loss of communication | Use a Xiaomi Cable or Certified Cable |
| Battery charge β₯ 50% | Interrupting due to discharge can "brick" the phone | Check in Settings β Battery |
| Xiaomi Drivers for PC | To allow the computer to recognize the device in Fastboot/EDL modes | Download from the official website |
| Mi Flash Tool or Platform Tools (ADB) | To execute reset commands | Android Developer |
| Backup of data | All data will be deleted! | Use the Mi PC Suite or the Cloud |
Pay special attention to drivers. If your PC can't see your phone in Fastboot mode, try:
- Install drivers manually through Device Manager (select Android Bootloader Interface).
- Disable the driver signature in Windows (for this, restart the PC with the Shift key pressed).
- Use the other USB-port (preferably) USB 2.0).
Installed Xiaomi drivers on PC|
Download Mi Flash Tool or Platform Tools|
Created a backup of the data |
Charged up to 50% or more |
Prepared the original USB-cable-->
Method 1: Official reset via Mi Flash Tool (for unlocked bootloader)
This is the most reliable way, but it only works if the bootloader is unlocked on the phone.
- Turn off the phone.
- Press Volume Down + Power to enter Fastboot.
- Connect to your PC and type the command: fastboot oem device-info
- If the answer is Device unlocked: true, the bootloader is unlocked.
If the bootloader is locked, this method will not work β go to Method 2 or Method 3.
Step-by-step:
- Download the Mi Flash Tool from the official website and install it.
- Download Fastboot firmware for your model (for example, for Redmi Note). 10 Pro, it's gonna be a file. vili_fastboot.zip).
- Unpack the firmware in a folder without Cyrillic characters (for example, C:\Xiaomi\ROM).
- Launch the Mi Flash Tool, press Select and specify the path to the firmware folder.
- Connect your phone in Fastboot mode (clip Volume Down + Power).
- In the program, select Clean all (complete cleaning) and press Flash.
It takes 5-10 minutes, and when you reboot, it's like new, without Mi Account or any other data.
π‘
If the Mi Flash Tool is an anti-rollback error, download the older firmware version. Check compatibility on the Xiaomi.EU forum.
Method 2: Reset via ADB (if USB debugging is enabled)
This method works if the phone is debugging via USB (Settings β About Phone β MIUI Version β 7 times press to unlock the developer options, then Settings β Additional β For Developers β Debugging by USB). If debugging is disabled, the method will not work.
Instructions:
- Download Platform Tools and unpack it into C:\platform-tools.
- Connect the phone to the PC and allow debugging (a request will appear on the smartphone screen).
- Open the command line in the platform-tools folder (press Shift + PCM β Open the command window).
- Enter the commands in turn: adb shell pm uninstall -k --user 0 com.xiaomi.account reboot
After the reboot, the Mi Account will be deleted, but other data (photos, apps) will remain intact. If the command does not work, try an alternative:
adb shell content delete --uri content://com.xiaomi.account.provider.account/accountsWhat if the ADB canβt see the device?
Method 3: Reset via Fastboot (without unlocking the bootloader)
If the bootloader is locked but the phone supports Fastboot commands, you can try bypassing Mi Account lock without completely flashing it.This method is suitable for models on Qualcomm chips (e.g. Redmi 9, POCO X3).
Note: On some devices, this procedure may work. FRP-blocking (reset protection) In this case, you will need to enter the data of the old Google account.
Step-by-step:
- Turn off your phone and log in to Fastboot (clip Volume Down + Power).
- Connect to your PC and check the connection with the command: fastboot devices (should display the serial number of the device).
- Enter the command to reset: fastboot erase frp Then: fastboot erase config
- Reboot the phone: fastboot reboot
If the Mi Account request disappeared after the reboot, the method worked. If not, try the combination:
fastboot erase userdata
fastboot erase metadataπ‘
The fastboot erase frp command deletes not only the Mi Account, but all Google account data. Once reset, the phone will require the data of the last synchronized Google account (FRP-blocking).
Method 4: EDL-The mode (for advanced users)
EDL (Emergency Download Mode is a service mode that allows you to reflash the phone at a low level, even if it is locked or not turned on (EDL-cable or testpoints and is only suitable for Qualcomm chip-based devices.
β οΈ Attention: Incorrect actions in EDL You can turn your phone into a brick, and you can only use this method if other methods have failed and you understand the risks.
What you need:
- π EDL-cable (or the ability to close test points on the board).
- π» Mi Flash Tool or QFil.
- π Firmware in.mbn format for your model.
- π§ Qualcomm Driver HS-USB QDLoader 9008.
Step-by-step:
- Turn off your phone and connect it to your PC in EDL mode (via cable or testpoint closure).
- Install the QDLoader driver (unless the PC recognizes the device as Qualcomm HS-USB QDLoader 9008).
- Start the Mi Flash Tool, select the firmware and press Flash.
- Wait for the end (10-15 minutes) and the phone will reboot automatically.
Once the firmware is EDL, the phone will be completely cleaned, including the Mi Account, but this method resets all data without the possibility of recovery.
π‘
If you canβt log in to EDL via cable, find testpoints on your phoneβs motherboard (usually signed as EDL or TEST) and lock them with tweezers when you connect to USB.
Risks and Possible Problems When Resetting Mi Accounts via PC
Even with the right instructions, you can have difficulties, and here are the most common problems and ways to solve them:
| Problem. | Reason. | Decision |
|---|---|---|
| Phone is not defined in Fastboot | Lack of drivers or faulty cable | Reinstall drivers, try another cable/port |
| The anti-rollback error in the Mi Flash Tool | The firmware is newer than the current version of MIUI | Download older firmware or use Xiaomi.EU |
| After the reset appeared FRP-blocking | Google account data deleted | Enter the last synchronized Google account |
| The phone is stuck on the Mi logo | Failed firmware or interrupted process | Repeat the firmware through EDL or contact the service |
β οΈ Note: if after reset the phone requires the entry of Mi Account data, but you do not know them, the only way out is to contact official support Xiaomi with proof of ownership of the device (check, box). IMEI.
Another important point: on some models (for example, Xiaomi 13, Redmi K60) after reset via Fastboot, hardware lock may work if the device was tied to the account through the Find Device function, in which case unlocking is possible only through the service center.