How to Remove Second Space on Xiaomi: A Complete Guide to Pictures and Commands

Double space on Xiaomi devices is a feature that creates an isolated copy of the system with separate applications, settings and data, most often used to separate work and personal profiles or test programs without risk to the main system. However, many users are faced with a situation where the second space appears unexpectedly - after updating the firmware, resetting settings or experimenting with the new system. ADB. In some cases, it even blocks access to the main desktop, showing an empty copy without apps.

If you find yourself in this situation, don't panic, you can remove unnecessary space in a number of ways: through standard settings, using the help of the user's own personal data. ADB-The main thing is to correctly determine the type of space (guest, work, cloned) and choose the appropriate method. MIUI and teams for experienced users.

⚠️ Important: Some methods require unlocking the bootloader or the rights of the superuser.If you are not sure about your actions, it is better to contact the Xiaomi service center.

1 What is the second space on Xiaomi and why does it appear

The second space function was first introduced in the MIUI 8 is analogous to the "Guest" mode on Android, which allows you to create a completely isolated copy of the system with the help of the user:

  • πŸ“± Individual applications (you can install duplicates of messengers, games, etc.)
  • πŸ”‘ Different accounts (e.g. two Google profiles or Mi Accounts)
  • πŸ“ Isolated storage (photos, files and settings do not overlap)
  • πŸ”’ Ability to block access with a password or fingerprint

However, sometimes the space is activated independently after updating the firmware to MIUI 12-14, especially on Mi TVs TV Or the Redmi Note series of smartphones:

  • πŸ”„ Update failure – the system backs up as a second space.
  • πŸ€– Experiments with ADB β€” Incorrect commands can duplicate the desktop.
  • πŸ› οΈ Resetting to factory settings via Fastboot sometimes leaves "junk" spaces.
  • πŸ“¦ Install custom firmware (for example, Xiaomi.eu or PixelExperience).

How do you know if you have a second space activated?

  • πŸ”„ Two desktops with a swipe down/up.
  • πŸ“± Lack of apps – as if a smartphone after a reset.
  • πŸ”’ Requesting a password when switching between spaces.
  • βš™οΈ Settings β†’ Special facilities β†’ Second space (if the item is active).
πŸ“Š Have you ever spontaneously appeared second space on Xiaomi?
Yes, after the update.
Yeah, after the reset.
No, never.
I don't know what it is.

2. How to remove the second space through settings MIUI

If you MIUI 12-14 on a smartphone or PatchWall on a Xiaomi TV, try the standard way:

  1. Open the Settings. β†’ Special facilities.
  2. Find the Second Space section (on some models, Double Machine or Private Space).
  3. Slip on Remove Space (or Exit) β†’ Delete).
  4. Confirm the action by entering the password (if it was set).

⚠️ Attention: On Mi TVs TV (Like Mi. TV 4S/5X) The path may be different: Settings β†’ Accounts and security β†’ Private space.

If the item is not deleted or is inactive:

  • πŸ”„ Try switching to the main space (swipe down on the lock screen or through the notification bar).
  • πŸ”’ Make sure you are logged in to Mi Account – without an account binding, some features are blocked.
  • πŸ“± On smartphones. POCO Black Shark may need to enable Developer Mode (7 taps per version) MIUI phone).

β˜‘οΈ Preparation for removal of the second space

Done: 0 / 4

3. Removal through ADB: step-by-step instructions for experienced users

If the standard settings do not help, you will have to use ADB (Android Debug Bridge. This method is suitable for:

  • πŸ“Ί Xiaomi TVs (where there is no graphical interface to remove).
  • πŸ“± Smartphones with custom firmware or locked settings.
  • πŸ”§ Devices after a failed update when the system "hangs" in the second space.

You'll need:

  • πŸ’» Computer with Windows/Linux/macOS.
  • πŸ”Œ Cable USB (for smartphones or access to ADB over Wi-Fi (for TVs).
  • πŸ› οΈ Established ADB Tools.
  • βš™οΈ Included Developer Mode and Debugging by USB.

Steps to remove:

  1. Connect the device to your PC and open the terminal (cmd or PowerShell).
  2. Check the connection command: Adb devices should appear the name of your device.
  3. Run the command to delete the second space: adb shell pm uninstall -k --user 0 com.miui.secondspace
  4. If the command fails, try the alternative: adb shell am start. -n com.miui.secondspace/.SecondSpaceDeleteActivity
  5. Reboot the device: adb reboot

⚠️ Note: On Xiaomi TVs (Mi) TV 4/5) You may need another team:

adb shell pm clear com.droidlogic.secondspace

If after the reset the space remains:

  • πŸ”„ Repeat commands by getting root access (on some firmware).
  • πŸ“± On smartphones, try resetting your settings via Fastboot (see Section 5).
What if the ADB can’t see the device?
1. Make sure drivers are installed (for Windows, download Mi). PC Suite). 2. Try another one. USB-Cable (original from Xiaomi). 3. On the TV, turn on ADB In the Developer Settings: Settings β†’ On TV. β†’ Android Version (Tap 7 Times), Then Debug USB. 4.Reboot the PC and device.

4. Resetting to factory settings: a radical method

If neither of these methods works, you'll have to reset completely, and that will delete all the data, including both spaces, so:

  • πŸ“ Backup important files (photos, contacts, messages).
  • πŸ”‘ Remember the username and password from Mi Account – after reset, authorization will be required.
  • πŸ”Œ Charge the device at least 70% (for smartphones).

Instructions for smartphones:

  1. Turn off the phone.
  2. Press the Power button + Volume up until the Mi logo appears.
  3. From the Recovery menu, select Wipe Data β†’ Wipe All Data.
  4. Confirm the action and wait for the completion.

