Want to make your Xiaomi stand out among millions of other smartphones? Creating your own theme is the best way to give your device a unique style that reflects your personality. Unlike standard MIUI Themer themes, custom theme allows you to control every element of the interface, from app icons to screen lock animations. But how do you do that if you've never done design?
In this article, we will explore the process of creating a theme for Xiaomi from scratch β from preparing design layouts to final installation through official and informal tools. You will learn what programs to use to draw icons, how to properly package the theme in a.mtz file, and what pitfalls can arise when installed on different versions of MIUI. And if you do not want to go into technical details, we will show you how to quickly modify existing themes to suit your needs.
Important: The process of creating a theme requires patience and attention to detail, but the result is worth the effort. Ready to turn your Redmi Note 12 or Xiaomi 13 Ultra into a real masterpiece?
1. What you need to create a theme on Xiaomi: tools and requirements
Before you start designing, make sure you have everything you need.
- π± Xiaomi smartphone based on MIUI 12 or later (for testing)
- π» Computer with Windows/macOS or Linux (for design purposes)
- π¨ Graphic Editors: Adobe Photoshop, GIMP (Free of charge) or Figma (for vector icons)
- π¦ WinRAR Archivist or 7-Zip (for working with.mtz files)
- π§ MIUI Theme Editor (official tool from Xiaomi, but with limitations)
If you plan to create a theme from scratch, you need basic graphics skills, you can use templates from the Xiaomi community to simplify the task, or you can modify existing themes, for example, free open source themes are available in MIUI Themer that you can customize.
Attention! Not all versions of MIUI support custom themes installation. On devices with MIUI Global or MIUI China, restrictions may apply. Before starting, check the firmware version in Settings β About Phone β MIUI version.
2. Selection of style and design: where to start?
The first step is to define the concept of the theme, and that depends on what interface elements you have to work through.
- π Dark theme with accent colors (popular for the AMOLED-screen)
- βοΈ Light theme with minimalist icons (suitable for daytime use)
- π¨ Anime/Gaming Style (Icons in the style of your favorite franchises)
- ποΈ Manual design (unique illustrations for each element)
For inspiration, explore themes in MIUI Themer or forums like XDA Developers.
- Color palette (no more than 3-4 primary colors)
- Shape of icons (round, square, with or without shadow)
- Style of fonts (minimalist San Francisco or decorative Handwritten)
Tip: If you're a beginner, start by modifying the finished theme. Download your favorite theme from the MIUI Themer, unpack it (a file with the.mtz extension is a regular file). ZIP-archive) and change individual items (e.g., only icons or wallpapers).
π‘
Use Coolors to create a harmonious color palette, just press the space to generate a new combination.
3. Creation of icons and graphic elements
Icons are the most visible element of the theme, and you can create them in two ways:
- Vector icons (scalable, suitable for all resolutions). Use Adobe Illustrator or Figma templates for MIUI. Standard size is 192Γ192 px, but export to 108Γ108 px for compatibility.
- Raster icons (pixels, require multiple options for different resolutions) Prepare versions for 48Γ48 px, 72Γ72 px and 144Γ144 px.
Mandatory replacement elements:
- π± Application icons (drawable folder in the theme archive)
- π Lock screen (files) lockscreen_bg.jpg and lockscreen_clock.png)
- π± Desktop wallpaper (wallpaper.jpg)
- π΅ Player elements (play buttons, progress band)
Critical detail: all graphics files must be in PNG format with transparency (for icons) or JPG format with high quality (for wallpaper).
Where to download the templates for MIUI icons?
4. The structure of the theme files: what and where to put
The MIUI theme is an archive with a rigid folder structure, and if one file is in the wrong place, the theme won't load.
miui/
βββ description.xml (metadata topics)
βββ preview/ (screenshots for preview)
β βββ preview1.jpg
β βββ preview2.jpg
βββ drawable/ (Icons and graphics)
β βββ app_icon.png
β βββ ...
βββ values/ (color schemes)
β βββ colors.xml
βββ wallpaper/ (wallpaper)
βββ wallpaper.jpgThe most important file is description.xml. It contains information about the topic, including title, version and compatibility.
<theme>
<name>MyCustomTheme</name>
<author>YourName</author>
<version>1.0</version>
<compatibility>MIUI12,MIUI13,MIUI14</compatibility>
</theme>If you specify the wrong version of compatibility (for example, MIUI11 for a theme created under MIUI14), the theme may not appear in MIUI Themer or may not work properly.
| folder | Contents | Do you have to? |
|---|---|---|
| drawable | Application icons, UI elements | Yes. |
| wallpaper | Wallpaper for desktop and lock | Yes. |
| preview | Screenshots for preview in MIUI Themer | No (but recommended) |
| values | Color schemes and styles | Yes (for a full topic) |
5. Packaging the theme in MTZ-format
When all files are ready, they need to be packaged in.mtz format.
- Through MIUI Theme Editor (official but limited): Download MIUI Theme Editor from Xiaomi Community. Import a theme folder and export to.mtz. Transfer the file to your phone.
Manually through the archiver
- Squeeze the folder miui in ZIP-archive.
- Rename the extension from.zip to.mtz.
- Use a file manager (such as Solid Explorer) to transfer to your phone.
Attention! Some firmware (e.g. MIUI Global Stable) may block the import of themes through MIUI Themer, requiring unlocking the bootloader or installing a custom recap (TWRP).
All graphic files in PNG/JPG format
File. description.xml well-filled
The Miui folder is at the root of the archive.
Theme tested on the emulator (optional)-->
6. Testing and debugging theme
Even if the topic is established, it doesn't guarantee it's working properly.
- π Icon Display: Did all apps get new icons? (Some system icons may remain standard.)
- π¨ Color schemes: whether the colors correspond to the specified colors.xml?
- π± Animation: does the interface slow down when applying the theme?
- π Battery consumption: dark themes save charge AMOLED-screens, but complex animations can increase it.
If something went wrong:
- π οΈ Check logs in Settings β The phone. β Error report.
- π Repackage the topic, making sure that the folder structure is not broken.
- π± Try to apply the theme on another device with the same version MIUI.
Tip: Use a MIUI emulator on your PC to test (e.g., Xiaomi EU ROM in VirtualBox) to save time and avoid problems on your main device.
π‘
If the theme doesnβt apply, 90% of the time the problem is in the wrong folder structure or errors in description.xml. Always check the archive before installing.
7.Publishing a topic: how to share your creation
If you're happy with the result, why not share the topic with other users?
- π Xiaomi Community (new.c.mi.com) β official theme platform Requires registration and moderation.
- π± XDA Developers is a forum for enthusiasts, and you can put a source theme here.
- π¬ Telegram channels (e.g, MIUI Custom Themes β Quick distribution among Russian-speaking audience.
Before publication:
- Make sure the theme works on multiple versions of MIUI.
- Add quality screenshots (at least 1080p resolution).
- Write a detailed description with the compatible devices.
Attention! Not all topics are moderated on Xiaomi Community. Avoid using copyrighted material (brand logos, anime characters without permission).