How to log into the second space Xiaomi, if you forgot the password: all the working ways

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.

πŸ“Š How often do you use second space on Xiaomi?
Every day.
Several times a week
Nearby
Never tried.

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:

  1. On the lock screen of the second space, tap the button Forgot the password? (or a similar inscription in English - Forgot password?).
  2. Select the recovery option via Mi Account.
  3. Enter the linked email/phone and password from the account.
  4. 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:

  1. Go to the main space of the phone.
  2. Open Settings β†’ About the phone and tap the MIUI version 7 times to activate the developer mode.
  3. Return to Settings β†’ Additional β†’ For developers and enable USB debugging.
  4. Connect the phone to the PC and confirm the debugging permission.
  5. Download and install the XiaomiTool V2 (or Mi Unlock Tool for older models) on your computer.
  6. 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?
Make sure you have ADB drivers installed (you can download from Android SDK Platform-Tools). Also check that the developer settings include Allow USB Debugging (Safe Mode) and Unlock OEM (if any).

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:

  1. Activate USB Debugging in the main space (as described above).
  2. Connect your phone to your PC and open the command line in the folder with the platform-tools.
  3. Run the command to check the connection: adb devices must display the serial number of the device.
  4. 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
  5. 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 66

This 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:

  1. Turn off the phone.
  2. 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:

MethodData securityDifficultyConditions requiredSuitable models
Through the Mi Account.βœ… Preserve.⭐Internet, synchronization with the accountAll with MIUI 12+
Partial reset (XiaomiTool)⚠️ Applications will reset, files will remain⭐⭐PC, USB debuggingRedmi 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 ModeAll 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.

Can data be recovered from the second space after a hardware reset?
No, hardware resets completely delete all data without recovery, and the only way to save the information is to pre-copy it into the main space or onto an external drive (if you have access).
Does unlocking through Mi Account work on custom firmware?
No, if you use informal firmware (like LineageOS or Pixel Experience), the Mi Account recovery feature will be disabled, in which case only ADB methods or hardware reset remain.
What to do if you forget your Mi Account password?
Restore access via account.xiaomi.com. This will require a linked email or phone. If recovery is not possible (for example, no access to old mail), contact Xiaomi with proof of ownership of the device (checks, IMEI).
Can I use the second space without a password?
Technically, but it's not safe. Once you unlock any of the methods described, you can leave the password field blank, but then the second space data will become vulnerable to access through the main profile. PIN-code immediately after re-access.
Why is the second space unavailable after the MIUI update?
It's a well-known versioning problem. MIUI 13-14, If the space stopped opening after the update, try: Reverse to the previous version of the firmware via Fastboot. ADB-password reset commands (as described above) Contact Xiaomi Service Center to reflash the device with data storage.

⚠️ 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.