How to save cache on SD-Map in Xiaomi: all the ways and nuances

Xiaomi smartphones with limited internal memory often face space shortages due to the accumulated cache of applications. SD-The map can be an effective solution, but not all users know how to do it correctly. MIUI (12, 13 or 14) and the device model process may be different โ€“ somewhere enough standard settings, and somewhere you will need to manually format the card as an internal drive.

In this article, we will analyze all the current methods of transferring cache to the SD-map, including hidden settings MIUI, utilization ADB-We will pay special attention to compatibility with popular models (Redmi Note). 10/11/12, POCO X3/X4, Mi 11/12) And the typical bugs that cause failures, and if you want to free up your internal memory without losing performance, read on.

Why does the cache take up so much space and can it be moved?

App caches are temporary files that are created to speed up programs, such as YouTube caches videos for smooth playback, and games (Genshin Impact, Call of Duty Mobile) download resources to load faster, and over time these files can take up several gigabytes, especially if you actively use social networks, streaming services or games.

Xiaomi has two types of cache: 1. System cache โ€“ managed by the OS and usually cleaned automatically. 2. Application cache โ€“ accumulates in the folders of each application (for example, /Android/data/com.whatsapp/).

You can only transfer the cache of applications, but not all programs support this function.

  • ๐Ÿ“ฑ What apps most often clog up the cache:
  • ๐ŸŽฎ Games (PUBG Mobile, Free Fire, Honor of Kings โ€“ up to 5-10GB.
  • ๐Ÿ“บ Streaming services (TikTok, YouTube, Netflix) โ€“ 1-3 GB.
  • ๐Ÿ“ธ Social networks (Instagram, Facebook, Telegram) โ€“ 500 MB-2 GB.
  • ๐Ÿ—บ๏ธ Maps (Google Maps, Yandex.Maps) โ€“ up to 1 GB of offline cache.

Transfer of cache to SD-The map is possible, but with reservations:

โ€” The card must be high speed (class) UHS-I U3 or A2), Otherwise, the app will be slowed down.

Not all applications support external drive (especially cheat-protected games).

After the transfer, some functions (such as notifications) may not work properly.

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

Preparation SD-Maps: Formatting and Choosing the Right Type

Before transferring the cache SD-The map needs to be formatted correctly. MIUI There are two options for using the card: 1. Portable storage - files are copied manually, but applications cannot store data to it automatically. 2. Internal storage - the card becomes part of the system, and applications can use it for cache.

Only the second option is suitable for transferring the cache, but it has drawbacks:

The map cannot be retrieved without losing data.

It will be encrypted and will not be read on other devices.

โ€” The speed depends on the class of the card (recommended). U3/A2).

Make a backup copy of the data from the card|Check the speed class (should be) U3 or A2)|Connect the card to your smartphone|Battery charge of at least 50%-->

Type of formattingAdvantagesDeficienciesIs it good for cache?
Portable storageYou can retrieve the map, the data is available on other devicesApplications cannot automatically save cacheโŒ No.
Internal storageApplications can use a card for cache and dataMap is tied to the device, can not be removed without formattingโœ… Yes.
Formatting in FAT32/exFATCompatibility with other devicesDoes not support application cache transferโŒ No.

To format the card as an internal storage:

  1. Put it in. SD-smartphone-card.
  2. Go to Settings. โ†’ Memory. โ†’ SD-map.
  3. Click Format as Internal (in some versions) MIUI This is called using as internal memory).
  4. Confirm the action and wait until it is completed (may take 5-10 minutes).

โš ๏ธ Warning: Once formatted as internal storage, the card will be encrypted, and if you retrieve it, the data will be inaccessible without the smartphone resetting to factory settings.

Method 1: Transfer cache through application settings (without root)

Some annexes to MIUI This is a method that works without root rights, but not all programs support it:

  • ๐ŸŽฎ Games (PUBG Mobile, Call of Duty, Genshin Impact).
  • ๐Ÿ“บ Streaming services (YouTube, TikTok, Kwai).
  • ๐Ÿ—บ๏ธ Maps (Google Maps, Yandex.Maps, 2GIS).

Instructions for transfer:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the app you want to transfer (e.g. YouTube).
  3. Go to the Warehouse. โ†’ Modify (or Memory) โ†’ The way to preserve).
  4. Indicate. SD-card.
  5. Confirm and restart the application.

If there is no Modify, the application does not support cache transfer, in which case only formatting the card as internal storage (see previous section) or using the cache will help. ADB (see next section).

๐Ÿ’ก

Before transferring the cache, check whether the application supports the work with SD-For example, WhatsApp and Telegram do not allow you to save media files to an external drive without additional manipulation.

Method 2: Use of the ADB force-transfer

