How to open personal files on Xiaomi, if you forgot your password: the complete guide

The forgotten password from personal files on Xiaomi’s smartphone is a situation that thousands of users face. Unlike unlocking the screen, where a Mi Account account or a Fastboot reset helps, accessing encrypted folders (Private Folder, Second Space or MIUI archives) requires a special approach. The problem is complicated by the fact that standard password reset methods often lead to complete loss of data – photos, documents and videos can disappear forever.

In this article, we will discuss 5 working ways to restore access to personal files on Xiaomi, Redmi and other sites. POCO, including models with MIUI From simple solutions (e.g., backups) to technical firmware manipulations, each method is illustrated with screenshots and explanations. ROOT-computer or computer, so prepare the necessary tools in advance.

Recovery via Mi Account (if synchronization was enabled)

The safest way to do this is to use a linked Mi Account, which works if:

  • πŸ”Ή You have previously logged in and enabled file synchronization.
  • πŸ”Ή It's on the device. MIUI 12 or later (in older versions, the function is limited).
  • πŸ”Ή You have access to email/phone-linked.

Instructions:

  1. Go to account.xiaomi.com and log in.
  2. In the Devices section, select your smartphone.
  3. Click Find Device β†’ Unlock files (the option is not available on all models).
  4. Confirm the action via SMS or email.

πŸ’‘

If the option "Unlock files" is missing, try to update MIUI to the latest version - in the new firmware functionality is expanded.

Limitations of the method:

  • 🚫 Does not work for files in Second Space (requires a separate password).
  • 🚫 If the synchronization has been disabled, the data will not be restored.

2. Reset password through "Forgot password?" in Private Folder

If you forgot the password from the Private Folder folder (embedded MIUI storage), try the standard recovery procedure:

  1. Open the Files app β†’ go to the Private Folder section.
  2. On the password entry screen, do you forget your password?
  3. Enter the data from Mi Account (email or phone).
  4. Confirm the reset through SMS-code.

Important: This method will only work if the folder was created through the official Files app from Xiaomi. If you used third-party programs (such as AppLock or Vault), read the section about ROOT.

What to do if the β€œForgot Password” button is inactive?
This means that the device has disabled sync with Mi Account or the folder was created offline, in which case only reset via Fastboot (section 4) or manually extract files using ADB (section 5).

3. Extract files through backup (if any)

If you’ve ever backed up through Settings β†’ About Phone β†’ Backup, the chances of returning files are high. Here’s how to do it:

  1. Connect your smartphone to your PC and copy the backup file (usually found in MIUI/backup/AllBackup).
  2. Install the Mi PC Suite (official software from Xiaomi) on your computer.
  3. In the program, select Restore from backup and specify the path to the file.
  4. Check the Personal Files and start the process.

Warning: Only data that was included in the backup can be recovered, and if you have manually encrypted files (e.g., 7-Zip or RAR), this method will not help.

Type of fileIs it being restored from backup?Notes
Photos/videoβœ… Yes.If you were in a gallery, not a private flyer.
Documents (PDF, DOC)βœ… Yes.Restore to the Download folder
Notes (Mi Notes)βœ… Yes.Requires re-authorization in the account
Files from Second Space❌ No.A separate password reset is required

4 Unlocking via Fastboot (full reset)

If previous methods didn't work, the radical way is to reset through Fastboot mode, which will delete all the data on the device, but allow you to reconfigure Private Folder and Second Space.

Step-by-step:

  1. Turn off your smartphone. Press the Power button + Volume down to enter the Fastboot.
  2. Connect the device to your PC and install the Mi Flash Tool drivers.
  3. Download the official firmware for your model from the Xiaomi Firmware website.
  4. In the Mi Flash Tool, select Clean All mode and flash the device.

Download firmware for your model |Install Mi Flash Tool|Backup contacts (via Google)|Charge your phone at least 50%-->

