Transfer applications to Xiaomi memory card via PC: a complete guide with ADB

Xiaomi smartphone owners (including the Redmi, POCO and Mi series) often face a shortage of internal memory, especially if the device is equipped with a modest 32 or 64 GB. Transferring applications to a memory card via a PC is one of the most effective ways to free up space, but standard MIUI settings do not always allow you to do this in a couple of clicks. Unlike the mobile method, connecting through a computer gives more control: you can forcibly move even those programs that the system blocks.

In this article, we will discuss three working methods: through ADB (without ROOT), using MIUI Hidden Settings, and for hardwired devices with superuser rights. Each method is tested on current versions of MIUI (14-15) and is suitable for most models released after 2018. Importantly, the procedure requires attention to detail - the wrong commands can lead to malfunctioning of applications. We will explain each step in detail so that you avoid typical errors.

Why? MIUI block the transfer of applications to SD-map?

Xiaomi’s MIUI-based smartphones limit the portability of applications to external drives for three key reasons:

  • πŸ”’ Security of data: MIUI uses encryption to protect user files. SD-The card may become vulnerable to unauthorized access, especially if the card is retrieved and connected to other devices.
  • ⚑ Performance: Class Memory Cards 10 or UHS-I slower-than-integrated memory eMMC/UFS. This can cause lags in games or background processes.
  • πŸ“± Android architecture: Starting with Android 6.0, Google has tightened the rules for working with external drives. MIUI It follows these restrictions, but leaves "loops" for power users.

However, the transfer of ADB circumvents these system-level constraints by allowing for compulsory SD-The card as an internal storage (if it supports Adoptable Storage) or simply move selected applications, the main thing is to understand the risks: some programs (for example, messengers or bank clients) may not work stable after the transfer.

πŸ“Š How much memory is in your Xiaomi?
16-32 GB
64GB
128GB
256 GB or more

Preparation: What you need to transfer over PC

Before starting the procedure, check out four key points:

  1. Memory Card: Use a UHS-I or UHS-II class microSD with at least 32 GB of storage capacity. Class 4/6 cards won’t work – they’re too slow for applications.
  2. Formatting: SD-The map should be formatted in FAT32 Or exFAT. If you plan to use it as an internal memory, MIUI will propose to format in ext4 (It'll delete all the data!).
  3. ADB-Drivers: Install Platform Tools from Google or Mi PC Suite for communication of PC and smartphone.
  4. USB Debugging: Activate it in Settings β†’ About Phone β†’ MIUI Version (click 7 times), then go back to Settings β†’ Additional β†’ For Developers.

⚠️ Attention: If yours SD-The card is already used as a portable storage (for photos, music), transfer applications through the Internet. ADB This could lead to automatic formatting!

Install ADB-PC drivers|

Activate debugging over USB on Xiaomi|

Check the class. SD-cards (minimum) UHS-I)|

Create a backup of data from a memory card |

Connect your phone to your PC with the original cable-->

Method 1: Transfer through ADB without ROOT-rights

This method works on all Xiaomi smartphones with MIUI 10-15 and doesn't require superuser rights. We'll use the pm move-package command, which forcibly moves the application to the user's home. SD-card, if supported by his manifesto.

Steps:

  1. Connect your phone to your PC via USB, select File Transfer (MTP) mode.
  2. Open the command line (Win + R β†’ cmd) and go to the folder with platform-tools: cd C:\platform-tools
  3. Check the device connection: Adb devices should show your Xiaomi serial number.
  4. Find out the batch name of the application (for example, for Telegram): adb shell pm list packages | find "telegram" Output will be similar to org.telegram.messenger.
  5. Move the app to SD-map: adb shell pm move-package org.telegram.messenger

If the command is successful, you'll see Success. Reboot your phone, the app should be on the memory card. Note that not all programs support portability. For example, Google Play Services or MIUI System Apps will remain on internal memory.

What to do if the team returns the Failure error
Failure's mistake [INSTALL_FAILED_INVALID_INSTALL_LOCATION] This means that the application does not support the transfer to SD-The default card. Try this one: 1. Use the method with Adoptable Storage (see next section). 2. Transfer only cache and data via adb shell pm set-install-location 2 (requires rebooting). 3. Install Xposed or Magisk patch for forced transfer (only for the purpose of ROOT).

Method 2: Use of the SD-The card is an internal memory (adoptable storage)

This method is suitable for devices with Android 6.0+ It allows you to "cheat" the system by making it perceive. SD-The card is part of the internal storage, and the advantage is that all new applications will be installed on the card by default, and the disadvantage is that the card will be encrypted and not readable on other devices.

Instructions:

  1. Put it in. SD-Card to phone and wait for it to be found.
  2. Open the Settings. β†’ Memory, press yours. SD-map β†’ Settings (three points) β†’ Internal memory.
  3. Confirm the formatting (all data will be deleted!).
  4. After restart, check in Settings. β†’ Memory: now SD-The card is displayed as part of the internal storage.

⚠️ Attention: If you extract SD-After this procedure, some applications may stop working before it returns, and it is also recommended not to use this method on cards with a volume of less than 64 GB, the system reserves some memory for your needs.

