The second space on the Xiaomi Redmi Note 10 is a useful feature for separating personal and work data, but users often face the need to delete it. The reasons range from bugs in operation to the desire to free up memory or return the phone to a factory state. However, standard deletion through settings does not always work - the system can emit errors, and the data remains on the device.
In this article, we will discuss all the current ways to delete the second space on the Redmi Note 10 (including the Pro/Pro Max/5G models), taking into account the features of the MIUI 12-14 firmware. Particular attention will be paid to the hidden files that remain after โdeletingโ through the menu, and how to completely clean them.
What is the second space on Xiaomi and why is it difficult to remove it?
Second Space is an isolated environment in MIUI that works as a separate user profile.
- ๐ฑ Your applications (you can duplicate messengers, games, social networks)
- ๐ Separate settings (Wi-Fi, sound, wallpaper)
- ๐ Isolated storage (photos, files, cache)
- ๐ Unique account information (e.g., another Mi Account)
The problem is that Xiaomi doesnโt provide tools to completely remove the second space through the GUI, and when you click โDeleteโ in the settings, the system only hides it, leaving it on the device:
- ๐๏ธ Residual files in the folder /data/secondspace (borrow 1โ3 GB)
- ๐ Phantom processes that can slow down the system
- ๐ Blocked data if the space was password protected
In addition, on some versions of MIUI (especially MIUI 13+), an attempt to delete may result in:
- โ ๏ธ The Scene of Mi (bootloop)
- โ Loss of access to the main space
- ๐ Automatic recovery of the second space after rebooting
Preparing for removal: what to do before the start
Before you start deleting, follow the mandatory steps to avoid data loss or โbrickingโ your phone:
Backup the main space through Settings โ About Phone โ Backup
Take a picture or write down all important passwords (Wi-Fi, accounts)
Check the battery charge (should be โฅ50%)
Turn off password/fingerprint protection in the second space (Settings โ Lock and Protection)
Make sure you have access to the Mi Account tied to the device-->
Pay special attention to backup. Even if you plan to delete space through standard settings, there is always a risk of data loss, such as when you delete through ADB or reset to factory settings:
- ๐ธ Photos and videos from the gallery of the second space will be lost forever.
- ๐ฌ The history of correspondence in messengers (WhatsApp, Telegram) will not be restored
- ๐ฎ Progress in games (unless linked to an account) Google/Game Center)
If you have used a second workspace, keep:
- ๐ Documents from WPS Office or Google Docs
- ๐ง Emails from an email client (if a separate account was set up)
- ๐ Browser bookmarks (export through Settings) โ Bookmarks โ Exports)
๐ก
If the second space is password protected and you have forgotten it, try resetting it through the main space: go to Settings โ Special Options โ Second Space โ Reset password. This will only work if the device is not locked by IMEI.
Method 1: Remove from standard MIUI settings
The easiest way, but it doesnโt work on all versions of MIUI, is for the Redmi Note 10 with MIUI 12-14 firmware, if the space wasnโt password protected or didnโt contain critical data.
Instructions:
- Open the Settings. โ Special facilities.
- Select Second Space.
- Click Remove the second space.
- Confirm the action by entering the password from the main space (if required).
- Wait until the process is completed (the phone will restart).
โ ๏ธ Note: If the second space reappears after the reboot, the files have not been deleted completely.
| MIUI version | Does standard removal work? | Risk of data loss |
|---|---|---|
| MIUI 12 | Yes (80 percent of the time) | Low. |
| MIUI 12.5โ13 | Partially (may recover) | Medium. |
| MIUI 14 | No (ADB required) | High-pitched |
If the "Second Space" option is still displayed in the settings after deleting, but you can't log in to it, it means that the files are still in the system. They can be manually deleted via ADB (see Method 3).
Method 2: Reset to factory settings (Hard Reset)
This method is guaranteed to remove the second space, but erases all data on the device, including the main space.
- ๐ Standard removal didn't work.
- ๐ You forgot the password from the second space.
- ๐ฑ The phone started to brake due to the second space.
Instructions:
- Turn off the Redmi Note 10.
- Press the Volume Up + Power buttons at the same time and hold for 10-15 seconds until the Mi logo and Recovery menu appear.
- Use the volume buttons for navigation and the power button to select the Wipe Data (or Clear Data) item.
- Confirm the reset by selecting Yes.
- Once completed, select Reboot to reboot.
โ ๏ธ Attention: On some firmware MIUI 13+ You may need to link to the Mi Account that was active on the device after the reset, so if you don't remember your account details, the phone will turn into a brick:
- ๐ง Remember the email and password from Mi Account
- ๐ฑ Find Device is disabled on your device (unless you plan to restore data)
What to do if you need an old Mi Account after resetting?
Method 3: Removal via ADB (for power users)
This method allows you to completely erase the files of the second space without affecting the main one. It is suitable for users who do not want to reset to factory settings. It requires a computer and installed ADB drivers.
Instructions:
- Turn on Developer Mode: Go to Settings โ About Phone. Click 7 times on MIUI until the notification "You've become a developer" appears.
- Activate USB Debugging: Return to Settings โ Additional โ Developer. Turn on the USB Debugging Switch.
Redmi Note 10
CMD
adb shell
su
rm -rf /data/secondspace
rm -rf /data/system/secondspace.xml
rebootIf after the reboot the second space disappeared, but the option to create it is still displayed in the settings - perform an additional cleaning:
adb shell pm uninstall --user 0 com.miui.secondspaceโ ๏ธ Attention: Removal through ADB may lead to:
- ๐ The system freezes if the process is interrupted
- ๐ฑ Data loss in the main space (rarely, but possible)
- ๐ Blocking Mi Account if the phone is linked to your account
๐ก
If the error "Permission denied" appears after rm -rf, then you do not have root rights, in which case use Magisk to obtain root rights or go to Method 4.
Method 4: Fastboot Flashing (extreme case)
This method is used if:
- ๐ง None of the methods worked.
- ๐ฑ phone is stuck on startup Mi logo after space removal
- ๐ Device blocked due to Mi Account
The firmware will require:
- ๐ป Computer with Mi Flash Tool drivers installed
- ๐ Official firmware for Redmi Note 10 (download from the official website)
- ๐ Cable USB (preferably original)
Instructions:
- Download and install the Mi Flash Tool.
- Unpack the archive with firmware in a folder without Cyrillic characters.
- Turn off your phone and put it into Fastboot mode: Press Volume Down + Power for 10 seconds. Connect your phone to your PC.
Mi Flash Tool
Refresh
COM-port
Clean All
Flash
Wait for the end (5-10 minutes). The phone will reboot automatically.
โ ๏ธ Note: Firmware through Fastboot:
- ๐ต Delete all data without recovery
- ๐ง Can lead to a bootloader lock if it was unblocked unofficially
- ๐ก Requires a stable Internet connection to download firmware
๐ก
If the phone doesnโt turn on or hangs on the logo after firmware, try repeating the process with another version of MIUI (for example, use Chinese or EEA instead of global firmware).
Common Mistakes and How to Avoid Them
When you delete the second space, users often face problems, and let's look at the most common ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| The second space rebounded after the reboot | Incomplete file deletion in /data/secondspace | Use ADB (Method 3) or Reset (Method 2) |
| Phone asks for password from second space after deletion | Residual files with lock data | Reset via Recovery or go through Fastboot |
| Cannot remove secondspace: Directory not empty | The second space process is still active. | Restart your phone in Safe Mode and re-delete via ADB |
| After deleting files from the main space were lost | Error in mounting partitions | Recover data via Mi Cloud or ADB backup |
If after removing the second space, the phone began to brake or overheat, follow the following steps:
- Clear the cache through Recovery (Wipe Cache).
- Turn off unnecessary background processes in Settings โ Applications โ Auto Run.
- Check the vacant storage space (if less than 10%, delete unnecessary files).