How to transfer programs to Xiaomi memory card: the complete guide

Owners of budget and mid-budget smartphones Xiaomi and Redmi often face a lack of internal storage. Built-in memory quickly fills up with messenger cache, game updates and heavy applications, which leads to a slowdown. The solution is to use an external microSD card, but the default installation of programs is in the internal drive.

Modern shell MIUI And the Android operating system has its limitations on data portability, but there are proven ways to get around these barriers. You don't have to be a skilled programmer to free up precious gigabytes. We'll take a look at both the standard methods and the more advanced ones through the use of the software. ADB-commands that allow you to turn a flash drive into a full-fledged memory expansion.

Before you start taking action, you need to understand the storage architecture of your device. Not all applications can be moved, and not all memory cards are suitable for running programs. It is critical to use cards of speed class UHS-I (U1) or higher, otherwise the smartphone interface will start to work with noticeable delays. Let's look at the basic methods of solving the problem of memory overflow.

Preparation of memory card and smartphone for work

The first step is to properly prepare the external drive. The card purchased in the store is often formatted in the FAT32 file system, which does not support storing files larger than 4 GB and is not designed to install applications. The smartphone will offer to format the card when you first install, but it is better to do it manually through the computer for full control.

Use a Windows or macOS computer and a card reader. You need to choose an exFAT or NTFS file system, although Android prefers the native format when formatting internally. The main thing is to make sure that the card is free of physical damage and stable.

Once the card is physically installed in the smartphone slot, MIUI will immediately notify you of the discovery of a new drive. Don't rush to accept all offers. First go to the settings and check if the phone sees the full card volume. If a smaller volume is displayed, the card may be fake or corrupted.

  • πŸ“± Insert the card in the switched off smartphone to correctly determine the equipment.
  • πŸ’Ύ Backup important data as formatting will delete all files.
  • ⚑ Use the original adapter for SIM-cards so as not to damage the contacts.

⚠️ Note: Using cheap memory cards from unknown brands can cause data loss and damage to the Android file system.Select products from trusted manufacturers such as SanDisk, Samsung or Kingston.

πŸ’‘

Before formatting the card inside the smartphone, copy all important photos and documents to your computer or cloud storage, as it will be impossible to restore them after the procedure.

The standard method of transfer through the MIUI settings

The safest and easiest way for anyone to access without superuser permission is to use the built-in shell features, but it’s worth noting that in modern versions of Android (starting with 6.0 and up), Google has restricted direct porting of apps to an external drive for security and stability.

However, for some applications that have not been banned, portability is still available. You need to go to the settings menu, find the Apps section, and select a specific program. If the developer has left this option, the Move button will be active.

If the button is inactive or not, then the application is critical to the system or optimized only for fast internal storage, in which case it will not be possible to move it using standard methods, and you will have to look for workarounds or put up with the space occupied.

πŸ“Š Have you managed to migrate applications in the standard way?
Yeah, the button was active.
No, the button is grey.
I don't have that option on the menu.
I'm using a different method.

To manage files inside the memory card, use the built-in Explorer. Go to Settings β†’ Memory to see detailed statistics of the space. Here you can clear the cache or move media files, which will also free up space for the system to work.

Adoptable Storage (Advanced Memory)

Adoptable Storage, which is built into Android, allows the memory card to be formatted so that it is considered part of the internal storage system, the only legal way to get the phone to install new applications directly on the USB drive, but in the MIUI shell, this feature is often hidden by the manufacturer.

To activate the hidden feature, you'll need to connect to your computer and use USB debugging. This method requires care, because the wrong actions can lead to data loss. Once activated, the card is encrypted and linked to a particular device.

Once activated successfully, the storage selection menu will feature the option β€œUse as internal storage” and the system will prompt you to move the data, and from now on, all new applications will be installed on the map by default, if their architecture allows.

  • πŸ”“ The function requires the inclusion of the developer mode and debugging by USB.
  • πŸ”„ The memory card will be formatted and will become inaccessible to other devices without re-formatting.
  • βš™οΈ Not all Xiaomi models support this feature even through hidden commands.

⚠️ Note: After activating Adoptable Storage, it is absolutely impossible to remove the memory card without pre-mounting in the settings. This will lead to application failure and possible system errors.

