Searching for Telegram messenger files on Xiaomi smartphones often turns into a quest β especially if you use an external memory card or are faced with hidden system folders. Unlike other applications, Telegram distributes data across multiple directories, and the MIUI shell adds its nuances, from access restrictions to automatic storage optimization. In this article, we will analyze all possible locations β from standard paths to rarely documented cache folders, and explain why files can βdisappearβ after updates or resets.
Many users mistakenly search for media files only in the gallery, unaware that Telegram defaults to save them in an isolated folder of the application. And if you activate the Save to the Gallery function, duplicates can occupy two places at once, especially for owners of Xiaomi Redmi Note 10/11 and POCO X3/X4, where MIUI aggressively manages the cache. Next are detailed instructions with the application versions and firmware.
Standard ways to store Telegram files on Xiaomi
By default, Telegram creates two main directories on the internal drive:
- π /storage/emulated/0/Telegram/ β The main folder with subdirectories for media, documents and cache, which stores files uploaded through chat rooms, including photos, videos and voice messages.
- π /Android/data/org.telegram.messenger/ β an application system folder containing databases (*.db), settings and temporary files, accessed only through a root or file manager ADB.
On Xiaomi smartphones with MIUI 12/13/14, the path can be modified due to storage virtualization. For example, on some models (for example, Xiaomi 12T or Redmi K50), the real path will look like /storage/emulated/0/Android/data/org.telegram.messenger/files/Telegram/.
- Open any file manager (e.g., Mi File Manager or Solid Explorer).
- Enable the display of hidden folders in the settings (Three dots β Settings β Show hidden files).
- Go to the Inner Memory β Telegram.
It is important that you use it. SD-The map as the main storage, the path will change /storage/XXXX-XXXX/Telegram/, where XXXX-XXXX β Unique card ID: on Xiaomi with hybrid slot (e.g. Redmi Note) 9 Pro) the card may be mounted as /mnt/media_rw/XXXX-XXXX/.
Search for hidden and system folders Telegram
Some Telegram files are stored in directories that are not available through standard Explorer.
- π Chat databases (.db and.db-journal) β contain message history, contacts and settings.
- π Cache of Stickers and Animations β Cache folder inside /Android/data/org.telegram.messenger/.
- π Temporary files for media preview (temp).
To access these folders without root rights:
- Connect your smartphone to your PC through USB-cable in file transfer mode (MTP).
- Use ADB (Android Debug Bridge) with the command: adb shell "run-as org.telegram.messenger ls /data/data/org.telegram.messenger/files/" This will display a list of files in the private directory of the application.
- To copy files to PC: adb pull /sdcard/Android/data/org.telegram.messenger/files/Telegram/
On Xiaomi with MIUI 14 and later, access via ADB may be restricted due to security policies, in which case a temporary disabling of MIUI Optimization through the developer is required (instruction below).
How to disable MIUI Optimization to access files?
Features of storage on the external SD-map
If you have transferred Telegram to SD-map (or save files there by default), take into account:
- π± On Xiaomi MIUI The card is formatted as an internal storage, so the path will be identical to the internal memory: /storage/emulated/0/Telegram/.
- π If the card is used as a portable storage, the path will change to /storage/XXXX-XXXX/Telegram/, where XXXX-XXXX β ID maps, for example, 1234-5678).
- β οΈ When you extract the card files become unavailable, and Telegram can create new folders on internal memory.
To check where the files are stored:
- Open Telegram and go to Settings β Data and memory β Download folder.
- If you've got a path like this /storage/1234-5678/Telegram, So the files are stored on the SD-map.
- To transfer files back to internal memory, change the path to /storage/emulated/0/Telegram/.
β οΈ Note: Xiaomi Redmi and POCO s MIUI 13+ formatting SD-The data is encrypted after the card is extracted, the files will not be available on other devices!
| Xiaomi model | Adoptable Storage Support | Max. Volume. SD-map | Features |
|---|---|---|---|
| Redmi Note 10/11 | Yes. | 1 TB | When formatting as an internal storage, it encrypts data |
| POCO X3/X4 | Yes. | 512GB | May require a reboot after connecting the card |
| Xiaomi 12/13 | No. | 1 TB | Portable storage only (without encryption) |
| Redmi 9A/9C | Yes. | 256GB | Slow work with cards of class below A1 |
Why Telegram files disappear or donβt show up
Xiaomi users often face problems when files from Telegram:
- π» Disappear after the update β MIUI Can clear the cache of applications with major updates.
- π Not displayed in the gallery - even if saved in the DCIM, MIUI Sometimes ignores files from messenger folders.
- ποΈ Remove when cleaning memory β Garbage Cleanup in Security App can remove βunusedβ files from the system /Telegram/.
Decisions:
- For missing files after the update: adb shell "pm clear org.telegram.messenger" This command will reset Telegram settings, but will not delete media files from the /Telegram/ folder.
- If files are not visible in the gallery: - Move them manually to /DCIM/Telegram/. - Use a third-party gallery (like Google Photos) that scans all folders.
- To prevent automatic cleaning: - Open Security App β Cleanup β Settings and add /Telegram/ to exceptions. - Disable Auto Cleanup in Settings β Battery and Performance.
adb pull /sdcard/Telegram/ C:\Backup\Telegram\Backup and transfer of Telegram files
To save Telegram files when you change your device or reset Xiaomi:
- π€ Chat Export: Use the built-in Settings feature β chat β Chat History Export (Available without root).
- ποΈ Copying a folder /Telegram/: Copy it to a PC or external drive, and note that the paths to files in the database (*.db) may change!
- βοΈ Cloud Storage: Upload a folder to Google Drive or Mega (for large media volumes).
To be transferred to a new device:
- Copy the /Telegram/ folder to the new device in the same location.
- Install Telegram and log in to your account.
- If media files are not displayed, reboot the app or use the Clear Cache feature in Telegram settings.
β οΈ Note: When transferring between devices with different architectures (e.g, ARM and x86) Telegram databases could become incompatible, in which case the chat history will not be restored!
Copy /Telegram/ on PC|Export chat history in JSON|Check free space on target device |Disable MIUI optimization for Telegram|Reboot phone after transfer-->
Access to files via ADB and alternative methods
If the standard methods donβt work (e.g., on Xiaomi with a locked bootloader), use ADB:
- Install Platform Tools on your PC.
- Connect your smartphone and execute: Adb devices (you should display your device).
- Get a list of Telegram files: adb shell ls /sdcard/Telegram/
- Download the folder: adb pull /sdcard/Telegram/Telegram\ Images/C:\Backup\
For advanced users:
- π§ Use Termux: Install the application and execute: termux-setup-storage cp -r /sdcard/Telegram/ ~/storage/shared/Backup/
- π Root access: using Magisk or TWRP You can have full access to /data/data/org.telegram.messenger/.
Important: On Xiaomi with MIUI 14 and later, ADB may require additional permissions. If the adb pull command returns a Permission denied error, do:
adb shell "chmod -R 777 /sdcard/Telegram/"Frequent mistakes and their solutions
Letβs look at the typical problems and ways to solve them:
| Mistake. | Reason. | Decision |
|---|---|---|
| Folder /Telegram/ Empty | Files are saved to SD-map | Check it out. /storage/XXXX-XXXX/Telegram/ |
| Permission denied when accessed via ADB | MIUI restrictions for third-party applications | Turn off MIUI Optimization or use root |
| Files are available but not displayed on Telegram | Cache or database damaged | Clear the cache in Settings β Apps β Telegram β Storage |
| You can't move the folder to a new one. SD-map | Files are encrypted as internal storage | Copy files on your PC, format a new map and transfer the data back |
Tip for Xiaomi with dual-app: If you use a cloned Telegram (via Dual Apps in the app) MIUI), The files will be stored in a separate folder: /Android/data/org.telegram.messenger_1/ or /Android/data/org.telegram.messenger_2/.
π‘
On Xiaomi with MIUI, never delete /Android/data/org.telegram.messenger/ manually β this will cause the app to crash and the chat history to be lost!