Where Xiaomi themes are saved: search, copy and install files

Users of Xiaomi, Redmi and POCO smartphones often face the need to transfer downloaded files to another device or simply want to understand the structure of the file system of the MIUI shell. Unlike simple pictures that lie in the gallery, theme files have a specific.mtz extension and are hidden in system directories. Understanding where the operating system puts this data gives full control over the appearance of the interface.

By default, all files downloaded through the official Themes app are stored in internal memory in a hidden MIUI folder. To access this data, the average user may need to enable the display of hidden files or use special access rights. Knowing the exact path is necessary not only for backup, but also for manual installation of modified designs that have not been moderated in the official store.

In this article, we will take a closer look at the structure of directories, explain the difference between temporary cached data and ready-to-install files, learn how to transfer the topic to a new phone without re-uploading and how to avoid errors when manually copying.

The standard path to theme files in MIUI and HyperOS

The main directory where the system stores all downloaded themes is the MIUI root folder. Inside it is the theme subdirectory, which in turn contains the data folder. This is where the.mtz file extensions are located, ready for use or already installed on the device. The full path is /storage/emulated/0/MIUI/theme/data.

Inside the data folder, you'll find a lot of files with obscure names, consisting of a set of numbers and letters. These are hashed packet names. To find the right topic, you'll have to navigate by file change date or volume. The system doesn't sort them by design names, which is often confusing for beginners.

⚠️ Note: Do not delete files from the folder /MIUI/theme/data manually through the file manager if you are not sure of their purpose, this can cause the current theme to fly to the standard, and the Themes app will no longer display download history correctly.

For more convenient file management, it is recommended to use built-in Explorer or third-party solutions such as Total Commander, in which case the system can forward requests or require confirmation of access rights when you first open the directory.

Differences between cache and established themes

In a smartphone file system, there is a fine line between the files you upload and those you actively use. Files you just downloaded from the directory but haven't yet applied are in the data folder. However, once the theme is activated, some of its resources (icons, wallpaper, sounds) are copied to the cache to speed up the interface.

Cache data usually takes up more space and is scattered across different system partitions. The main repository of active theme graphics elements is often located along the /MIUI/theme/.cache path or in the application system cache. Cache is a temporary area that is safe to clean, but will cause the system to have to reload the design elements, which can temporarily slow down the work.

πŸ“Š Where do you usually take topics?
Official store
Third-party sites (4PDAs, etc.)
I'm creating it myself.
I'm using standard.

If you plan to migrate the theme to another phone, you are interested in files from the data folder with the.mtz extension. Copying files from the cache is useless, since they are disassembled resources, not a single installation package. The cache structure can vary depending on the version of the MIUI 14 shell or HyperOS.

How to find and copy a theme file manually

To do copying, you'll need access to the file system. Xiaomi's standard Files Explorer does a great job of doing this if you turn on the hidden folder display. Open the conductor settings first and activate the appropriate switch. Without that, you won't see the.cache folder or other hidden system directories.

The algorithm for copying the theme file is as follows:

  • πŸ“‚ Open the Explorer app and go to the device storage.
  • πŸ“‚ Find the file. MIUI, Then theme and data.
  • πŸ” Sort files by date of change to find the latest downloaded design.
  • πŸ“‹ Select the desired file (or files if the theme is large) and select CopyΒ».
  • πŸ“ Insert the copied file into any convenient folder, such as Download or memory card.

β˜‘οΈ Pre-copying check

Done: 0 / 4

Once you copy, you can transfer it over Bluetooth, Wi-Fi Direct, or cloud storage, and on a new device, you have to put it in any folder that you can find, and the system recognizes the format when you try to open it, and it's important that you don't change the file extension during the transfer, or the phone won't know how to open the packet.

Installation of topics from third-party sources

Often users download themes from third-party resources, such as the 4PDA forum or specialized sites. In this case, the.mtz file falls immediately into the download folder /Download. To install, simply click on the file. If the device has a standard Themes application, the system will prompt you to open the file through it.