What to do if the team is not working?
If the hidden menu doesn’t appear, your version of MIUI may block the feature completely at the kernel level, in which case only flashing to the global version or using custom recavers will help.

Transfer applications through ADB-team

For advanced users who don't have a hidden menu, there's a forced transfer method through Android Debug Bridge (ADB), a command-line tool that allows you to control your device from your computer, and you'll need to download the Platform Tools package from the official Android developer site.

Connect your smartphone to your computer with a cable, enable debugging over USB, and open the command line in the ADB folder. Enter a command to check the connection. If it goes well, you'll see your device's serial number.

adb devices

Next, you have to type in a command that changes the place of application installation, which will cause the system to try to put all the new programs on the external drive.

adb shell pm set-install-location 2

Here, 2 stands for external drive, 0 for automatic system selection, and 1 for internal memory only. Once you have completed the command, restart your smartphone. Now, when you install new applications, the system will offer the memory card as the primary location.

β˜‘οΈ Pre-use checks ADB

Done: 0 / 4

Application limitations and compatibility

Even after successfully transferring or activating external memory, you may find that some applications fail to work correctly, which is because the memory card reads faster than the built-in flash drive, especially if you use a USB 2.0 interface.

Applications that require high response speeds, such as navigators, heavy games, or constant-background messaging apps, may not work smoothly. Desktop widgets may also stop updating if they are moved to a slow map.

In addition, some Xiaomi system services may incorrectly display the amount of memory occupied, summing the data incorrectly, in such cases, it is recommended to transfer only media files and rarely used utilities to the map, leaving the main software in internal memory.

Type of applicationRecommended seatImpact on speedRisk of failure
Social mediaInternal memory.High.Medium.
Office documentsMemory mapLow.Low.
Hard gamesInternal memory.Critical.High-pitched
Photos and videosMemory mapMinimumLow.

πŸ’‘

The best strategy is to keep active applications on internal memory, and use the card as an archive for photos, videos and rarely run programs.

Frequent problems and ways to solve them

During operation, users may experience an β€œApp Not Installed” error or the sudden disappearance of icons, often because the memory card has been removed or lost connection.

Another common problem is reduced autonomy. Because the card reader consumes energy, constant work with an external drive can increase battery consumption by 5-10%. If saving charge is a priority, disable the card as internal memory.

If the application crashes when it starts, try clearing the cache or reinstalling it after selecting internal memory, and not all programs can correctly restore paths to their data after migrating to another partition of the disk.

  • πŸ›  Check the map for errors through the Settings menu β†’ Memory. β†’ Check it outΒ».
  • πŸ”„ Rebooting a smartphone often solves problems with mounting partitions.
  • πŸ“‰ Watch the temperature of the case, as active recording heats the memory controller.

⚠️ Note: If the smartphone stopped booting after experimenting with memory partitions, you may need to reset to factory settings (Hard Reset) through Recovery Mode!

How do you get it back?
To undo ADB changes, type the command 'adb shell pm set-install-location 0'. To fully return the card to file storage mode, format it through the phone's settings by selecting "Use as portable storage."

FAQ: Frequently Asked Questions

Can I transfer WhatsApp and all chats to a memory card?
You can't fully transfer the WhatsApp app with all the data to the map with regular means due to security restrictions. β†’ chat β†’ Backup copy of chats) can be specified saving media files and backup copies exactly on the SD-map.
Why did the game stop progressing after the transfer?
Most likely, the paths to the save files have changed, and the game can't find them in a new place. Try clearing the game's cache. If it doesn't work, the only option is to move the game back to internal memory, since some engines are rigidly tied to the internal path /data/.
Will the speed of the smartphone get worse?
Yes, if you transfer system applications or heavy software to a low-speed card, the built-in memory of Xiaomi smartphones (usually eMMC or UFS) is several times faster than most MicroSD cards. The interface can become less responsive.
Is it safe to use the ADB command for the average user?
Using pm set-install-location is relatively safe and reversible, but activating the hidden formatting functions carries risks: if you break the card, you will lose access to all applications until you replace the drive and restore the data.
What is the maximum card size that Xiaomi supports?
Officially, most modern models support cards up to 256 GB or 512 GB. However, in practice, 1 TB cards often work, if they are formatted into the exFAT file system.