For Xiaomi TVs:

  1. Press the power button. + Loudness down on the remote (or TV box) for 10 seconds.
  2. In the Fastboot menu, select Recovery β†’ Wipe Data.
  3. After resetting, set up the TV as a new device.

⚠️ Note: On some models (Redmi Note 10 Pro, POCO X3) After the reset, there may be a ghost of the second space:

  • πŸ”§ Use the Mi Flash Tool for clean firmware installation.
  • πŸ“₯ Download the official firmware for your model from the Xiaomi Firmware website.

πŸ’‘

Before reset, check if your Mi Account is tied to the device. After Wipe Data, you may need to enter a login / password, and when you lock your account (for example, due to a forgotten password), the phone will turn into a β€œbrick”.

5. Features of removal on Xiaomi TVs (Mi) TV, Mi Box)

On Xiaomi TVs and set-top boxes, the second space often appears after upgrading to PatchWall 3.0.+. Removing it is more difficult due to the limited interface, but there are several working methods:

Model of the deviceDeleting methodNotes
Mi TV 4S/5XADB-Command: Adb shell pm uninstall --user 0 com.miui.tv.secondspaceRequires to activate debugging USB developer-setting.
Mi Box SReset via Recovery:Settings β†’ The device β†’ Resetting settingsAfter reset, the space will disappear, but all applications will be deleted.
Mi TV StickDisconnection through Settings β†’ Accounts. β†’ Private spaceIf there is no item, update the firmware to the latest version.
Mi TV A2 (2023)ADB + Manual file deletion:adb shell rm -rf /data/system/users/10Root rights are required. Risk of damaging the system.

For Google TVs TV (Like Mi. TV Q2):

  1. Go to Settings. β†’ Accounts and entrance.
  2. Select Remove Space (may be called Remove Profile).
  3. Confirm the action with a password from Google Account.

If the interface is in Chinese (firmware for the CN-region):

  • 🌐 Use Google Translate with Camera to Translate Menus.
  • πŸ” Look for characters (second space) or (delete).

πŸ’‘

On Xiaomi TVs, the second space is often disguised as "Children's Mode" or "Guest Profile." Before removing, check if you are using these features.

6 How to prevent the reappearance of a second space

To prevent the problem from returning after removal, follow these recommendations:

  • πŸ”„ Update the firmware only through official channels (Settings) β†’ Updating the system).
  • πŸ› οΈ Avoid unofficial firmware (for example, ported from other devices).
  • πŸ”§ Don't use it. ADB-System modification teams, if you don’t understand their actions.
  • πŸ“± Check the Special Opportunities section regularly for new space.

If you frequently test apps or need an isolated environment:

  • πŸ€– Use virtual machines (such as Genymotion or Android Studio Emulator).
  • πŸ“¦ Install a sandbox via Island or Shelter (applications to create isolated profiles).
  • πŸ”’ Set up guest mode in standard Android settings (Settings) β†’ System system β†’ Multiplayer mode).

⚠️ Attention: On devices with MIUI 14 and later, the function of the second space may be automatically enabled when:

  • πŸ”„ Connecting to corporate Wi-Fi networks (security policy).
  • πŸ“± Install parental control apps (e.g. Google Family Link).
  • πŸ”’ Activation of the Private Regime DNS network-setting.

7. Frequent errors and their solutions

Let’s look at the common problems that users face when removing the second space:

Mistake.Reason.Decision
adb: device unauthorizedThere is no confirmed access to debugging on the device.Connect the device to the PC and confirm the request to Allow debugging? on the screen.
No "Second Space" in the settingsThe function is hidden in regional firmware.Use it. ADB-Command or update firmware to the global version.
After the reset, the space remained.Incomplete data deletion in Recovery.Repeat the reset or flash the device through the Fastboot.
No such file or directory when deleted by ADBWrong path to the space files.Check the correct command or use adb shell ls /data/system/users file-find.

If after all the manipulations, the space remains:

  • πŸ”§ Check your device for viruses (for example, through Malwarebytes.
  • πŸ“‘ Update. MIUI up to the latest version - in new builds, bugs with duplicate desktop are often corrected.
  • πŸ› οΈ Contact Xiaomi Service Center – Perhaps the Problem Is Hardware Failure.
Can I delete the second space without resetting the data?
In most cases, this is possible through the Settings. β†’ Special facilities β†’ Second space β†’ Delete or ADB-However, on some devices (e.g., Mi). TV with damaged firmware) may require resetting.
Why did all the applications disappear after the space was removed?
You probably deleted the main space, not the duplicate, in which case only recovery from the backup or flashing will help. To avoid this situation, check before removing what space you are in (swipe down on the lock screen will show the current profile).
How to return data from the second space before it is deleted?
Copy the files you need into the main space: Open Files β†’ Second space. Select the folders (DCIM, Downloads, etc.) and click Copy. Switch to the main space and paste files. For applications, use Titanium Backup (root required) or export data through the programs themselves (e.g. WhatsApp). β†’ Settings β†’ chat β†’ Backup copy).
There's no "Second Space" on Xiaomi TV. What do you do?
On Mi. TV The function may be called another: Private mode (Mi). TV 4A). Children's profile (Mi) TV 5 Pro. Guest session (Mi) TV If the item is not at all, use it. ADB-Commands from Section 3 or reset via Recovery.
Can you create a second space after removal?
Yes, the function is available in settings. Pathway: Settings β†’ Special facilities β†’ Second space β†’ On TVs: Settings β†’ Accounts and security β†’ Private space β†’ Please note: on some models (POCO F3, Redmi K40) The function is disabled in regional firmware.