If the application does not allow you to choose SD-map in settings, you can forcefully specify the path through ADB (Android Debug Bridge โ€“ This method requires connecting a smartphone to a computer, but does not need root rights. MIUI 12โ€“14.

What you need:

โ€” Computer with Windows/macOS/Linux.

โ€” Installed drivers Xiaomi and ADB (You can download from the official Android website).

โ€” Included debugging by USB smartphone.

Step-by-step:

  1. Turn on Developer Mode: Settings โ†’ About Phone โ†’ MIUI version (click 7 times).
  2. Activate USB Debugging: Settings โ†’ Additional โ†’ For Developers โ†’ Debugging by USB.
  3. Connect your smartphone to your computer and confirm your trust in the device.
  4. Open the command line (CMD) and type: Adb devices Make sure your Xiaomi appears in the list.
  5. Run a command to transfer the cache (replace com.example.app with an application package, for example com.whatsapp): adb shell pm set-install-location 2 This command forces the system to install the applications on the app. SD-default-card.
  6. For forced data transfer of an existing application: adb shell pm move-package com.example.app

โš ๏ธ Note: Not all applications work correctly after porting through ADB. For example, Google Play Store and system utilities can give out errors. Before executing commands, check compatibility on forums (for example, check compatibility on the forums, 4PDA or XDA Developers).

How to find out the package name of the application?
To find a batch name (e.g. com.whatsapp), install the App Inspector app from Google Play or use the command: adb shell pm list packages | grep "application name" For example, for Telegram the command will be: adb shell pm list packages | grep telegram

Method 3: Cache transfer using root rights (for advanced)

If your Xiaomi has root rights (for example, after unlocking the bootloader and installing Magisk), you can manually transfer the cache of any application. This method provides maximum flexibility, but requires caution - improper actions can lead to data loss or system failure.

The transfer will require:

Installed Root Explorer (or any file manager with root support)

โ€” FolderMount App or Link2SD (available on Google Play).

Backup copy of important data.

Instructions via FolderMount:

  1. Install and open FolderMount, provide root access.
  2. Select the application you want to transfer (for example, PUBG Mobile).
  3. Please specify the cache folder (usually) /Android/data/packet/).
  4. Select the target folder on SD-map (e.g., map, /storage/1234-5678/PUBG_Cache/).
  5. Press Mount and restart your smartphone.

Alternatively, through the Link2SD:

  1. In Link2SD, select the app and click Create a link.
  2. Check Cash and Data.
  3. Indicate. SD-map as target storage.
  4. Confirm and restart the application.

๐Ÿ’ก

Using root rights gives you full control over cache transfer, but voids the Xiaomi warranty and may disrupt some features (such as Mi Pay or Google Pay).

Problems after cache transfer and their solution

Even after the successful transfer of the cache to SD-This is the most common problem and the way to fix it:

Problem.Possible causeDecision
The application does not start after the transferIncompatibility with external storage or mounting errorMove the cache back to internal memory or clear the app data
The smartphone slows down when using SD-mapLow speed card (class below) U3/A2)Replace the card with a faster one or transfer only lighter apps
Cash is not saved on SD-mapThe app ignores settings or the card is formatted as portableCheck the app settings or reformat the map as internal storage
SD-The card is not determined after extractionThe card is encrypted as an internal storageFormat the map again (the data will be lost)

If after transferring the cache, the application began to fly out or work incorrectly, try:

โ€” Clear the cache and application data in Settings โ†’ Annexes.

Transfer the cache back to internal memory.

Update the app to the latest version.

To diagnose problems with SD-Use the built-in utility with the card MIUI: Settings โ†’ Memory. โ†’ SD-map โ†’ Check for errors.

Alternative ways to free up memory without cache transfer

If the cache is transferred to SD-The card is not suitable (for example, due to a slow card or application incompatibility), other methods of freeing up memory can be used:

  • ๐Ÿงน Automatic cleaning: B MIUI There is a built-in cleaning function (Settings) โ†’ Memory. โ†’ Clear it. It deletes unnecessary files, including cache and residual data.
  • ๐Ÿ—‘๏ธ Cleaning the cache manually: Go to Settings โ†’ Apps, select the app and click Clear cache.
  • โ˜๏ธ Cloud Storage: Move your media files (photos, videos) to Google Photos, Mi Cloud or Yandex Drive.
  • ๐Ÿ“ File Transfer: Use a file manager (such as Mi File Manager) to manually move large files to the file. SD-map.
  • ๐Ÿ”„ Resetting the cache of system applications: In Settings โ†’ All applications find Google Play Services, Mi Video and other system programs โ€“ their cache can take up to 1-2 GB.

For deep cleaning, third-party utilities can be used:

CCleaner (deletes unnecessary files and cache)

Files by Google (helps you find and delete duplicates)

โ€” SD Maid (deep cleaning of system debris, requires root).

โš ๏ธ Attention: Frequent cache cleaning can slow down applications as they have to re-download data, and it is optimal to clear the cache every 1-2 months or if there is a lack of memory.

FAQ: Frequent questions about transferring cache to SD-map

โ“ Can I transfer the WhatsApp cache to the SD-map?
WhatsApp does not officially support saving media files and cache on the Internet SD-But you can manually move the WhatsApp folder to a map and then create a symbolic link (root required.
โ“ Why after transferring the cache, games begin to lag?
It's got to do with low speed. SD-A class card is required for games. UHS-I U3 or A2. If the card is slow (like Class 10), texture and data loading will slow.Solution: return the cache back or buy a faster card.
โ“ How to return cache with SD-card back to internal memory?
The methods depend on the transfer method: โ€“ If you used the application settings: go back and select Internal Memory. โ€“ If transferred through ADB, Follow the command: adb shell pm move-package com.example.app 0 (where 0 is internal memory). โ€“ If you used root, in FolderMount, click Unmount.
โ“ Can I use it? SD-The card as internal memory for all Xiaomi models?
No, some budget models (e.g. Redmi) 9A or POCO C31) They do not support formatting SD-The cards are like an internal storage facility. MIUI 14 this function may be hidden. Check for Format as internal in memory settings.
โ“ What if the SD- card is not defined as internal memory after formatting?
Possible causes and solutions: โ€“ The map is damaged: try formatting it on PC in the future. FAT32 Incompatibility: Some cards (especially cheap ones) do not support internal storage mode. โ€“ System failure: restart your smartphone or reset settings (Settings) โ†’ Resetting settings โ†’ Reset the network settings).