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.
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 formatting | Advantages | Deficiencies | Is it good for cache? |
|---|---|---|---|
| Portable storage | You can retrieve the map, the data is available on other devices | Applications cannot automatically save cache | โ No. |
| Internal storage | Applications can use a card for cache and data | Map is tied to the device, can not be removed without formatting | โ Yes. |
| Formatting in FAT32/exFAT | Compatibility with other devices | Does not support application cache transfer | โ No. |
To format the card as an internal storage:
- Put it in. SD-smartphone-card.
- Go to Settings. โ Memory. โ SD-map.
- Click Format as Internal (in some versions) MIUI This is called using as internal memory).
- 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:
- Open Settings โ Applications โ Application Management.
- Select the app you want to transfer (e.g. YouTube).
- Go to the Warehouse. โ Modify (or Memory) โ The way to preserve).
- Indicate. SD-card.
- 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:
- Turn on Developer Mode: Settings โ About Phone โ MIUI version (click 7 times).
- Activate USB Debugging: Settings โ Additional โ For Developers โ Debugging by USB.
- Connect your smartphone to your computer and confirm your trust in the device.
- Open the command line (CMD) and type: Adb devices Make sure your Xiaomi appears in the list.
- 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.
- 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?
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:
- Install and open FolderMount, provide root access.
- Select the application you want to transfer (for example, PUBG Mobile).
- Please specify the cache folder (usually) /Android/data/packet/).
- Select the target folder on SD-map (e.g., map, /storage/1234-5678/PUBG_Cache/).
- Press Mount and restart your smartphone.
Alternatively, through the Link2SD:
- In Link2SD, select the app and click Create a link.
- Check Cash and Data.
- Indicate. SD-map as target storage.
- 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 cause | Decision |
|---|---|---|
| The application does not start after the transfer | Incompatibility with external storage or mounting error | Move the cache back to internal memory or clear the app data |
| The smartphone slows down when using SD-map | Low speed card (class below) U3/A2) | Replace the card with a faster one or transfer only lighter apps |
| Cash is not saved on SD-map | The app ignores settings or the card is formatted as portable | Check the app settings or reformat the map as internal storage |
| SD-The card is not determined after extraction | The card is encrypted as an internal storage | Format 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.