Xiaomi smartphones based on the shell MIUI Not only can you choose from thousands of themes, but you can also design your own interfaces, so you can stand out, you can adapt your phone to your own style, or you can even make money selling unique themes in your own home. MIUI However, many users do not know where to start: what tools to use, how to build a theme package correctly and avoid installation errors.
In this guide, we will take a look at the entire process β from preparing graphic elements to final installing the theme on your Redmi, POCO You will learn what programs will help you create icons and wallpapers, how to work with the theme file structure, and why some custom themes may not apply on new versions. MIUI 14/15. And where to find design inspiration and how to test a theme before publishing.
Important: The process of creating a theme requires attention to detail, such as incorrectly specified screen resolution in a file. description.xml It can cause the theme to simply not appear on the list of available ones, but don't worry, we'll go through each step in detail so you can avoid the typical mistakes.
1.Preparation: What is needed to create a topic
Before you start designing, make sure you have everything you need. Here's the minimum set of tools and knowledge:
- π± Xiaomi smartphone on the MIUI 12 and newer (for testing)
- π» Windows computer 10/11 or macOS (for working with graphics)
- π¨ Graphic Editors: Adobe Photoshop, GIMP (free) or Figma for icon and wallpaper design
- π WinRAR Archivist or 7-Zip topic-file
- π Text editor Notepad++ or VS Code (for editing) XML-file)
You will also need basic graphics editor skills, and if youβve never created an icon or wallpaper, practice on simple elements, such as trying to repaint standard icons. MIUI In a different color, or add shade to it, it will help you understand the principles of layering and resolutions.
Pay attention to the screen resolution of your smartphone. For example, for Xiaomi. 13 Pro with permission 3200Γ1440 And the wallpaper and the interface elements have to be adapted to this ratio, and if you're creating a theme for multiple devices, you're going to have to do multiple graphics or use vector elements that scale without losing quality.
β οΈ Attention: If you are using MIUI 14/15, Note that the theme structure has changed from older versions. Some older manuals on the Internet may contain irrelevant data on file locations or supported settings.
2. Theme structure: what files and folders are needed
The theme for Xiaomi is an archive with a specific folder and file structure, and here's the basic structure that works for most versions. MIUI:
miui_mtl_global_theme.mtz (or other format)
βββ description.xml # Theme metadata main file
βββ preview # Folder with preview (required!)
β βββ preview_1.jpg # Preview for theme store
β βββ preview_2.jpg
βββ wallpaper #Wallpaper
β βββ lockscreen.jpg # Wallpaper for lock screen
β βββ homescreen.jpg # Home screen wallpaper
βββ icon # App icons
β βββ com.android.chrome.png
β βββ com.android.settings.png
β βββ ...
βββ font # Fonts (optional)
β βββ custom_font.ttf
βββ Style # Styles of interface elements
βββ colors.xml # Color scheme
βββ styles.xml # Button styles, menus, etc.The most important file is description.xml. It says:
- π Title of the topic and its version
- π± Supported screen resolutions
- π¨ Author and contact information
- π§ Version compatibility MIUI
Example of minimum content description.xml:
<?xml version="1.0" encoding="UTF-8"?>
<theme>
<name>MyCustomTheme</name>
<version>1.0</version>
<author>YourName</author>
<email>your.email@example.com</email>
<compatibility>
<miui_version min="12" max="15"/>
<resolution>1080x2400</resolution>
<resolution>1440x3200</resolution>
</compatibility>
</theme>π‘
Use online validators XML, check out description.xml Errors in this file are the most common reason why a topic is not displayed in the system.
3. Creation of graphic elements
Graphics are the basis of any topic. Even if you're not an artist, you can create quality design using pre-made templates and tools. Let's start with the most noticeable ones: wallpaper and icons.
Wallpaper for lock screen and main screen
Recommended wallpaper sizes:
| Screen resolution | Lockscreen (jpg/png) | Homescreen (jpg/png) |
|---|---|---|
| 1080Γ2400 (Redmi Note 10) | 1080Γ2400 | 1080Γ2160 (dock-boarded) |
| 1440Γ3200 (Xiaomi 13) | 1440Γ3200 | 1440Γ2880 |
| 720Γ1600 (Redmi 9A) | 720Γ1600 | 720Γ1440 |
Advice on wallpapering:
- π¨ Use abstract textures or minimalist drawings β they look better on smaller screens.
- π Avoid too bright colors in the status bar area (top of the screen) β this can make it difficult to read time and notifications.
- π For lock screen wallpaper, leave free space at the bottom - there will be displayed interface elements (hours, date, buttons).
Application icons
The icons should be in format. PNG It's a transparent background β 192Γ192 pixels, but for high resolutions (e.g. Xiaomi) 13 Ultra is better to use 256Γ256. Each icon should be named according to the principle:
[Application package].png
Examples:
com.android.chrome.png # Icon for Chrome
com.miui.calculator.png # Icon for Calculator
com.android.settings.png # Icon for SettingsWhere do you get the app packages? Install the App Inspector app on your phone (available on Google Play) -- it shows the packages of all the apps installed. Or use this list of the most popular ones:
Standard application packages MIUI
If you do not want to draw icons from scratch, you can:
- π Download free icon sets from sites like Flaticon or Iconfinder (check the "Free for Commercial Use" filter").
- π¨ Use icon generators, such as Android Asset Studio (online service from Google).
- ποΈ Take as a basis standard icons MIUI and modify them (change color, add a stroke, etc.).
4. Working with color scheme and styles
Colors in the theme are defined in the file style/colors.xml. You can set the shades here:
- π± System menu background
- π Buttons and switches
- π Text and clues
- π΄ Emphasis elements (notifications, allocations)
Example of contents colors.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="miui_color_primary">#6200EE</color> <!-- Primary color -->
<color name="miui_color_primary_dark">#3700B3</color> <!--Dark variant -->
<color name="miui_color_accent">#03DAC6</color> <!-- Accent color -->
<color name="miui_color_background">#FFFFFF</color> <!--Fon -->
<color name="miui_color_text_primary">#212121</color> <!-- Main text -->
</resources>To choose a harmonious palette, use the services:
- π¨ Coolors β Color scheme generator
- π Adobe Color β a tool for selecting shades
- π Material Design Color Tool β Contrast Testing
β οΈ Attention: B MIUI 14+ some parameters colors.xml Ignore them if you have Dark Mode or Color Scheme on Wallpaper on the system. Test the theme in different display modes!
5. Assembly and packaging of the theme
When all graphic elements and XML-Files are ready, they need to be properly packaged in the archive with the.mtz extension (for older versions). MIUI) Or.apk (for new ones). Here's a step-by-step guide:
Create a folder with the theme name (for example, MyTheme)|Place all files in a structure (description.xml, preview, wallpaper, etc.)|Check the icon names (must match the application packages)|Pack a folder in ZIP-archive|Rename the extension from.zip to.mtz-->
For packaging in.mtz:
- Select the theme folder, right-click and select Add to Archive... (via WinRAR or 7-Zip).
- In the archiving settings, select the format ZIP and compression level without compression.
- Once you have created your archive, rename it from.zip to.mtz.
For MIUI 14/15 You may need to pack in.apk:
- π₯ Download the template MIUI Theme APK Template (available on forums such as XDA Developers).
- π Place your theme files in the asset template folder.
- π§ Edit it. AndroidManifest.xml, name and version of the topic.
- π¦ Compile your project to.apk via Android Studio or online services like AppBundle Explorer.
The finished theme file can be:
- π² Install directly on the phone (instructions in the next section).
- π Download in MIUI Theme Store for public access (developer account required).
- πΎ Share with friends through cloud services (Google Drive, Telegram).
6. Install theme on Xiaomi smartphone
There are three ways to install a custom theme on Xiaomi:
Method 1: Through the standard "Themes" application
It is the easiest method, but it does not work on all versions. MIUI:
- Copy the theme file (.mtz or.apk) into your phoneβs memory.
- Open the Themes app.
- Go to the section My topics β Import.
- Select your file and wait for the application.
Method 2: Through MIUI Theme Editor (requires an unlocked bootloader)
If the standard method does not work, you can use the application. MIUI Theme Editor (available on the XDA or 4PDA):
- Install. MIUI Theme Editor.apk phone-on.
- Open the app and import your.mtz file.
- Press Apply Theme and restart your phone.
β οΈ Note: On certain devices (e.g, POCO F5 Xiaomi 13T) This method requires an unlocked bootloader and root rights. Without them, the theme may not apply or reset after a reboot.
Method 3: Through ADB (for power users)
If the first two methods didnβt work, try to install the theme through the ADB:
adb push C:\path\totheme\theme.mtz /sdcard/
adb shell am start -n com.android.themes/.activity.ThemePreviewActivity -d file:///sdcard/theme.mtzAfter these commands are executed, the theme should appear in the list of available ones. If not, check:
- π Correct File Structure in the Archive.
- π Compatibility of permits in description.xml.
- π Version MIUI (Some themes donβt work in beta versions).
7. Testing and debugging theme
Before you publish or distribute a topic, you need to test it on different devices.
Check the display of wallpaper on Lockscreen and Homescreen|Make sure all icons are displayed (no "broken" links)|Test the color scheme in light/dark mode|Check the work of animations (if they are in the topic)|Make sure the text is readable on all backgrounds-->
Common mistakes and their solutions:
| Problem. | Possible cause | Decision |
|---|---|---|
| The topic does not appear on the list | Wrong. description.xml or | Check it out. XML Errors and add all supported permissions |
| Icons don't change. | Mismatch of icon file names with application packages | Use App Inspector to find out the right packages |
| Colors do not apply | Conflict with a system theme or dark mode | Test in different display modes |
| The theme is reset after rebooting | No rights to write to system folders | Use it. MIUI Theme Editor with root rights |
If the theme is unstable, check the logs of the system through ADB:
adb logcat | grep -i "theme"This will help to identify errors in downloading or applying styles.
8. Publication of the topic in MIUI Theme Store
If you want to share your topic with other users, you can publish it in the official store. MIUI Themes, for that:
- Register a developer account on the Xiaomi Developer website (dev.mi.com).
- Prepare the theme archive according to Xiaomi requirements (preview size, file formats, etc.).
- Upload the theme through MIUI Theme Designer Portal.
- Fill in metadata: description, tags, supported devices.
- Wait for moderation (can take 3 to 7 days).
It is important to consider:
- π° Free themes are moderated faster than paid themes.
- π In the description, specify all the features of the topic (animations, unique icons, etc.).
- π Avoid using protected content (brand logos, characters from movies).
π‘
Before posting, check the theme on three different Xiaomi devices with different screen resolutions, which will increase the chances of being approved by the moderator.
After posting, keep track of user reviews. If a topic is gaining popularity, you can:
- π Release updates with new icons or wallpaper.
- π¨ Create variations of the theme (e.g. dark and light versions).
- π¬ Communicate with users through comments in the theme store.