Memory management in the operating system Android is a balance between the speed of the device and the amount of available space. When you download new applications, heavy games or media files, the system automatically determines where to save temporary and permanent data. Understanding what where exactly the cache is installed default helps you avoid sudden memory shortages at the most inopportune moment.

By default, most modern smartphones are configured to use internal memory to store application caches. This is due to the fact that the built-in drive has significantly higher read and write speeds than most memory cards. Application developers and the operating system itself prioritize performance, so the cache, which speeds up the launch of apps, is written to the fastest partition of the disk. eMMC or UFS Has significantly faster read and write speeds than most memory cards microSD. Application developers and the operating system itself give priority to performance, so the cache, which speeds up the launch of apps, is written to the fastest partition of the disk.

However, the situation changes when the internal storage is full. Users often wonder whether it is possible to force data streams to be redirected to external storage. The answer depends on the version Android, access rights root and the specific implementation of the shell by the manufacturer. In this material, we will analyze in detail the structure of the file system, cache paths and ways to optimize data storage.

Standard cache storage paths in the file system

The file system Android is built on the basis of the kernel Linux, which defines a strict hierarchy of directories. Understanding this structure is necessary for manually managing files through file managers with extended rights or when connecting to ADB (Android Debug Bridge). The bulk of temporary application data resides in specially designated system directories, access to which is limited to ordinary users for security reasons.

The cache of user applications installed from the store Google Play or third-party sources is located by default along the path /data/data/. Inside this folder, a separate directory is created for each application with the name of the package (for example, com.example.game), where databases, settings and cached images are stored. This section is protected from direct access without superuser rights.

For files that should be accessible to the user or other applications (for example, map cache in navigators or music in streaming services), the path /Android/data/ in the internal storage is used. Starting from version Android 11, access to this folder through standard file managers was significantly limited by policy Scoped Storage, which complicated manual clearing of the cache without special utilities.

Why is access to the Android/data folder closed?

Starting with Android 11, Google introduced a policy of limited access to storage (Scoped Storage) to increase privacy. Now applications cannot uncontrollably read files from other applications, and file managers see this folder as empty if you do not use System Explorer or ADB.

There is also a system-wide cache that is stored in the /cachepartition. This contains temporary files of the operating system itself, update logs and recovery data. Clearing this partition is safe and is often recommended when software crashes occur, as this data will be regenerated on the next boot.

Internal memory vs SD card: where to store data

The choice between internal memory and a memory card microSD is an eternal dilemma for owners of budget and mid-budget smartphones. Internal storage ensures maximum system performance. The random read and write speed of chips UFS 3.1 or UFS 4.0 can reach hundreds of megabytes per second, which is critical for quickly loading textures in games and instantly opening the application menu.

Using a memory card as the main location for the cache has its advantages, the main one being the size. You can use a cheap 128GB or 256GB card to store heavy media files, freeing up valuable space on your system partition. However, the speed of most class cards A1 or A2 is still inferior to the built-in memory, which can lead to micro-freezes and longer loading of content.

⚠️ Attention: Using a slow memory card (class below 10) to install a cache of heavy games can lead to constant stuttering and even application crashes due to timeouts when reading data.

Modern versions Android allow you to adapt the memory card to the needs of the system. You can format it as internal storage (Adoptable Storage). In this case, the system encrypts the card and combines its space with the main memory, allowing applications and their cache to be installed there automatically. However, this method has its own risks that are worth being aware of.

💡

If you format the card as internal storage, it will be encrypted and linked specifically to this smartphone. Inserting it into another phone or computer and reading the data will not work without completely resetting the card.

How to transfer the application cache to an SD card

The process of transferring data depends on the version of the operating system and the capabilities of the specific application. In older versions Android (before 6.0) there was a direct “Move to SD card” button in the settings of each application. In modern realities, this process has become more hidden and depends on the support of the function from the software developer.

To transfer data without root access, you must use standard system settings. Go to the Settings → Applicationssection, select the desired app and go to the “Storage” menu. If the developer has provided the possibility of transfer, the button for changing the storage location will be active. It is worth noting that not the entire cache is transferred, but only part of the user data, since system libraries must remain on a fast disk.

☑️ Checking the possibility of transfer

Done: 0 / 1

If it is not possible to transfer the cache using standard means, you can use the “Data Transfer” function when initially setting up the card as an internal drive. After formatting the card in Portable Storage to Internal Storagemode, the system will offer to transfer existing data. This is the most reliable way to force the system to write a new cache to external media.

For advanced users who have root access, there are utilities like Link2SD or App2SD. These apps allow you to create symbolic links, tricking the system into thinking that the application cache is in internal memory, although the files are physically on the card. This gives maximum flexibility, but requires caution when updating the system.

Setting up downloads in the browser and instant messengers

Applications that consume the largest amount of traffic and space deserve special attention: browsers and instant messengers. This is where gigabytes of cached images, videos and documents accumulate. Fortunately, in these applications, storage settings are often placed in a separate menu and do not depend on system restrictions. In a popular browser, you can manually specify the download folder. Although the page cache itself (temporary files for quickly displaying sites) usually remains in the system folder, all downloaded files can be sent directly to the card. To do this, in the browser settings, find the “Where to save files” item and select a path like Scoped Storage.

