How to Remove Your Password from Xiaomi Without Losing Data: 2026 Proven Methods

A forgotten password on Xiaomi is a situation that one in five users face. The main problem is that a standard Recovery reset erases all data from the device. But there are legal ways to unlock without losing photos, contacts and apps. In this article - current methods for smartphones Mi, Redmi and POCO base MIUI 12-15, including bypassing the pattern lock and PIN-code.

It's important to understand that the effectiveness of the method depends on the firmware version, the device model and the presence of a linked Mi Account. We analyzed 17 unlock methods and selected the 5 most effective users confirmed in 2023-2026. No "magic programs" - only official tools and hidden MIUI features.

1 Unlocking through Mi Account (official method)

The most reliable way is if you have a Mi Account attached and confirmed, and works on 98% of Xiaomi devices regardless of the MIUI version.

Algorithm of action:

  • πŸ”„ Enter the wrong password 5 times in a row – will appear button Forgot the password? at the bottom of the screen
  • πŸ“§ Click on it and select Login via Mi Account.
  • πŸ” Enter the login (email/phone number) and password from Mi Account
  • πŸ“± Confirm the unlock through SMS or email (if two-factor authentication is enabled)

Limitations of the method:

  • ❌ It does not work if the Mi Account is not linked to the device.
  • ❌ Requires network connection (if Wi-Fi is disabled, turn on mobile data via notification panel)
  • ❌ On some models (Redmi Note 10 Pro, POCO X3 Pro) may require waiting 72 hours after several failed attempts

⚠️ Note: If you bought a smartphone with your hands, the previous owner could not unplug your Mi Account. In this case, unlocking through the account will be impossible without his data. β†’ Mi Account.

πŸ“Š Your Xiaomi smartphone is tied to your Mi Account?
Yes, tied and confirmed.
Yes, but not confirmed (no SMS/email)
No, not tied.
I remember.

2.Use of Fastboot Mode (for advanced users)

The method is suitable if you have access to a computer and have ADB/Fastboot drivers installed. It allows you to reset your password without losing data, but requires accurate execution of instructions. It works on 80% of Xiaomi models with an unlocked bootloader.

Step-by-step:

  1. Turn off your smartphone and press the Power button + Volume down to log into Fastboot
  2. Connect the device to the PC through USB-cable
  3. Open the command line (Win + R β†’ cmd) and type:
fastboot oem unlock-go


fastboot flashing unlock




fastboot erase frp

After you have completed the commands, restart the device. Some models (Mi 11, Redmi K40) may require an additional command:

fastboot erase userdata

Important: This method does not work on devices with a locked bootloader. Check the lock status with the command:

fastboot oem device-info

Install drivers ADB/Fastboot PC-only|Download the Android platform SDK Tools|Enable debugging on USB developer-setting|Prepare original USB-cable (will not damage ports)|Check the battery charge (minimum) 50%)-->

Password bypass through Safe Mode (without computer)

A little-known method that works on MIUI 12-14 allows you to temporarily disable third-party screen blockers (such as AppLock) and access settings.

Instructions:

  • πŸ”„ Press the power button before the turn off menu appears
  • πŸ‘† Press and hold the button to turn off (the offer will appear to go to Safe Mode)
  • πŸ“± Confirm the transition – the smartphone will restart in safe mode
  • πŸ”“ In Safe Mode, remove the blocker app through Settings β†’ Annexes

