Forgot the password from the second space on Xiaomi: how to restore access without losing data

Forgot the password from the second space on Xiaomi and can not log in? This situation is familiar to many users who actively use the function of separation of work and personal space. Unlike the standard unlocking of the screen, restoring access to the second space has its nuances β€” it will not help either fingerprint or facial recognition.

In this article, we will look at all the working ways to return access to locked space, from official methods through Mi Account to alternative solutions using the engineering menu. It is important to understand that some methods can lead to data loss in the second space, so first try the safe options. If you are using the Xiaomi Redmi Note 12, POCO X5 or another model on MIUI 14/15, the instructions below will be suitable for all modern devices of the brand.

Before you start resetting, make sure you have a backup of your important data. In some cases, restoring access will require a complete reboot of the second space, which will result in the deletion of all unsaved files and settings.

Recovery through Mi Account (official method)

The most reliable and recommended method for Xiaomi is to use a tied Mi Account, which works if:

  • πŸ”Ή Device connected to the Internet (Wi-Fi or mobile network).
  • πŸ”Ή You remember the username and password from Mi Account that was tied when you created the second space.
  • πŸ”Ή On the smartphone enabled synchronization with the account.

To restore access:

  1. On the second space password entry screen, click Forgot Password? (or Forgot Password? on English firmware).
  2. Select the Restore option via Mi Account.
  3. Enter the login (email or phone) and password from the account.
  4. Confirm the action via SMS or email (if two-factor authentication is enabled).
  5. Follow the instructions on the screen to reset the password of the second space.

Once you have successfully recovered, the system will suggest you set a new password, remember it or save it in a safe place, such as Google Password Manager or Bitwarden.

⚠️ Warning: If you have previously untied your Mi Account or changed your password, this method will not work.

πŸ“Š What Xiaomi model do you use?
Redmi Note 12/13
POCO X5/X6
Xiaomi 13/14
Redmi 12/12C
Another model

2. Reset password through the settings of the main space

If you have access to the main space, you can try resetting the second profile password through system settings, which works on MIUI 12 firmware and later, but may not be available on some custom builds.

Instructions:

  1. Open the settings in the main space.
  2. Go to the Special Features section (or additionally on some models).
  3. Select Second Space β†’ Management of space.
  4. Click Reset Password (it may be necessary to enter a password from the main space).
  5. Confirm the action and set a new password.

If there is no Reset password, your version of MIUI does not support this method, in which case you should try updating your firmware to the latest version or use other methods.

Check your internet connection

Make sure that your Mi Account is tied

Make a backup copy of the main space data

Charge your phone at least 50%-->

3.Use of Recovery Mode to Reset Second Space

If previous methods failed, you can try to reset the second space through Recovery Mode, which will result in the complete deletion of all data in the second space, but save the files in the main profile.

Step-by-step:

  1. Turn off your smartphone.
  2. Press the Power + Volume buttons up at the same time until the Mi logo appears.
  3. From the Recovery menu, select the language (usually English by default).
  4. Go to Wipe Data β†’ Wipe Second Space (or similar).
  5. Confirm the action and wait for the process to be completed.
  6. Reset the device.

Once rebooted, the second space will be completely cleared and you can recreate it with a new password, which is fine if you don't store critical data in the second profile.

⚠️ Note: On some models (Xiaomi) 12T, Redmi K50) Wipe Second Space may not be available, so try a general reset, but it will remove data from both spaces!

What happens if the Recovery Mode does not open?
If the smartphone does not respond to the button combination, try: 1. Connect the charger and try again. 2. Use the Power + Volume down combination (on some models). 3. Install official Recovery via the Mi Flash Tool (requires an unlocked bootloader).

Alternative method: Engineering menu (for advanced users)

If you’re familiar with Xiaomi’s technical settings, you can try resetting your password through the engineering menu, which requires caution, as incorrect actions can cause your device to malfunction.

Instructions:

  1. Open the phone app and enter the combination: ##4636##
  2. In the menu that appears, select Testing or Engineering Mode.
  3. Go to Security Settings (or Lock Screen).
  4. Find the Second Space Password Reset and confirm the reset.

If there is no such item, try another code:

##3646633##

Go to Security β†’ Erase Second Space in the menu that opens.

Warning: Not all Xiaomi models support this method. On devices with MIUI 14+, the engineering menu may be blocked for security.

πŸ’‘

Before using the engineering menu, back up your data via Settings β†’ About Phone β†’ Backup. This will help you recover information in the event of a crash.

5. Complete reset of the device (extreme case)

If no method works, it's just a full Hard Reset, which will delete all data from the device, including both spaces, but will restore access to the phone.

How to reset:

  1. Turn off your smartphone.
  2. Press Power + Volume Up to Enter Recovery Mode.
  3. Choose Wipe Data β†’ Wipe All Data.
  4. Confirm the action (it may be necessary to enter a password from Mi Account to confirm possession of the device).
  5. After completion, select Reboot.

Once you reboot, the phone will be like new. You'll need to reconfigure both spaces. If you turned on Mi Cloud before the reset, some of the data (contacts, photos) can be recovered from the backup.

Method of recoveryMi Account requiredLoss of dataDifficulty
Recovery through Mi Accountβœ… Yes.❌ No.⭐ Easy.
Reset via the main space settings❌ No.❌ No.⭐⭐ Middle-Average
Resetting second space in Recovery❌ No.βœ… Yes (only in space 2)⭐⭐⭐ Hardly.
Engineering menu❌ No.⚠️ Maybe.⭐⭐⭐⭐ Very difficult.
Full reset (Hard Reset)⚠️ Maybe.βœ… Yes, all the data)⭐⭐⭐⭐⭐ Extreme case

6. How to avoid loss of access in the future

To avoid having to deal with the problem of a locked second space, follow these tips:

  • πŸ” Use a password manager (e.g. Google Password Manager or Google Password Manager) 1Password) storage of a password from the second space.
  • πŸ”„ Regularly sync your second space data with Mi Cloud or Google Drive.
  • πŸ“± Set up backups through Settings β†’ The phone. β†’ Backup.
  • πŸ”§ Check periodically if your Mi Account is tied to the second space (in your profile settings).

You can also create a password note in a secure application, such as Xiaomi Notes with encryption enabled, but don’t store your password in plaintext in the gallery or messengers.

πŸ’‘

If you often forget passwords, turn on the option β€œAllow fingerprint unlock” in the second space settings – this will make it easier to access without entering a password.

FAQ: Frequent questions about Xiaomi's second space

Can I recover data from the second space after resetting?
If you backed up your files on Mi Cloud or manually copied them to your PC, yes, otherwise the data is deleted without recovery. ROOT-Access and special utilities like TWRP, But it requires a deep technical knowledge.
What if the Mi Account is not tied to the phone?
In this case, the official recovery methods will not work. You will only have to reset the second space through Recovery or completely reset the device. In the future, be sure to link the account in the settings: Settings β†’ Xiaomi Account.
Does password resetting through ADB work?
On newer versions of MIUI (13 and above), ADB password reset commands for the second space are locked for security reasons, a method that may have worked on older firmware (e.g. MIUI 10/11), but is not currently relevant.
Can I use the second space without a password?
Technically, you can leave the password field blank when you create a second space, but that's not recommended, because anyone who takes your phone will be able to access your personal data. PIN-code (4-6 figure).
Why did it disappear after the second space was dropped?
This is normal behavior. Once reset, the second space is removed, and it needs to be recreated through Settings β†’ Special Options β†’ Second Space. All applications and settings will have to be configured from scratch.