A forgotten password from the second space on Xiaomi smartphones can be a serious problem, especially if it stores important data. Unlike the main desktop, the second space (or Second Space) is protected by a separate space. PIN-It's a code, a pattern lock, a password, and it takes a very specific action to recover it. Many users mistakenly think that the only way out is to reset the phone completely, but it's not.
In this article, we will analyze all the current ways to unlock the second space on Xiaomi, Redmi and other devices. POCO, including methods through Mi Account, recovery mode and ADB-We'll focus on the nuances for different versions. MIUI (12 to 14) and smartphone models. If you're afraid of losing data, don't worry: some of the techniques are saving information.
Before you start, make sure you have access to the main space of the phone, which most ways will not be available without, and check if your Mi Account is linked to the device, which will make it much easier.
1. Sign in via Mi Account - the official way
Xiaomiβs most reliable and recommended method is to use a tied Mi Account, which works on all devices with MIUI 8 and newer, but requires that the account be added to the main space before being blocked.
To take advantage of this method:
- π± Go to Settings. β Passwords and security β Second space.
- π Click Forgot Your Password? (or similar option).
- π§ Enter the username and password from the Mi Account linked to the device.
- π Confirm the reset of the second space password.
The system then suggests creating a new password, and it's important that if the device has two-factor authentication enabled (2FA), you need to enter code from an SMS or Mi Security app.
β οΈ Note: If you previously untied your Mi Account from the second space manually (via Settings) β Accounts, this method won't work, so move on to the next section.
Battery charge > 30% |Stable Internet connection | Login/password from Mi Account at hand | VPN/proxy disabled (can block authorization)
-->
2.Reset the password of the second space through Recovery Mode
If you canβt sign in through Mi Account, you can try resetting your password through Recovery Mode, a method that works for most Xiaomi models, but has an important limitation: it deletes all data in the second space.
Instructions:
- Turn off your smartphone.
- Press the Power button + Volume up until the Mi logo appears.
- From the Recovery menu, select the language (usually English).
- Go to Wipe Data β Wipe Second Space (or similar).
- Confirm the action and wait for the process to be completed.
- Reboot the device (Reboot).
Once rebooted, the second space will be available without a password, but all applications, files and settings will be erased, and this method works even if the Mi Account is not tied, but requires physical access to the phone.
| Xiaomi model | Support for Wipe Second Space | Notes |
|---|---|---|
| Redmi Note 10/11/12 | β Yes. | The menu item may be called Erase Second Space. |
| POCO X3/X4/X5 | β Yes. | The latest version of MIUI Recovery is required. |
| Mi 11/12/13 | β Yes. | On some firmware, the item is hidden - you need to select Wipe Data and scroll down |
| Xiaomi 13T/14 | β οΈ Partially. | MIUI 14 may require authorization through Mi Account, even in Recovery |
β οΈ Note: Some custom firmware (e.g. xiaomi.eu) may not have Wipe Second Space. ADB (section).
3.Using Safe Mode for Temporary Access
Safe Mode allows you to download a smartphone with third-party apps disabled and some system restrictions, which in rare cases helps bypass the locking of the second space, but does not work on all devices.
How to activate:
- π Hold the switch off button until the menu appears.
- π‘οΈ Press and hold the option to Turn Off (or Reboot on some models).
- π± Confirm the transition to Safe Mode.
In Safe Mode, try:
- Open Settings β Passwords and security.
- Find the Second Space section and try to reset the password (if the option is active).
- Remove the second space completely (if appropriate).
If nothing works, exit Safe Mode with a normal reboot, which works on less than 30% of devices, but does not require a data reset.
Why is Safe Mode not always working?
4. Unlock through ADB (for advanced users)
If previous methods have failed, you can try to delete the second space password via Android Debug Bridge (ADB), which requires USB Debugging enabled in the main space and access to the computer.
Step-by-step:
- Connect your smartphone to your PC through USB-cable.
- Open the Command Prompt (Windows) or Terminal (macOS/Linux) in the folder with ADB.
- Enter the commands in turn: adb shell su pm clear com.miui.secondspace
- Reset the device.
If the su command is not working (no root rights), try the alternative:
adb shell am start -n com.miui.secondspace/.ui.LaunchActivityThis may temporarily bypass the lock, but it doesn't guarantee 100% results.In new versions of MIUI 13/14, Xiaomi has closed many vulnerabilities, so the method doesn't always work.
π‘
If ADB does not recognize the device, install Mi USB Driver drivers from Xiaomiβs official website and enable USB Debugging in Settings β About Phone β MIUI version (click 7 times on the version bar, then go back to Additional Settings β For Developers).
5. Remove the second space via Fastboot (last resort)
If no one has helped, and access to the second space is critical, you can delete it completely through Fastboot, which will result in the loss of all the data in it, but will keep the main space intact.
Instructions:
- π΅ Turn off your smartphone.
- π Press the power button. + Volume down for entrance to Fastboot.
- π» Connect your phone to your PC and open it. ADB/Fastboot.
- Enter the command: fastboot erase second_space
- π Reboot the device: fastboot reboot
After that, the second space will be removed and you can recreate it through Settings β Special Options β Second Space.
β οΈ Note: Some models (e.g. Xiaomi) 12S Ultra or Redmi K50) fastboot erase team second_space It might not work because of the protected memory markup, and then only a full reset would help. -w), But it will delete data in the main space.
6. Alternative methods and warnings
If none of the methods worked, consider the following options:
- π Contact the Xiaomi service center with documents on your phone. They can unlock the space through special tools (paid).
- π§ Use custom firmware (e.g. xiaomi.eu or LineageOS), but this voids the warranty and requires unlocking the bootloader.
- π± Move important data from the main space and complete the reset (Factory Reset).
Avoid dubious programs and services that promise to βhack second spaceβ β they often contain malware or do not work.
- β Try to find a password through multiple input β after 5 unsuccessful attempts, Xiaomi blocks the ability to enter for 24 hours.
- β Use βcloud unlock servicesβ β they require data transfer Mi Account, which is not secure.
- β Self-edit system files (for example, /data/system/second_space.xml) knowledgelessly ADB β This can lead to a brick (breakdown) of the device.
π‘
If the second space contained critical data (such as work files or passwords) and unlocking is not possible, contact the service center with a check of purchase. Xiaomi can provide access through official channels, but only when you confirm ownership of the device.