Xiaomi Redmi Note 5 with Second Space allows you to separate personal and work data on a single device. However, over time, this option may become unnecessary β it takes up memory, slows down the system or simply interferes. Deleting the second space seems to be an easy task, but in practice users face errors, freezes or even data loss.
In this article, 5 working methods to remove the second space on the Redmi Note 5 (including the Redmi Note 5 Pro and Redmi Note models) 5A), And also, you know, you can look at the typical problems: why is space not deleted through settings, how to recover data after reset, and what to do if the system gives you an error called com.android.secondspace. MIUI 12β14.
What is the second space on Xiaomi and why remove it
Second Space is a virtual partition in a smartphoneβs memory that works as a separate user profile.
- π± Your applications (you can duplicate messengers, social networks, games)
- π Individual Google accounts, Mi Accounts, passwords
- π Isolated files (photos, documents, downloads)
- π¨ Unique interface settings (wallpaper, sounds, themes)
On the Redmi Note 5, the second space is implemented at the system level, so simply deleting the /data/secondspace folder through the file manager won't work - it will lead to crashes.
- β οΈ Occupied space: space reserves up to 5-10 GB of memory, even if not in use.
- π’ Slowdown: Second-space background processes load the Snapdragon processor 636/625.
- π Update conflicts: after upgrade MIUI The second space may not open.
- π Security: if the device is sold or transferred to another user.
β οΈ Attention: Deleting the second space will lead to the permanent loss of all the data in it β applications, photos, messages. If you want to save information, first transfer it to the main space through Settings. β Second space β Data portability.
Method 1: Remove via standard MIUI settings
The easiest method is to use the built-in deletion function, which is suitable if:
- π± The device is stable (no freezes)
- π You remember the password from the second space.
- π¦ There is no critical data (or it has already been transferred)
Step-by-step:
- Open the settings (the gear icon on the desktop).
- Scroll down and select the Second Space.
- Click Remove the second space (the last item on the menu).
- Enter the password from the second space (if requested).
- Confirm the action by clicking Remove in the pop-up window.
The system will automatically restart. Once turned on, check if the icon of the second space has disappeared in the notification curtain and user switch menu.
Move important data to the main space |Remember the password from the second space |Check battery power (minimum 30%) |Disable VPN/proxy (can block system processes) | Make a backup of the main space (via Mi Cloud or locally)
-->
β οΈ Warning: If after deleting the notifications in the curtain there is a button to switch spaces, perform a forced reboot: pinch the power + Volume up for 10 seconds. That'll reset the interface cache.
Method 2: Recovery mode (if the standard method does not work)
If the second space is not removed through settings (button is inactive or error occurs), use Recovery mode. This method will work even if the system crashes, but requires caution - incorrect actions can lead to a complete reset of the device.
Instructions:
- Turn off your smartphone.
- Press Power + Volume up for 5-7 seconds at the same time until the Mi logo appears.
- From the Recovery menu, select the language (if requested), then go to Wipe & Reset.
- Select Delete Second Space (or similar, depending on the version of MIUI).
- Confirm the action and wait for the process to be completed.
- Restart the device via Reboot β System.
| Problem. | Reason. | Decision |
|---|---|---|
| Delete Second Space button is not available in Recovery | Outdated version of MIUI or custom Recovery (TWRP) | Update your firmware or use method 3 (ADB) |
| After removal, the space reappears again. | Incomplete deletion (remaining files in /data) | Perform reset to factory settings (see method 4) |
| Recovery asks for a password, but you donβt remember it | Mi Account Protection Activated | Unlock your device via Mi Account or use Fastboot 5 |
π‘
If there is no point in Recovery to remove the second space, try doing Wipe Cache first, then try again. This often solves the problem with stuck system processes.
Method 3: Remove via ADB (for power users)
If standard methods donβt work and access to Recovery is limited, Android Debug Bridge (ADB) will help.This method requires connecting a smartphone to a computer and basic command line knowledge.
What you need:
- π₯οΈ Computer with Windows/Linux/macOS
- π USB-cable (original, without damage)
- π¦ Installed drivers Xiaomi and ADB Tools
- π Included debugging by USB (Settings β The phone. β Version. MIUI β 7 times tap to unlock the developer menu, then Settings β Additionally. β For developers β Debugging by USB)
Step-by-step:
1. Connect the smartphone to the computer and confirm the debugging permission on the device screen.
2. Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
3. Enter a command to check the connection:
adb devices
(Serial number of the device must be displayed)
4. execute a command to remove the second space:
adb shell pm uninstall -k --user 0 com.android.secondspace
5. Reset the device:
adb rebootIf the team doesnβt work, try an alternative:
adb shell
su
rm -rf /data/secondspace/*
exit
exitβ οΈ Attention: Command rm -rf It completely clears the second space folder, and if you don't back up, the data will be lost without recovery, and you also need root rights that can void the warranty.
What if the ADB canβt see the device?
Method 4: Completely reset your settings (if other methods donβt work)
If the second space is not removed by any of these methods, then hard reset remains, a radical method that will return the smartphone to the factory settings, but also completely remove all data from the main and second space.
How to perform the reset:
- Back up important data (contacts, photos, messages) through Settings β System β Backup or Mi Cloud.
- Go to Settings β About the phone β Reset settings.
- Select Delete All Data (or Factory Reset in the English version of MIUI).
- Enter the device password (if requested).
- Confirm the reset and wait for completion (it will take 5-10 minutes).
Once rebooted, the device will be as new as it is, without the second space and other user data, and you will need to reconfigure the Redmi Note 5, including the Mi Account login.
π‘
Resetting to factory settings is the only way to guarantee that a second space is removed if it was created with errors or damaged by viruses. However, after reset, the device may require re-activation via Mi Account (anti-theft protection).
Method 5: Uninstall via Fastboot (for advanced users)
If the smartphone does not turn on or got stuck on the Mi logo after the failed removal of the second space, Fastboot mode will help. This method requires an unlocked bootloader and can lead to a loss of warranty.
Instructions:
- Turn off the device.
- Press Power + Volume down until the screen with the hare in the hat-eared (Fastboot mode) appears.
- Connect your smartphone to your computer and open the command line in the folder with fastboot.
- Check the connection: fastboot devices
- Run the command to delete the second space: fastboot erase secondspace If the command is not supported, use: fastboot format:ext4 userdata (this will completely clear the user data section, including the main space!).
- Reboot the device: fastboot reboot
After this procedure, the Redmi Note 5 will reboot to the βout of the boxβ state, and you will need to reconfigure the device, including the binding to the Mi Account.
Typical errors and their solutions
When removing the second space on the Redmi Note 5, users often face the following problems:
| Mistake. | Possible cause | How to fix it |
|---|---|---|
| Failed to delete the second space (in settings) | Damaged system files or insufficient memory | Clear the cache via Recovery (Wipe β Wipe Cache) and try again |
| After removal, the space reappears again. | Incomplete deletion (remains files in /data/secondspace) | Use ADB or perform a complete reset. |
| com.android.secondspace is terminated (permanent notification) | Residual processes of the second space | Remove the app cache through Settings β Apps β Show everything β Second Space β Clear the cache |
| The device hung on the Mi logo after being removed | Damage to system files | Log in to Fastboot and reflash the device via Mi Flash Tool |
If none of these methods worked, it may be the damaged firmware, in which case the only thing that helps is to flash through the Mi Flash Tool and clean the data completely, and you can find the Redmi Note 5 firmware instructions in a separate guide.