Installation of custom MTZ-Xiaomi smartphones are one of the most popular ways to personalize the interface MIUI. These themes, unpacked from.mtz archives, allow you to change icons, fonts, animations and even system sounds beyond the standard features of a theme store. MIUI 12 Xiaomi has tightened restrictions on third-party themes, and in new versions of the firmware completely removed support for manual downloading of.mtz files.
In this guide, we will discuss all the current methods of installation MTZ-on the Xiaomi, Redmi and POCO β from the official importation through MIUI Themes to manual installation through ADB and TWRP. We will pay special attention to avoiding errors such as βTheme can not be appliedβ or βFile corruptedβ, as well as compatibility with the latest versions. MIUI 14/15 If you are tired of the monotony of standard themes or want to return the functionality of old versions of firmware - this guide is for you.
What is it? MTZ-Themes and Why They Are Hard to Set Up for New Xiaomi
Files with the.mtz extension (from Mi Theme Zip) are archives containing all the elements of the theme design for the file. MIUI: From wallpaper and icons to system sounds and notification styles, they used to be freely downloadable from third-party sources (e.g., forums). XDA Developers or website MIUI Themes) and manually installed through the theme manager. MIUI 12.5 Xiaomi has started blocking these themes for several reasons:
- π Security: The risk of introducing malicious code into uncertified topics.
- π¨ Ecosystem Control: Company Promotes Its Own Store of Paid Subscriptions.
- π± Fragmentation: Not all theme elements work correctly on new versions MIUI.
Today, users face the following problems:
- β The error "Theme cannot be applied" when trying to install MIUI Themes.
- β No option to βImport themeβ in the settings menu (starting with the MIUI 14).
- β Automatically remove third-party themes after rebooting the device.
However, we can circumvent the limitations and we will show you how.
Method 1: Official importation through MIUI Themes (not working on all versions)
The easiest method is to download a.mtz file through the built-in theme manager. MIUI 12.5 and below, and on some firmware MIUI 13/14, If the function hasn't been deleted, here's a step-by-step instruction:
- Download the.mtz theme file to your device (for example, to the Downloads folder).
- Open the application Themes (MIUI Themes).
- Go to the section My topics β Local.
- Click on the three dots in the top right corner and select Import theme.
- Specify the path to the downloaded.mtz file and confirm the installation.
If you donβt have the option to import a theme, try the following workarounds:
- π Rename the file: sometimes renaming.mtz to.zip, unpacking the archive and re-archiving with the original name helps.
- π Place the file in the system folder: move.mtz to /MIUI/theme/ through a file manager with root rights (e.g., MiXplorer).
- π Retraction of the version MIUI Themes: Install an older version of the app through APK (for example, com.miui.miuitheme_1.0.2.4).
Download MTZ-file from a verified source|Check the version. MIUI Themes (must support imports)|Installation from unknown sources|Rename the file if necessary|Try alternative methods for errors-->
Important: On devices with MIUI 14+ And HyperOS, this is very rare, and if you see a message saying "Format is not supported," go to the following methods.
Method 2: Installation through TWRP (loader)
If your Xiaomi has an unlocked bootloader and installed custom recavery TWRP, You can flash a.mtz theme as a zip archive, and this is a method that's suitable for power users and requires prior preparation:
- Download the.mtz file and rename it to.zip.
- Reset the device in mode TWRP (clamp down the Power + Volume Up).
- In the Recovery menu, select Install and specify the path to the file.
- Confirm the installation with a swipe and wait for the process to be completed.
- Reboot the device and apply the theme through Settings β Topics.
Advantages of the method:
- β It works on all versions. MIUI HyperOS.
- β Allows you to set topics with deep customization (including system fonts).
- β Bypasses the restrictions of the official store topics.
Risks and warnings:
β οΈ Note: Incorrect Firmware Through TWRP This can lead to bootloop.Always do a Nandroid backup before installing themes.Some.mtz files contain modified system libraries that may conflict with firmware.
How to make a backup before firmware through TWRP?
If the theme does not apply after installation, check:
- π Compatibility of the theme with your version MIUI (Please check the author's forum).
- π Presence of conflicting Magisk modules (disable them before firmware).
- π File integrity (re-download the theme if the archive is damaged).
Method 3: Manual installation through ADB (rootless)
For users who do not have TWRP, but there's access ADB, There is a method of installing themes through the command line. It works on most Xiaomi devices with the help of the command line. MIUI 12-15 and doesn't require superuser rights:
- π₯οΈ Computer with installed ADB and Xiaomi drivers.
- π± Included debugging by USB on a smartphone (Settings) β The phone. β Version. MIUI β 7 times press to activate the developer mode).
- π.Theme mtz file, renamed theme.mtz and placed in the root of internal memory.
Instructions:
- Connect your phone to your PC and open the terminal (cmd or PowerShell).
- Enter the command to check the connection: Adb devices must display the serial number of your device.
- Copy the theme to the system folder: adb push /sdcard/theme.mtz /data/system/theme/
- Set file rights: Adb shell chmod 644 /data/system/theme/theme.mtz
- Reboot the device and apply the theme through Settings β Topics β Local.
Possible errors and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| adb: error: failed to copy | No rights to record in /data/system/theme/ | Use adb shell su (root required) or run through TWRP |
| Theme not found | The file has not been copied or corrupted. | Repeat the adb push command or check the integrity of the archive |
| The topic applies in part | Incompatibility with the MIUI version | Find the theme version for your firmware or edit description.ini inside.mtz |
adb shell mkdir /data/system/theme/-->
Method 4: Using Magisk Modules for Themes
For devices with acquired root rights (via Magisk), another reliable way is to install themes through special modules. MIUI Theme Manager allows you to avoid restrictions MIUI and install any.mtz files.
Instructions:
- Download the module. MIUI Theme Manager (e.g. with GitHub or theme manager) XDA).
- Install it through Magisk Manager (Modules β Install from storage).
- Reset the device.
- Put the.mtz file in the folder /sdcard/MIUI/theme/.
- Open the Topics app and select your theme in the Locals section.
Advantages of the method:
- β Works on MIUI 14/15 hyperos.
- β Supports automatic update of topics.
- β Allows you to set topics with deep customization (including framework-res).
Important: Not all modules are compatible with the latest versions of Magisk. Check reviews on the authorβs forum before installing them. Also note that using root may disrupt some banking applications (e.g. Sberbank Online or Tinkoff).
π‘
Magisk modules are the most versatile way to install MTZ-themes on new versions MIUI, but requires unlocked bootloader and caution when choosing modules.
Installation errors MTZ-themes and decisions
Even if you follow instructions correctly, users often encounter errors, and let's look at the most common problems and ways to fix them:
1. The error "The subject cannot be applied"
Reasons:
- π The theme is intended for another version. MIUI (for example MIUI 12, and you have MIUI 14).
- π Description.ini inside.mtz shows the wrong firmware version.
- π No necessary system files (e.g. fonts or icons).
Decision:
- π§ Open.mtz as an archive (rename it.zip) and edit the description.ini file by specifying your version. MIUI.
- π§ Check the topic for compatibility on the forum XDA or 4PDA.
2.Theme applies, but not all elements are displayed
Reasons:
- π No rights to access system resources (e.g. to change icons).
- π Conflict with other Magisk or Xposed modules.
Decision:
- π§ Set the theme through TWRP or magisk module.
- π§ Disable other design-related modules (e.g. MiuiHome Mods).
3. After rebooting, the theme is reset
Reasons:
- π MIUI Automatically resets uncertified themes.
- π There is no entry of the topic in the system registry.
Decision:
- π§ Use the Magisk module to fix topics (for example, MIUI Theme Fix).
- π§ Set the theme through ADB root-right.
β οΈ Warning: If the device starts to brake or overheat after applying the theme, return the standard theme immediately. Some.mtz files contain unoptimized resources that increase the load on the processor.
Where to download MTZ-themes
Official theme store MIUI It offers limited choices, so users often search for.mtz files on third-party sites:
- π XDA Developers: Xiaomi Themes section (the most recent and optimized themes).
How to choose a compatible theme:
- π Check the theme description for supported versions MIUI.
- π Pay attention to other usersβ reviews (especially with your device model).
- π Avoid those with suspiciously small sizes (possible virus).
Important: Never download MTZ-topics from unknown sites, especially if they require disabling antivirus or granting administrator rights. In 2023, there were cases of spreading spyware through modified themes.