Transferring the cache of games and applications to the folder Android/obb na Android 11 is a task that many users face when there is a lack of internal memory. Unlike previous versions, Android 11 has introduced severe restrictions. access to system partitions, which complicated the process. Cache data, especially from heavy games like Genshin Impact or Call of Duty Mobile, can take up gigabytes of space, and moving them to an SD card or to obb allows you to free up space without losing progress.
In this article we will examine all working methods moving the cache to obb to Android 11 โboth with and without permissions. We will pay special attention to typical errors (for example, root, and without them. We will pay special attention to typical errors (for example, Error 920 v Google Play), methods for bypassing restrictions Scoped Storage, and alternative solutions for devices with MIUI, ColorOS and other customized shells. If you have previously tried to transfer data and received the message "There is not enough space on the device, although the SD card is empty", here you will find an explanation and solution.
Why the cache is not transferred in standard ways to Android 11
The main problem lies in the policy Scoped Storageimplemented by Google starting with Android 10 and tightened in Android 11. Now, by default, applications only have access to their isolated folders (/Android/data and /Android/obb), and direct writing to the root directories of the SD card is blocked. This means:
- ๐น File managers (like Total Commander or FX File Explorer) cannot just copy files to
obbโworkarounds are required. - ๐น ADB commands for transfer (
pm set-install-location 2) on Android 11 are unstable and are often ignored by the system. - ๐น Applications for transfer (for example, AppMgr III or FolderMount) require
rootor install their own drivers, which is not always safe.
Additional difficulties are created by manufacturers who modify Android to suit their shells. For example, on Xiaomi (MIUI 12+) even access to Android/obb through MTK Engineer Modeis blocked, and on Samsung One UI you may need to disable Knox to fully work with system folders.
โ ๏ธ Attention: On some devices (for example, Huawei c EMUI 11+), the folderobbmay be hidden even for root users due to hardware encryption. Before starting work, check the presence of the folder usingADB Shellcommandls /storage/emulated/0/Android.
Preparing the device: what needs to be done before transfer
Before you begin the transfer, follow the required steps to avoid data loss or failures:
- Create a backup copy cache and game saves. To do this:
- ๐ Copy the cache folder (usually located in
/Android/data/[package_name]/files) to a PC or cloud. - ๐ฎ For games with cloud saves (Genshin Impact, PUBG Mobile) Log in to your account to restore progress in case of failure
obb must be located on a partition with the file system FAT32 or exFAT (NTFS is not supported!).Settings โ Applications โ Accessibility โ Battery optimization.If you use SD card, make sure it is formatted as internal memory (to do this, select option โInternal storageโ). Otherwise Android 11 will not allow you to write data to obb removable media.
Make a backup of the cache and saves|Check the file system SD cards (FAT32/exFAT)|Disable battery optimization for the file manager|Format the SD card as internal (if necessary)|Make sure the Android/obb folder exists-->
| Media type | Support obb |
Required actions |
|---|---|---|
| Internal memory | โ Yes | No additional actions |
| SD card (removable, FAT32) | โ No | Format as internal or use root |
| SD card (internal, exFAT) | โ Yes | Move folder Android to the root of the card |
| OTG drive | โ No | Not supported without root and modifications |
Method 1: Transfer cache without root (via ADB and file manager)
This method is suitable for most devices on Android 11 and does not require superuser rights. We will use a combination of ADB (Android Debug Bridge) and a file manager with support for root operations, for example Mixplorer.
Step 1. Enable USB debugging:
- Go to
Settings โ About phone โ Build numberand tap 7 times to activate the mode developer. - Go back to
Settings โ System โ For developersand enableUSB Debugging. - Connect the device to the PC and confirm permission to debug.
Step 2. Use ADB to unlock access:
Open the command line (or Terminal on macOS/Linux) and run:
adb shell
sm set-force-adoptable true
This command allows Android 11 to treat the SD card as internal memory even without formatting. After completion, reboot the device.
Step 3. Transfer the cache via Mixplorer:
- Install Mixplorer from Google Play or from XDA Developers.
- In the application settings, enable the option "
Show hidden files" and "Root mode" (if available). - Go to the cache folder (for example,
/Android/data/com.tencent.ig/filesfor PUBG Mobile) and copy the files to/Android/obb/[package_name]/.
โ ๏ธ Attention: If when copying you see the error โOperation not permittedโ, it means that the manufacturer has blocked access toobbat the software level. In this case, only root or an alternative method using Termux (described below).
adb shell mkdir /storage/emulated/0/Android/obb/[package_name]
Replace [package_name] with the application ID (for example com.miHoYo.GenshinImpact).-->
Method 2: Transfer using Termux (for advanced users)
Termux is a terminal emulator for Androidthat allows you to execute Linux commands without root. You can use it to bypass restrictions Scoped Storageif the ADB method did not work.
Step 1. Install Termux and the necessary packages:
pkg update && pkg upgradepkg install wget openssl-tool proot -y
termux-setup-storage
After By running the last command, grant Termux access to the storage.
Step 2. Download and run the transfer script:
wget https://raw.githubusercontent.com/EXALAB/AnLinux-Resources/master/Scripts/Installer/Kali/kali.shchmod +x kali.sh
./kali.sh
This script will create an isolated environment where you can work with files without restrictions. Android 11After installation, complete:
./start-kali.sh
cp -r /sdcard/Android/data/[package_name]/files/* /sdcard/Android/obb/[package_name]/
Step 3. Set up symbolic links (if the cache is not detected):
If the game does not see the cache in obb, create a symbolic link:
ln -s /sdcard/Android/obb/[package_name]/ /sdcard/Android/data/[package_name]/files/
What to do if Termux gives an error "Read-only file system"?
This error means that the partition is mounted in read-only mode. Solution:
1. Reboot the device.
2. In Termux, run su (if you have root) or use the command mount -o remount,rw /.
3. If nothing helps, try another method (for example, with root). data-i="176">Method 3: Transferring the cache with root access (the most reliable)
Method 3: Transfer cache with root access (most reliable)
If the previous methods did not work, root access it remains the most universal solution. It allows you to directly edit system folders and bypass all restrictions Scoped Storage.
Step 1. Getting root access:
- ๐ง Suitable for most devices Magisk (install via TWRP or patch
boot.img). - ๐ฑ On Samsung required unlock
OEM Unlockin developer mode and flash TWRP via Odin. - โ ๏ธ On Xiaomi s MIUI 12+ you may need to unlink your account before unlocking the bootloader.
Step 2. Use Root Explorer:
- Install Root Explorer or Solid Explorer with root support.
- Go to
/data/data/[package_name]/filesand copy the cache to/sdcard/Android/obb/[package_name]/. - If the game does not see the files, change the access rights:
chmod -R 777 /sdcard/Android/obb/[package_name]
Step 3. Editing configuration files (if necessary):
Some games (for example, Genshin Impact) check the cache path in the file config.ini. Open it in a text editor and replace:
[FilePath]
CachePath=/sdcard/Android/obb/[package_name]/
โ ๏ธ Attention: On devices with Dynamic Partition (for example, Pixel 4+ or OnePlus 8T) direct writing to /data may lead to system failure. In this case, use Magisk Module to mount the partition in read-write mode.
Standard copying via file manager|ADB commands|Termux|Root access|None of the above-->
Solving common errors when moving cache
Even after a successful transfer, users often encounter errors. Let's look at the most common of them and how to fix them:
| Error | Cause | Solution |
|---|---|---|
Error 920 on Google Play |
Damaged cache files or incorrect permissions access | Delete the folder obb and download the cache again via the Play Market |
| The game does not start after transfer | Path mismatch in configuration files | Edit config.ini or create a symbolic link |
Failed to mount OBB |
SD card is formatted as removable or damaged | Reformat the card as internal or check for errors (fsck) |
The cache takes up space both in the internal memory and in obb |
The game creates duplicate files | Clear the game cache in the settings and restart it |
Error: "Not enough space" even though the SD card is empty
This problem is typical for devices with Adoptable Storage (for example, Motorola or Nokia). Solution:
- Go to
Settings โ Storage โ SD card. - Click โ
Format as internal" (all data will be deleted!). - After formatting, transfer the cache to
obbanew.
Error: "File is corrupted" when starting the game
Most often this means that the cache files were copied incompletely or with errors. Check:
- ๐ The size of the copied folder (must match the original).
- ๐ File integrity (use
md5sumin Termux). - ๐ฅ Download again cache from the official source.
If the game gives a license error after transferring the cache (for example, in Nintendo Switch emulators), the reason may be a mismatch of the device identifier. The solution is to delete the file license.dat in the cache folder and restart the game.
Alternative ways to free up space without moving the cache
If moving the cache to obb is not possible (for example, due to hardware limitations), consider alternative methods to free up memory:
- ๐๏ธ Cleaning up unnecessary files:
- Use SD Maid or Files by Google to delete temporary files.
- Clear the system application cache in
Settings โ Applications โ Storage.
- โ๏ธ Cloud storage:
- Transfer media files (photos, videos) to Google Photos or Yandex Disk.
- Use GameTurbo (on Xiaomi) to compress game data.
- ๐ Transfer applications to SD card:
- In
Settings โ Applicationsselect the application and click "Move to SD cardยป. - Use AppMgr III to force a transfer (requires ADB).
- In
- ๐ ๏ธ Changing a partition
/data:- On devices with an unlocked bootloader, you can increase the partition size
/datavia TWRP. - For Samsung suitable tool Pit Magic (requires
Odin).
- On devices with an unlocked bootloader, you can increase the partition size
If your device supports USB OTG, you can connect an external SSD drive and use it to store the cache. To do this:
- Connect an OTG drive (formatted in
exFAT). - Create a folder
Android/obbin the root of the drive. - Use AppMgr III or FolderMount for binding folders for the game.
FAQ: Frequently asked questions about transferring the cache to Android 11
Is it possible to transfer the cache to obb without root on Samsung with One UI 3.1?
On devices Samsung s One UI 3.1+ transfer without root is possible, but with reservations:
- SD card must be formatted as internal memory.
- Use Mixplorer with mode enabled
Root(even without real root access, it sometimes gains access). - If the game does not see the cache, create a symbolic link via Termux:
ln -s /storage/1234-5678/Android/obb/[package_name] /storage/emulated/0/Android/obb/[package_name]
Replace 1234-5678 with the real identifier of your SD card (you can find it out with the command ls /storage in Termux).
After transferring the cache to obb, the game gives the error "The files are corrupted". What to do?
This error occurs in three cases:
- Incomplete copy: Check the folder size
obbโit must match the original cache. - Incorrect access rights: Run in Termux:
chmod -R 777 /sdcard/Android/obb/[package_name] - File corruption: Download the cache again through the official game launcher (for example, Genshin Impact has a built-in integrity check).
If nothing helps, try moving the cache back to the internal memory and running the game to generate new configuration files.
How to transfer the cache to obb on Xiaomi with MIUI 12.5?
On Xiaomi s MIUI 12.5+ additional restrictions apply:
- ๐น Without root: Use MTK Engineer Mode (code
##36446337##) โMount & Storageโ disableOBB Protection. - ๐น C root: Install the module MIUI OBB Fix for Magisk.
- ๐น Alternative: Transfer the cache to an OTG drive and link it via FolderMount.
If after transfer the game does not start, check the presence of the file main.1.com.[package_name].obb - on MIUI it can automatically rename.
Is it possible to transfer the cache to obb on an Android 11 emulator (BlueStacks, LDPlayer)?
On emulators, the process is simplified, since there are no hardware restrictions:
- Close the emulator and go to its data folder (usually
C:\ProgramData\BlueStacks\Engine\UserData\SharedFolder). - Copy the cache from
Android/datatoAndroid/obb. - If the game does not see the files, edit
config.iniin the cache folder, replacing the paths from/data/to/obb/.
For LDPlayer you may additionally need to enable Root Mode in the emulator settings.
Will transferring the cache to obb work on Android 12 and later?
Starting with Android 12, Google has tightened the policy Scoped Storage, but workarounds remain:
- ๐น Without root: Methods with ADB and Termux work, but may require additional commands (for example,
sm set-force-adoptable trueneed to be executed after each reboot). - ๐น With root: Full access is maintained, but on some devices (for example, Pixel 6+) you need to disable
AVB(Android Verified Boot). - ๐น Manufacturers: Samsung i Xiaomi added their own restrictions, so new versions of shells (One UI 4+, MIUI 13+) may require a kernel patch.
For Android 13+ it is recommended to use Shizuku + AppOps to bypass restrictions without root.