How to remove the password for the protection of personal data on Xiaomi: 5 proven ways

Forgot your privacy password on Xiaomi and can’t access files, contacts or settings? this problem is familiar to many owners of Redmi smartphones, POCO or Mi, where the privacy function blocks critical parts of the system, as opposed to a standard pattern lock or PIN-This password does not protect the unlock screen, but specific data – from notes to call history.

In this article, we’ll look at all the current password removal methods (including official and alternative ones), their pros and cons, and the risks that the manufacturer does not mention. Importantly, some methods require unlocking the bootloader or accessing the Mi Account, so start with the simplest options. If you have Xiaomi on MIUI 14/15 or later, note that the protection algorithms have become stricter, we’ll talk about this too.

What is a personal data protection password for Xiaomi and why you need it

The Privacy Protection Password was introduced in MIUI in 2018, but has been in use since MIUI 12, and is designed to protect sensitive information from access through third-party apps or after a device is stolen, and unlike the standard screen password, it blocks:

  • πŸ“± Contacts and call logs – without a password, you can not view or export numbers.
  • πŸ“ Notes and recordings – including synchronized via Mi Cloud.
  • πŸ“ Files in protected folders (for example, Private Folder in the gallery).
  • πŸ”§ Some system settings – for example, factory reset or root rights change.

By default, the password for protecting your personal data matches the password for your Mi Account, but you can set a separate code, which is often the cause of problems: when you change your password, the old data protection code remains valid, and the new one does not fit.

⚠️ Note: If you bought Xiaomi with your hands and the previous owner did not remove the protection, you can officially unlock the device only through the Mi Account, tied to the phone.

Starting with MIUI 14, Xiaomi has tightened its security policy: now, password removal may require an SMS confirmation or fingerprint scan, even if you know the code.

πŸ“Š What kind of smartphone you Xiaomi?
Redmi Note 12/13
POCO X5/X6
Mi 11/12/13
Redmi 10/9
Other

Method 1: Removing passwords through your Mi Account (official method)

The safest and most recommended way for Xiaomi is to use a tied Mi Account.

  • πŸ“± The phone is connected to the Internet (Wi-Fi or mobile network).
  • πŸ”‘ You remember the username and password from the Mi Account that was tied before the password was set.
  • πŸ“² The device is synchronized with Mi Cloud.

Instructions:

  1. On the data protection password entry screen, click Forgot Password? (or Forgot Password).
  2. Select the recovery option through Mi Account.
  3. Enter the email or phone number associated with the account and confirm the login.
  4. Follow the system instructions – you may need to enter a code from an SMS or confirm the action through another device.

If done correctly, the system will reset the data protection password, and you can install a new one. This method does not cause data loss and works on all models, including the Redmi Note 13 Pro+ and the POCO F6.

⚠️ Note: If two-factor authentication is enabled on the phone (2FA) For Mi Account, you'll need access to a backup email or phone number. Without that, recovery is impossible -- even Xiaomi's support service won't help.

Check your internet connection

Make sure you remember the username/password from your Mi Account.

Have access to email/SMS to confirm

Charge your phone at least 30%-->

Method 2: Reset password via Recovery Mode (with loss of data)

If you don't remember the Mi Account data or the phone is bought by hand, you get a hard reset through Recovery, which deletes all the data on the device, including photos, apps and settings, but it's guaranteed to remove the password.

Step-by-step:

  1. Turn off the phone with a long press on the power button.
  2. Press the button combination to enter Recovery Mode: For most models: Volume up + Power. For POCO F5 and new Redmi: Volume up + Volume down + Power.

From the Recovery menu, select the language (usually English by default).

Wipe Data β†’ Wipe All Data

Factory Reset

Confirm the action and wait for the process to be completed.

Reboot β†’ Reboot to System

Once reset, the device will be like new β€” you’ll need to reconfigure it, including the Mi Account binding.This method works on all Xiaomi models, but has a critical drawback: losing all data except those synchronized with the Mi Cloud.

Xiaomi modelCombination for RecoveryDoes it support resetting through Mi Account?
Redmi Note 12/13Volume up + NutritionYes.
POCO X5/X6Volume up + Volume down + NutritionYes.
Mi 11/12/13Volume up + NutritionYes (requires SMS confirmation)
Redmi 10/9Volume up + NutritionYes (on MIUI 12 and newer)
What happens if the Recovery Mode does not open?
If the button combination doesn’t work, try: 1. Connect your phone to charge and try again. 2. Use ADB to reboot in Recovery (you need a PC and debug over USB). 3. Some models (such as the POCO M6) require first clamp Volume down + Power, and then hold Volume up after vibration.

Method 3: Using ADB to remove passwords (for advanced users)

If you have access to the debugging USB (USB Debugging) and unlocked bootloader, you can try to remove the password through Android Debug Bridge (ADB). This method does not guarantee 100% results, but sometimes it helps to bypass the lock without resetting.

What you need:

  • πŸ–₯️ Computer with installed ADB and Fastboot.
  • πŸ“± USB-cable (preferably original).
  • πŸ”§ Unlocked bootloader (if not, see the section on unlocking).

Instructions:

adb shell


su




rm /data/system/locksettings.db




rm /data/system/locksettings.db-wal




rm /data/system/locksettings.db-shm




reboot

If the instructions are executed without errors, the data protection password may be reset after rebooting, but on MIUI 14/15, this method is often blocked by the system, in which case only a reset via Recovery remains.

⚠️ Note: Deleting locksettings.db files may result in the loss of all passwords on the device, including the pattern lock and PIN-Lock screen code. Use this method only if you're prepared for the consequences!

πŸ’‘