ParameterSD as a portable storage deviceSD as internal memory
Application speedMaybe slow down.Close to the internal memory
Compatibility with other devicesYes.No (encryption)
Automatic installation of new applicationsNo.Yes.
Risk of data loss during retrievalLow.High-pitched

Method 3: Transfer for ROOT-righted devices

If your Xiaomi has ROOT-access (e.g. via Magisk), you can use applications such as App2SD or Link2SD And these tools are designed to be flexible memory management:

  • πŸ“Œ Transfer any application, even those that block MIUI.
  • πŸ”„ Create symbolic links (symlink) to save space.
  • πŸ—‘οΈ Clear cache and unnecessary files in one click.

Example of Link2SD:

  1. Install. Link2SD from Google Play and provide ROOT-access.
  2. Select the application β†’ Link up β†’ Check Dalvik-cache, Application Data and APK-file.
  3. Reboot the phone.

⚠️ Note: Do not carry system applications (MIUI Home, Security, Google Play Services – this can lead to bootloop (loop loading) and avoid migrating widgets and services running in the background (e.g. WhatsApp or Viber may stop sending notifications).

πŸ’‘

Before you migrate an app over Link2SD, check its Google Play rankings. If it has less than 4 stars and a lot of lag complaints, you’d better leave it on your internal memory.

Frequent mistakes and their solutions

Even with the exact following of the instructions, Xiaomi users face typical problems.

  • 🚫 "Team not found" in ADB: Make sure the path to the platform-tools is correct. Try running the command prompt on behalf of the administrator.
  • πŸ”„ The app has moved but it doesn't work: Some programs (e.g. Netflix or Banking Apps) block work from external drives. Try transferring only the cache, leaving the cache behind APK memory.
  • πŸ“΅ SD-Card is not defined as internal: Check if your model supports Adoptable Storage. on some devices (e.g., Adoptable Storage, POCO F1) This function is disabled at the firmware level.
  • 🐒 Phone brakes after transfer: Wine slow SD-Replace it with a model with a class. UHS-II or A2 (For example, SanDisk Extreme).

If the application starts to fly out after the transfer, return it back with the command:

adb shell pm move-package --internal org.package.name

(Replace org.package.name with the real name of the package)

Alternative ways to free up memory on Xiaomi

If the application portability hasn’t solved the memory shortage problem, consider these methods:

  • 🧹 Cache Clearing: Go to Settings β†’ Annexes β†’ Application management, select the program and click Clear cache. Use bulk cleaning MIUI Cleaner.
  • ☁️ Cloud Storage: Move photos and videos to Google Photos or Mi Cloud. enable automatic download to Settings β†’ Google β†’ Backup.
  • πŸ” Search for garbage: Install Files by Google or SD Maid (for) ROOT) β€” They will find duplicates, temporary files and remnants of deleted applications.
  • πŸ“¦ Lite versions of applications: Replace "heavy" programs with lightweight analogues: Facebook Lite, Messenger Lite, Spotify Lite.

For devices with MIUI 14+, Extension Memory is available (in Settings β†’ Memory) and it reserves 2-6 GB of internal memory for temporary files, but does not replace the full port to SD.

πŸ’‘

Transfer of applications to SD-PC card is a temporary solution, and for long-term optimization, combine it with cache cleaning, cloud storage, and lite versions of software.

Can I transfer WhatsApp to WhatsApp? SD-card ROOT?
Technically, but not recommended. WhatsApp stores media files on a memory card, but the APK itself and the database are better left in internal memory. When transferring through ADB, you risk losing your chat history or experiencing synchronization errors. Alternative: in WhatsApp settings, disable automatic media downloads and manually save files to the SD.
Why did the app disappear from the menu after the transfer?
This happens if you have only transferred a portion of the files (for example, APK It is stored in internal memory and the data is stored in SD). Try: Reinstall the application. Move it back with the adb shell pm move-package command --internal [package]. Check if the.obb file is in the folder Android/obb on SD-map.
How to transfer a game with a large cache (eg, Genshin Impact)?
Games with more volume 2 GB (e.g. Genshin Impact, Call of Duty Mobile) are not tolerated by standard methods. Link2SD (only ROOT) You can create a simlink to cache, manually copy the folder. Android/obb on SD-The card and mount it through FolderMount (requires) ROOT). Install the game on internal memory, and media files (video, textures) to store on SD through game settings.
Will the Xiaomi port work with HyperOS?
HyperOS (new shell for Xiaomi, which replaced the new one) MIUI) maintain ADB-commands, but can block Adoptable Storage on some models. Before transfer check: Availability option Internal memory in settings SD-The adb shell pm move-package command on a test application (e.g., Calculator) works, and if both methods fail, all that remains is to clear the memory or use it. ROOT-decision-making.
Can I migrate MIUI system applications?
System application portability (MIUI Home, Security, Gallery) is highly discouraged, and this can result in: Launcher stop (black screen after unlocking); loss of functionality (e.g., fingerprint scanner will not work); Bootloop (infinite boot) if the kernel is moved; exception: some "lightweight" system applications (e.g., MIUI Calculator or Compass) can be moved through ADB, but the risk of failure remains.