How to Recover Password from Second Space on Xiaomi: All the Ways to Work

Forgot the password from the second space on Xiaomi, Redmi or POCO? This problem is familiar to many users who actively use the feature of sharing profiles for work, personal affairs or testing applications. Unlike the main password of the lock screen, restoring access to the second space has its nuances - and not all ways work on new versions of MIUI.

In this article, we will discuss 5 Proven methods, including official (via Mi Account and reset) and alternative (bypass lock without loss of data). MIUI 14/15 android models 13/14, Xiaomi has tightened its security policy, and you will also learn why you reset your password through Settings. โ†’ Passwords often donโ€™t work for the second space and what to do if the phone requires confirmation through the phone. SMS, which you don't get.

Before proceeding with the instructions, check:

  • ๐Ÿ”„ Version MIUI (Path: Settings โ†’ The phone. โ†’ Version. MIUI). This depends on the availability of certain methods.
  • ๐Ÿ”’ Is the Mi Account tied to the device, and without it, resetting the second space password on new firmware is impossible.
  • ๐Ÿ“ฑ Smartphone model. 12/13/14 Series and flagships (for example, Xiaomi) 13 Ultra: Additional restrictions apply.

Recovery through Mi Account (official method)

The most reliable method for devices with MIUI 12 and later is using a tied Mi Account, which works even if you don't remember the password from the second space, but remember the data from the Xiaomi account.

Step-by-step:

  1. On the second space password entry screen, tap the โ€œForgot your password?โ€ button (or a similar sign at the bottom of the screen).
  2. Select the recovery option through Mi Account.
  3. Enter your username (email or phone) and password from your Xiaomi account.
  4. Confirm the action via SMS or email (depending on the account security settings).
  5. Follow the instructions on the screen to create a new password for the second space.

Is your account linked to your device (Settings โ†’ Mi Account)

Is there an email/phone access to confirm

Is the device connected to the Internet?

Is the device charged at least 30 times%-->

โš ๏ธ Note: If you have previously untied your Mi Account from your phone or used unofficial firmware, this may not work.

MIUI versionRecovery support via Mi AccountWhether required SMS-confirmation
MIUI 12โ€“13Yes.Yes (80 percent of the time)
MIUI 14Yes, but with limitations.Yes (required)
MIUI 15 (Android 14)Yes, only for linked accounts over 30 daysYes + additional verification

2. Reset the second space password through settings (without data loss)

If the Mi Account is not tied or you donโ€™t remember the data from it, try resetting the password through the main space.This method works on most Xiaomi and Redmi devices (except models with MIUI 15 and Snapdragon 8 Gen 2/3 chip, where additional authentication is required).

Instructions:

  1. Enter the main space of the phone.
  2. Go to Settings โ†’ Special Opportunities โ†’ Second Space.
  3. Slap the icon ยซโš™๏ธยป (settings) in upper right corner.
  4. Select โ€œReset the password of the second spaceโ€**.
  5. Confirm the action by entering the password / print of the main space.
  6. Set a new password for the second space.

๐Ÿ’ก

If the "Reset Password" option is not on the menu, try temporarily disabling the second space (Settings โ†’ Second Space โ†’ Disable), then turning it back on. Sometimes this resets the default password (empty or 123456).

โš ๏ธ Attention: On devices with MIUI 14+ After resetting the password, you may need to reconfigure the second space (applications and data will be saved, but you will have to re- specify the security settings).

Password bypass through Recovery mode (for advanced users)

If previous methods have failed, the option is Recovery mode, which is suitable for devices with an unlocked bootloader and requires confident skills with ADB or Fastboot.

The following is a step-by-step guide for Xiaomi/Redmi/Poco:

  1. Turn off the phone.
  2. Press the Power button + Volume up to enter Recovery Mode.
  3. Select the language (usually English by default).
  4. Go to Advanced โ†’ File Manager.
  5. Find the file /data/system/users/0.xml (or similar to the user settings).
  6. Delete the password string of the second space (XML structure knowledge is required).
  7. Reset the device.

What if File Manager is not available in Recovery?
On new devices (such as Xiaomi 13 Pro or Redmi Note 12 Pro+), the built-in File Manager in Recovery may not be available. In this case, you will need: 1. Install custom Recovery (TWRP). 2. Connect to your PC via ADB and manually edit the settings files. 3. Use specialized utilities like Mi Flash Tool (risk of data loss!).

โš ๏ธ Attention: On devices with MIUI 14/15 and the enabled function "Data Protection" (Settings) โ†’ Confidentiality โ†’ Data protection) this method can lock the phone completely. Before trying, back up through Settings โ†’ Additionally. โ†’ Backup.

4.Use ADB to reset password (without root)