In a popular browser Google Chrome or Yandex Browser You can manually specify the download folder. Although the page cache itself (temporary files for quickly displaying sites) usually remains in the system folder, all downloaded files can be sent directly to the card. To do this, in the browser settings, find the “Where to save files” item and select the path like /storage/sdcard1/Downloads.

Messengers, such as Telegram and WhatsApp, have their own powerful cache management mechanisms. In the settings of these applications there is a “Data and Memory” section, where you can not only clear the cache, but also set the automatic upload of media files to the memory card. This is especially true for users participating in dozens of chats with active sending of photos and videos.

Application Path to storage settings Ability to transfer cache Note
Telegram Settings → Data and memory Full (auto-upload) You can store a cache on the card without restrictions
WhatsApp Settings → Chats → Media visibility Partial Depends on the Android version and access rights
Google Chrome Settings → Downloaded files Downloads only System page cache remains inside
Spotify Settings → Storage Full Music cache is transferred completely
💡

Setting up storage inside the applications themselves (Telegram, Spotify) is often more effective than system settings, since it allows you to transfer large media files, and not just service ones cache.

Using root access to manage the cache

Obtaining superuser rights (root) provides access to all hidden corners of the file system Android. With these rights, you can manually move cache folders of any applications to the memory card, edit configuration files and use scripts for automatic cleaning. This is the most powerful, but also the most risky optimization method.

One ​​of the popular tools is the application FolderMount. It allows you to create pairs of folders: one is located in the internal memory (where the system writes data by default), and the second is on the memory card. The application automatically redirects (mounts) the entry from the first folder to the second. Thus, the heavy cache of games or navigation maps (Google Maps, Yandex Maps) ends up on the external card, freeing up gigabytes inside.

⚠️ Attention: Incorrect use of tools with root access can lead to bricking of the device or loss of data. Always make a full system backup (Nandroid backup) before making changes to system partitions.

In addition, having root access allows you to use specialized cleaning scripts that delete not only the visible cache, but also hidden logs, error dumps and remnants of deleted applications. Utilities like SD Maid (in root mode) are able to find the "dead" cache that regular cleaners don't see, and safely delete it, giving back precious space.

📊 How do you prefer to manage memory on Android?
Internal memory only: I use an SD card as flash drive: Formatting SD as internal memory: Obtaining root access for fine tuning

Clearing the cache and preventing overflow

Even with the correct settings for saving paths, periodically clearing the cache is necessary to maintain stable operation of the smartphone. Over time, the cache accumulates broken files, outdated thumbnails, and data from long-deleted apps that take up space but are not useful. Regular memory hygiene prevents the interface from slowing down.

The easiest way to clean it is to use the system's built-in tools. In the Settings → Memory or Settings → Device maintenance section (depending on the brand) there is often a “Clear now” button. This feature deletes temporary files of all applications without affecting your personal photos, contacts or account logins. This is a safe procedure that can be carried out once a month.

For deeper cleaning, it is recommended to use the “Clear cache” function in Recoverymode. To do this, you need to turn off the smartphone, hold down the combination of buttons (usually Volume Up + Power) and select the item Wipe Cache Partitionin the menu that appears. It is important not to confuse this item with Wipe Data/Factory Resetwhich will delete all data from the phone!

What is the difference between clearing the application cache and Wipe Cache Partition?

Clearing the application cache deletes temporary files specific apps through Android settings. Wipe Cache Partition in Recovery mode clears the system cache partition of the operating system itself, which helps solve problems after major firmware updates.

Automation of the process is possible using scheduler applications. You can configure a scenario in which the cache of certain “heavy” applications will be cleared automatically when a certain threshold of free memory is reached. This eliminates the need to manually check the settings of each installed software.

⚠️ Attention: Recovery menu interfaces may differ on smartphones of different brands (Samsung, Xiaomi, Pixel). Before pressing buttons in recovery mode, carefully study the model of your device on the relevant forums so as not to select the wrong menu item.

Frequently asked questions (FAQ)

Is it possible to transfer the game cache to an SD card without root access on Android 13?

Directly transfer system cache of the game (obb and data in /data/data) without root access on Android 13 is almost impossible due to security restrictions. However, many modern games in their internal settings allow you to select an SD card as a place to download additional resources. You can also format the card as internal storage, then the system will decide where to write the data.

Why does the application run slower after clearing the cache?

This is normal. The cache contains temporary files (images, scripts) that speed up the re-download of content. After cleaning, the application has to download or generate this data again, which creates a load on the processor and network in the first minutes of operation. After a short time, the speed will be restored.

Is it safe to delete the /Android/obb folder manually?

Deleting files from the folder /Android/obb will lead to loss of the game cache. The next time you launch the game, it will try to download this data again. If you do not have access to the Internet or the game servers are unavailable, the game may not start. You should delete this folder only if you want to completely reset the state of games or free up space, understanding the consequences.

Does the location of the cache affect the charging speed of the phone?

Indirectly. If the cache is on a slow SD card, the processor and memory controller spend longer in an active state waiting to read data. This puts a slightly higher burden on power consumption. Using fast internal memory for the cache ensures that operations are completed more efficiently and the processor goes into sleep mode.

How can you learn how much space a specific application's cache takes up?

Go to Settings → Applications, select the desired application and click on "Storage" or "Memory". There will be details: how much space the application itself takes up, how much user data takes up and how much is allocated for the cache. The cache can be cleared directly from this menu with the “Clear cache” button.