Xiaomi, Redmi and POCO smartphone owners often seek to personalize their device’s interface using third-party themes. However, when trying to find, copy or delete a registration file, the user may encounter an unexpected problem: the standard file manager does not display the desired directories, due to the features of the MIUI shell and the new HyperOS, which hide system files from accidental change.
Understanding the structure of the file system is essential not only for advanced modifications, but also for conventional memory cleaning. Often, after installing a few heavy themes, the storage space is critically reduced, and standard cleaning tools can not get to the tails. In this article, we will discuss in detail where the files are physically located, how to access them, and which hidden folders are worth checking.
It’s worth noting that the paths to data may vary slightly depending on the Android version and the specific firmware modification. If you’re using the older version of MIUI 12 or the latest HyperOS based on Android 14, the security system may block direct access.
The standard way to custom themes in MIUI
The most obvious place where downloaded themes are stored is the device's internal memory in a public folder, and that's where the.mtz file comes in after downloading it via a browser or transferring it from a computer. In most cases, custom themes lie along the /MIUI/theme path at the root of the internal storage.
However, the system often separates active themes from just downloaded files. If you downloaded a theme but haven’t yet applied it, it can be in the download folder or in a special cache of the Themes app. To access this data, you just need to open any file manager, for example, the standard Explorer from Xiaomi.
💡
If you don’t see the MIUI folder at the root of the memory, check the hidden file display settings in your Explorer – sometimes the system directories are hidden by default.
It is important to distinguish between theme files and font or icon files, although they are often stored in adjacent directories. The theme file is an archive containing interface graphics, sounds and configuration files. When manually installed through the Install button in the Explorer, a copy of the file moves to the system area, and the original in the download folder can be deleted.
System directories and hidden storage
For those looking for where Xiaomi themes lie once activated, the answer lies deeper in the system partitions: Active themes are stored in a secure area that is restricted by superuser rights or ADB special permissions. The main path looks like /data/data/com.android.thememanager, but without root rights, you can’t go there.
With Android 11 and higher, and in the HyperOS shell, access to the /Android/data folder was severely restricted. Now it stores app cached data, including theme graphics. To see the content, you'll need a third-party file manager like MT Manager or Solid Explorer, which can request special permissions to work with system folders.
⚠️ Note: Do not delete files from system folders /data or /Android/data Deleting critical files can lead to a “bootloop” (cyclical reboot) or reset the interface to a factory state.
Inside the system folders, you can find not only the themes themselves, but also their previews, error logs and temporary files, and cleaning up this data can free up a few gigabytes, but then the applied theme can fly to a standard one. Always back up before tampering with system files.
How to find.mtz files after downloading
The.mtz format is native to the Xiaomi ecosystem.When you download a topic from a third-party source (e.g., from a forum). 4PDA Or Telegram feeds, the file is saved to a folder that's specified by the browser. /Download or /Downloads.
If you use the built-in Downloads app, the path may look like /MIUI/download_manager. In this case, you can find the file by opening the Downloads app on your phone, clicking on the file and selecting “Information” or “Details”, where the full path will be indicated.
Often users will find that the theme file has a.zip extension or no extension at all, in which case it should be renamed by adding.mtz at the end, and then the system recognizes the file as a theme and offers to install it through a standard application.
- 📂 Open the Files or Explorer app».
- 🔍 Go to the Download or Download folder.
- 📄 Find a file with the theme name and.mtz extension.
- 🛠 Click on the file and select “Install” or “Apply».
If the file is not found, check the Recycle Bin in the Downloads app or use a global internal storage search by entering the.mtz extension.This will help quickly localize the file, even if it was saved to an unexpected folder.
Features of storage in HyperOS and Android 14
With the move to HyperOS and Android 14, Google’s security policy has become even stricter, and apps can’t just read the contents of the /Android/data folder, which often stores cached theme resources, which is designed to protect user data but makes life difficult for enthusiasts.
In newer versions of firmware, the path to the theme cache can be shifted or encrypted. Whereas previously you could just copy the com.android.thememanager folder, now the system will require you to confirm the action through the Android system security window to access it.
What if the system blocks access to the Android folder?
HyperOS has also changed its regional themes approach, so that theme files downloaded for the Chinese region may not appear in global firmware without additional manipulation, and their paths may be isolated in a separate container, something to consider when searching for missing files.
Using Root Rights to Access Topics
To have full control over the theme files, including on-the-fly editing and access to secure system partitions, root rights are required. Obtaining superuser rights (usually through Magisk) opens up access to the entire file system of the device.
With root access, you can go to /data/media/0/MIUI/theme or deeper to /data/data/, which stores databases of installed themes, for example, to retrieve a theme that is no longer available in the store, or remove the “junk” left over from deleted themes.
However, root rights are risky; improper file editing in system folders can compromise the integrity of the shell; always have a working backup or the ability to reset settings through Recovery.
- 🔓 Install an application for root rights management (e.g. Magisk).
- 📁 Download the file manager with support for root (Root Explorer, MT Manager).
- 🔍 Go to the root of the file system (/).
- ⚙️ Find the data folder. → data → com.android.thememanager.
☑️ Checking before working with root rights
Table of the main paths to the files of the topics
For ease of navigation, we have compiled the main paths where the theme files can be located depending on their status and installation method. Save this information to quickly navigate the file system.
| File type | The path to the file | Access without Root | Expansion |
|---|---|---|---|
| Downloaded theme | /MIUI/theme or /Download | There is. | .mtz |
| Cash active topic | /Android/data/com.android.thememanager | Limited (Android 11+) | Different. |
| Systematic data of topics | /data/data/com.android.thememanager | No (needs Root) | .db, .xml |
| Temporary files | /data/cache | No (needs Root) | .tmp |
As you can see from the table, most user operations can be done in /MIUI/theme, but deep cleaning or recovery of deleted themes will require access to protected partitions.
Cleaning and removing old themes
Over time, a theme folder can grow to a few gigabytes. Deleting unused files is a great way to free up space. The easiest way to do this is through the Topics app: go to profile, select Topics, and delete unnecessary ones.
If the standard method doesn’t work or the theme is stuck, you can delete its files manually. Find the.mtz files in the download folder and delete them. To clean the cache, use the app settings: Settings → Apps → All apps → Topics → Memory → Clear the cache.
⚠️ Note: Do not delete current.theme files or files with default or classic names unless you want to reset the factory interface.
After cleaning, it is recommended to restart the device so that the system correctly recalculates the free space and updates the file index, which is especially true for devices with filled memory, where every megabyte counts.
💡
Regularly cleaning /MIUI/theme folder from old.mtz files can free up to 2-3 GB of space on smartphones with a small amount of internal memory.
Access problems and their solution
A common problem is that the theme file is visible, but the system writes "File corrupted" or "Not supported," which may be because the theme is for the Chinese firmware version and you have a global one, in which case the file paths may be standard, but the content is incompatible.
Another problem is that the MIUI folder is not at the root, and on some devices it is hidden until the Themes app is first run or backed up, and try to create a new theme in the app to initiate folder structure creation.
If you're using Android 13/14 and you can't log into the Android/data folder, use the built-in access mechanism. When you try to open a folder through a third-party explorer, the system will prompt you to go to the settings and give permission. This is standard behavior, not an error.