Want to make your Xiaomi stand out among millions of other smartphones? Creating your own theme is the best way to personalize your device to your style. MIUI Themes, a custom theme, allows you to control every element of the interface, from app icons to screen lock animations, but how to turn an idea into a working theme that can be installed on any Xiaomi, Redmi or smartphone. POCO?
In this guide, we will take a look at the entire process, from design preparation to final assembly and installation, and learn what tools you will need (and where to download them for free), how to get around the limitations. MIUI For informal topics, and why some interface elements may not change even after applying the theme, and if you've never done design, that's no problem: we'll tell you where to find the templates and how to adapt them to your needs.
Important: The process of creating a theme requires attention to detail. One error in the structure of the files will either not install or the theme will be displayed clumsy. But don't worry: following our instructions, you can avoid errors and get a result that you can be proud of.
What you need to create a Xiaomi theme: tools and requirements
Before you start designing, prepare everything you need. Without the right tools, you'll waste time, like trying to edit manually. XML-Files instead of using specialized programs.
Here is the minimum set you will need:
- π₯οΈ Computer on Windows 10/11 You can use it on Linux, but you can have problems with some software.
- π± Smartphone Xiaomi, Redmi or POCO version MIUI 12 and above (on older versions, some of the features may not work).
- π¨ Graphic Editor: Adobe Photoshop (paid) or GIMP/Krita (Figma or Inkscape (vector graphics) are convenient for icons).
- π WinRAR Archivist or 7-Zip to work with.mtz files (Xiaomi themes format).
- π§ Programme MIUI Theme Editor (unofficial, but most convenient for assembling themes) XDA Developers.
Also useful:
- π File Manager with access to root folders (for example, MiXplorer or Solid Explorer) β for manual installation of themes.
- π‘ Stable Internet connection (for template downloads and compatibility checks).
- βοΈ Knowledge of the basics XML and work with layers in graphic editors (not necessarily, but will simplify the process).
Attention, if your smartphone is working MIUI Global Stable, some themes (e.g. animations) may not be used due to firmware limitations, and you may have to either switch to the new version. MIUI China or custom firmware (e.g. Xiaomi.eu), or put up with partial work of the theme.
Step 1: Designing a theme β where to start?
Before you draw icons or choose colors, define the concept of the theme. Without a clear plan, you risk a set of disparate elements that will not harmonize with each other.
Here are the key questions to be answered:
- π¨ Style: minimalism, neon, retro, dark/light theme, gradients or flat design?
- π Color palette: the main color + 2-3 additional (e.g. dark blue) + turquoise + Use Coolors to match your combinations.
- π± Interface elements: what parts are MIUI You want to change? Icons, wallpaper, fonts, animations, notification panel?
- π Compatibility: Will the theme be for your device only, or do you plan to share it with others? In the second case, consider screen resolutions (e.g., screen resolutions, FHD+ and AMOLED require different approaches).
Tip: If you're a beginner, start by modifying the finished theme. Download any free theme from the site. MIUI Themes, unpack it and look at the folder structure, which will help you understand which files are responsible for what.
π‘
Use Canva to quickly create layouts, and there are icon and wallpaper templates that can be adapted to fit the design. MIUI.
Example of the structure of the topic:
miui_theme/
βββ description.xml #Metadata topics (title, author, version)
βββ preview/ # Pictures for Preview in MIUI Themes
β βββ preview_1.png
β βββ preview_2.png
βββ wallpaper/ # Wallpaper
β βββ lockscreen.jpg
β βββ homescreen.jpg
βββ icon/ # App icons
β βββ com.android.chrome.png
β βββ com.xiaomi.calculator.png
βββ style/ # Styles of interface elements
βββ colors.xml # Color scheme
βββ styles.xml # Dimensions, fonts, indentationsStep 2: Creating graphic elements (icons, wallpapers, widgets)
This is the most creative (and laborious) part of the process, and the quality of the graphics will determine whether your theme will look professional or amateur crafts.
Application icons
Standard size of icons for MIUI β 192Γ192 pixels (but better done in pixels) 512Γ512 for high resolution support. Format β PNG transparently.
Where to get the icons:
- πΌοΈ Draw yourself in Figma or Adobe Illustrator (vector icons scale without loss of quality).
- π Download the finished sets with Flaticon or Icons8 (Make sure the license allows commercial use if you plan to distribute the topic).
- π¨ Use icon generators, such as AppIcon.
Important: icon file names must match the application packages. For example, an icon for Google Chrome should be called com.android.chrome.png. /data/system/package.xml on your smartphone (root access required) or on sites like Android Package Names.
Wallpaper and background images
Recommended permits:
- π± For the lock screen: 1080Γ2340 pixels (for most modern smartphones).
- π For the home screen: 1080Γ2160 pixels (consider the area with icons).
- π For AOD (Always On Display): 1080Γ1080 pixels, black and white or with a minimum color palette.
Tip: If you are not an artist, use wallpaper generators such as:
- π WallpapersCraft (ready-made wallpaper with resolution sorting).
- π¨ Canva Wallpapers (Creating Wallpapers from Templates).
- π€ This Artwork Does Not Exist (AI-Generated Abstractions).
Create a folder with icons (192x192 px, PNG)
Prepare wallpaper for locking and home screen
Check the color scheme for contrast
Export all files in the correct permissions-->
Animations and additional elements
For advanced topics, you can add:
- ποΈ Unlock animations (.zip files with frame sequence).
- π Notification sounds (.ogg format, up to 3 seconds).
- π Weather, clock, etc. widgets (requires knowledge) XML).
Attention, animations and sounds only work on the MIUI China or custom firmware. Global versions will ignore these elements.
Step 3: Editing XML-files (colors, fonts, styles)
Graphics is only half the story, and in order for a theme to look holistic, you have to adjust the colors, fonts and styles of the interface elements. XML-file style/.
File. colors.xml
Here are given color schemes for:
- π± Background of notifications and panels.
- π Buttons and switches.
- π Text and illumination.
Example of code for a dark topic:
<resources>
<color name="miui_color_primary">#FFBB86FC</color>
<color name="miui_color_primary_dark">#FF3700B3</color>
<color name="miui_color_background">#FF121212</color>
<color name="miui_color_text_primary">#FFFFFFFF</color>
<color name="miui_color_accent">#FF03DAC6</color>
</resources>File. styles.xml
Here's the setting:
- π Element sizes (e.g., height of notification panel).
- π€ Fonts (you can connect custom, but they must be in.ttf format).
- πΌοΈ The radius of corners, shadows and other visual effects.
Example of font change:
<style name="miui_text_appearance_headline">
<item name="android:fontFamily">@font/your_custom_font</item>
<item name="android:textSize">18sp</item>
</style>Attention, not all fonts are supported MIUI. If the text appears clumsy after applying the theme, return the standard font or use proven options (e.g., Roboto or Noto Sans).
Step 4: Build a theme in.mtz format
When all graphics and text files are ready, they need to be packaged in.mtz format, the only one that recognizes the data. MIUI Themes.
For this:
- Download and install. MIUI Theme Editor (link at the beginning of the article).
- Create a new project or import an existing theme for editing.
- Drag your files to the appropriate folders (icons in the file) icon/, wallpaper wallpaper/ etc.).
- Edit it. description.xml β Specify the title of the theme, version, author and compatible devices.
- Press Build and save the file with the.mtz extension.
Example of contents description.xml:
<?xml version="1.0" encoding="utf-8"?>
<theme>
<name>MyCustomTheme</name>
<author>YourName</author>
<version>1.0</version>
<compat>MIUI12,MIUI13,MIUI14</compat>
<description>My first custom design for Xiaomi!</description>
</theme>Attention, if you don't put your version in the compat MIUI, The theme may not appear in the list of available. To find out your version, go to Settings β The phone. β Version. MIUI.
π‘
The file.mtz is a regular file. ZIP-If the theme doesn't apply, unpack it and check the folder structure for compliance with the standard. MIUI.
Step 5: Installing theme on Xiaomi smartphone
The finished.mtz file needs to be transferred to the smartphone and installed. There are two ways: through the standard Theme app or manually.
Method 1: Through MIUI Themes (official)
- Copy the.mtz file into a folder MIUI/theme/ on the internal memory of the smartphone.
- Open the Topic app.
- Go to My subjects. β Local.
- Select your theme and click Apply.
Method 2: Manual installation (if the theme is not displayed)
If the topic does not appear in MIUI Themes, try it:
- Install a file manager with access to root folders (such as MiXplorer).
- Move to the /data/system/theme/ (rooting).
- Create a folder with the name of your theme and copy the unpacked files there.
- Reboot your smartphone.
Table: Solving problems during installation
| Problem. | Possible cause | Decision |
|---|---|---|
| The subject is not displayed in MIUI Themes | Incorrect file structure or version MIUI | Check it out. description.xml and compatibility |
| The icons haven't changed. | Mismatch of file names with application packages | Check the file names in the folder icon/ |
| Colors didn't apply. | Errors in colors.xml | Check the template of the standard theme |
| The topic applies in part | Limitations of the Global Version MIUI | Go to the MIUI China or custom firmware |
How to get root rights for manual installation?
Step 6: Optimizing and Disseminating the Theme
If you've created a theme for yourself, that's the point, but if you want to share it with others, you need to refine a few things:
Testing on different devices
Make sure the topic is correctly displayed on:
- π± Smartphones with different screen resolutions (FHD+, HD+).
- π Versions MIUI 12/13/14.
- π Dark and light theme modes.
Publication in MIUI Themes Store
To upload the theme to the official store:
- Register as a developer at zhuti.xiaomi.com.
- Download the.mtz file and fill out the description (in Chinese or English).
- Wait for moderation (can take up to 7 days).
Alternative distribution sites:
- π XDA Developers (section of Xiaomi Themes).
- π± Telegram channels (e.g, MIUI Customization).
- πΎ File sharing (Google Drive, MEGA) personal exchange.
Attention! Xiaomi blocks pirated content themes (paid-set icons, copyright wallpapers, etc.) Use only legal materials or your own designs.