How to completely reset the second space on Xiaomi: 3 working methods

The second space on Xiaomi is a convenient feature for separating personal and work data, but sometimes it becomes unnecessary. Users face problems: the system slows down, takes up excess memory, or just want to return the phone to the single interface. However, standard deletion through settings does not always work - space can remain in the system like a ghost, taking up space and causing errors.

In this article, we will discuss all the current ways to completely reset the second space on Xiaomi, Redmi and POCO smartphones (including models from 2023-2026 on MIUI 14/15). Particular attention will be paid to hidden space files that remain after surface deletion and can interfere with the operation of the phone.

What is the second space on Xiaomi and why is it difficult to remove it?

Second Space is an isolated environment in MIUI that creates a separate desktop, applications and settings, essentially a sandbox with its own:

  • πŸ“± Application data (cache, accounts, files)
  • πŸ”‘ System settings (wallpaper, sounds, brightness)
  • πŸ“‚ File structure (internal memory is divided into two sections)

The problem is that when you delete through the Settings menu β†’ Second space β†’ Delete often stays:

  • πŸ—‘οΈ Residual files in the folder /data/secondspace (before 1–3 GB of garbage)
  • πŸ”„ The processes that continue to work in the background
  • πŸ”’ Link to Mi Account if the space was created with authorization

For example, on Xiaomi 13 Pro after surface removal users complain about:

  • Freeze when switching between spaces (even if the second one is no longer there)
  • The β€œspace damaged” error when trying to create a new one
  • 5-10% of memory loss for no apparent reason
πŸ“Š Have you ever used a second space on Xiaomi?
Yeah, regularly.
I tried it, but I deleted it.
Never tried.
I don't know what it is.

Method 1: Remove from standard settings (for MIUI 14/15)

If the second space is not password protected and not damaged, try the standard method:

  1. Open the Settings. β†’ Second space.
  2. Select Remove the Second Space.
  3. Confirm the action by entering the screen unlock password.
  4. Wait until the process is completed (it can take up to 5 minutes).

⚠️ Note: If you are in the Settings menu β†’ The memory is still visible to the occupied memory of the Second Space, which means the files have not been deleted completely.

Turn off sync with Mi Cloud| Backup important data | Battery charge at least 50% | Close all applications

-->

On some models (e.g. POCO F5 or Redmi Note 12), a notification may appear after deletion: β€œData Cleanup...” with an endless progress bar. This is a MIUI 15 bug – only a hard reset will help (see Method 3).

Method 2: Delete via Mi Account (if the space is secure)

If you try to delete the second space, the system requires a password from Mi Account or if you make an error "You do not have permission to delete", then the space is tied to the account.

  1. Go to the Mi Account website and log in.
  2. In Devices β†’ [Your Smartphone] β†’ Second Space, find the Delete option.
  3. Confirm the action via SMS or email.
  4. Restart the phone and the space will be deactivated.

⚠️ Note: If you forget your Mi Account password or your phone was purchased by hand, you can’t restore access to the space without resetting to factory settings.

Xiaomi modelSupports deletion through Mi AccountIs a screen password required?
Xiaomi 14/13 seriesYes.Yes.
Redmi Note 12/11Yes.No (only Mi Account)
POCO X5/F5Yes.Yes.
Xiaomi 12T/11TNo (only through settings)Yes.

If the space is still displayed in the settings after deleting via Mi Account, try:

  • πŸ”„ Restart the phone to Safe Mode (click the power button) β†’ Restarting in Safe Mode).
  • 🧹 Clear the system cache: Settings β†’ Annexes β†’ Application management β†’ Three points. β†’ Clear the cache of all applications.

Method 3: Complete Recovery Reset (for complex cases)

If the first two methods fail, you'll have to reset hard through Recovery Mode, which will delete all the data on the phone, including both spaces, so first:

  • πŸ“€ Backup on PC or in Mi Cloud.
  • πŸ”‹ Battery charge of at least 70%.
  • πŸ” Make sure you know the username/password from Mi Account (required after resetting).

Instructions for discharge:

  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 (use volume buttons for navigation, power for confirmation).
  4. Confirm the action by entering the yes code (if required).
  5. After reset, select Reboot β†’ Reboot to System.

⚠️ Note: Some models (e.g. Xiaomi) 12S Ultra) may need to unlock the bootloader via the Mi Unlock Tool after reset. If the phone fails to turn on or gives an error "This device is locked", follow the unlock instructions.

What if the phone asks for an old password after reset?
If you reset your phone via Recovery, but after turning on the system requires a password from the second space, this means that: 1. Find Device (device search) was activated on the phone. 2. You need to enter the password from Mi Account that was associated with the device. 3. If the password is unknown, restore it through the Mi Account site or contact Xiaomi with proof of ownership of the device (check, box).

