How to completely remove Second Space on Xiaomi without password and login: working methods 2026

Second Space on Xiaomi, Redmi and POCO smartphones allows you to create an isolated work environment with separate applications, files and settings. Useful for separating personal and work data, but what if you forget the password from the second space or lose access to your associated Mi Account? Official ways require authorization, but there are workarounds.

In this article, we will discuss 3 proven methods of removing Second Space without password and login, including working through Recovery Mode, ADB commands and hidden engineering menus. Importantly, some methods require unlocking the bootloader or superuser rights (root), which can affect the warranty, we will specify the risks and alternatives for each option.

If you are not sure of your technical skills, we recommend that you try the methods without losing data first (Sections 2 and 3).The complete reset method (Section 4) should be used only as a last resort - it will remove all the contents of the device, including the main space.

1.What is Second Space and why it can't be removed in the standard way

Second Space is a MIUI-based virtual environment that creates a second user profile with a unique set of applications, files and settings. The feature is available on most Xiaomi devices starting with MIUI 8 and up, including the Redmi Note 10 Pro, POCO X3 Pro, Mi 11 and others.

The problem arises when the user:

  • πŸ” Forgets the password from the second space (different from the password of the main profile).
  • πŸ“± Loses access to the Mi Account linked to Second Space.
  • πŸ”„ Trying to remove space through settings, but the system requires authorization.

The standard deletion path (Settings β†’ Second Space β†’ Delete Space) asks for password or Mi Account data. Without it, the system blocks the action, citing Xiaomi's security policy. This is done to protect data, but creates problems if access is lost.

Unlike the main profile, where you can reset your password through Mi Account or Find Device, Second Space doesn't have a separate recovery mechanism. Its protection is tied to your device account, and without access to it, there are limited workarounds.

πŸ“Š Have you ever used Second Space on Xiaomi?
Yeah, regularly.
I tried it, but it didn't come in handy.
No, I don't know what it is.
I remember.

2. Method 1: Recovery Mode Deletion (without data loss)

This is a way to disable Second Space through the Recovery service menu without affecting the main space. Importantly, on some MIUI firmware (especially new ones), this method may not work due to changes in the structure of system files.

Step-by-step:

  1. Turn off your smartphone.
  2. Press the button combination to enter Recovery: πŸ“± For most models: Volume up + Nutrition. πŸ”§ For POCO F3/F4: Loudness down + Food (hold on) 10 seconds).

Recovery

Advanced β†’ File Manager

/data/system/users/

userlist.xml

second_space

Save the changes, restart the device.

If Second Space disappeared after the reboot, but there were errors in the application, reset the cache via Recovery β†’ Wipe β†’ Wipe Cache.

Download TWRP (if standard Recovery does not support File Manager)

Backup of important data

Check the battery (minimum 50%)

Connect the device to charging (during the procedure)

-->

What if File Manager is not available in Recovery?
If your Recovery does not support the built-in file manager (e.g. on new Xiaomi models) 13/14), You will need to install a custom Recovery type TWRP. This requires unlocking the bootloader and can lead to data loss.The alternative is to use the method. ADB (section 3).

Method 2: Disable Second Space via ADB (for Advanced)

The Android Debug Bridge (ADB) tool allows you to manage system settings via the command line, which requires USB debugging mode and computer access to be enabled, but does not need root rights. Warning: incorrect commands can disrupt the system.

Instructions:

  1. Activate Developer Mode: Go to Settings β†’ About Phone β†’ MIUI Version. Click 7 times on the MIUI Version line until the notification appears.

USB debugging

Settings β†’ Additional β†’ For Developers

Connect the smartphone to the PC, confirm the debugging permission.

adb shell


pm uninstall -k --user 0 com.miui.secondspace

Reset the device.

If the team doesn’t work, try an alternative:

adb shell


settings put global second_space_enabled 0

Possible errors and solutions:

  • 🚫 device unauthorized β†’ Check the debugging resolution on your phone.
  • πŸ”Œ no devices/emulators found β†’ Install Xiaomi drivers USB Drivers.
  • πŸ”’ operation not permitted β†’ Requires root or unlock the bootloader.

πŸ’‘

If ADB does not recognize the device, try switching USB connection mode to File Transfer (MTP) in the notification curtain.

Method 3: Complete resetting of settings (extreme case)

If the previous methods didn't work, the radical option is hard reset, which will delete all data from the device, including the main and second space, applications, photos and settings, and use this method only if:

  • πŸ”„ You have a backup of important data.
  • πŸ“± The device is not tied to an important Mi Account (risk of locking after reset).
  • πŸ”§ You are ready to re-set your smartphone.

How to perform the reset:

  1. Turn off the phone.
  2. Press Volume Up + Power to Enter Recovery.
  3. Select Wipe Data β†’ Wipe All Data (on some Factory Reset models).
  4. Confirm the action and wait for the completion.
  5. Reset the device.

What happens after the reset:

Data dataKeeping?Notes
Second Space❌ Removed.Along with the main space
Photos/video❌ RemovedIf you are not in sync with the cloud
Annexes❌ RemovedIncluding settings and data
Mi Accountβœ… It's still there.But you will need to re-enter the login

πŸ’‘

Resetting through Recovery removes Second Space is guaranteed, but it's the most destructive method. Use it only if other options are exhausted.

πŸ’‘

