Users of Xiaomi, Redmi and POCO smartphones often face the desire to personalize their device interface beyond the standard set of options. Deep customization of the MIUI shell or the new HyperOS allows you to change the appearance of icons, fonts, lock screen and system sounds beyond recognition. However, when trying to save a favorite theme or transfer it to another phone, many people lose their understanding of where the system records downloaded data.
By default, the Android file system hides many service directories from the eyes of the average user to prevent the accidental removal of critical components. However, access to the root storage allows you to find a specific folder where the installation packages of themes with the extension.mtz. Understanding the structure of directories is necessary not only for the backup, but also for manual installation of modified versions that may not be available in the official store.
In this guide, we will take a closer look at the logical structure of memory where the file is located and how to work with it, learn how to use embedded tools and third-party guides to navigate system partitions, and address security and superuser rights issues that may be required to access hidden areas of memory.
File system structure and the location of topics
Android is based on the Linux file system, which implies a strict hierarchy of directories. Unlike Windows, where paths are often confusing, Android has a clear separation between user storage and system partition. MIUI/HyperOS by default are stored in an internal storage, accessible without root rights, but hidden from normal viewing directory.
The main path you need to know is /MIUI/theme. This is where all the downloaded but not yet applied or temporarily saved design packages are located. It is important to understand that after applying the theme, its active components can be copied to system partitions for speed, but the original file archive remains in the user folder, which makes it easy to delete the the theme or move it without affecting the stability of the system.
β οΈ Note: Do not delete files from the folder /MIUI/theme manually through the command line or ADB, If you are not sure about their purpose, deleting the active theme file can cause the interface to crash (βbottleβ) or return to standard design with loss of widget settings.
To access this data, the standard file manager may require the inclusion of hidden files. In modern versions of Android (11, 12, 13 and above), access to the root of internal memory (/storage/emulated/0/) is limited by the security policies of Scoped Storage. Therefore, direct transition along the path can be difficult without the use of specialized tools or granting special permissions to the conductor application.
π‘
Use a SAF (Storage Access Framework)-enabled explorer, such as Material Files or Solid Explorer, to gain full access to root folders without root permissions.
Search for themes folder through standard conductor
The easiest way to find the files you want is to use the File Manager app that's pre-installed on all Xiaomi smartphones, but it doesn't show system folders like MIUI by default. To change that, you need to activate a special display mode, which is the first step to fully managing theme files.
Open the Explorer app and go to Files or Internal Drive, and you'll see a list of folders, but there won't be a MIUI folder, and you'll need to find the Explorer settings to appear, which are usually hidden in a menu called by a long tap or through a menu button. Some versions of the shell require you to quickly tap 10 times on the Internal Drive icon or menu icon to activate hidden functions.
βοΈ Activation of hidden folders
Once you turn on the hidden objects at the root of the internal memory, you'll see a translucent.MIUI folder (note the point at the beginning of the name that indicates the hidden attribute) inside of it, which is the theme directory you're looking for. This is where you store files with the.mtz extension. If you're planning to back up, you'll need to copy those files to any other secure location, like the cloud or your computer.
It is worth noting that the structure may vary slightly depending on the version of Android and regional firmware (Global, China, EEA).In some cases, the folder may be simply called theme without the MIUI prefix if you use a custom launcher, but for the stock shell the path always leads through the MIUI system directory.
Use of Third-Party File Managers
Staff tools are not always convenient for complex file operations, so many users prefer to install third-party file managers. Applications like Total Commander, ES Explorer or CX File Explorer provide a more flexible interface and often know how to bypass access restrictions easier than system utilities. They allow you to work with archives, remake files in batches and have built-in access to FTP or cloud storage.
When you first run an app on Android 11 and up, the system will ask permission to access all files. This is a mandatory procedure introduced by Google for data protection. You will need to go to the phone's settings along the Settings path β Apps β Special. features β Access all files and allow the selected Explorer to work. Without this step, you will only see limited content of folders.
The advantage of third-party managers is that they can directly edit configuration files inside the theme archive. You can unpack the.mtz file, change transparency settings or fonts, pack back and install it as a custom theme, which opens up the possibility of fine-tuning that is not available in the standard Themes app.
However, be careful with applications that require excessive permissions. Some free guides may contain aggressive advertising or collect telemetry; choose proven open source or high-profile solutions in the community. The security of your personal data, which can be stored in adjacent folders, depends on the reliability of the software used.
Working with Superuser Rights (Root)
For users who have received Root (superuser) rights on their device, additional themes management options are available. Root access allows you to change files directly in the /data system partition, where normal access is closed, this is necessary for deep modification of the system, removal of embedded themes that cannot be removed standardly, or installation of themes that require administrator rights.
If you have root rights, you can use advanced file managers like Root Explorer or MiXplorer to go to /data/data/com.android.thememanager or /data/miui/theme. It stores cached data and active configurations. Direct file editing in these sections can speed up the interface or fix element display errors, but requires high skill.
Getting root rights (usually through unlocking the bootloader and installing Magisk) will void the warranty on the device and increase security risks. MIUI's built-in protection can block Google Pay (Wallet) banking applications and services when a modified bootloader is detected. So weigh the pros and cons before you get the superuser rights.
β οΈ Note: Any manipulation of files in system partitions (/system, /data) If you have root rights, you can have your phone completely inoperable (TWRP) before making changes to the system files of the themes.
What's Magisk?
Transfer and backup of topics
Regular file backups are important for those who have spent a lot of time searching for the perfect design or buying paid packages in the store. To save the theme, just find the.mtz file in the /MIUI/theme folder and copy it to the cloud storage (Google Drive, Mi Cloud) or to the computer, which ensures that you can restore the design even after resetting the phone to factory settings.
To transfer the theme to another Xiaomi phone, you will need the.mtz file itself. If the theme was downloaded from an official store, it can be linked to your Mi Account, but the file itself remains on your device. By copying it to a new device in the same /MIUI/theme folder, you can apply the theme through the standard Themes app, select the βImportβ option, or simply by opening the file through the Explorer.
There is also the option of using the Themes feature within the application to create backups. Themes application settings often have a Theme Backup option that automatically stores lists of installed packages to the Mi Account cloud. However, this method only stores the list and settings, not the files themselves, so when you restore it, you will need the Internet to re-upload it.
π‘
Physical copying of a.mtz file is more reliable than cloud sync, as it saves the theme forever, even if the author deletes it from the store or the servers are unavailable.
Table: Comparison of methods of accessing files
Different methods of accessing the theme files have their advantages and disadvantages. The choice of the right method depends on your goals: simple file search, deep modification or mass management. Below is a comparison table that will help determine the toolkit.
| Access method | Necessary rights | Difficulty | Opportunities |
|---|---|---|---|
| Standard conductor | No. | Low. | Viewing, copying, deleting |
| Third-party conductor (SAF) | Permission of access | Medium | Work with archives, hidden folders |
| ADB (via PC) | USB debugging | Tall. | Full access, scripts, automation |
| Root access | Superuser | Very high. | Change of system files, complete control |
Frequent problems with the files of theme
When trying to find or move files to themes, users often encounter errors. One of the most common problems is the lack of a MIUI folder even after you turn on hidden files. This can be due to the fact that your device has global firmware installed with a changed path structure or the Android version blocks access to the root without additional permissions through ADB.
Another problem is that the.mtz file is corrupted when copying. If the transfer process has been interrupted or the file system has errors, the theme may not install or cause the interface to restart.
Also worth mentioning is the compatibility issue: Themes created for the Chinese version of MIUI may not display correctly on global firmware due to differences in system resources and package names. Before installing an externally downloaded theme, make sure it is for your regional version of the software.
β οΈ Note: Installation of themes from unknown developers may contain malicious code. Themes have deep access to the system interface, so download files only from proven resources or forums with a good reputation.