Before using ADB, check if USB debugging is enabled in the developer settings. If not, activate it: go to Settings β†’ About Phone β†’ MIUI Version (click 7 times), then go back to Additional Settings β†’ For Developers β†’ Debugging by USB.

Method 4: Unlocking through Xiaomi Service Center

If none of the methods worked, the official way is to contact Xiaomi Service Center.

  • πŸ“± The phone was bought from hand and the previous owner did not remove the protection.
  • πŸ”‘ You do not remember the data from the Mi Account, but you can confirm the purchase (checks, box).
  • πŸ“² The device is under warranty.

What will be required to unlock:

  1. Passport or other document confirming the identity.
  2. Check or warranty card (if the phone is guaranteed).
  3. The phone box with serial number (IMEI).
  4. In some cases, the original SIM-The card that was on the phone when you bought it.

The service center can remove the password in two ways:

  • πŸ”§ Using official software (if the phone is not blacklisted).
  • πŸ“¦ Through complete flashing (will result in data loss).

The service costs range from 500 to 2000 rubles, depending on the model and complexity. on the Xiaomi 13 Ultra or Redmi K60 Pro, the price may be higher due to additional security checks.

πŸ’‘

Contacting the service center is the only legal way to remove your password without losing your data, unless you know the Mi Account code, but it takes 3 to 7 days and requires proof of ownership.

Method 5: Bypassing protection through custom firmware (for power users)

If you’re willing to take a risk and have firmware experience, you can try installing custom firmware (like LineageOS or Pixel Experience), a method that violates warranty and can lead to a device blink, but sometimes helps bypass protection.

What needs to be done:

  1. Unlock the bootloader through the Mi Unlock Tool (see instructions below).
  2. Install custom recovery (TWRP).
  3. Sweep an alternative firmware that does not protect Xiaomi’s personal data.

Cons of the method:

  • ❌ Loss of all data (if you don’t backup through the TWRP).
  • ❌ The risk of turning your phone into a brick if you make a mistake.
  • ❌ Lack of security updates from Xiaomi.
  • ❌ Certain functions (e.g, IR-blaster NFC) They may not work properly.

This method is only suitable for technically savvy users, if you have never flashed a smartphone, it is better to contact the service or use official methods.

How to unlock the bootloader on Xiaomi?
1. Download Mi Unlock Tool from the official Xiaomi website. 2. Link Mi Account to your phone in settings. 3. Go to Settings β†’ The phone. β†’ Version. MIUI (Press 7 times, then activate the OEM-unlock in the developer menu. 4. Connect your phone to your PC, launch the Mi Unlock Tool and follow the instructions. ⚠️ Waiting to unlock can take up to 720 hours (30 days) on new devices!

Frequent Mistakes and How to Avoid Them

When trying to remove a data protection password, users often encounter typical problems, and here are the most common mistakes and solutions:

Mistake.Reason.Decision
Mi Account is not suitableYour account is not tied to your phone or your password has been changed.Try to restore access to your account through account.xiaomi.com.
ADB does not see the deviceThere are no drivers installed or USB debugging enabled.Install Mi PC Suite or ADB drivers manually.
Recovery Mode does not openWrong combination of buttons or battery drained.Charge your phone to 50% and try again.
After resetting, the password remainedIncomplete reset (e.g., only cache).Run Wipe All Data, not Wipe Cache.

Another common problem is that the phone asks for the old password after reset, which happens if Find My Device is turned on before reset, which means you need to enter the data from the Mi Account that was tied to the reset.

How to unlock the bootloader on Xiaomi (Step-by-step)

If you choose to use ADB or custom firmware, you need to unlock the bootloader. On new devices (MIUI 13/14/15), this process is complicated - you now need to wait up to 720 hours (30 days) after you associate an account.

Instructions:

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version and press 7 times.
  2. Back to Settings β†’ Additionally. β†’ For developers and include: OEM-unlocking. USB.

Mi Unlock Tool

official website

Mi Account

Fastboot

Loudness down + Nutrition

Mi Unlock Tool

On 2023-2026 devices (such as Xiaomi 14 or Redmi Note 13 Pro+), you have to wait 30 days before unlocking your account after you have attached, a measure against theft and fraud.

⚠️ Warning: Unlocking the bootloader resets all data on the phone! before the procedure, make a backup via Mi Cloud or TWRP (if already established).

FAQ: Answers to Frequent Questions

Can I remove the data protection password without losing data?
Yes, but only if you remember the username and password from the Mi Account attached to the phone, in which case use the official password recovery? on the input screen. All other methods (ADB, Recovery, firmware) will lead to data loss.
What if you bought Xiaomi and the previous owner did not remove the protection?
There are two options: Contact the previous owner and ask him to delete the device from his Mi Account (via i.mi.com); Contact the Xiaomi service center with documents confirming the purchase (check, contract); Self-reset via Recovery will not help - after a reboot, the phone will require you to enter the information of the old account.
Does the ADB work on MIUI 15?
Since MIUI 14, Xiaomi has tightened protection, and removing locksettings.db through ADB often doesn't work. The system recovers files after rebooting. The only reliable way is to unlock the bootloader and firmware custom Recovery (TWRP), but it takes experience.
How do I know if my Mi Account is linked to my phone?
Go to Settings β†’ Accounts β†’ Mi Account. If it displays an email or phone number, then the account is tied. If the section is empty or asks to log in, there is no account, and you will not officially be able to restore the data protection password.
Can I get around the protection through the engineering menu?
No. The engineering menu (#4636##) does not contain any tools to remove the data protection password. All such "life hacks" from the Internet (for example, via #3646633##) are myths and do not work on modern versions of MIUI.