Remove before resetting SIM-Card and memory card (if any) – this will speed up the process and reduce the risk of file damage.

5. Risks and Consequences of Removing Second Space

Removing the second space by unconventional methods can lead to unexpected problems, and these are the most common risks and ways to minimize them:

Possible problems:

  • πŸ”„ Cyclical reboot – if system files are damaged, the device may freeze on the logo MIUI. Solution: Reflash the phone via Fastboot.
  • πŸ“΅ Loss of loss IMEI β€” on some models (Redmi) 9A, POCO M3) after discharge may be reset IMEI. You can restore it through the engineering menu (#4636##).
  • πŸ”’ Locking Mi Account – if the device was tied to the account, after reset, you may need to enter a login / password".

How to avoid problems:

  • πŸ“± Before any manipulations, make a backup through Settings β†’ System system β†’ Backup.
  • πŸ”§ Use the official Mi Flash Tool for firmware if you need to restore.
  • πŸ” Make sure you remember your Mi Account details or you risk losing access to your phone.
What if the contact is lost after Second Space is removed?
Contacts from the second space are stored separately, and if you haven't synced them to your Google Account or Mi Cloud, you can't recover them. Check the folder /data/data/com.android.providers.contacts/databases/ through the root explorer, sometimes there are traces of deleted data.

6 Second Space Alternatives: What to Use Instead

If you have removed Second Space due to inconvenience or access issues, consider alternative solutions to separate work and personal data:

Built-in MIUI functions:

  • πŸ” Private mode (Settings) β†’ Privacy β†’ Private mode – hides selected applications behind a password.

Third-party annexes:

AnnexFunctionsCons
Island (by Oasis Feng)Creates a sandbox for applicationsRequires root or work profile
ShelterIsolates applications in a separate profileLimited functionality without root
Parallel SpaceCloning apps (like Second Space)Shows advertising, high battery consumption

If you want a system-level insulation (like Second Space) but no lockdown risks, consider buying a device that supports dual apps (like Samsung Knox or Huawei App Twin).

7. Frequent mistakes and how to avoid them

When you try to remove Second Space, users often encounter common mistakes, and let's look at the most common ways to solve them:

Error 1: β€œNot able to remove space – password required”

πŸ”Ή Reason: The system blocks deletion without authorization, even if you're logged in to the main space.

πŸ”Ή Decision:

  • Try the ADB method (Section 3).
  • If the device is unlocked, use TWRP to manually delete Second Space files (/data/system/users/userlist.xml).

Error 2: After Second Space is deleted, the phone will not turn on

πŸ”Ή Cause: Damage to system files when editing via Recovery or ADB.

πŸ”Ή Decision:

  • Fastboot your device using the Mi Flash Tool.
  • Use stock firmware for your model (you can download it on the official Xiaomi website).

Error 3: No File Manager option in Recovery

πŸ”Ή Reason: Standard Recovery on new Xiaomi models (MIUI 13/14) functionally limited.

πŸ”Ή Decision:

  • Install custom Recovery (TWRP or OrangeFox)
  • Use ADB to remove Second Space (Section 3).

πŸ’‘

If you are not sure of your actions, it is better to contact the Xiaomi service center. Incorrect manipulation of system files can lead to a complete loss of the device’s performance.

FAQ: Answers to Frequent Questions

Can I recover data from Second Space after it is deleted?
Not if the space was deleted through resetting or editing system files. Second Space data is stored in an isolated part of memory and is not synchronized with the main space or the cloud. Except if you manually copied files (photos, documents) to public folders (/storage/emulated/0/). If Second Space is simply hidden (for example, after the ADB command), but not physically deleted, you can try to restore access through the engineering menu (#4636#), but this requires technical skills.
Will this method work on the POCO F5 with MIUI 14?
On POCO F5 (and other devices with MIUI 14), Recovery and ADB may not work because of the tightened security policy. Recommended: Try ADB root (if the bootloader is unlocked). Use TWRP to manually delete Second Space files. At the very least, a full reset (section 4). On new firmware, Xiaomi actively blocks workarounds, so the chances of success are lower than on older versions of MIUI.
Can I remove Second Space without a computer?
Yes, but the choice of methods is limited: πŸ“± Recovery Reset (Section 4) – does not require a PC, but deletes all data. πŸ”§ Engineering menu: dial ##3646633##, go to MIUI Version Info β†’ Second Space, and try to disable the function. It doesn't work on all models. ADB or editing system files require a connection to a computer.
Why did Second Space lose access to some applications after it was removed?
This is because some of the applications were only installed in the second space: πŸ“± System applications (e.g. Camera, Gallery) will be automatically restored. πŸ“΅ Third-party applications (such as Telegram, WhatsApp) will have to be installed again. πŸ”„ Application data (chats, saves) will be lost if there was no backup.Solution: reinstall the missing apps from Google Play or backup.
How to check if Second Space is completely removed?
To make sure the second space is removed without a residue: Check the Settings menu β†’ Second Space β€” the option should disappear. Open File Manager and make sure that the /data/data/com.miui.secondspace/ folder is missing (requires root to view). Run the command in ADB: adb shell pm list packages | grep secondspace If the answer is empty, the space is removed.

πŸ’‘

If you plan to sell or transfer the device to another person, be sure to remove Second Space and reset to factory settings. The new owner will not be able to use the phone if there is still locked space on it.