Forgot the password from the second space on Xiaomi and can not access important data? This situation is familiar to many users who actively use the dual application function or the second desktop on their smartphones. Unlike the main password of the lock screen, resetting the password of the second space requires special actions β standard methods like Forgot the password? do not work here.
In this article, we will discuss all the current ways of unlocking, including official (via Mi Account) and alternative (via Recovery or ADB), focusing on the nuances for different models β from the Redmi Note 10 Pro to the flagship Xiaomi 13 Ultra, as well as the risks of data loss. If you tried to enter a password repeatedly and received the message βTry laterβ β here you will find a solution.
Warning: Some methods require proof of ownership of the device (such as a tied Mi Account), while others can result in a complete reset of the second space, so make sure to check before you start whether your data is synced with Mi Cloud or other cloud services.
1.What is the second space on Xiaomi and why it is blocked
The second space function (or Dual Apps/Second Space) has been in MIUI since version 8. It allows you to create an isolated copy of the Android system with separate:
- π± Applications (duplicates of messengers, social networks, games)
- π Files and media (photos, videos, documents)
- π Settings (wallpaper, sounds, accounts)
- π‘οΈ Passwords and login data
The locking of the second space occurs for the same reasons as the main device:
- π Repeatedly incorrectly entering a password (usually after 5-10 attempts)
- π Expire of waiting time after unsuccessful attempts
- π Resetting the settings of the main space (sometimes affects the second one)
- π² Update firmware with errors
It's important to understand that the second space is not just a file folder, but a full-fledged virtual machine with its own encryption, so standard methods like connecting to a PC and viewing files through MTP won't work, you need special tools or access to system partitions.
2.Official method: Unblocking through Mi Account
The most secure and recommended method for Xiaomi is to use a tied Mi Account.
- π§ You have access to email/phone-linked
- π Device connected to the Internet (Wi-Fi or mobile data)
- π In the settings enabled synchronization with Mi Cloud
Instructions:
- On the lock screen of the second space, tap the button "Forgot your password?" (if it is not available, proceed to the next method).
- Select "Restore with Mi Account".
- Enter your username (email or phone) and password from your Xiaomi account.
- Confirm the action via SMS or email (if two-factor authentication is enabled).
- Follow the instructions on the screen to create a new password.
If the "Forgot Password" button is not available, try:
- Reset the device.
- Connect to another Wi-Fi network (sometimes the lock is triggered due to the limitations of the mobile operator).
- Update the firmware through Settings β About the phone β System update.
π‘
If you donβt remember the password from Mi Account, restore it through the official account.xiaomi.com. Use the linked email or phone number.
3. Unlocking through Recovery Mode (without data loss)
If the Mi Account is not tied or you donβt remember the data from it, you can try resetting the password through Recovery mode, which is suitable for most Xiaomi, Redmi and POCO models on MIUI 12-14.
Importantly, not all versions of Recovery support this method. New devices (such as the Xiaomi 13T or Redmi Note 12 Pro+) may require unlocking the bootloader, which will lead to a complete reset.
Step-by-step:
βοΈ Preparing for resetting through Recovery
- Turn off your smartphone.
- Press the Power + Volume buttons up at the same time until the Mi logo appears.
- From the Recovery menu, select the language (usually English or Chinese).
- Go to Wipe & Reset β Wipe Second Space Password (the name may vary depending on the version of MIUI).
- Confirm the action and wait for the reboot.
If you do not have the Wipe Second Space Password,
- π§ Try to choose Wipe Data β Erase Second Space (this will delete all data from the second space!).
- π Fastboot the device (instructions in the next section).
What to do if you recover in Chinese?
4.Reset second space via Fastboot (for advanced users)
If previous methods fail, you have to reset low-level reset via Fastboot mode, which requires a PC, USB-cables and installed drivers ADB/Fastboot. Warning: Incorrect commands can lead to a device "brick" (complete inoperability)!
Suitable for models:
- π± Xiaomi Mi 11/12/13, Mi Mix
- π± Redmi Note 10/11/12, Redmi K40/K50
- π± POCO F3/F4/F5, POCO X3/X4
Instructions:
- Install Platform Tools (includes fastboot and adb).
- Turn off the phone and press Power + Volume down to log into Fastboot.
- Connect the device to your PC and check the connection with the command: fastboot devices must display the serial number of the device.
- Run the command to reset the second space: fastboot erase userdata_second (For new models): fastboot erase userdata_second_space
- Reboot the device: fastboot reboot
If the team doesnβt work, try:
- π§ Find out the exact partition markup through fastboot getvar all.
- π§ Use an alternative command: fastboot format userdata_second.
π‘
Fastboot commands are sensitive to the firmware version. On devices with MIUI 14+, you may need to unlock the Bootloader, which will result in a complete reset of all data (including the main space).
5. Unlock through ADB (without data loss but with risks)
The ADB (Android Debug Bridge) method is suitable if:
- β The device is debugging on USB (Settings β The phone. β Version. MIUI β 7 times tap to unlock the developer settings).
- β Access to the main space (you can connect to the PC).
- β Drivers installed ADB computer-based.
Instructions:
- Connect the phone to the PC and allow debugging over USB.
- Open the command line in the adb folder and execute: adb shell
- Delete the file with the password of the second space: rm /data/system/second_space_password.key or (for new versions) MIUI): rm /data/system/users/1/second_space_password.key
- Reboot the device: reboot
If the team didn't work:
- π§ Check the access rights: su (root rights required).
- π§ Try an alternative path: rm /data/data/com.miui.secondspace/shared_prefs/second_space_password.xml.
π‘
If you donβt have root rights but USB debugging enabled, try using XDA Developersβ Xiaomi ADB/Fastboot Tools utility. It automates the process of resetting the second space password.
6. Complete reset of the second space (extreme case)
If none of the methods worked, the second space is completely reset and all data is lost, and this method is guaranteed to work on all Xiaomi models, but:
- β All applications, files and settings of the second space will be deleted.
- β It will not be possible to recover data after the reset (if there was no backup copy).
Instructions:
- Go to Settings β Special Opportunities β Second Space.
- Select "Delete the second space".
- Confirm the action by entering the password of the main space (if required).
- Wait for the process to be completed and restarted.
Once reset, you can create a new second space from scratch. If you need to save data, try before reset:
- π€ Copy files from the second space through Explorer MIUI (if there is access).
- π Sync important data (contacts, photos) with cloud services.
π‘
On some models (e.g. Redmi Note 9 Pro), resetting a second space can block access for 24 hours, in which case, wait a day and try again.
7. Frequent mistakes and how to avoid them
When you unlock the second space, users often face typical problems.
| Mistake. | Reason. | Decision |
|---|---|---|
| "Failed to reset password" in Recovery | Outdated version of MIUI or blocked Bootloader | Update the firmware via Fastboot or unlock the bootloader |
| "Device Not Found" at ADB/Fastboot | Drivers not installed or debugging over USB is disabled | Install Xiaomi USB Drivers and check the developer settings |
| After resetting, the second space is not created. | Damaged system files | Completely reset the device via Recovery |
| Second Space is Locked After Rebooting | Password removal process not completed | Repeat the command fastboot erase userdata_second and wait for the full completion |
A few more nuances:
- π If the battery drops below 10% during the discharge process, the device may shut down and damage system files!
- π Some of the majors (e.g., global) MIUI EU) Recovery menu items may vary. Look for analogs by keywords: second space, password, wipe.
- π If you use fingerprint protection for a second space, biometric data will also be deleted after resetting the password.
8.How to recover data after unlocking
If you managed to unlock the second space but some of the data is lost, try the following recovery methods:
1. Through Mi Cloud:
- π§ Go to i.mi.com and log in.
- π Check the Devices and Backups sections β it is possible that the second space data was synced automatically.
2. Through a local backup copy:
- π Connect your phone to your PC and check the folder MIUI/backup/SecondSpace internal.
- π Use the Mi. PC Suite for recovery from backup (if it was created).
3. With the help of third-party utilities:
- π οΈ Programs like Dr.Fone or EaseUS MobiSaver can scan the deviceβs memory for deleted files.
- β οΈ Risk! These utilities require root rights and can disrupt the system.
If the data is critical, but none of the methods worked, contact Xiaomi Service Center. Official partners have special tools to extract data from damaged partitions (service is paid, cost from 1,500 to 5 000). β½ model-wise).
π‘
The most reliable way to avoid data loss is to regularly sync the second space with the Mi Cloud or create local backups through Settings β System and Device β Backup.
FAQ: Answers to Frequent Questions
β Can I unlock the second space without losing data?
β Why does the second space not appear after resetting through Recovery?
β Does Fastboot unlock work on new models (Xiaomi 13, Redmi Note 12)?
β How to avoid blocking a second space in the future?
β Can the data of the second space be recovered after a complete reset?
If your situation is not described in the article, check out the device model and MIUI version in the comments - we will help you find a personal solution. Good luck with unlocking!