Second space on Xiaomi smartphones is a unique feature MIUI, It allows you to create an isolated copy of the system with separate applications, files and settings, most often used to separate work and personal data, test applications or increase privacy. How to transfer data from the main space to the second without loss or error?
In this article, we will discuss all available methods of transferring files, from manual copying to synchronization through the cloud, as well as consider typical errors (for example, insufficient memory or Error 5001) and their solutions. MIUI 14 and MIUI 15, where the transfer algorithm has changed.If you plan to use the second space to work with banking applications or social networks, be sure to read the security section!
What is the second space on Xiaomi and why is it necessary?
Second Space is a virtual copy of the operating system that runs parallel to the main one.
- ๐ Separate file storage (photos, videos, documents)
- ๐ฑ Own set of installed applications
- ๐ Unique settings (wallpaper, sounds, accounts)
- ๐ Ability to quickly switch between spaces
Main use cases:
- ๐ผ Separating work and personal data (e.g. WhatsApp for work and family in different spaces).
- ๐ก๏ธ Increased privacy: In the second space, you can hide personal files or applications from outsiders.
- ๐งช Testing new applications or firmware without risk to the main system.
- ๐ฎ Use multiple accounts in games (e.g., Genshin Impact or PUBG Mobile).
It is important to understand that the second space is not a full-fledged multiplayer system (like Android for Work), it does not support simultaneous login to different Google or Mi Account accounts in the same space, and some system applications (such as Settings or Phone) will be shared for both spaces.
โ ๏ธ Note: On devices with less than 64GB of storage, the second space can take up to 30% of the total. โ Memory.
Preparing for data transfer: what to do in advance
Before you transfer data, follow a few critical steps:
- Back up the main space. Use Settings. โ The phone. โ Backup or third-party tools like Titanium Backup (requires root).
- Check app compatibility. Not all programs support the second space, like Netflix or BankID can block startup.
- Clear the cache. Go to Settings. โ Annexes โ Application management and clear cache for large applications (social networks, instant messengers).
- Make sure there is free space. The second space reserves a minimum of 5-10 GB for system files.
If you plan to port banking applications (such as SberBank Online or Tinkoff), consider:
- ๐ Some banks block virtual spaces due to fraud risk.
- ๐ฑ The application may require re-authorization or sending SMS-code.
- ๐ซ In case of blocking, try using the main space for financial transactions.
โ๏ธ Preparation for data portability
For devices on MIUI 15 added a new training item: sync with Mi Cloud. If you use the cloud, data from the second space will not be automatically backed up - it must be transferred manually or through third-party services (for example, Google Drive).
How to transfer data to the second space
There are several methods of transfer, each of which is suitable for different types of data, and let's look at them in detail.
1. Manual file transfer through file manager
The easiest way to do this is to copy files manually:
- Open Files (Standard Xiaomi Manager)
- Select files or folders (photos, videos, documents).
- Click Copy or Cut.
- Switch to the second space (swipe down the notification panel) โ Icon Second Space).
- Put the files in the folder.
Limitations of the method:
- โ No application settings are transferred.
- โ No synchronization โ if you change a file in one space to another, it will remain old.
- โ Suitable for one-time transfers of small amounts of data.
2. Transfer of applications and their data
To transfer applications, use the built-in function Cloning applications:
- Go to Settings โ Applications โ Cloning of applications.
- Select the apps you want to duplicate (such as WhatsApp, Telegram).
- After cloning, the app will appear in a second space with clean settings.
To migrate application data (such as correspondence to Viber or progress in games), use:
- ๐ Built-in backup (if supported by the application).
- ๐ Manual copying of data folders (for example, /Android/data/com.viber.voip).
- ๐ Cloud services (e.g. Google Drive for WhatsApp).
โ ๏ธ Note: When manually copying folders /Android/data/ Some apps (such as Instagram or Facebook) may require re-entry due to changing device identifiers.
3. synchronization through Mi Cloud or Google Account
Cloud services allow you to automatically transfer some data:
| Type of data | Mi Cloud | Google Account |
|---|---|---|
| Contacts | โ | โ |
| Photo/Video | โ (only in the main space) | โ (Google Photo) |
| Notes | โ (Mi Notes) | โ |
| Annexes | โ | โ (Just setting up some applications) |
For synchronization via Mi Cloud:
- In the main space, enable backup in Settings โ Mi Account โ Mi Cloud โ Backup.
- Switch to the second space and log in to the same Mi Account.
- Restore the data from the backup.
For Google Account:
- Contacts, calendars and some application settings are synchronized automatically.
- Photos and videos can be uploaded to Google Photos in the main space and then downloaded in the second.
๐ก
If you use WhatsApp, back up chats to Settings before transferring them. โ chat โ Backup. In the second space, restore it from Google Drive or a local file.
4. Use of third-party applications
For advanced users, tools like:
- ๐ฆ App Cloner โ creates full copies of applications with data (requires root on some devices).
- ๐ Swift Backup โ Backup and restore applications (works without rooting on the app) MIUI 14+).
- ๐ Solid Explorer โ file manager with support for two-panel mode for easy copying.
Example of Swift Backup Transfer:
1. Install Swift Backup in the main space.
2. Create a backup copy of the desired applications.
3. Switch to the second space and install Swift Backup there.
4. Restore the data from the backup.โ ๏ธ Note: Applications that use DRM-protection (e.g. Netflix or Disney)+), may not work in the second space due to altered device identifiers.
Solving Common Errors in Data Transfer
When you move data, you often have errors, and let's look at the most common ones and how to fix them.
1. "Insufficient memory" error
Reasons:
- ๐ The second space is occupied by system files (minimum 5 GB is reserved for the system). MIUI).
- ๐๏ธ There is not enough space for temporary files.
Decisions:
- ๐งน Clear the cache in Settings โ Memory. โ Cleanup.
- ๐๏ธ Transfer heavy files (video, games) to SD-card (if supported).
- ๐ Reduce the size of the second space in Settings โ Second space โ Management of space.
Error 5001 ("Failure to copy files")
This error occurs when:
- ๐ Attempting to copy protected system files.
- ๐ฑ Conflict of Permissions Between Spaces.
How to fix it:
- Try to copy files one by one, not a folder.
- Use a file manager with root rights (such as Root Explorer).
- Restart the device and try again.
3. Applications do not open in the second space
Possible causes:
- ๐ซ The application blocks work in virtual environments (for example, banking applications).
- ๐ These applications were not transferred correctly.
- ๐ฑ The device is not certified by Google (check Settings). โ Google โ Certification of the device).
Decisions:
- ๐ Reinstall the application in the second space.
- ๐ Check for updates on Google Play.
- ๐ ๏ธ For banking applications, use the main space.
4.Photos and videos are not displayed in the gallery
If the transferred media files are not shown:
- Open the Gallery โ Settings โ Show hidden files.
- Restart the Gallery app.
- Check that the files are copied to the folder DCIM or Pictures.
What happens if the second space stops opening?
Optimization of the second space after transfer
After the data transfer, it is recommended to perform several actions to optimize the work:
- Set up autoclean the cache. Go to Settings. โ Memory. โ Auto Clean and enable the function for the second space.
- Turn off unnecessary background processes. โ Battery โ Battery mode select Energy Saving for second space if it is rarely used.
- Synchronize notifications. In Settings โ Notifications โ Second space configure notifications from both spaces.
- Update your apps. Go to Google Play in the second space and update all the programs.
To save space:
- ๐๏ธ Regularly clean the Download folder of unnecessary files.
- ๐ต Transfer music and podcasts to SD-map.
- ๐ท Use Google Photos to automatically upload photos/video (set up compression to save traffic).
If you are using a second space for games, pay attention to:
- ๐ฎ Disabling background synchronization to save battery.
- ๐ Customization of sound โ some games may conflict with system sounds.
- ๐ก Use of Game Turbo (included in Settings) โ Special facilities โ Game Turbo).
๐ก
After transferring data, be sure to check the critical applications (messaging, banking) in the second space.
Second Space Security: What You Need to Know
While the second space provides basic data isolation, it is not a completely secure solution for storing sensitive information.
1. Data leakage between spaces
Despite the isolation, some data may leak out:
- ๐ Calls and SMS Common for both spaces (use Google Voice or Skype to separate).
- ๐ Geolocation works the same in both spaces.
- ๐ถ Network settings (Wi-Fi, mobile data) are also general.
2. Protection against unauthorized access
To improve safety:
- ๐ Set different passwords or graphical keys for each space.
- ๐ค Turn off notifications on the lock screen for the second space.
- ๐ก๏ธ Use App Lock to block critical applications (such as Telegram or Signal).
For devices with MIUI 15 The function "Private mode" is available":
- Go to Settings โ Privacy โ Private mode.
- Add apps that should be hidden in the main space.
- Activate mode โ applications will only be available after entering PIN-code.
3. Risks in the use of banking applications
Many banks block virtual environments, and if you need to use Sberbank, Tinkoff or VTB Online,
- ๐ฆ Install the application only in the main space.
- ๐ฑ Turn off cloning for banking applications.
- ๐ If the bank has blocked access, contact support to request that you unlock the device (confirmation through the office may be required).
โ ๏ธ Note: Some scams use a second space to bypass bank restrictions (e.g. installing an app on a clean device) and banks may consider this as suspicious activity and block an account.