In the preview window that opens, you'll see the design description, screenshots, and the Apply button, and clicking on this button starts the process of integrating theme elements into the system, which takes from a few seconds to a minute depending on the amount of graphics and the speed of the drive.

⚠️ Note: When installing themes from unverified sources, there is a risk of malicious code or system stability disruption.Always check author ratings and reviews before downloading files from third-party resources.

What to do if the installation is interrupted?
If the theme installation process is stalled or interrupted, don't panic. Most often it's due to a lack of RAM or a damaged archive. Try closing all background applications and try again. If the error repeats, the theme file is likely damaged when downloaded, delete it and download it again.

Table of the location of the files of the themes

For a quick orientation in the file structure, use the table below to help you understand which path to choose for a particular operation.

Type of operationThe way to the folderFile extensionNote
Search for downloaded themes/MIUI/theme/data.mtzMain vault
Cash active topic/MIUI/theme/.cacheDifferentHidden folder
Third-party downloads/Download.mtzBrowser download folder
Backup copies/MIUI/backup.bak /.mtzDepends on the method.

Using the right paths avoids File Not Found errors when trying to manually manage content. In newer versions of HyperOS, the structure can be slightly changed, but the basic principle of location at the root of MIUI is maintained.

Problems with file visibility and access rights

In modern versions of Android (11, 12, 13, 14) Google has imposed strict restrictions on access to the file system (Scoped Storage), which means that even the system conductor may not show the contents of the folder. Android/data or some system partitions without special permissions, if you can't see the folder. MIUI At the root, try using the built-in Cleanup app or file manager with advanced rights.

πŸ’‘

Use the Google Documents or Total Commander app with the root plugin (if you have rights) to gain full access to all hidden file system sections that are hidden by standard means.

Sometimes theme files can be hidden by the Hidden attribute. In the Xiaomi Explorer settings, you need to explicitly enable the option β€œShow hidden files.” Without this, you will only see user folders. It is also worth checking whether the Guest or Second Space mode is enabled, since they store the files in isolated containers that are invisible to the main profile.

Transfer of theme between Xiaomi devices

The easiest way to transfer your favorite design to a new phone is to use the Xiaomi Cloud service, which means that if you are signed in to a Mi Account on both devices, the themes will automatically be synched, but this method does not work for all designs, especially if they have been removed from the official store or are modified.

πŸ’‘

Manually copying a.mtz file via Bluetooth or cloud storage is the most reliable way to transfer a theme that is no longer available in the official directory or has been modified by the user.

For mass transfer, you can connect your phone to your computer in file transfer mode (MTP). Copy the contents of the /MIUI/theme/data folder to your computer, then transfer to the new device in the same directory. Once you reboot your phone and open the Themes app, your designs should be determined in the "My" section.

Frequently Asked Questions (FAQ)

Can I change the file extension to.zip and unpack it?
Yes, technically, the theme file is a ZIP archive. If you rename the extension, you can open it with any archiver and see the contents: pictures, xml configs and fonts. However, just throwing the files back without the right structure will not work β€” the system will not see the topic. This is useful only for advanced modders.
Why didn’t the theme appear in the β€œMine” list after the file was transferred?
Most likely, the file was placed in the wrong folder or has a corrupted header. Make sure the file is in /MIUI/theme/data and has the.mtz extension. Also try opening the file through the Open with -> Topics menu to initiate registration manually.
Where are the fonts downloaded separately from the themes?
Fonts are typically stored in the same /MIUI/theme/data directory, but may differ in the folder structure within the archive, sometimes in /MIUI/theme/.font subfolder for active font system cache.
Is it safe to delete old files from the data folder?
Yes, it's safe to delete unused files from the data folder if you don't plan to use them anymore, which will free up space in your internal memory, but it's best to do so through the Topics -> Mine -> Topics app to avoid deleting active components.