How to log out of your Xiaomi account without a password and login: all ways of 2026

Why can’t you just leave your Mi Account without data?

Xiaomi’s account system is designed to lock out the Mi Account without entering a password or login by default, a security measure designed to protect the device from unauthorized access after theft or loss, but users often face a situation where they need to reset their account but the data is lost, such as after buying a used phone with a tied profile or a forgotten password.

Unlike a Google account, where you can exit through a setting reset, a Mi Account is integrated into the firmware at the bootloader level, and its removal requires bypassing the security. The manufacturer deliberately complicates the process to prevent theft and resale of stolen devices. But there are legal ways to get around this lock, from official (through support) to technical (through ADB or Mi Unlock Tool).

It is important to understand that all methods except for appealing for Xiaomi are risky, and that doing the wrong thing can lead to IMEI blocking, a device building or loss of warranty, so be sure to assess the consequences and reserve important data before you start.

Method 1: Official removal through Xiaomi support

The safest, but also the longest, method is to contact Xiaomi support with proof of ownership of the device, suitable for cases where the phone is bought new but the password is lost, or if you purchased a used device with a tied account of the previous owner (if you have a check or a purchase agreement).

What will be required:

  • πŸ“„ Documents for the device: check, warranty card, purchase agreement (if b/w).
  • πŸ“± IMEI phone (you can find out via *#06# or on the box).
  • πŸ“§ Email linked to the account (if available).
  • πŸ“Έ Photo of the box with the serial number and the device (with visible IMEI).

Process:

  1. Go to the official Mi Account website and select "Help Needs".
  2. Fill out the form indicating the problem ("Forgot the password" or "Device with someone else's account").
  3. Attach document scans and IMEI photos. Support checks data for 3-4 days.
  4. After confirmation of ownership, you will be sent instructions for resetting the account.

⚠️ Note: If the device was stolen, support Xiaomi will not help β€” lock Mi-account in this case is not removed, and will refuse if the documents on the phone are missing or do not match the account data.

πŸ“Š You have tried to contact Xiaomi for a Mi Account?
Yes, they did.
Yeah, but they didn't.
No, I haven't.
I tried, but I didn't get an answer.

Method 2: Reset via Mi Unlock Tool (for unlocked bootloader)

If the bootloader has been previously unlocked on the device, you can use the official Mi Unlock Tool, which works on most Xiaomi, Redmi and POCO models, but requires preparation:

Conditions:

  • πŸ”“ The bootloader must be unlocked (checked through fastboot oem device-info - unlocked status: true).
  • πŸ“± The device must not be in a hard-brick state (completely inoperable).
  • πŸ–₯️ The Mi Unlock Tool must be installed on the PC (version no lower than 5.5.224.24).

Step-by-step:

  1. Download and install the Mi Unlock Tool on a Windows PC (the.NET Framework 4.5+ is required).
  2. Turn off your phone and press Power + Volume Down to enter Fastboot mode.
  3. Connect the device to the PC through USB-cable (preferably original).
  4. Launch Mi Unlock Tool, log in to any Mi Account (even someone else’s – it doesn’t matter).
  5. The utility will determine the device. Press Unlock and wait for the process to complete (usually 10–30 seconds).
  6. Once you unlock the bootloader, do a hard reset via Recovery (Power + Volume Up).

Download the latest version of the Mi Unlock Tool|Install drivers ADB/Fastboot|Unlock. OEM-unlocking|Connect the original USB-cable|Charge your phone at least to 60%-->

If the bootloader is blocked, the utility will give an error Couldn't unlock, in which case you will first need to unlock it through the official process (link to the account for 720 hours), which is impossible without access to the original Mi-account.

⚠️ Note: Once the bootloader is unlocked, all data, including photos and apps, will be deleted from the device, and some features (such as Mi Pay or Find Device) may stop working.

Method 3: Bypass ADB (for Android 7-10 devices)

The method is Android Debug Bridge (ADB) Suitable for Xiaomi smartphones on firmware MIUI 8-12 (Android 7-10) It is based on a vulnerability in the authentication system that allowed you to reset your Mi Account without a password. MIUI 13+ This method may not work.

What you need:

  • πŸ–₯️ Computer with installed ADB and Fastboot.
  • πŸ“± Included debugging by USB (Settings β†’ The phone. β†’ Version. MIUI (7 times) β†’ Additionally. β†’ For developers β†’ Debugging by USB).
  • πŸ”Œ Original. USB-cable (cheap cables may not transmit data).

Instructions:

1. Connect the phone to the PC and confirm the debugging permission.


2. Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.




3. Enter the commands in turn:





adb shell




su




rm /data/system/miui/device_id.xml




rm /data/system/miui/device_id




reboot





4.After the reboot, the Mi Account will be deactivated.

If the su command doesn't work, then there are no root rights on the device, in which case, try an alternative method:

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


adb shell input text "your new password"




adb shell input keyevent 66

Why? ADB-The method has stopped working on new versions. MIUI?
Starting with MIUI 12.5 Android 11+, Xiaomi tightens protection of system files. /data/system/miui/ root rights are required, and rooting on new devices is blocked by the bootloader, and the latest firmware has added integrity checks for system files when downloaded, which causes a failure if removed. device_id.xml.

If the Mi Account remains after completing the commands, try to delete the files further:

rm /data/system/users/0/accounts.db


rm /data/system/users/0/accounts.db-journal

⚠️ Attention: Use ADB To delete system files can cause a cyclical restart of the device or loss of functionality of some services (for example, Xiaomi Cloud.

Method 4: Recovery Reset (for devices without FRP lock)

If FRP (Factory Reset Protection) is disabled on your device, you can try resetting your Mi Account through the standard Recovery menu, which works on older models (Redmi 4X, Redmi Note 4, Mi 5, etc.) where FRP is not activated by default.

How to check FRP:

  • Turn off the phone.
  • Press Power + Volume Up to enter Recovery.
  • If the menu is in Chinese, select the language (usually the second item).
  • Try Wipe Data β†’ Wipe All Data. If the system does not require a password from the Mi Account after reset, FRP is disabled.

If FRP active, after reset, you will be asked to enter a username / password from the Mi Account, in which case you will have to use other methods (for example, Mi Unlock Tool or Mi Unlock Tool). EDL-regime).

Reset algorithm:

  1. Enter Recovery (Power + Volume Up)
  2. Select Wipe Data β†’ Wipe All Data (on some models, the item may be called Clear All Data).
  3. Confirm the action (usually with the Power button).
  4. After reset, select Reboot β†’ Reboot to System.
Model of the deviceProbability of successRisks.
Redmi 4/4A/4XHigh (80-90%)Data loss, possible error when downloading
Redmi Note 3/4Medium (50-70%)FRP shutdown is required before resetting
Mi 5/5s/5XLow (30–40%)Possible IMEI blocking
POCO F1Very low (10-20%)High risk of brick.

πŸ’‘

If the phone requires a Mi Account password after resetting via Recovery, try connecting to Wi-Fi and entering any email/password 5-7 times in a row. Sometimes the system resets the lock after several failed attempts (it does not work on all models).

Method 5: Firmware through EDL-The mode (for experienced users)

EDL (Emergency Download Mode is a firmware emergency mode that allows you to reflash the device even with a locked bootloader (EDL-cable or test-point) and knowledge of working with flashers like MiFlash or QFil.

⚠️ This is the most risky way, because:

  • πŸ”§ Device disassembly is required (to connect to test-point).
  • πŸ“‰ High risk of turning a phone into a brick".
  • 🚫 The guarantee is violated (if it is still valid).
  • πŸ”’ Could be blocked. IMEI.

What you need:

  • πŸ–₯️ PCs with Qualcomm drivers installed (for Snapdragon processors) or MediaTek (for Snapdragon processors) Helio/Dimensity).
  • πŸ“₯ Firmware for your model (you can download it on Xiaomi Firmware Updater).
  • πŸ”Œ EDL-cable or test-point access (contacts on the motherboard).
  • πŸ› οΈ MiFlash (for Snapdragon) or SP Flash Tool (for MediaTek).

A brief guide for Snapdragon:

  1. Unpack the firmware in a folder without Cyrillic symbols.
  2. Connect your phone to your PC in EDL mode (via test-point or special cable).
  3. Start MiFlash, select the folder with firmware.
  4. Press Refresh – the device should be defined as COM-port.
  5. Select Clean All mode and press Flash.
  6. After firmware (5-10 minutes), the device will restart without a Mi Account.

πŸ’‘

Firmware via EDL deletes all data, including the Mi Account, but requires a precise match between the firmware version and the device model, and an error in choosing a firmware file will cause the phone to fail.

For MediaTek processors, the process is similar, but the SP Flash Tool and the scatter.txt file are used. Important: on new devices (Redmi Note 11, POCO X4 and later), Xiaomi blocks firmware through EDL without authorization, so the method may not work.

What do you do if nothing helps?

If all of these methods fail, there are three options:

  1. The official Xiaomi SC can help if you have documents for the device, the cost of the service is from 1,500 to 5 000 rubles depending on the model.
  2. Buy unlock from third-party services. There are paid services on the Internet to delete the Mi Account (price - 500-3000 rubles), the risk: fraud or blocking IMEI. Before paying, check the reviews!
  3. Use your phone without logging out. If the device works but only asks for a password when you reset, you can simply not do Wipe Data.

If you decide to turn to third-party services, avoid offerings with:

  • πŸ’° Paying in advance without guarantees.
  • πŸ“§ Requests for shipment IMEI without explanation.
  • πŸ”— Links to suspicious sites (such as.xyz or.top domains).

Before contacting the service, ask for:

  • πŸ“„ Contract or check.
  • πŸŽ₯ Video of the Unlocking Process (for Remote Services).
  • πŸ”„ Money back guarantee in case of failure.

FAQ: Frequent questions about leaving your Mi Account

❓ Can I leave my Mi Account without losing data?
No, all reset methods (except official support) result in deleting data. If you need to save files, first try retrieving them via ADB pull or connecting to a PC in MTP mode (if the phone is not locked).
❓ Why Recovery Resets Requires Password Again?
This means that the device is activated. FRP-It's tied to a Mi Account and requires you to enter data after a reset, and you can only bypass it through the Mi Unlock Tool (if the bootloader is unlocked) or through the firmware in the reset. EDL-mode.
❓ Does the method of removal work? device_id.xml on Mi 11?
No, on devices with MIUI 12.5+ and Android 11+, this method does not work due to the enhanced protection of the system partition. New models (Mi 11, Redmi Note 10 and later) require unlocking the bootloader or firmware through EDL.
❓ Can I delete my Mi Account through root?
Theoretically, yes, but it's extremely difficult to get root on new Xiaomi devices, and even if you can unlock the bootloader, modern firmware blocks the change of system files associated with the account, and the risk of a brick is very high.
❓ Is it legal to use third-party services to unlock?
Legally, gray areas. Xiaomi doesn't approve of these services, nor does it prosecute users for using them if the phone isn't wanted. The main risk is fraud or damage to the device. Choose services with real reviews and warranties.