How to transfer applications to SD-mapping through Xiaomi Link2SD: guide

Xiaomi smartphones with limited internal memory often face the problem of not having enough space to install new applications. Even after cleaning the cache and removing unnecessary files, the system can give a notification โ€œMemory is full.โ€ SD-utility-card Link2SD. However, this process requires not only the installation of the program, but also the correct configuration of the partition on the memory card, as well as root rights.

In this article, we will discuss in detail how it works. Link2SD, What are the pitfalls that Xiaomi users expect (including models on the market) MIUI 12/13/14), Why is the Android standard feature โ€œMove toโ€ SDยป It's often useless. You'll learn how to create. ext2/ext4-map section, set up Link2SD Automatically transfer data and avoid common errors such as โ€œMount script cannot be createdยป.

Why Xiaomiโ€™s standard SD port doesnโ€™t work

Many Xiaomi users are trying to migrate applications to the SD-map through standard Android settings (Settings) โ†’ Annexes โ†’ [Select an application] โ†’ Warehouse โ†’ Change. โ†’ SD-However, this method has critical limitations:

  • ๐Ÿ”น It only works with partial transfer โ€“ only a part of the data (usually cache and media files) is moved to the card, and the main.apk and.odex files remain in internal memory.
  • ๐Ÿ”น Not supported by most modern applications (especially system and games).
  • ๐Ÿ”น After the transfer, the application often stops updating through Google Play.
  • ๐Ÿ”น Nana MIUI This function can be completely disabled by the manufacturer.

Link2SD This is done by creating symbolic links (symlink) to SD-A map for all the application files, including.apk, data and cache:

  1. Root rights (without them, Link2SD is useless)
  2. SD-map with second section in format ext2/ext3/ext4 or FAT32/exFAT (work-mode).
  3. Support for the Xiaomi kernel function init.d (on some firmware it must be activated separately).
๐Ÿ“Š How much internal memory is in your Xiaomi?
16-32GB
64GB
128GB
256 GB or more

Requirements for Link2SD on Xiaomi

Before you start setting up, make sure your smartphone meets the following conditions:

RequirementExplanationHow to check
Root rightsWithout them, Link2SD will not be able to create symbolic links.Install Root Checker from Google Play or enter in the terminal su.
SD-class 10/UHS-ISlow maps will lead to application lags.Check the markings on the map or check the speed through the A1 SD Bench.
Free space on the mapAt least 1-2 GB for the second partition.Check in Settings โ†’ Warehouse.
Support for ext sectionsSome Xiaomi budget models donโ€™t work with ext4.Try to create a partition using MiniTool Partition Wizard.

Important: Xiaomi smartphones with Qualcomm Snapdragon 4xx/6xx processors (e.g. Redmi 9A, Poco M3) may not work creating ext partitions due to kernel limitations, in which case you will have to use Link2SD's Link to FAT32 mode, but it is less reliable.

โš ๏ธ Attention: If you are using MIUI Global Stable, after obtaining root rights, Google services (for example, Google Pay) can stop working. This is due to the SafetyNet trigger.

Step-by-step instruction: preparation SD-map

The first step is marking. SD-maps for two sections: the first (FAT32/exFAT) For normal files, the second (ext2/ext3/ext4) for Link2SD. You can do this on a PC or directly in a smartphone.

Download MiniTool Partition Wizard Free for Windows:

  1. Connect. SD-card to PC via card reader.
  2. In the program, select your card. โ†’ Delete All Partitions (all data will be deleted!).
  3. Create the first section: ๐Ÿ“ Format: FAT32 (or exFAT for cards >32 GB). ๐Ÿ“ Size: 70-80% from the total volume (e.g, 20 GB 32 GB). ๐Ÿ”ง Mark: SDCARD (necessarily!).
  • ๐Ÿ“ Format: ext4 (preferably ext2.
  • ๐Ÿ”ง Mark: link2sd (important for automatic installation!).
  • Press Apply and wait until it is completed.

Make a backup copy of data from the card|Check the card for errors (via chkdsk)|Use a card reader, not a card reader. OTG-cable|Format the map before marking up-->

Installation and configuration of Link2SD

After preparation SD-set up the cards Link2SD From Google Play (or download it) APK s XDA Developers, if the application is not available in your region. Upon first running, the program will prompt you to select the type of mounting:

  • ๐Ÿ”— Ext2/3/4 โ€” The best option (requires a second section).
  • ๐Ÿ”— FAT32/FAT โ€” It is less reliable but works without ext partition.
  • ๐Ÿ”— Internal2SD โ€” for experienced users (risk of data loss!).
  • Confirm the action.

๐Ÿ’ก

If the app stopped working after the transfer, try Link2SD to click "Fix mounting" or restart your smartphone. Often, re-creating symbolic links helps.

Common mistakes and their solutions

When working with Link2SD on Xiaomi, users face typical problems.

1.The error is "Mount script cannot be created."

Reasons:

  • ๐Ÿ”ธ There's no file. /system/etc/init.d (firmware MIUI It's not default).
  • ๐Ÿ”ธ Incorrect rights to the script (must be 755).
  • ๐Ÿ”ธ SD-card is not recognized as mmcblk1p2 (You need to check the path through the ls. /dev/block).

