Where Xiaomi Stores Games: Paths to Files, Cache and Save in Android

Have you ever wondered where your Xiaomi smartphone stores installed games? Without understanding the storage structure, it is difficult to vacate space, transfer progress to another device, or simply find files for backup. In this article, we will analyze all possible locations where you can find a new device. MIUI It stores game data from APK-files before saving and cache, and explain how to work safely with them.

Itโ€™s important to consider that the path to files may differ depending on the version of MIUI (12, 13, 14 or 15), the smartphone model (Redmi Note 12, POCO X5, Xiaomi 13T, etc.) and even from the game itself. For example, Genshin Impact saves data differently than Brawl Stars. Weโ€™ll look at the universal methods that work on most devices, as well as the nuances for popular games.

If you plan to clean your memory, transfer games to a memory card, or recover deleted files, this will help you avoid errors, but remember that some folders are hidden from the user, and you will need a super-user or advanced file manager to access them.

1. Basic folders with games in MIUI: where to look for APK and data

By default, all installed games (like any other application) are stored in the system partition /data/app. However, access to this folder is limited - without root rights, you will see only a part of the files.

  • ๐Ÿ“ APK-Game files: usually located in the /data/app/[game-pack]-1/base.apk. For example, for Clash of Clans, the path will be /data/app/com.supercell.clashofclans-1/base.apk.
  • ๐Ÿ—ƒ๏ธ Application data (cache, settings): stored in /data/data/[This is where the saves, the temporary files and the configurations are.
  • ๐Ÿ’พ OBB-Files (additional data for heavy gaming): look for the /Android/obb/[a game pack, /Android/obb/com.miHoYo.GenshinImpact/main.1.version.obb.
  • ๐Ÿ“‚ Cash games: often duplicated in /Android/data/[game-pack]/cache. Here you can find loaded textures, sounds and other resources.

To see these folders, youโ€™ll need a file manager with access to a root directory, like MiXplorer or Solid Explorer. In standard Xiaomi Files, many system directories are hidden.

โš ๏ธ Note: Removing files from /data/app or /data/data Without backup, you will delete the game and all your saves completely. If the game syncs to your account (Google Play, Mi Account), you can recover progress, but local data will be lost.

๐Ÿ“Š What file manager do you use on Xiaomi?
Mi Files (standard)
MiXplorer
Solid Explorer
FX File Explorer
Other

2. How to find games on a memory card (SD-card)

If you migrated games to microSD through MIUI settings, their files will be stored in separate folders on an external drive.

  • ๐Ÿ“ฑ APK-file: MIUI It does not allow you to install games directly on SD-The map, but you can manually transfer it. APK any folder (for example, /sdcard/APK/). They will not be able to run from there, except when installed.
  • ๐ŸŽฎ OBB and game data: if the game supports storage SD, file will be /sdcard/Android/obb/[game-pack] or /sdcard/Android/data/[game-pack].
  • ๐Ÿ”„ Game Save: Some games (e.g. Minecraft) allow you to choose the path to save. /sdcard/games/ or another catalogue.

To check which games support SD portability:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Select the game from the list.
  3. Click Warehouse and see if the Change option is active (to transfer to SD).

โš ๏ธ Attention: Starting with MIUI 12, Xiaomi has limited the ability to transfer games to the SD-card due to Android security policy. If option is not available, try using ADB-teams (see section 5).

Check the class of the memory card (UHS-I recommended)

Create a backup copy of the saves

Free up at least 10% of memory on the card

Use the original SD (not fake)

-->

3. Where are saved games (saves) on Xiaomi stored

The location of the save depends on how the developer implemented the storage, and here are the most common options:

Type of preservationThe path to filesExamples of gamesDo you need root rights?
Local conservation/data/data/[game package]/filesBrawl Stars, Among UsYes.
Cloud Reservations (Google Play)Synchronized with the accountClash Royale, Candy CrushNo.
Retentions at OBB/Android/obb/[game package]Genshin Impact, PUBG MobileNo.
Own game folders/sdcard/[game name]Minecraft, TerrariaNo.

To extract local saves without root rights, you can use backup through ADB:

adb backup -f backup.ab -apk -obb -shared -all

This command will create a backup.ab file with all the app data, which can then be unpacked using Android Backup Extractor.

๐Ÿ’ก

If the game supports sync with Google Play, check the saves in the Game Profile. There you can manually initialize the recovery of progress.

4.Cash games: where it is stored and how to clean it

Cache games take up the lion's share of memory, especially in heavy projects like Call of Duty Mobile or Honor of Kings.

  • ๐Ÿงน Main cache: /data/data/[game-pack]/cache (root).
  • ๐Ÿ—‘๏ธ External cache: /Android/data/[game-pack]/cache (rootless).
  • ๐Ÿ–ผ๏ธ Texture and model cache: often in the /Android/obb/[game-pack].

Cleaning the cache can be done in several ways:

  1. Through MIUI settings: Settings โ†’ Applications โ†’ Application Management โ†’ [game] โ†’ Clear the cache.
  2. Through File Manager: delete the contents of /Android/data/[game package]/cache.
  3. Using SD Maid or CCleaner, these apps can find and clean the cache automatically.

โš ๏ธ Attention: Cleaning the cache in /data/data/... without a backup can reset game settings (e.g. graphical presets in Genshin Impact (/Android/data/...) It is usually safe to remove.

What happens if you remove it? OBB-gamefile?
Without OBB, the game will either not start or start downloading files again. For example, in PUBG Mobile, the weight of OBB can reach 2 GB - its removal will cause the game to re-upload data on the next run.

5. ADB-Teams for working with games (without root)

If you donโ€™t have root rights but need to transfer, back up or delete game files, Android Debug Bridge (ADB) will help.

List of all installed games (packages)


adb shell pm list packages -f | grep -i game




The path to the APK- game file (example for Brawl Stars)



adb shell pm path com.supercell.brawlstars




Copying OBB-file from a device to a PC



adb pull /sdcard/Android/obb/com.miHoYo.GenshinImpact/ C:\Genshin_Backup\




Delete the game cache (without deleting data)



adb shell pm clear com.activision.callofduty.shooter

To transfer the game to SD-card (if) MIUI blocks this option):

adb shell pm set-install-location 2

This command forces the system to install applications on the external drive by default, but not all games support this mode, many require installation in internal memory.

๐Ÿ’ก

ADB allows you to manage games without root, but requires enabled debugging over USB (Settings โ†’ About Phone โ†’ MIUI version (7 times) โ†’ Additional โ†’ For developers โ†’ USB debugging).

6. How to find hidden games and system files

Some games (especially those pre-installed by Xiaomi, such as Mi Game Center) can store files in non-obvious places.

  • ๐Ÿ” System games: /system/priv-app/ or /system/app/ (root).
  • ๐Ÿ“ฆ Data Archives: Sometimes games save backups /data/data/[game-pack]/databases.
  • ๐Ÿ”— Symbolic references: MIUI Can create links to game files in /mnt/asec/ (encrypted).

To see hidden files in MiXplorer:

  1. Open the menu (three dots in the upper right corner).
  2. Select Settings โ†’ Show hidden files.
  3. Activate the option to Show system files (requires root).

If you suspect that the game leaves โ€œgarbageโ€ after deleting, check the folders:

/sdcard/.thumbnails/


/sdcard/.data/




/sdcard/MIUI/

There may be temporary files or logs.

7. Game Backup: The Complete Guide

To avoid losing progress when resetting your phone or reinstalling the game, make a backup according to this instruction:

  1. Synchronization with the account: ๐Ÿ”„ For Google Play Games: Check what is in Settings โ†’ Accounts. โ†’ Google โ†’ Synchronization of games enabled option Game data. ๐Ÿ“ฑ For Mi Account games: Close the game and wait for automatic synchronization (works at Mi Game Center).
  2. Manual file backup: ๐Ÿ“ Copy the folders. /Android/obb/[play /Android/data/[PC game. ๐Ÿ’พ For local saves, use adb backup (see section). 5).
  3. Specialized tools: ๐Ÿ› ๏ธ Swift Backup โ€“ Creates full backups of data games. ๐Ÿ–ฅ๏ธ Titanium Backup โ€“ allows you to save and restore progress.

โš ๏ธ Warning: Backup via adb backup isn't always exciting OBB-For security, copy them separately manually.

๐Ÿ’ก

The best way to back up is a cloud sync combination (Google/Mi Account) + hand-copying OBB and data on PCs.

Frequently Asked Questions (FAQ)

Can I transfer the game from my internal memory to SD-map if MIUI It doesn't give you that option?
Yes, but with limitations: Use ADB-Adb shell pm set-install-location 2 (see section 5) Some games (e.g. Genshin Impact) block the launch from the computer. SD Because of the protection against piracy, the speed of the game can be reduced if you have a problem with it. SD-Slow card (class below) UHS-I).
How to restore remote game saves?
The methods depend on the type of preservation: ๐Ÿ”„ Cloud Savings: Reinstall the game and log in to your account (Google Play, Mi Account, Facebook). ๐Ÿ’พ Local saves: try recovering files with DiskDigger or Recuva (if you havenโ€™t overwritten data). ๐Ÿ“ฑ Backup: If you've backupd from adb backup or Titanium Backup, restore it. For games like Minecraft, check the folder. /sdcard/games/com.mojang/ โ€” Sometimes the files remain there even after the game is deleted.
Why did the game stop after cleaning the cache?
This is normal for heavy gaming (such as Call of Duty Mobile or the likes of the game). PUBG). Causes: ๐Ÿ–ผ๏ธ The game reloads textures and models into cache, which loads the processor. ๐Ÿ“‰ If the cache is not completely cleared, broken files that interfere with the work may remain. ๐Ÿ”„ Some games optimize performance after a few runs (caching shaders).Solution: run the game 2-3 If the brakes are still there, check the graphics settings (may have reset to maximum).
Where are the games installed via APK (not from Google Play) stored?
The path is the same as standard games: APK: /data/app/[game package]-1/base.apk. Data: /data/data/[game package]. OBB: /Android/obb/[game package] (if any). The only difference is that these games are not automatically updated via Google Play, and they may not have access to cloud saves unless they are tied to a developer account.
How to find out the package name of the game?
There are several ways: Through Google Play: Open the game page in your browser - the batch name is indicated in the URL after id= (for example, com.supercell.clashofclans). Through MIUI Settings: Settings โ†’ Applications โ†’ Application Management โ†’ [game] โ†’ Additional. Through ADB: adb shell pm list packages | grep -i "[game name]"