Removing the second space on Xiaomi smartphones often becomes a headache for users, especially if it stored important data or settings. Unlike the standard factory reset, restoring an alternate profile requires specific actions β from using hidden MIUI functions to working with ADB. In this article, we will analyze all the current ways to return lost space, including nuances for different models (Redmi Note 12, POCO X5, Mi 13, etc.) and firmware versions (from MIUI 13 to HyperOS).
The main problem is that Xiaomi does not provide a direct βcancel deletionβ function β after cleaning the second space, the system considers it non-existent. However, there are workarounds: from restore through a backup to manually creating a new space with data transfer. It is important to understand that success depends on two factors: the version of MIUI (starting with MIUI 12.5 algorithm has changed) and the type of deletion (ful formatting or simply disabling).
If you delete space by accident, don't panic. 80 percent of the time, you can get it back without losing data, but you have to act fast: the longer the smartphone lasts after deleting, the greater the risk of overwriting system files. Let's start with the simplest methods and gradually move on to advanced ones.
1. Checking hidden MIUI settings: recovery through the "Laboratory"
The first step is to find the remnants of the second space in the MIUI service menus, which even after deleting can store a label of its existence, allowing access to be restored without complex manipulations, and works on MIUI 12.5-14 and HyperOS firmware (for models 2023-2026).
Open the Settings app and follow the following sequence:
- Go to About the Phone. β Press 5 times on the version MIUI, activate the developer mode.
- Return to the main settings menu and open the Additional β Lab (or Special Features on HyperOS).
- Find the Second Space (may be called Multi-User or Private Space).
- If the item is active, click Restore or Activate. The system will prompt you to enter the password from the main account.
If the item is missing or inactive, try an alternative path:
- π Enter the Settings Search query: Second Recovery Space.
- π± In some models (POCO F5, Redmi K60) option hidden in Settings β Accounts. β Synchronization.
- π If nothing is found, restart your phone β sometimes the system restores access after a reboot.
β οΈ Note: HyperOS firmware (2026) may have different paths. If the Lab doesn't have a "Second Space" option, check the Privacy section. β Private regime.
2.Recovery through MIUI backup
If you have previously backed up a second space, it can be restored in minutes. Xiaomi automatically saves backups to the Mi Cloud cloud or locally on the device.
Instructions for remediation:
- Open Settings β About the phone β Backup.
- Select Local Copies or Mi Cloud (if you have a copy in the cloud).
- Find a file marked SecondSpace or MultiUser (usually 1-3 GB).
- Click Restore and Confirm Action. After the reboot, the space will appear in the user switch menu.
If there is no local copy, check the cloud.
- π Go to i.mi.com from PC.
- π In the Devices section β [Your phone] β Backups look for files with a date before deletion.
- β‘ If a copy is found, download it to your phone and restore it through Settings. β Additionally. β Recovery.
| Type of copy | Where to find | File size | Time to recover |
|---|---|---|---|
| Local. | /MIUI/backup/AllBackup | 1-5 GB | 5-15 minutes |
| Mi Cloud | i.mi.com β Backup copies | up to 10GB | 10.30 minutes |
| Google Drive | Contacts/Photos only (not suitable) | different | β |
β οΈ Note: Recovery from the Mi Cloud requires you to connect to the same Wi-Fi network as when you create a copy. If you change your Mi Account password, log in first.
π‘
If the backup is damaged, try to restore it via your PC: download the file with the.mbk extension, rename it.zip, and extract the data manually. The SecondSpace folder inside the archive contains user files.
3. Creating a new data transfer space
If previous methods didnβt work, you can create a new second space and manually transfer data from the backup to it, which is suitable if you have access to old space files (for example, via TWRP or ADB).
Step-by-step:
- Create a new space: Settings β Second space β Create.
- Set the same password as the old one (this will make it easier to transfer data).
- Connect your phone to your PC and use it ADB or a file manager with root rights (such as Mixplorer) to copy files from a folder: /data/system/users/[USER_ID] where [USER_ID] β identifier of old space (usually) 10 or 999).
- Move the data to a new folder of space (similar path, but with a different one) USER_ID).
For the portability of applications:
- π¦ Use Titanium Backup (requires root) or App Cloner to duplicate programs.
- π Restore the settings through ADB: adb restore backup.ab (where backup.ab is a backup created via adb backup).
- π If applications require a license, log in to them again (account data may not be transferred).
Create a new second space|Download backup copy on PC|Install ADB-driver|Get root access (optional)|Check the vacant space (minimum 5 GB)-->
4.Use of ADB-commands for forced recovery
For advanced users, there is a recovery method through ADB (Android Debug Bridge works even if the space is not displayed in the settings, but requires the developer mode and the user mode to be enabled. USB-debugging.
Algorithm of action:
- Connect your phone to your PC and open the command line in the folder with ADB.
- Check the connection: Adb devices (you should display your device).
- Follow the command to verify existing users: adb shell pm list users Look for a string with SecondSpace or 10/999 ID.
- If space is found, activate it: adb shell am switch-user [USER_ID] For example, adb shell am switch-user 10.
If the team doesnβt work, try an alternative:
- π§ Enter adb shell cmd user [USER_ID] enable and restart the phone.
- π If space is not activated, recreate it with the same USER_ID: adb shell pm create-user SecondSpace
- π‘ On some firmware (MIUI 14) Additional command: adb shell settings put global multi_user_enabled 1
β οΈ Attention: Teams ADB If the phone freezes after execution, perform adb reboot and try again.
What if the ADB canβt see the device?
5. Recovery via TWRP (for stitched devices)
If your Xiaomi has a custom TWRP recavator, the chances of recovering the second space are much higher, and this method is suitable for models with an unlocked bootloader (Redmi Note 10 Pro, POCO X3 Pro, etc.).
Instructions:
- Boot to TWRP (hold Power + Volume up when turned on).
- Go to Advanced β File Manager.
- Find the /data/system/users/ folder and check for a folder with the second space identifier (e.g. 10).
- If the folder exists, copy its contents to SD-card.
- Create a new space through standard settings and move the data back.
To restore system files:
- π οΈ Use it. TWRP To mount the data partition and edit the file /data/system/users/0.xml (where 0 β ID mainstay).
- π Add a line for the second space: <user id="10" name="SecondSpace" flags="10">
- π Save the changes and reboot.Space should appear in the switch menu.
| Action. | Team/path | Note |
|---|---|---|
| Verification of users | /data/system/users/ | Look for folders with ID > 0 |
| Backup | TWRP β Backup β Data | Save to the external drive |
| Editing by XML | /data/system/users/0.xml | It requires knowledge of syntax. |
β οΈ Note: Editing system files through TWRP This can cause the main user to lose data if you make a syntax error.Be sure to create a full backup of the data partition before making changes.
6.Speaking to Xiaomi: When Nothing Helps
If all of these methods fail, the last option is to contact official Xiaomi support, which is true if:
- π± Device for warranty (in this case, it is not recommended to use the ADB or TWRP).
- π§ The second space was removed after the firmware update (for example, with the MIUI 13 on HyperOS).
- πΎ In the space, critical data (bank applications, work files) were stored in the space).
How to make a request for support:
- Specify the phone model, the MIUI/HyperOS version and the date of the space removal.
- Attach screenshots from the Settings menu β About the phone and the lab.
- Describe which recovery methods you have tried (this will speed up the response).
- If you have a backup in Mi Cloud, please specify its ID (you can find it in Settings β Accounts β Mi Cloud β Backups).
Support contacts:
- π Official website: mi.com/support
- π§ Email: support@xiaomi.com (for international users).
- π Phone: +7 (495) 640-50-17 (for Russia, pn-pt 10:00β19:00).
π‘
Official support for Xiaomi can only restore the second space if it was tied to the Mi Account and backed up in the cloud. Without a backup, the chances are minimal - in this case, only manual restoration through ADB or TWRP will help.