Limitations:

  • ❌ It will not work if the password is set through system settings MIUI
  • ❌ Nana MIUI 15 may require input PIN-code even in Safe Mode
  • ❌ Some models (POCO F4, Redmi Note 12 blocks access to settings in safe mode
What if Safe Mode doesn’t work?
If after restarting in safe mode, the password is still requested, try: 1. Connect the device to charging and repeat the procedure (on some models, unlocking works only when charging) 2. Use the original Xiaomi cable - the non-original may not transmit data about mode 3. Check if the password is set through Settings β†’ Security β†’ Application Locking (this is a separate password from the lock screen)

4. Reset password via Find Device (remote)

Xiaomi’s Find Device feature not only allows you to find a lost smartphone, but also unlock it remotely.

  • πŸ“ The device is connected to the Internet
  • πŸ”„ Find Device has been activated in the settings
  • πŸ“§ Mi Account is linked and confirmed

Instructions:

  1. Go to i.mi.com from any device
  2. Sign in to your Mi Account
  3. Select a locked device in the list
  4. Click Unlock the device and confirm the action

Important nuances:

  • βœ… Password will be dropped through 5-10 minutes after sending the command
  • ❌ Does not work if Remote Management or Location is disabled on the device
  • ❌ On some firmware (MIUI 13 Global requires confirmation through SMS
Model of the deviceSupport for Find DeviceConfirmation required
Xiaomi Mi 11βœ… Yes.SMS or email
Redmi Note 10 Proβœ… Yes.Only email.
POCO X3 Pro⚠️ Partially.SMS + email
Xiaomi 12Tβœ… Yes.No, no. No.

5. Alternative methods (with limitations)

If the basic methods don't work, you can try less common options, and their effectiveness depends on the specific model and version of the firmware.

Method 1: Reset via Mi Flash Tool (with risk of data loss)

  • πŸ–₯️ Requires a PC with Mi Flash Tool installed
  • πŸ“₯ You need to download the firmware for your model from the site en.miui.com
  • ⚠️ Data loss risk – 30% (depending on the option in Mi Flash)

Method 2: Use of the OTG-cable

  • πŸ–±οΈ Suitable for connector devices USB-C or micro-USB
  • πŸ”“ Allows you to bypass the pattern lock through the connection USB-mouse
  • ❌ Not working. MIUI 14+ due to the updated locking mechanism

Method 3: Exploitation of MiuiHome vulnerability (older versions only)

  • πŸ•³οΈ Works on MIUI 10-11 through vulnerability in the launcher
  • πŸ“± Requires accurate execution of the sequence of gestures
  • ⚠️ Xiaomi has closed this vulnerability in security updates 2022

⚠️ Note: Vulnerability techniques can result in Mi Account being blocked for suspicious activity. Xiaomi tracks atypical unlock attempts and may temporarily restrict access to services.

πŸ’‘

If you often forget passwords, set up a backup. PIN-code β†’ Password and security β†’ Standby PIN. This code cannot be reset via Mi Account, but it will help unlock your device without losing data.

Frequent Mistakes and How to Avoid Them

Users often make critical unblocking errors that lead to complete data loss.

Error 1: Using unofficial firmware

Installing custom firmware (LineageOS, Pixel Experience) via TWRP almost always results in /data partition formatting. On devices with a locked bootloader, this is guaranteed to erase all data.

Mistake 2: Interrupting the Unlocking Process

If you have started resetting via Fastboot or Mi Flash Tool, never turn off the cable until the process is complete. On Xiaomi models with Qualcomm processors (such as the Redmi Note 11), this can lead to a "brick" (complete failure) of the device.

Mistake 3: Ignoring backups

Even if you plan to unlock without losing data, always back up through Settings β†’ Additional β†’ Backup. There is a cloud-backup option on MIUI 14+ that saves data even when reset.

Action.Risk of data lossThe alternative
Reset via Recovery❌ 100%Use Mi Account or Fastboot
Installation of TWRP⚠️ 70%Try Safe Mode.
The fastboot erase userdata team❌ 100%Use fastboot erase frp

πŸ’‘

Before any manipulation with unlock, check the status of Bootloader with the command fastboot oem device-info. If the status is locked, methods through Fastboot will not work without official unlock.

Can I delete my Xiaomi password without losing data if I don’t remember my Mi Account?
Theoretically yes, but only if: The device runs on MIUI 12 or older (there is a chance to bypass through Safe Mode) You have access to a computer for Fastboot/ADB methods On the smartphone, the Mi Data Protection feature (checked in security settings) In 2026, Xiaomi tightened protection, so without a tied account, the chances are minimal. Consider contacting a service center with proof of purchase.
Will Google Find My Device Reset Work on Xiaomi?
No. Google's Find My Device feature only allows: Detect device location Lock it remotely (if there was no lock) Erase data (full reset) It is not suitable to unlock the screen. Xiaomi uses its own security system, not associated with Google services.
How to unlock Xiaomi after 10 failed attempts to enter a password?
After 10 failed attempts, device: Locked for 5 minutes (on MIUI 13+) Requires Mi Account password to unlock On some models (POCO F3) may require waiting 24 hours Solution: Wait specified time and try again Use unlock via Mi Account (see section 1) On models with IR Blaster (infrared port) you can try unlocking via the remote from the TV (experimental method)
Will EDL flashing help save data?
Regime. EDL (Emergency Download Mode is used to recover "bricked" devices: βœ… Allows you to flash the device even with damaged firmware ❌ Always erases data (formats the userdata section) ⚠️ Requires an authorized Xiaomi account to download firmware Use this method only as a last chance if other methods have not worked.
What to do if photos are missing after unlocking?
If the data disappeared after unlocking: Check the MIUI/Backup/AllBackup folder on the internal drive – there may be automatic backups Use data recovery programs (DiskDigger, EaseUS MobiSaver), but do not save new files to the device If Mi Cloud was enabled, check the web version of i.mi.com in the Gallery The chances of recovery depend on whether the data was overwritten with new information.