Consequences:

  • πŸ”΄ All data will be erased, including files in the Private Folder.
  • πŸ”΄ Mi Account will remain tied, but local passwords will be reset.
  • 🟒 The device will be clean, as after purchase.
πŸ“Š Have you ever done a reset via Fastboot?
Yeah, you.
Yeah, at the service center.
No, I'm afraid.
No, there was no need.

5. Manual file extraction via ADB (for advanced users)

If you have ROOT-rights or you are ready to receive them, you can try to extract files manually through ADB. This method is suitable for:

  • πŸ“ Files in Private Folder (located in the /data/system/private/).
  • πŸ“ Data from Second Space (daddy) /data/system/space/).
  • πŸ“ Encrypted archives (if you know the way).

Instructions:

  1. Activate USB Debugging in Settings β†’ About Phone β†’ MIUI version (tap 7 times according to version, then return to Additional β†’ For developers).
  2. Connect your phone to your PC and type in the command line: adb shell su cp -r /data/system/private/ /sdcard/
  3. Copy files from the memory card to the computer.

Risks:

  • ⚠️ No ROOT The su team won't work.
  • ⚠️ Incorrect actions can cause damage to the system.
  • ⚠️ Files can be encrypted – additional decryption software (e.g. AXCrypt) will be required).

πŸ’‘

The ADB method is the only way to extract files without completely resetting them, but it requires technical skills. If you're not sure, contact the service center.

6. Alternative methods: third-party programs and service centers

If none of these methods have worked, consider the following options:

  • πŸ”§ Xiaomi Service Center: Official centers can restore access to files if you have a check or a warranty card.
  • πŸ”§ Data recovery software: Dr.Fone, Tenorshare 4uKey iMyFone LockWiper claims to be able to unblock the lock from the MIUI, But their effectiveness is controversial (the risk of losing data or catching a virus).
  • πŸ”§ Cloud Storage: Check if files are automatically uploaded to Google Photos, Mi Cloud or Yandex.Disk.

Warning about fraudsters:

⚠️ The Internet often offers "xing Xiaomi password in 5 minutes" - it's 100% divorce. No program can guarantee to decrypt files without access to encryption keys. Beware of sites that require payment for "unlock code".

Frequent Mistakes and How to Avoid Them

When trying to unlock files, users often make critical errors:

  1. Unofficial firmware: firmware via Custom ROM (such as LineageOS) can permanently block access to encrypted data.
  2. Interrupt the reset process: if during the Fastboot to turn off the cable, the phone will turn into a β€œbrick”.
  3. Ignore backups: Many forget that MIUI automatically creates backups once a week (check the MIUI/backup folder).

Tip: If you often forget passwords, set up Biometric unlock (fingerprint or face) for Private Folder. To do this, go to Settings β†’ Passwords and Security β†’ Setup app lock.

Can I recover files from Private Folder after being reset via Fastboot?
No. Reset via Fastboot completely erases the /data partition where the encrypted files are stored.The only chance is if you have a backup or files synced to the cloud.
Does Mi Account unlock work on phones without internet?
No. Resetting your password through your account requires an active connection to the network, so if the Internet is off, use the ADB method or contact the service center.
What to do if you forget your Second Space password?
Second Space is a separate profile with its own password. To reset: Go to Settings β†’ Special Options β†’ Second Space. Click Delete Second Space (this will delete all the data inside!). Create a new profile with a new password. You can't restore files from the old Second Space without a password.
Can I crack a Private Folder password with a PC?
Technically, it is, but in practice, almost impossible: Private Folder files are encrypted using AES-256, and brute-force attacks will take years even on powerful hardware.
Why did the password for personal files stop working after the MIUI update?
This is a well-known MIUI 13/14 error. After major updates, the system can reset security settings. Try: Reboot your phone. Enter the old password from the keyboard (not through biometrics). Reset the password through Mi Account (section 1).