How to Move Data to Second Space on Xiaomi: A Complete Guide to Error Solutions

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.

๐Ÿ“Š Why do you use the second space on Xiaomi?
Separation of work and personal life
Application testing
Confidentiality
Multitasking in games
I don't use it.

Preparing for data transfer: what to do in advance

Before you transfer data, follow a few critical steps:

  1. Back up the main space. Use Settings. โ†’ The phone. โ†’ Backup or third-party tools like Titanium Backup (requires root).
  2. Check app compatibility. Not all programs support the second space, like Netflix or BankID can block startup.
  3. Clear the cache. Go to Settings. โ†’ Annexes โ†’ Application management and clear cache for large applications (social networks, instant messengers).
  4. 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

Done: 0 / 5

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:

  1. Open Files (Standard Xiaomi Manager)
  2. Select files or folders (photos, videos, documents).
  3. Click Copy or Cut.
  4. Switch to the second space (swipe down the notification panel) โ†’ Icon Second Space).
  5. 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:

  1. Go to Settings โ†’ Applications โ†’ Cloning of applications.
  2. Select the apps you want to duplicate (such as WhatsApp, Telegram).
  3. 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 dataMi CloudGoogle 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:

  1. In the main space, enable backup in Settings โ†’ Mi Account โ†’ Mi Cloud โ†’ Backup.
  2. Switch to the second space and log in to the same Mi Account.
  3. 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:

  1. Try to copy files one by one, not a folder.
  2. Use a file manager with root rights (such as Root Explorer).
  3. 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.

If the transferred media files are not shown:

  1. Open the Gallery โ†’ Settings โ†’ Show hidden files.
  2. Restart the Gallery app.
  3. Check that the files are copied to the folder DCIM or Pictures.
What happens if the second space stops opening?
If the second space doesnโ€™t start after transferring the data (hanging on the logo or giving an error), try: 1. Reboot the device. 2. Hold the power button for 10 seconds for forced reboot. 3. If it doesnโ€™t help, reset the second space in Settings. โ†’ Second space โ†’ Delete the space (the data will be lost!).

Optimization of the second space after transfer

After the data transfer, it is recommended to perform several actions to optimize the work:

  1. Set up autoclean the cache. Go to Settings. โ†’ Memory. โ†’ Auto Clean and enable the function for the second space.
  2. Turn off unnecessary background processes. โ†’ Battery โ†’ Battery mode select Energy Saving for second space if it is rarely used.
  3. Synchronize notifications. In Settings โ†’ Notifications โ†’ Second space configure notifications from both spaces.
  4. 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":

  1. Go to Settings โ†’ Privacy โ†’ Private mode.
  2. Add apps that should be hidden in the main space.
  3. 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.

FAQ: Frequent questions about Xiaomi's second space

Can you use the same app in both spaces at the same time?
No, you can only use one space at a time, but you can quickly switch between them through the notification bar, and some apps (like WhatsApp or Telegram) support cloning, allowing you to have two separate copies with different accounts.
How to delete the second space without losing data?
Before removing the second space, be sure to transfer all important data back to the main space or to an external medium. โ†’ Second space โ†’ Delete the space. All data in the second space will be permanently deleted.
Can I transfer data from the old Xiaomi to the new one with a second space?
Yes, but with reservations: Back up your old device (via Mi Cloud or Google Account). On the new device, first set up the main space, then create a second one. Restore data in each space separately (automatic recovery to the second space is not supported).
Why is Google Pay not working in the second space?
Google Pay and other payment services (Apple Pay, Samsung Pay) often block virtual environments due to security requirements.Solutions: Use Google Pay only in the main space. Try adding a card through the browser version of Google Pay (pay.google.com). If the device is not certified, try registering it through the Google form.
How do you move the game to the second space?
To transfer game saves: Find a folder with saves (usually) /Android/data/{title games} or /Android/obb/{Copy it to the second space in the same directory. If the game uses cloud-based saves (e.g., Google Play Games), log in to the same account in the second space, PUBG Mobile or Call of Duty: Mobile save transfer can lead to account ban.