Decision:

  1. Create /system/etc/init.d folder manually (if not).
  2. Check the path to the section with the command: adb shell su ls /dev/block/platform/*/by-name | grep mmc
  3. Edit the 11link2sd script by specifying the correct path (e.g. /dev/block/mmcblk0p2).

2.Apps dyed after transfer

Possible causes:

  • ๐Ÿ”ธ Slow. SD-map (class below) 10/UHS-I).
  • ๐Ÿ”ธ Damaged symbolic references.
  • ๐Ÿ”ธ Conflict with MIUI Optimizations (on some firmware).

Decision:

  • ๐Ÿ”ง Move the problem app back to internal memory.
  • ๐Ÿ”ง V Link2SD Select โ€œClear Dalvik cacheโ€ (requires a reboot).
  • ๐Ÿ”ง Turn off optimizations MIUI through ADB: adb shell settings put global miui_optimization_disabled 1

โš ๏ธ Attention: Don't put it on SD-Map system applications (e.g. com.android.phone or com.miui.home) This can result in bootloop (a looped reboot) or loss of functionality MIUI.

List of dangerous applications for portability
com.android.settings (Settings) com.miui.securitycenter (Security) com.miui.gallery (Gallery) com.android.contacts (Contacts) com.google.android.gms (Google Play Services)Moving these applications almost always leads to system failures.

Alternative ways to free up memory on Xiaomi

If Link2SD is not suitable (e.g., no root rights or a memory card is too slow), consider alternative methods:

1.Use of SD-The card is an internal memory (adoptable storage)

Adoptable Storage (built into Android 6.0)+) allows formatting SD-It's a card as part of the internal memory, but it's often disabled on Xiaomi:

  1. Connect. SD-map.
  2. Enter the terminal: adb shell sm set-force-adoptable true
  3. Go to Settings. โ†’ Warehouse โ†’ [Yours. SD-map] โ†’ Menus (โ‹ฎ) โ†’ Settings โ†’ Formatting as an internal.

Cons of the method:

  • ๐Ÿ”ธ The card will be encrypted and will not be read on other devices.
  • ๐Ÿ”ธ When you remove the map, the applications will stop working.
  • ๐Ÿ”ธ Not all Xiaomi models support this feature (especially in the case of the MIUI for the Chinese region).

2. Transfer of cache and media files

Some apps (such as WhatsApp, Telegram) allow you to manually specify a path to save media:

  • ๐Ÿ“ธ On WhatsApp: Settings โ†’ Warehouse โ†’ The Road to Media โ†’ choose SD-map.
  • ๐ŸŽต In Spotify: Settings โ†’ Sound quality โ†’ Retention on SD-map.

3. Cleaning the system with ADB

With ADB, you can remove unnecessary system applications (bloatware) that take up space:

adb shell


pm uninstall -k --user 0 com.miui.weather2 #Weather




pm uninstall -k --user 0 com.miui.videoplayer # Videoplayer




pm uninstall -k --user 0 com.xiaomi.scanner # Scanner

โš ๏ธ Warning: Removing system applications may disrupt the work MIUI. Before executing commands, create a backup copy through TWRP Or Orange Backup.

๐Ÿ’ก

Link2SD โ€” The most effective solution for transferring applications to SD-The card is in Xiaomi, but requires root rights and the right ext partition configuration.

FAQ: Frequent questions about Link2SD on Xiaomi

Can I use Link2SD without root rights?
No. Link2SD requires root to build symbolic links.Without root, you can only transfer cache of some apps manually, but that won't free up significant space.
Why After the Application Is Transferred to SD-card it's slowing down?
Probably yours. SD-The card is too slow. You need a class map to work properly. UHS-I (U1/U3) recording speed 10 MB/s. Check the speed through A1 SD Bench.
How to return the app back to internal memory?
Open Link2SD, select the app, and click โ€œDelete Links.โ€ After that, reinstall the app or transfer its data manually through Root Explorer.
Does Link2SD work on Xiaomi with MIUI 14?
Yes, but additional adjustments may be required: ๐Ÿ”ง Turn it off. MIUI Optimizations (see the error section). ๐Ÿ”ง Use Magisk to manage root rights. ๐Ÿ”ง On some models (for example, Redmi Note 12) you need to manually edit the fstab for mounting. ext4.
Can I transfer games (such as Genshin Impact) to the SD-map?
Technically yes, but not recommended: Games with large open worlds (e.g. Genshin Impact, PUBG) transferable SD-map: ๐Ÿ”น Slow down due to low reading speed. ๐Ÿ”น Load longer. ๐Ÿ”น It may not be able to download updates, better to clear the space in internal memory or use Google Play Games for cloud storage.