If youβve ever looked into the storage of your Xiaomi smartphone through a file manager, youβve probably noticed strange folders with names like com.telegram.messenger, org.telegram.messenger or Telegram in the βOther Filesβ section. They take up gigabytes of memory, but you don't store that much media in the messenger itself. What is this data, why is it so large, and can it be safely cleaned? In this article, we'll look at what files Telegram creates on Xiaomi devices, where they hide in the cloud. MIUI, How to manage them without losing important messages or media.
Let me warn you right away: it's a bad idea to just delete everything from these folders. Some files are responsible for the cache of messages, some are responsible for downloaded stickers and gifs, and some data can be critical to the operation of the account. But you can't ignore them either: on devices with 64-128 GB of memory, Telegram can eat up to 10-15 GB in a couple of years of active use. We'll show you how to understand this chaos, which files can be cleaned safely and which ones only through the messaging settings.
What data files are created by Telegram on Xiaomi and why you need them
Telegram on Android, including MIUI) It stores data in multiple places, and each of them is responsible for its function:
- π Telegram folder at the root of the storage β here are the uploaded or automatically saved media files (photos, videos, documents) β this is the heaviest part, which can take up to 80% of all data messenger.
- ποΈ Folder com.telegram.messenger in /Android/data/ β system cache of the application: miniatures of previews, temporary session files, data on stickers and animations.
- π.db and.map files are databases with message history, contacts and account settings!
- π¨ Tgnet folder β service files for working with the network (for example, data about a proxy or a network). VPN, if you use them).
The main feature of Xiaomi is that MIUI Sometimes duplicates some of these files in hidden partitions (e.g., in the /MIUI/backup/AllBackup/telegram/), If you've ever backed up through standard system tools, also on devices with MIUI 14+ file may appear Android/obb/org.telegram.messenger β These are remnants from older versions of the application that are not always correctly deleted when updating.
It's important to understand that Telegram doesn't limit the default cache volume (unlike WhatsApp), and if you're actively sharing media, it can grow to 5 to 20 GB in a year or two, and you'll only see a fraction of that data in the messenger settings, the one that you can clean "legally," and you'll have to search for the rest manually.
Where exactly are Telegram files stored on Xiaomi: paths and hidden folders
To find all Telegram files on your Xiaomi, youβll need a file manager with access to system partitions (e.g. Mi File Manager with Hidden File Mode enabled or Solid Explorer).
| Type of file | Way to the vault | Can I remove it? |
|---|---|---|
| Media files (photos, videos, documents) | /storage/emulated/0/Telegram/ | Yes, but through Telegram's settings. |
| Cash app. | /storage/emulated/0/Android/data/com.telegram.messenger/cache/ | Yeah, totally. |
| Databases (messages, contacts) | /storage/emulated/0/Android/data/com.telegram.messenger/files/ | Nope! |
| Stickers and gifs | /storage/emulated/0/Android/data/com.telegram.messenger/files/stickers/ | Yeah, but they'll reboot. |
| Backup copies of MIUI | /MIUI/backup/AllBackup/telegram/ | Yeah, unless you need backups. |
On devices with MIUI 15 The newest part of the cache can be stored in a virtual partition. /android/obb/ β It's all about optimizing applications, and to see these folders, you need to use Mi File Manager to see them:
- Open the menu (three lines at the top left).
- Select Settings β Show hidden files.
- Enable the option to Show System Files (superuser rights, if any)
π‘
If you can't see the folder Android/data/, So your file manager doesn't have permission to access the system partitions. FX File Manager with Root Access enabled (if the device is rooted).
Note: Some Xiaomi models (e.g. Redmi Note) 12 Pro+ or POCO F5) The path to the cache may look like /data/data/com.telegram.messenger/, But you can't go there without root rights. Don't try to get root just to clean up Telegram, which is risky and you're not guaranteed.
How to Safely Clean Telegram Files on Xiaomi: Step-by-step Instructions
Delete Telegram files at random is like cleaning dust in the system unit with a fervor: you can accidentally break something important. We have collected proven ways to clean up that will not harm your account or data.
βοΈ Secure cleaning of Telegram on Xiaomi
Method 1: Clean up through Android settings (safe for all files)
This is the most reliable method that does not affect critical data:
- Open Settings β Applications β Application Management.
- Find Telegram in the list and tap it.
- Select Warehouse. β Clear the cache.
- (Optional) Click Clear Data, but this will delete all message history and settings!
Method 2: Delete media files via Telegram
If the folder /Telegram/ It's grown to a few gigabytes, so clean it up:
- Open Telegram and go to Settings β Data and memory.
- Slip the vault. β Clear Telegram cache.
- Choose which file types to delete (for example, only videos or documents older than 1 year).
What happens if you manually delete the Telegram folder?
Method 3: Removing unnecessary backups MIUI
If you have ever done a backup through Settings β Additionally. β Backup, check the folder /MIUI/backup/AllBackup/telegram/. There may be old backups that occupy up to 1β2 GB: You can delete them if you donβt plan to restore old data.
β οΈ Note: Never delete files with the.db or.map extension in a folder. /Android/data/com.telegram.messenger/files/! These are databases of your correspondence, and if you damage them, they can lead to loss of your message history or even account lockdown.
Why Telegram is taking up so much space on Xiaomi and how to prevent it
There are several reasons why Telegram is growing more on Xiaomi devices than on other smartphones:
- π± Automatic Media Download: By default, Telegram downloads all photos and videos in chat rooms, even if you don't open them. MIUI This is compounded by the fact that the system does not always properly clean the cache.
- π Duplication of files: Xiaomi sometimes creates copies of media files in a folder DCIM/.thumbnails gallery-preview.
- ποΈ Incorrect cache work: On some firmware MIUI Telegramβs 13-14 cache is not cleared completely through standard tools.
- π₯ Stickers and GIFs: They are stored in a separate folder and can take up to 500 MB if you use them frequently.
To prevent folder growth, do the following:
- Open Telegram and go to Settings β Data and memory.
- In the Autoboot Media section, turn off automatic download for mobile data and Wi-Fi (or leave only for select chats).
- Turn on the option to optimize storage β this will delete old media files automatically.
- Regularly (every 1-2 months) clean the cache through Android Settings β Annexes β Telegram β Warehouse.
π‘
Even if you turn off autoboot, Telegram will still cache thumbnails and preview messages, and you can only completely stop the growth of the folder by manually cleaning or using Telegram X (the lightweight version).
What to do if Telegram takes up a lot of space again after cleaning
If you cleared the cache and media files, but after a week Telegram βeatβ a few gigabytes again, the problem may be the following:
- π Hidden chats or channels: You could subscribe to a channel with automatic downloads of content (for example, movies or music).
- π€ Bots: Some bots (for example, to download videos from YouTube or TikTok) save files to the Telegram folder.
- π Damaged files: Sometimes Telegram canβt delete temporary files correctly and they accumulate.
- π Sync errors: If you use multiple devices, cache conflicts are possible.
To find the βculprit,β do the following:
- Open Telegram and go to Settings β Data and memory β Warehouse.
- See which chat rooms take up the most space (sorting by size).
- If the channel or bot is to blame, leave it or limit the autoload.
- If the problem is in corrupted files, try reinstalling Telegram (pre-backup chats!).
β οΈ Note: On Xiaomi devices with MIUI There is a bug 12 and older: once reinstalled, Telegram sometimes doesn't recover a message history from the cloud unless you clear the Google Play Services cache before installing.To avoid data loss, export chats manually before removing the app (Settings) β Export of data).
How to transfer Telegram files to a memory card or cloud
If your Xiaomi has a huge shortage of internal memory, you can transfer your Telegram media files to a microSD or cloud storage.
Transfer to memory card
Unfortunately, Telegram does not support direct installation of the SD-Map, but you can manually transfer the Telegram folder:
- With the help of the file manager, copy the folder /storage/emulated/0/Telegram/ on a memory card (for example, in /storage/XXXX-XXXX/Telegram/).
- Delete the original folder.
- In Telegram go to Settings β Data and memory β Download folder and specify a new path (for example, /storage/XXXX-XXXX/Telegram/).
Important: After transferring new files, they will be saved to the map, but the old media from the chats will remain in the internal memory until you download them again.
Synchronization with the cloud
Telegram doesnβt have a built-in media sync feature with clouds like Google Drive or Mi Cloud, but you can:
- π Manually upload important files from the Telegram folder to the cloud (for example, via Mi Cloud or Google Photos).
- π Use bots like this. @SaveToCloudBot, Automatically save media in Google Drive.
- πΎ Export Media Chat History through Settings β Exporting data (the file will weigh a lot, but it can be stored in the cloud).
π‘
If you use Mi Cloud, enable automatic upload of photos and videos from the Telegram folder in the Gallery app settings. β Settings β Autoboot β Folders to download and add /Telegram/Telegram Images/ and /Telegram/Telegram Video/
Frequent errors when working with Telegram files on Xiaomi
Xiaomi users often face typical problems when trying to clean or transfer Telegram files, and here are the most common mistakes and how to avoid them:
| Mistake. | Effects of consequences | How to fix it |
|---|---|---|
| Delete the com.telegram.messenger folder without backup | Loss of Message History, Exit from Account | Recover data from the cloud or exported backup |
| Transfer the Telegram folder without changing the path in the settings | New files are saved to internal memory | Specify a new path in Settings β Data and memory β Download folder |
| Cleaning the cache through Settings β Storage without logging out of account | You canβt log in again (bug) MIUI) | Before cleaning, log out of your Telegram account. |
| Use of cleaners like Clean Master | Deletion of system files, failures in the messenger | Clean only manually or through Android settings |
On Xiaomi devices with MIUI 14+ After cleaning the cache, Telegram may require a re-authorization through SMS, Even if you haven't logged out, this is due to the way Google's custom firmware services work, so to avoid a problem, turn off the contacts sync in your Telegram settings before clearing the cache.