Owners of Xiaomi, Redmi and Poco smartphones often face the need to find a specific file associated with the address book.This may be required for backup, recovery of accidentally deleted avatars, or simply out of curiosity about the structure of the MIUI and HyperOS file system. Understanding how the operating system manages users' media content is key to effective data management.
Android has a complex data storage hierarchy that has changed with the release of new versions of the OS. If you could find pictures at the root of internal memory, now access to them is limited by security policies. In this article, we will discuss in detail where exactly Google Contacts and the Xiaomi system shell save thumbnails and full images of your friends.
It's important to note that file location depends on the operating system version and the specific contact application. We'll look at all possible scenarios, including working with system hidden folders and cache, and this knowledge will allow you to avoid getting lost in the wilds of the file manager and quickly find the right one.
Standard System Contact Folder
In most modern Android devices, the main storage for contact images is a special directory at the root of internal memory. /contacts/ or /data/data/com.android.contacts/files/, But the last path without root rights is closed, and users usually only see the public part.
Often, users search for files in the DCIM folder, believing that all the photos are stored there, which is a common misconception: Contact avatars are not part of your photo gallery as usual, they are system files tied to the phone book database, so you need to search for them in specialized directories.
โ ๏ธ Attention: Directly deleting files from the contact system folders can cause all subscribers to lose avatars, leaving them with gray silhouettes.
If you use Xiaomiโs standard Contacts app, the system can duplicate thumbnails into cache to speed up the interface. You can find these temporary files by going to /Android/data/com.miui.contacts/cache/. It stores smaller copies that load faster than the originals.
๐ก
Before removing any files from your contacts folder, back them up on your computer or in cloud storage to avoid losing important visual information.
Access to Android/data folder and restrictions
Since Android 11 and up, Google has implemented strict restrictions on access to the Android/data folder, which is done for security reasons so that apps canโt scan data from other programs. On Xiaomi smartphones with MIUI 12.5 shell and later, you may encounter an empty window when trying to open this directory through a standard Explorer.
To get around this limitation and see where the photos actually lie, you'll need a third-party file manager, like Total Commander or Google Files, and when you first run them, they'll ask for special permission to access all the files, and once you get it, the path /Android/data/com.android.contacts/files/ will be visible.
Inside this directory, you can often find folders with names like thumbnails or images, and that's where.jpg or.png graphics files are stored, but their names are often a set of hash bags rather than contact names, which makes manually searching for a particular avatar a rather time-consuming process.
- ๐ The standard path to data is often hidden from normal viewing.
- ๐ Access requires confirmation of special system permissions.
- ๐ฑ File names are encrypted or replaced with digital codes.
- ๐ The folder structure may vary depending on the version MIUI.
Differences between MIUI and pure Android
The MIUI shell makes its own adjustments to the standard Android file structure. While on pure Android (like Pixel) the paths to contact data are standardized, Xiaomi often creates additional copies or uses its own database formats, due to the deep integration of Mi Account services and cloud synchronization.
On Redmi and Poco devices with global firmware, the structure may be closer to Androidโs stock, whereas on Chinese versions or regions with MIUI for Russia, the paths may differ. For example, avatars may be duplicated in /MIUI/backup/ if you have local backup enabled.
Also, itโs worth considering that Google Contacts set separately can store data in their own isolated sandbox.If youโve moved from one app to another, old avatars can stay in the cache of the previous app, taking up space but not showing up in the new phone book.
Why do avatars disappear after the update?
Search for avatars through Google Photos and the Cloud
Many users don't know that if you sync with your Google Account, your contact photos are automatically uploaded to the cloud, which is the most reliable way to store them, which is independent of the phone's file system, and can be found through the Google Contacts web interface or in the Google Photos app under Library -> Photos on your device.
Google Photos has a special album that can get images associated with contacts if the appropriate backup setting has been enabled, but most often they are stored in a hidden system album that does not appear in the main feed.
Using cloud storage has its advantages: even if you lose your phone or accidentally clear your memory, contact avatars will recover automatically when you log in, eliminating the need to manually search files deep in /data/ system directories.
| Storage method | Location. | Access without Root | Risk of loss |
|---|---|---|---|
| Local memory. | /Android/data/... | Limited (Android 11+) | High (on discharge) |
| Google Account | Cloud servers.google.com | Full (via browser) | Minimum |
| Mi Cloud | Cloud i.mi.com | Full (via browser) | Low. |
| Cash app. | /cache/... | Difficult. | Very tall. |
Recovery and copying of images
If your goal is to save avatars, the easiest way to do this is by exporting contacts to VCF (vCard) format. When exporting to the settings, you can often select the option "Enable photos" in which case a file is created that contains all the data, including the images encoded inside, and this file can then be opened on a computer or other phone.
To extract individual images from system folders without superuser rights, you can use the Send feature in the Contacts app. Select a contact, click Share, and select messenger or email. The image will attach automatically, and you can save it to the gallery. This is a workaround that works on any version of MIUI.
There are also specialized apps from the Play Market, such as Contacts Backup or Super Backup, that can upload contacts with photos to a separate folder on a memory card or internal storage, which is the most convenient way to bulk up.
โ ๏ธ Note: When copying files from a folder Android/data on the memory card, make sure that the format of the card supports reading large files and has no write restrictions, otherwise the process may be interrupted.
โ๏ธ Pre-copying check
Display and cache problems
Sometimes users notice that photos of contacts have stopped showing even though the files are physically present in memory, often due to an overflow of the cache of the Android media scanner, the system simply stops indexing new images or can't update thumbnails in the call list.
To solve this problem, you can try to clear the cache of the Contacts and Contact Storage app. This is done through the Settings menu โ Apps โ All Apps โ Contacts โ Memory โ Clear the cache. It is important not to confuse this with cleaning the data, since in the second case you will delete the phone numbers themselves if they are not synchronized.
Itโs also worth checking if the phone is running a power saving mode that limits the background activity of apps, in which case MIUI can block avatars from downloading from the network or updating them from a local base to save battery life.
If the problem persists for a long time, the contact database file contacts2.db may be damaged. In this case, only a complete reset of the phone settings or deleting the Google account with subsequent re-synchronization helps, which will overwrite the local database with a fresh copy from the server.
๐ก
Clearing the cache of the Contacts app is a secure procedure that often resolves missing avatars without deleting the phone numbers themselves.