Xiaomi Mi 9 is one of the most popular flagships of the brand, but its dual app feature is often confusing for users, many activate it accidentally or on advice, not realizing that it leads to duplicate applications, increased battery consumption and taking up extra memory. If you are faced with the need to disable the second space, this guide will help to do this without losing data, taking into account all the nuances of the MIUI firmware.
Unlike standard account deletion, deactivation of second space requires a special approach: MIUI blocks direct reset through the security menu if the space is active. We will look at three working methods - from the simplest (through settings) to radical (through MIUI Recovery), and also analyze why the space can be turned on spontaneously after updates and how to prevent this.
Important: the procedure is different from reset to factory settings! Mistakes can lead to loss of data in the main space. If you use the Mi 9 with custom firmware (like the Pixel Experience), some methods may not work - we will mention this too.
What is the second space on Xiaomi and why to turn it off
The second space (or Dual Apps) feature in MIUI was designed to separate personal and work data, essentially a separate user profile with its own:
- π± Installed applications (duplicated from the main space)
- π Files and media (photos, videos, documents)
- π Accounts (Google, Mi Account, social networks)
- βοΈ System settings (wallpaper, sounds, notifications)
On the Xiaomi Mi 9, the second space takes up up to 5-8 GB of memory (depending on the number of duplicate applications) and can increase battery consumption by 10-15% due to background activity.
- π Accidental activation (for example, when setting up a child mode)
- π Lack of memory on the device (especially relevant for the version of Mi 9 64 GB)
- π Fast battery discharge
- π« Banking applications conflicts (some appendices block the second space)
The difference from guest mode is that the second space is a full clone of the system, and the guest mode is a temporary profile with limited rights. On the Mi 9, guest mode is easier to turn off, and the second space requires special actions.
β οΈ Note: If you used the second space for banking applications or two-factor authentication, transfer all critical data (logins, passwords, backup codes) to the main space before you turn off!
Method 1: Disconnect via MIUI settings (the safest way)
This method is suitable if:
- β You have an official firmware installed. MIUI (global)
- β The second space is not locked with a password.
- β Remember the password from the main space
Instructions:
- Open Settings β Accounts and Sync β Second Space
- Click on Remove Second Space (or Disable in Older MIUI versions).
- Enter the password from the main space (not the second!).
- Confirm the action. The system will suggest saving the data before deleting β select the desired option: πΎ Save β the data of the second space will be archived in a folder MIUI/backup/second_space ποΈ Delete β all data will be erased irrevocably
If the Remove the second space button is inactive, it means:
- π Space is locked with a password (see Method 2)
- π The device is in child control mode (you need to turn off the Settings). β Special opportunities)
- π± Installed custom firmware (try Method 3)
Backup of the second space data|Remember passwords from the main and second space|Check the free space on the device (needs at least 1 GB)|Turn off child mode (if enabled)-->
Method 2: Remove by MIUI Recovery (if the space is blocked)
If the second space is password protected, which you forgot, or the delete button in the settings is inactive, you will have to use the Recovery mode (MIUI Recovery), this method will work only on official firmware!
Preconditions:
- π Battery charge of at least 30%
- π± Factory reset via Mi Account is disabled (if your Xiaomi account is tied)
- π You know the password from the main space (required to unlock after the reboot)
Step-by-step:
- Turn off the Xiaomi Mi 9.
- Press the Power + Volume buttons up at the same time until the Mi logo appears (about 10 seconds).
- From the MIUI Recovery menu, select the language (if available) and go to Wipe Data β Wipe Second Space.
- Confirm the action with the swipe or the Yes button.
- After cleaning, select Reboot β Reboot to System.
If the Recovery menu does not include Wipe Second Space, it means:
- π You have custom recapavere (for example, TWRP) β Use Method 3.
- π The firmware is very outdated (update to the MIUI 12+ through settings β Updating the system).
β οΈ Note: After removing the second space through Recovery, the device may request the Mi Account password when you first download. If you don't remember the password, don't reset - this will lock the phone.
Yes, regularly |Tryed, but didn't come in handy |No, I don't know what it is |Turned off immediately after purchase-->
Method 3: Radical removal via ADB (for power users)
This method is suitable if:
- β You have unlocked the bootloader (Bootloader Unlocked)
- β Drivers installed ADB PC-only
- β There's access to the debugging bridge (USB Debugging)
Warning: Incorrect ADB commands can result in data loss or soft-brick. Use this method only if the first two fail.
Instructions:
- Activate Developer Mode: Go to Settings β About Phone β MIUI version and tap 7 times on this item.
- Enable USB debugging in Settings β Additional β For developers.
- Connect the Mi 9 to your PC and confirm your trust in your phone.
- Open the command prompt (CMD) on your PC and type: adb shell pm list users In the output, find the line with UserInfo{1:Second Space:13} (number 1 is the ID of the second space).
- Remove the space with the command: adb shell pm remove-user 1 Replace 1 with the current ID from the previous step.
- Reboot the device: adb reboot
If the second space is still active after the reboot, execute an additional command:
adb shell am broadcast -a android.intent.action.MASTER_CLEARThis will result in a complete reset, but it will save the main space data.
What if the ADB canβt see the device?
Frequent mistakes and their solutions
When you turn off the second space on the Xiaomi Mi 9, users face typical problems, and we have collected the most common ways to eliminate them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The "Delete Second Space" button is inactive. | Space locked with password or child mode enabled | Use Method 2 (Recovery) or reset your password through your Mi Account. |
| After removal, the space reappears again. | Automatic recovery from MIUI backup | Delete the folder. MIUI/backup/second_space via file manager |
| Phone requires password from Mi Account after reset | Find Device Protection Activated | Enter a linked account or contact Xiaomi with a check for a purchase |
| ADB issues an error not allowed | Unlocked bootloader or debugging disabled | Unlock Bootloader with Mi Unlock Tool and repeat the steps |
| Recovery does not have Wipe Second Space | Installed custom recavery or old firmware | Update MIUI to the latest version or use Method 3 |
If none of the methods worked, check:
- π Version MIUI: firmware MIUI 10 The second space function works differently.
- π§ System File Integrity: If the phone was previously optimized through Titanium Backup or Lucky Patcher, critical components could be removed.
π‘
If the phone is slower after removing the second space, clear the system cache: go to Settings β Memory β Cleanup and select Deep Cleanup. This will delete temporary files that may have been left from the second space.
How to prevent automatic switching on of second space
Many Xiaomi Mi 9 users complain that the second space turns on on itself after updating or resetting.
- π Automatic synchronization with Mi Cloud (if previously activated function)
- π± Firmware errors (especially relevant for the MIUI 11β12)
- π A child-friendly system that can create a temporary space
To avoid recurrence:
- Turn off the second space sync: Go to Settings β Accounts and Sync β Mi Cloud β Sync and disable the Second Space item.
- Delete backups: In the file manager, find the MIUI/backup folder and delete its contents.
- Update your firmware: In manual MIUI builds (e.g. xiaomi.eu), automatic-on bugs are fixed. Install the latest version via Settings β System Update.
If you use the Mi 9 with custom firmware (like LineageOS or HavocOS), the second space function may work differently or not at all.
- π οΈ Check the settings in Settings β System β Multiple users.
- π Remove the space through TWRP, select Advanced Wipe β Second Space Data.
π‘
If you are selling or transferring the Xiaomi Mi 9 to another user, be sure to delete the second space and complete a full reset via Settings β Additional β Restore and Reset. This will protect your data from recovery.