Why users lose access to the second space and what to do about it
The second space in Xiaomi smartphones is a convenient MIUI feature that allows you to share personal and work data on one device. However, many people face the problem: a forgotten password blocks access to an alternative profile, and standard reset methods (as for a primary account) do not work here. Unlike unlocking the screen, where Mi Account or a Fastboot reset helps, the second space requires a special approach.
The reasons for loss of access vary: from banal forgetfulness to failures after the update. MIUI (particularly relevant to versions 13-14). Some users do not even suspect that the password of the second space may differ from the main one. PIN-It's important to understand that the second space is encrypted separately from the main system, so a standard reset via Recovery won't delete its password - it will require special actions.
In this article, we will discuss all the current methods of unlocking, from official (with confirmation through Mi Account) to technical (through ADB and editing system files), and pay special attention to data security, because the main goal is not just to regain access, but to do it without losing photos, messages and applications from the second profile.
Official method: unlocking through Mi Account
The most secure and recommended method for Xiaomi is to use a tied Mi Account.
- πΉ Device connected to the Internet (Wi-Fi or mobile data)
- πΉ In the settings of the second space was enabled synchronization with the account
- πΉ You remember the username/password from Mi Account (or you can restore access)
Instructions:
- On the lock screen of the second space, tap the button Forgot the password? (or a similar inscription in English - Forgot password?).
- Select the recovery option via Mi Account.
- Enter the linked email/phone and password from the account.
- Confirm unlocking via SMS or email (depending on security settings).
If the buttons Forgot your password? No, then the sync with the account is disabled, in which case the official method will not work, and you will have to use alternative methods.
π‘
Before you try to unlock, check if the device is enabled with Find My Device. If so, turn it off in the main space via Settings β Mi Account β Find the device, otherwise the phone may lock completely after reset.
Resetting the second space without data loss (for MIUI 12-14)
If the official method didnβt work and the data in the second space is critical, you can try a partial reset.This method works on most Xiaomi models (including Redmi Note 10/11, POCO X3/X4, Mi 11/12) and does not affect the main space.
Algorithm of action:
- Go to the main space of the phone.
- Open Settings β About the phone and tap the MIUI version 7 times to activate the developer mode.
- Return to Settings β Additional β For developers and enable USB debugging.
- Connect the phone to the PC and confirm the debugging permission.
- Download and install the XiaomiTool V2 (or Mi Unlock Tool for older models) on your computer.
- Select the Remove Second Space Password (or similar) option.
It takes 5-10 minutes. Once you reboot, the second space will be available without a password, but all the apps and settings installed there will be reset, and the personal files (photos, videos, documents) will remain intact.
What to do if XiaomiTool canβt see the device?
Unlocking through ADB: for advanced users
If previous methods have not worked and access to data is critical, you can use the ADB-This method requires technical skills and does not work on all firmware (on the basis of the MIUI 14 may require additional patching).
Step-by-step:
- Activate USB Debugging in the main space (as described above).
- Connect your phone to your PC and open the command line in the folder with the platform-tools.
- Run the command to check the connection: adb devices must display the serial number of the device.
- Enter the command to delete the second space password: adb shell pm clear com.miui.secondspace or (for newer versions) MIUI): adb shell settings delete secure second_space_password
- Reboot the phone.
If the commands donβt work, try an alternative:
adb shell am start -n com.miui.secondspace/.ui.SecondSpaceLockScreenActivity
adb shell input text "your new password"
adb shell input keyevent 66This sequence simulates the entry of a new password programmatically.
Install Android SDK Platform-Tools| Enable debugging via USB| Connect your phone to your PC with the original cable | Check device visibility via adb devices | Make a backup of the main space data-->
Hardware reset: the last method
If none of the software methods worked, the second space is completely reset via Recovery Mode, which will remove all data from the alternate profile, but will return access to the function.
Instructions:
- Turn off the phone.
- Press the button combination to enter Recovery: πΉ For most models: Nutrition + Loudness up πΉ For POCO F3/F4: Nutrition + Loudness down
Wipe & Reset β Erase Second Space
Confirm the action and wait for the process to be completed.
Once rebooted, the second space will be available for configuration from scratch, and all data will be deleted without recovery.
π‘
Hardware reset is the only method that is guaranteed to work on all Xiaomi models, but it completely erases the second space data.
Unlocking Methods Comparison: What to Choose
To make it easier to choose a method, we have collected the key characteristics of each method in the table:
| Method | Data security | Difficulty | Conditions required | Suitable models |
|---|---|---|---|---|
| Through the Mi Account. | β Preserve. | β | Internet, synchronization with the account | All with MIUI 12+ |
| Partial reset (XiaomiTool) | β οΈ Applications will reset, files will remain | ββ | PC, USB debugging | Redmi Note 10/11, POCO X3/X4, Mi 11/12 |
| ADB-team | β They are saved (if it works) | βββ | PC, command knowledge, root rights (for some firmware) | All but the newest (MIUI 14 with patches) |
| Hardware discharge | β Removed completely | β | Access to Recovery Mode | All models. |
For most users, the best solution is a combination of Mi Account + XiaomiTool. If you are not afraid to lose data or it is not critical, hardware reset will be the fastest option.
Frequent Mistakes and How to Avoid Them
When trying to unlock a second space, users often face typical problems, and here are the most common ones and how to solve them:
- π The phone is not detected through ADB: Check the cable (use the original one), install the Mi drivers USB Driver, turn on Debugging. USB (safe-haven).
- π The "Forgot Password?" button is inactive: So sync with Mi Account is disabled. ADB discharge.
- π± After resetting, the phone requires an old password: This happens if the second space has been encrypted.Only a full reset via Recovery will help.
- π XiaomiTool gives you a βDevice not supportedβ error: Update to the latest version or use the Mi Unlock Tool alternative.
Another common mistake is trying to unlock space through Find My Device, which blocks the entire phone rather than a single profile, so it's pointless and dangerous to use it.
π‘
If you often forget passwords, set up a second space backup in Mi Cloud. Go to Settings β Second Space β Backup and enable automatic sync.
FAQ: Answers to popular questions
Can data be recovered from the second space after a hardware reset?
Does unlocking through Mi Account work on custom firmware?
What to do if you forget your Mi Account password?
Can I use the second space without a password?
Why is the second space unavailable after the MIUI update?
β οΈ Note: If your device is warranty-free, any firmware manipulation (including: ADB XiaomiTool and may lead to loss of warranty obligations.In this case, it is optimal to contact an authorized service center Xiaomi.
β οΈ Note: Some models (e.g. Xiaomi 13 Ultra or Redmi) K60 Pro) The second space is integrated with App Lock. If you have used app locking, unlocking the space may require additional actions through Settings. β Confidentiality β Application lockdown.