Second Space in MIUI 12: A Complete Guide to Setup

What is the second space in MIUI 12 and why is it necessary?

The second space feature in MIUI 12 firmware is a unique opportunity to create an isolated work environment on Xiaomi, Redmi, POCO and Black Shark smartphones. Essentially, it is a second independent user profile with its own apps, settings and data that works in parallel with the main one. This feature is especially useful for separating personal and work information, testing applications without risk to the main system or providing the phone to third parties without access to your data.

Unlike standard guest mode in Android, the second space in MIUI 12 offers complete isolation: you can install separate applications, customize unique wallpapers, even use a different Mi Account. Both spaces exist on the same device at the same time, and switching between them takes literally a couple of seconds. It is important to note that the feature is not available on all models – its support depends on the firmware version and hardware capabilities of the smartphone.

Technically, the second space is implemented at the MIUI core level and uses virtualization mechanisms similar to those used in enterprise solutions to separate work and personal data. It is not an emulator or a separate user in the classical sense of Android, it is a full-fledged sandbox with its own storage, cache and security settings.

What Xiaomi models support the second space in MIUI 12

Although MIUI 12 was released in 2020, the second space feature is not available on all devices.

  • πŸ“± Flagship models: Xiaomi Mi 10/10 Pro/10 Ultra, Mi 11 (with back ported firmware, Black Shark 3/4 β€” Supports the function out of the box".
  • πŸ”„ Mid-segment: Redmi Note 9 Pro/10 Pro, POCO F2 Pro, Xiaomi Mi 9T Pro - Requires updates to MIUI 12.5 or manual activation through ADB.
  • ⚠️ Budget devices: Redmi 9A/9C, POCO M3 β€” They do not support the function due to memory limitations (less than the 4 GB RAM).
  • πŸ”§ Castom firmware: On devices with Xiaomi.EU or LineageOS, the function may not work stable or at all.

To see if your device supports the second space, check for the Second Space in the Settings menu. β†’ If you don't have one, but your model is on the compatible list, try upgrading your firmware to the latest stable version. MIUI 12.5+.

πŸ“Š Your Xiaomi model supports the second space?
Yeah, it's out of the box.
Yeah, but I had to update the firmware.
No, although the model is on the compatible list.
No, and I don't plan to use it.
I don't know how to check.

Step-by-step: How to enable the second space in MIUI 12

The second space takes no more than 5 minutes to activate, but requires attention to detail.

  1. Open Settings and go to Special Features (on some models, the path may differ: Settings β†’ System and Device β†’ Additional).
  2. Find the second space and tap it. If there is no one, use an alternative method (described below).
  3. Click Create a second space and confirm the action with a password or fingerprint (if the biometrics are configured).
  4. Wait until the initialization process is complete (it can take up to 2 minutes) and the device will restart automatically.
  5. After the reboot, select the Second Space on the lock screen (an additional icon will appear at the bottom of the screen).

If the standard method doesn’t work, try activating it with ADB:

adb shell am start -n com.android.settings/.SecondSpaceSettings

This command forcibly opens the menu of the second space, even if it is hidden in the interface, and it will require an ADB connection to execute it.

Make sure that the device has enough free memory (minimum 2 GB)

Disable VPNs and proxy servers (they can block initialization)

Connect the device to charge (the process consumes a lot of power)

Backup important data (in case of failure)-->

Configuring the second space: what can be changed

Once you create the second space, you get a virtually clean MIUI with a minimum set of pre-installed applications.

CategoryWhat's availableLimitations
AnnexesInstall any APKs, including duplicates from the main space (e.g. two Telegrams)Some system applications (such as Mi Pay) may not work.
Accounts.Adding a separate Mi Account, Google Account, social mediaYou can’t use the same Mi Account in both spaces.
SecurityIndividual passwords, fingerprints, pattern lockBiometrics (face/fingerprint) may conflict with the main space
NetworkYour settings Wi-Fi, Bluetooth, mobile networkSIM-One card for both spaces (calls and calls) SMS come round)

Important: Files in the second space are stored in an encrypted partition /data/second_space It's not accessible from the main profile, even through root access, which ensures complete isolation of data, but makes it difficult to recover information when it fails.

For convenience, you can configure a quick switch between spaces:

  • πŸ”„ Through the lock screen (swipe up the profile icon)
  • πŸ“± Through the notification panel (add shortcut Switch space)
  • πŸ”‘ Double press the power button (configured in Settings) β†’ Buttons and gestures)

πŸ’‘

If the second space is slowing down, try turning off animation in the developer settings (Settings β†’ About Phone β†’ MIUI version – tap 7 times) this will speed up the switch between profiles.

Constraints and challenges of the second space in MIUI 12

Despite the obvious advantages, the second space function has a number of critical limitations that you should be aware of in advance.

⚠️ Note: When resetting the main space through Settings β†’ The second space will be automatically deleted without recovery, and all data in it (photos, messages, applications) will be lost forever.

  • 🚫 No notification sync: Notifications from the second space don’t show up in the main (and vice versa).
  • πŸ“΅ Call problems: Incoming calls are duplicated in both spaces, but outgoing calls can only come from the current active space.
  • πŸ”‹ Increased battery consumption: Two spaces consumed 15-20% More energy, especially if both are running background processes.
  • πŸ› οΈ Update errors: When updating MIUI through OTA The second space can "fly" - you need to reconfigure.