After a hard reset, the second space will be removed without recovery. If you need to save data from the main space, use the Mi PC Suite to back up before reset.

How to check if the second space is completely removed

Even after successful deletion, residual files can take up space to make sure that the space is completely reset:

  1. Check Settings β†’ Memory – Section Two Spaces Should Be Absent
  2. Open the File Manager β†’ Internal memory and make sure that the secondspace folders or miui_secondspace absent.
  3. Run ADB and execute the command: adb shell ls /data/ | grep secondspace If the command does not return results, the space is removed.

If the folders are left but the space is not displayed in the settings, manually delete them via ADB:

adb shell


su




rm -rf /data/secondspace




rm -rf /data/miui_secondspace




reboot

⚠️ Note: Removing folders through ADB If you don't have any, use the Mi Unlock Tool to unlock the bootloader and then run your phone through Fastboot.

Frequent mistakes and their solutions

When you remove the second space, you have a typical problem, and we're going to look at the most common ones.

Mistake.Reason.Decision
"Failure to remove space"File system damage or busy processesReboot your phone and try again. If it doesn't work, reset it through Recovery.
"Mi Account password required"Space is tied to the accountDelete via Mi Account or reset your phone
Space is gone, but memory is not freed.Residual files in /dataClear the cache or delete folders through ADB
After reset, the phone asks for a password from the second spaceThe Find Device function is activatedEnter the password from Mi Account or restore it

If neither method worked, it could be the firmware problem, and some models (e.g., Xiaomi Mi 11 with MIUI 13) have a bug where the second space gets stuck in the system.

  • πŸ”„ Update your firmware to the latest version through Settings β†’ Update of the PO.
  • πŸ“₯ Fastboot phone with the Mi Flash Tool.

πŸ’‘

If the phone starts to brake after removing the second space, clear the Dalvik cache via Recovery: select Wipe & Reset β†’ Wipe Dalvik Cache. This will speed up the system without losing data.

Alternatives to the second space on Xiaomi

If you deleted the second space but still need to separate the data, consider the alternatives:

  • πŸ” Guest mode: Settings β†’ System and device β†’ Additionally. β†’ Guest mode: Allows you to create a temporary profile without splitting memory.
  • πŸ“± Parallel Apps (dual applications): Cloning messengers and social networks through Settings β†’ Annexes β†’ Dual annexes.
  • πŸ”’ Shelter (open source app): Creates an isolated profile based on Google's Work Profile.
  • πŸ–₯️ Virtual Machine: Applications like VMOS UserLand emulates a second Android within the main system.

The advantage of alternatives is that they:

  • They don’t share the physical memory of the phone.
  • They don't need to be tied to a Mi Account.
  • They can be easily removed without a trace.

For example, Shelter is suitable for separating work and personal accounts on Telegram or WhatsApp, and VMOS will allow you to run games or test applications in an isolated environment.

FAQ: Answers to Frequent Questions

Can I recover data from the second space after deletion?
Not if the space was deleted via Recovery or Mi Account. With standard deletion through settings, there is a chance of recovery, but only with specialized programs like Dr.Fone or EaseUS MobiSaver (root required).
Why did the second space get the phone discharged faster?
This is a temporary effect associated with: Re-indexing the file system, background cache cleanup processes, Mistakes in MIUI Battery Optimizer (reboot your phone or reset your battery settings). If the problem persists for more than 2 days, check Settings β†’ Battery β†’ Battery Use for abnormally active processes.
Can you create a second space on Xiaomi without a Mi Account?
Yes, but with limitations: On MIUI 14/15, when you create space, the system will suggest linking it to your account, but that's not necessary. If you don't link it to your Mi Account, the space will be local and will be removed when you reset your phone. On some models (e.g., POCO X3 Pro), you can create a space without an account through Settings β†’ Special Options β†’ Second Space.
How to transfer data from the second space to the main one?
Transfer methods: Through File Manager: copy files from /secondspace/ Mi Cloud: sync the second space to the cloud, then log into the main space and download it. ADB: adb pull /data/secondspace/DCIM/. (substitute DCIM file-fill). ⚠️ Applications cannot be transferred - they must be reinstalled manually.
Will the second space work after the MIUI update?
Depends on the type of update: πŸ”„ Update by air (OTA): The space is retained but may require re-authorization. πŸ“₯ Fastboot Firmware: Space will be removed (unless you use the option) clean_all_except_storage). πŸ”§ Manual firmware via Recovery: space will remain, but errors are possible (recommended to pre-remove it).Before updating, back up the second space via Settings β†’ Second space β†’ Backup.