Where are the personal files on Xiaomi smartphones: hidden folders, system directories and user data

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).

๐Ÿ“Š What version? MIUI you have a smartphone?
MIUI 14
MIUI 15
MIUI 13 or older
I don't know.
Another firmware

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 fileThe way to the folderNotes
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:

folderWhat 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?
Deleting this folder will result in the reset of all applications (loss of saved games, logging out of accounts, etc.). However, some applications (such as WhatsApp) store backups in the game. /sdcard/WhatsApp/Databases, So the chats can be restored.

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:

  1. Quick access to files from different applications (for example, photo editor Mi Gallery takes pictures from the files). /MIUI/Camera).
  2. Compatibility with older versions MIUI, path /DCIM/ might not be recognized.
  3. Backups in case of failure (if a file is corrupted in one folder, it can be restored from another).

How do you fix that?

  1. Open the gallery. โ†’ Albums. โ†’ Camera.
  2. Click on the three dots in the upper right corner โ†’ Select.
  3. Select all files โ†’ Delete.
  4. 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:

AnnexThe path to filesWhat it keeps.
WhatsApp/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:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Choose the appropriate app (such as Instagram).
  3. Go to the Warehouse. โ†’ Management of space.
  4. 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:

  1. Use the built-in Settings tool โ†’ Warehouse โ†’ Cleaning (analyzes garbage and suggests removing it).
  2. For deep cleaning, install SD Maid or Files by Google (they find files that standard tools skip).
  3. 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:

MethodWherever it staysPlusesCons
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 CloudXiaomi 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 PCAny 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:

  1. Go to Settings โ†’ My Device โ†’ Backup.
  2. Click Backup and select the data to save (contacts, messages, Wi-Fi settings, etc.).
  3. 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.

๐Ÿ“Œ Why Xiaomi photos are saved in two folders: DCIM and MIUI/Camera?
It's a feature. MIUI: folder /DCIM/Camera/ โ€” The standard Android path, and /MIUI/Camera/ It is used for compatibility with proprietary applications (Mi Gallery, Mi Video) and you need to delete files from both folders, otherwise they will remain in the gallery.
๐Ÿ“Œ How to transfer files from internal memory to SD-map?
V MIUI There are two modes of operation with SD-Card: Portable storage: the card is used as a flash drive (files are manually transferred through the explorer). Internal memory: the card is formatted and becomes part of the system (applications can be transferred to it). To enable this mode, go to Settings โ†’ Warehouse โ†’ SD-map โ†’ Settings โ†’ Formatting as an internal memory. โš ๏ธ Note: After formatting as internal memory, the card will not be read on other devices!
๐Ÿ“Œ Can I delete the folder? Android/data, free up?
Delete the entire folder. /Android/data/ You can't do that, because it'll crash all the apps, but you can: Delete the cache of specific applications through Settings. โ†’ Annexes โ†’ [name] โ†’ Warehouse โ†’ Clear cache. Delete data from unnecessary games (e.g. Genshin Impact cache can weigh) 10+ Use GB. SD Maid to search for โ€œorphanโ€ files (remnants of remote applications).
๐Ÿ“Œ Where do recordings of conversations on Xiaomi remain?
Call records are stored in /MIUI/sound_recorder/call_rec/. To turn them on: Open the Phone app. Click on three dots. โ†’ Settings โ†’ Record conversations. Choose Record automatically or Record manually. โš ๏ธ In some countries, recording conversations without the consent of the interlocutor is prohibited by law!
๐Ÿ“Œ How to Recover Deleted Files on Xiaomi?
If files have been recently deleted: Check the Recycle Bin in the Gallery or Files (files are stored there for 30 days); Use recovery software: DiskDigger, Recuva (requires root permissions for deep scanning); If backup is enabled in Mi Cloud or Google Photos, restore files from there. To increase the chances of recovery: Do not write new files to the device. Turn off automatic synchronization (it can overwrite deleted data).