Have you ever lost an important file on a Xiaomi smartphone without knowing where it was saved? Or tried to make room but couldn't find folders with an app cache? Unlike "pure" Android, firmware MIUI It has a unique storage structure, with its own system directories, hidden folders for backups and non-obvious paths to media files. Even experienced users sometimes get confused about where exactly screenshots, call records or downloads from the browser are stored.
In this article, we will discuss in detail:
- ๐ Standard paths to folders with photos, videos, music and documents in MIUI 14/15 (including the differences between internal memory and SD-card).
- ๐ Hidden system directories where backups, error logs and application data are stored (including MIUI/Backup, Android/data).
- โ๏ธ How to access protected folders (for example, DCIM/.thumbnails or MIUI/sound_recorder) rootless.
- โ ๏ธ Dangerous File Manipulations That Can Lead to System Failure (and How to Avoid Them).
Special attention will be paid to the unique feature of Xiaomi โ duplicate media files in the folder MIUI/Camera, And you'll also find out why, after you update, you'll never know. MIUI Some files are "disappeared" (spoiler: they are moved to the MIUI/Extra).
1. Standard folder structure on Xiaomi: where is what is the default
Firmware MIUI Follows the logic of Android, but adds its own directories.All personal files of the user are stored in the root folder of internal memory (/storage/emulated/0/) or SD-map (if connected as a portable storage) Here's the basic structure:
| Type of file | The way to the folder | Notes |
|---|---|---|
| Photo and video from the camera | /DCIM/Camera/ | Also duplicated in /MIUI/Camera/ (see section 3). |
| Screenshots | /Pictures/Screenshots/ | V MIUI 15 added a folder /Pictures/Screenshots/ScrollCapture/ long-screen. |
| Downloads from the browser | /Download/ | Files from Mi Browser and Chrome are saved here by default. |
| Call records. | /MIUI/sound_recorder/call_rec/ | Only if the recording function is enabled in the phone settings. |
| Documents and files of office applications | /Documents/ or /Android/data/[package_name]/files/ | For example, files WPS Office lies in /Android/data/cn.wps.moffice_eng/files/. |
It is important to understand that the paths may differ depending on:
- ๐ฑ Smartphone models: on Xiaomi 13 Pro and Redmi Note 12 The structure is identical, but on older devices (e.g., Mi). 8) Maybe there's no file. /MIUI/Extra.
- ๐ Firmware Region: Global (Global) ROM) and Chinese (China) ROM) version MIUI The paths to some system folders vary.
- ๐ Versions MIUI: starting MIUI 12, folder /MIUI/Theme It became hidden by default.
โ ๏ธ Note: Don't confuse the folder /DCIM/Camera (main photos (c) /MIUI/Camera (Removing files from one folder does not always delete them from another!
2. Hidden system folders: what is stored there and how to get there
Besides visible catalogues, MIUI It creates a lot of hidden folders that don't appear in the standard file manager:
- ๐ง Through a root access conductor (e.g., Root Explorer or Root Explorer) FX File Explorer with Superuser Mode enabled).
- ๐ป Connecting the smartphone to the PC and using the command adb shell ls -la /storage/emulated/0/ terminal.
- ๐ฑ By enabling the display of hidden files in the file manager settings (in Mi File Manager: Settings) โ Show hidden files).
Here are the key hidden directories and their contents:
| folder | What it keeps. | Can I remove it? |
|---|---|---|
| /MIUI/Backup/ | System backups created through Settings โ My device. โ Backup. | โ No, it can disrupt the recovery work. |
| /Android/data/ and /Android/obb/ | Application data and cache (e.g. game saves, downloads from Telegram). | โ ๏ธ Partially โ Deleting a folder of a particular application is equivalent to resetting it. |
| /MIUI/Extra/ | Temporary files created during the update MIUI or transfer of data between devices. | โ Yes, but only if you don't plan to roll back the update. |
| /DCIM/.thumbnails/ | Miniatures for the gallery, automatically removed when the cache is cleared. | โ Yes, they are restored at the next gallery opening. |
| /MIUI/sound_recorder/ | Recording (including call records if the function is enabled) | โ No, it's user data. |
One of the most common questions is: Why after the update MIUI The answer is simple: the system transfers some data to the /MIUI/Extra/ or /MIUI/Backup/Temp/ If the update is successful, the files are returned to the site. If not, they can be manually restored from these folders.
What happens if you delete the Android/data folder?
3.Duplicate files: why Xiaomi is doing twice as much space
Unique "fiction" MIUI โ Automatic duplication of media files in multiple folders, for example, the same photo can be stored simultaneously in the same file:
- ๐ธ /DCIM/Camera/ โ original.
- ๐ /MIUI/Camera/ โ copy, sometimes with other metadata (e.g., without geotags).
- โ๏ธ /MIUI/CloudBackup/ โ If backup is enabled in Mi Cloud.
This is done to:
- Quick access to files from different applications (for example, photo editor Mi Gallery takes pictures from the files). /MIUI/Camera).
- Compatibility with older versions MIUI, path /DCIM/ might not be recognized.
- Backups in case of failure (if a file is corrupted in one folder, it can be restored from another).
How do you fix that?
- Open the gallery. โ Albums. โ Camera.
- Click on the three dots in the upper right corner โ Select.
- Select all files โ Delete.
- Check if the files are still in the /MIUI/Camera/ (They are usually removed automatically, but sometimes they are orphans").
Delete files from /DCIM/Camera/
Check the folder. /MIUI/Camera/ leftover
Clear the gallery cache in Settings โ Annexes โ gallery โ Warehouse
Reset the device
-->
If you use Google Photos to back up, duplicates can be created there, too. To avoid this, in the Google Photo settings, turn off the option to Create copies of edited photos.
4. Where specific application files are stored (Telegram, WhatsApp, games)
Every Android app (and every app) MIUI including) has its own folder in /Android/data/[Name packages. / Here are the ways to the most popular:
| Annex | The path to files | What it keeps. |
|---|---|---|
| /WhatsApp/Media/ | Photos, videos, voice messages from chat rooms. | |
| Telegram | /Telegram/Telegram Images/ and /Telegram/Telegram Documents/ | Media files and documents downloaded from chat rooms. |
| TikTok | /TikTok/Downloads/ | Downloaded videos (if allowed in the application settings). |
| Games (Genshin Impact, PUBG Mobile) | /Android/obb/[name packet]/ and /Android/data/[packet]/files/ | Cache, saves, additional data (weighing up to several GB!). |
| Mi Video (standard app) | /MIUI/Video/ | Uploaded videos and previews for the player. |
To find a folder of a particular application:
- Open Settings โ Applications โ Application Management.
- Choose the appropriate app (such as Instagram).
- Go to the Warehouse. โ Management of space.
- Click Clear Cache or Delete Data (but remember, this will delete your files too!).
โ ๏ธ Attention: Folders in /Android/data/ You can use this to get files back from there to your PC. ADB Or a root-righted conductor. A simple example of a copy command is adb pull. /sdcard/Android/data/com.whatsapp/WhatsApp/Media/ C:\Backup\WhatsApp\
5. How to find and delete unnecessary files (cache, logs, garbage)
Over time, Xiaomi accumulates garbage that is not visible in the standard interface.
- ๐๏ธ Cash galleries: /DCIM/.thumbnails/ โ can be removed without consequences.
- ๐ฑ Logs of the system: /MIUI/debug_log/ and /log/ โ They contain debugging information (you can delete it, but it will appear again).
- ๐ฎ Cash games: /Android/obb/ โ Additional game data is stored here (weighing up to the 2โ3 GB per game!).
- ๐ฅ Temporary download files: /Download/.temp/ โ under-quality or corrupted files.
For safe cleaning:
- Use the built-in Settings tool โ Warehouse โ Cleaning (analyzes garbage and suggests removing it).
- For deep cleaning, install SD Maid or Files by Google (they find files that standard tools skip).
- To remove the cache of a particular application: Settings โ Annexes โ [name] โ Warehouse โ Clear the cache.
๐ก
Before mass deletion of files, create a backup of the folder /MIUI/Backup/ โ It contains critical data to restore the system.
If you notice that the disk space "disappears" for no reason, check the folder. /MIUI/Extra/ โ Sometimes there are gigabytes of temporary files after updates.
6. Backup of personal files: where and how to save
There are several ways to back up Xiaomi:
| Method | Wherever it stays | Pluses | Cons |
|---|---|---|---|
| Local backups (MIUI Backup) | /MIUI/Backup/AllBackup/ | It does not require the Internet, saves the system settings. | It does not copy some apps (such as WhatsApp). |
| Mi Cloud | Xiaomi Cloud (5GB for free) | Automatic synchronization of photos, contacts, notes. | Limited space, not all files are copied. |
| Google Drive (via Google Photos) | Google Cloud (15GB free) | Reliable storage, access from any device. | Compresses the photo at a free rate. |
| Manual copying on PC | Any folder on the computer. | Full control, no volume restrictions. | It takes time and cable (or Wi-Fi transmission). |
How to make a backup copy through MIUI Backup:
- Go to Settings โ My Device โ Backup.
- Click Backup and select the data to save (contacts, messages, Wi-Fi settings, etc.).
- Wait until the process is completed (file will appear in the file). /MIUI/Backup/AllBackup/).
โ ๏ธ Attention: Backup copies MIUI Backups are not compatible with other firmware (like LineageOS). If you plan to switch to custom firmware, use it. TWRP Titanium Backup.
7. Frequent file problems on Xiaomi and their solutions
Here are the typical situations that users face and how to solve them:
- ๐ "Photos are in the gallery, but not in the folder DCIM": Check it out. /MIUI/Camera/ โ Also make sure that the Gallery does not turn on the mode Show hidden files (it can hide some media).
- ๐ "Download folder is empty, but space is occupied": Use DiskUsage or Storage Analyzer to analyze the disk - often temporary files in the disk take up space /Android/data/ or /MIUI/Extra/.
- ๐ "I can't delete the folder, writes 'File is busy': Close all applications that may be using the file (e.g. Gallery or Music). If it doesn't work, reboot your phone in Safe Mode (press the power button). โ Restarting in Safe Mode).
- ๐ฑ "After resetting to factory settings, the files are gone: Check the folder /MIUI/Backup/Temp/ โ Sometimes files are saved there before reset. If not, restore from Mi Cloud or Google Drive.
๐ก
If the files are "disappeared" after the update MIUI, Check the folders first. /MIUI/Extra/ and /MIUI/Backup/Temp/ โ Data is often temporarily moved there.