If you have access to debugging via USB (Settings โ†’ About Phone โ†’ MIUI version โ†’ 7 taps to turn on Developer Mode, then Settings โ†’ Additional โ†’ Developers โ†’ Debugging over USB), you can try resetting your password through ADB.

Instructions for Windows/macOS/Linux:

  1. Connect your phone to your PC via USB (select File Transfer Mode).
  2. Open the command line (Windows) or terminal (macOS/Linux) and type: adb shell pm clear com.miui.secondspace
  3. Reboot the phone.
  4. Try to enter the second space - the password must be reset.

Recovery through Mi Account

Reset via the main space settings

Bypassing Recovery

Used ADB.

I haven't tried it yet.-->

If the pm clear command doesnโ€™t work, try the alternative:

adb shell


su




rm /data/system/secondspace_password.xml

Note:

root-right

5. Complete phone reset (extreme case)

If none of the methods work, you'll have to reset hard, which will remove all the data from your device, including apps, photos, and second-space settings, and only use this method if:

  • ๐Ÿ” You don't have important data in the second space.
  • ๐Ÿ“ฑ The phone is not tied to the Mi Account (or you remember the data from it).
  • ๐Ÿ”ง Other methods didn't work.

How to reset:

  1. Turn off the phone.
  2. Press the Power button + Volume up to enter Recovery.
  3. Choose Wipe Data โ†’ Wipe All Data.
  4. Confirm the action (it may be necessary to enter a password from Mi Account after rebooting).

๐Ÿ’ก

After a hard reset, the second space will be turned off. To create it again, go to Settings โ†’ Special Options โ†’ Second Space and follow the instructions on the screen.

โš ๏ธ Attention: On devices with MIUI 14+ and the feature "Find Device"** (Settings) โ†’ Mi Account โ†’ Find Device) after the reset may require input from the Mi Account, which was previously linked to the phone. If you do not remember this data, the phone will turn into a brickยป.

Frequent Mistakes and How to Avoid Them

When you restore a second space password, users often face typical problems, and here are the most common ones and how to solve them:

Mistake.Reason.Decision
"Mi Account Password Wrong"Account is not tied to device or blockedRestoring access to Mi Account via account.xiaomi.com
โ€œThe function is disabled by the administratorโ€Device with corporate policy (e.g., work phone)Contact the IT-service of the organization
โ€œI failed to reset my passwordโ€ (in settings)MIUI 14/15 with enhanced protectionUse ADB or Recovery (see sections above)
Phone requires old password after resetIncomplete reset of the second space settingsRun full Wipe Data in Recovery

Another common problem is that there's no "Forgot your password?" button on the login screen.

  • ๐Ÿ“ฑ Devices with MIUI 13+ and the Mi Account is off.
  • ๐Ÿ”’ Phones with the โ€œFind Device Blockโ€ feature enabledยป**.
  • ๐Ÿ›ก๏ธ Models for the Chinese market (China) ROM), where additional restrictions apply.

๐Ÿ’ก

If you don't have a "Forgot Password?" button, try entering any password 5 times in a row. After a fifth unsuccessful attempt, a recovery link may appear or a suggestion to enter data from Mi Account.

Can I recover the second space password without losing data?
Yes, but only if: You have a Mi Account tied and active. You can log in to the main space and use the reset method through the settings. You have access to ADB and USB debugging enabled. On devices with MIUI 15 and later, the chances of recovering without loss are minimal - Xiaomi has tightened its security policy.
What to do if you forget your Mi Account password?
Restor access via the official website: Go to account.xiaomi.com. Click on โ€œForgot your password?โ€ Enter an email or phone linked to your account. Confirm the recovery via SMS or backup email. If you donโ€™t have access to your email/phone, contact Xiaomi Support with proof of ownership of the device (checks, IMEI).
Does password resetting work through Fastboot?
Partially. You can reset your phone through Fastboot, but it will cause data loss. Fastboot doesn't work for a targeted reset of the second space password, you need Recovery or ADB rights. If you want to try, use the command: fastboot erase userdata Warning: this will completely clear the phone's internal memory.
Why is the second space empty after resetting the password?
This is normal behavior on MIUI 14+. When you reset your password, the system creates a new profile of the second space, but saves: Installed applications (without data); screen and sound settings; files in /sdcard/SecondSpace/ folders (if any) To return old data, restore them from the backup (if it was created before the reset).
Can I bypass the second space password on Xiaomi without the Mi Account?
Technically yes, but with reservations: MIUI 12 and older, through ADB or recovery (see sections above). MIUI 13-15 โ€“ only if you have bootloader unlocked and have access to it TWRP. On the new flagships (Xiaomi 14, Redmi) K70) โ€” It is almost impossible to lose data without losing data. โš ๏ธ Note: Using informal methods (for example, through firmware vulnerabilities) may result in the blocking of your Mi Account on suspicion of hacking.