Another common problem is the conflict with Magisk and root rights, and if you use custom recovery (like TWRP), creating a second space can lead to a looped bootloom, in which case only a full reset via fastboot will help:

fastboot erase userdata


fastboot erase second_space

What if the second space is not created?
1. Check the space available – minimum is required. 2 GB on the system partition. 2. Turn it off. VPN Proxies (they block initialization). 3. Try changing the region in the settings to "India" or "China" - in some firmware, the function is hidden for European regions. 4. If nothing helps, reset through fastboot erase. second_space and try again.

Hidden chips of the second space: what does MIUI 12

Beyond the basic features, the second space in MIUI 12 hides a few undocumented features that few people know about:

  • πŸ” Hidden mode: You can hide the existence of the second space. β†’ Additionally. β†’ Hide the switch icon. Now you can activate it only through the switching icon. ADB Secret gesture (triple tap on the lock screen).
  • πŸ“± Application cloning: Some system applications (such as the Camera or Gallery) can be duplicated between spaces. APK from /data/app mainspace /data/second_space/app through ADB.
  • πŸ”„ Automatic Switching: Set up automatic space switching on a schedule (e.g., work from 9:00 to 18:00). This feature is hidden in Settings β†’ System system β†’ Schedule (activation required via Activity Launcher).
  • πŸ“‘ Separate MAC-Address: The second space may use another MAC-Wi-Fi address, which is useful for circumventing restrictions on public networks. activated by the command: adb shell settings put global second_space_mac_randomization 1

Another interesting possibility is to use the second space to test MIUI betas, install the beta firmware in the second space and leave the main one on the stable version, which allows you to test new features without risk to the main system, the main thing is not to update both spaces at the same time, otherwise there may be a conflict of versions.

πŸ’‘

The second space in MIUI 12 supports a separate Google Play account, allowing you to install apps that are not available in your primary profile region.

How to delete a second space without losing data

If the second space function is no longer needed, it can be removed, but with caution.

  1. Go to Settings β†’ Special Opportunities β†’ Second Space.
  2. Select Remove the second space and confirm the action.
  3. Wait for the process to be completed (the device will restart).

⚠️ Note: When you delete the second space through the standard menu, all the data in it (photos, messages, application settings) are deleted irrevocably. If you want to save information, first make a backup copy through the standard menu. ADB pull /data/second_space (Root rights are required).

Alternative method (for experienced users):

adb shell pm uninstall -k --user 11 com.miui.secondspace


adb shell rm -rf /data/second_space/*

These commands will clear the second space data, but won't delete it completely.

If after removing the second space, the device begins to slow down or issue errors, perform storage optimization:

  • 🧹 Clear the cache in Settings β†’ Warehouse β†’ Clear the cache.
  • πŸ”„ Restart the device in Safe Mode (press the power button) β†’ "Restarting in Safe Mode").
  • πŸ“± Check the integrity of system files through Mi PC Suite (requires a connection to your computer).

FAQ: Answers to Frequent Questions About the Second Space in MIUI 12

Can you use the same app in both spaces at the same time?
Technically, yes, but with reservations. You can install the same app (like WhatsApp) in both spaces, but: Notifications will only come to the space where the app is active. Data (chats, media) are not synchronized between spaces. Some applications (like banking) can block work in an β€œuntrusted” environment of the second space. For instant messengers, it is better to use cloning through Settings β†’ Applications β†’ Dual applications.
Why is the second space not visible on the lock screen?
This is a typical problem after the MIUI update. Solutions: Check if the switch icon is hidden in the second space settings. Reboot the device - sometimes the icon appears after the reboot. If nothing helps, activate the space via ADB: adb shell am start -a android.intent.action.MAIN -n com.android.settings/.SecondSpaceSwitchActivity
Can I transfer data from the second space to the main one?
There is no direct way, but there are workarounds: πŸ“ For files (photos, documents): copy them through ADB file manager with root access from /data/second_space/media/0/. πŸ“± For applications: back up through Titanium Backup (root required) and restore to the main space. ⚠️ Contact and SMS: export VCF-Contact the file in the second space, then import it mainly. Without root rights, data transfer is almost impossible due to partition isolation.
Does the second space work on custom firmware (Xiaomi.EU, LineageOS)?
On Xiaomi.EU, the feature usually works, but may require manual activation via the ADB. On LineageOS and others AOSP-Firmware is not supported second space - it is a proprietary function MIUI, If you have installed custom firmware and lost access to the second space, you can only return it by returning it to the official one. MIUI fastboot.
How to reset the password from the second space if you forget?
The only options: If you remember the main space password: delete the second space through settings and recreate. If you forgot both passwords: complete the device reset via fastboot erase userdata (data in both spaces will be lost). On some models (Mi 10, Mi 11), you can try reset via Mi Account, but this only works if the device is tied to the account and there is access to the Internet.