Creating a custom theme for Xiaomi: from idea to publication in the Mi Theme Store

Xiaomi smartphones based on the company shell MIUI Not only do they allow users to choose from thousands of themes, but they also create their own design solutions, and custom theme design is a way to highlight their gadget, emphasize their individuality, or even make money selling templates in the official Mi Theme Store. However, the process of creating a theme requires not only creativity, but also technical knowledge: from working with graphic editors to understanding the structure of.mtz files.

In this guide, we will take you all the way from idea generation and tool preparation to testing and publishing a topic, you will learn what programs you need to edit icons, wallpaper and system elements, how to properly package files in an archive compatible with the Internet. MIUI, We will pay special attention to the technical requirements of Xiaomi for the topics so that your creation is not rejected during moderation.

Important: The process of creating themes MIUI It's different from launching or widgeting, and it's about visualizing system elements, from fonts to lock animations. If you've never worked with graphic design, start with simple modifications to pre-built themes before you start from scratch.

1.Preparation: Tools and Requirements for Creating Themes

Before you start designing, make sure you have everything you need. Xiaomi has strict requirements for the structure of the themes, so you can’t do without specialized software.

Core programmes and resources:

  • 🎨 Adobe Photoshop or GIMP β€” For editing graphic elements (icons, wallpaper, interface elements). Photoshop is preferred because of the support of plugins for exporting to the desired formats.
  • πŸ“‚ Mi Theme Editor (official software from Xiaomi) - a utility for packing themes in.mtz format. Download on the official website (developer registration is required).
  • πŸ“± Test device on MIUI 12/13/14 β€” To check the theme display, it is advisable to use a smartphone with an unlocked bootloader to set the themes manually.
  • πŸ“ Theme templates β€” Xiaomi provides basic templates with the right folder structure, and you can download them in Mi Theme Editor or forums like this. XDA Developers.

Also prepare:

  • πŸ–ΌοΈ Set of icons in format PNG (permit β€” 192Γ—192 px MIUI 14).
  • πŸŒ„ Wallpaper for desktop and lock screen (minimum resolution β€” 1080Γ—2340 px for modern models).
  • πŸ”€ Fonts in.ttf or.otf format (if you plan to change system fonts).

⚠️ Note: Xiaomi blocks themes that contain elements of rival brands (such as Samsung or Apple logos) and also prohibits political symbols, violence or content 18+. Before publishing, check the subject for compliance with the rules of the Mi Theme Store.

πŸ“Š Which version? MIUI You test themes?
MIUI 12
MIUI 13
MIUI 14
Another version
I don't know.

2. Theme structure: what files and folders should be in the archive

Theme for MIUI β€” This is a.mtz file extension, and it has a very strict file hierarchy, and if you break the structure, the theme will either not be installed or it will not be displayed correctly:

Folder/FileDescriptionDo you have to?
description.xmlMETA-theme (title, author, version, supported screen resolutions).Yes.
preview.pngTheme preview (displayed in Mi Theme Store: 1080Γ—1920 px.Yes.
icon/Application icons and system icons must be in format PNG transparently.Yes.
wallpaper/Desktop wallpaper and lock-in. Supported JPG and PNG.Yes.
font/Castomy fonts (optional if you use system fonts).No.

An example of the correct description.xml:

<?xml version="1.0" encoding="utf-8"?>


<theme>




<name>MyCustomTheme</name>




<author>YourName</author>




<version>1.0</version>




<compatibility>




<device resolution="1080x2340"/>




<device resolution="1440x3200"/>




</compatibility>




</theme>

Critical point: if in the section <compatibility> Not specified screen resolution of your device, the theme will not be installed.Clarify the supported permissions for your Xiaomi model on the manufacturer's website.

πŸ’‘

Use the tool. MIUI Theme Resolution Checker (available on forums) XDA), Automatically determine supported permissions for your smartphone model.

3. Element design: icons, wallpaper and system components

The most time-consuming part is creating graphics. Start with icons: there should be at least 200 (for basic applications and system functions). If you're not an artist, use ready-made kits from resources like Flaticon or IconFinder, but remember to adapt them to style. MIUI.

Requirements for icons:

  • 🎭 Style: Must be the same for all icons (e.g. flat design or 3D).
  • πŸ” Permission: 192Γ—192 px MIUI 14, 144Γ—144 px for older versions.
  • πŸ–ŒοΈ Background: transparent (PNG-32), artifactless.
  • πŸ“Œ File Names: Must match the application IDs (e.g. com.android.chrome.png for Google Chrome).

For wallpaper use images with a resolution not lower 1080Γ—2340 Xiaomi recommends avoiding text elements on wallpaper as they may conflict with widgets and icons.If you add animations (for example, for a lock screen), prepare them in format GIF or APNG frame-rate 30 FPS.

System elements that can be customized:

  • πŸ“± Lock screen (watch, unlock slider, notifications).
  • πŸ“Š Notification panel (background color, quick settings icons).
  • πŸ” Search panel on the desktop.
  • 🎡 Music Playback Screen (for the standard Mi Music player).
Where to get the IDs of the icons?
Package name can be found using the App Inspector app (available on Google Play) or through the app. ADB-Command: adb shell pm list packages -f This command will display a list of all installed applications with their full package names.

4.Assemblying theme in Mi Theme Editor

When all the graphic elements are ready, start assembling the theme:

  1. Open Mi Theme Editor and create a new project (File) β†’ New Theme).
  2. Import files to the appropriate folders (icons in the file) icon/, wallpaper wallpaper/ etc.).
  3. Edit it. description.xml: Please specify the title of the theme, version, supported permissions. Use Latin for the file name (e.g., use the file name, MyTheme_v1.mtz).
  4. Check the subject for errors (Tools) β†’ Validate Theme. fix the warnings if there are any.
  5. Export the theme to.mtz (File) format β†’ Export).

If Mi Theme Editor gives an error in validation, the most common reasons are:

  • 🚫 No mandatory files (e.g. preview.png).
  • πŸ“ Incorrect image permissions.
  • πŸ”€ Mistakes in description.xml (Unclosed tags, incorrect symbols).
  • πŸ“ Excess files in the archive (for example,.psd-sources).

Icon File Names are the Same as Package Names|All images in the correct resolution|File. description.xml filled in|The theme preview (preview.png) meets the requirements|Theme tested on the target device-->

5. Testing theme on a Xiaomi device

Before publishing, you need to test the topic on a real device. There are two ways to install it:

Method 1: Mi Theme Editor (for developers)

  1. Connect your smartphone to your PC USB (Turn on the debugging. USB developer-setting).
  2. In Mi Theme Editor, select Tools β†’ Install to Device.
  3. Wait for the installation to be completed and restart the device.

Method 2: Manual installation via file manager

  1. Copy the.mtz file into a folder MIUI/theme/ storage.
  2. Open the Topics app on your smartphone, go to My Topics β†’ Local.
  3. Choose your theme and apply it.

What to check for in testing:

  • πŸ” Correctness of display of icons (whether there are sprains or croppings).
  • 🎨 Correspondence of wallpaper colors and system elements.
  • πŸ“± The ability of animations (if any).
  • πŸ”€ Readability of fonts (if you have changed them).

⚠️ Note: Some Xiaomi devices (such as the Redmi Note line) may have trouble displaying themes due to manufacturer restrictions. If the theme doesn't apply, try installing it through the device. ADB: adb install /path/to/your/theme.mtz

6.Publishing the theme in Mi Theme Store

If you want to share your theme with other users or make money selling it, publish it in the official Mi Theme Store.

  1. Register as a developer on themes.mi.com (you will need to link your Mi Account).
  2. Upload the.mtz file through the developer panel, specify: Theme title and description (in English and Chinese), Category (e.g., Minimalism, Dark Theme, Game) Price (free or paid, from $0.99).

Wait for moderation (usually takes 3-7 days).

Publication requirements:

  • πŸ“Œ The topic should be unique (not a copy of existing ones).
  • 🎨 All graphic elements – copyrighted or licensed by Creative Commons.
  • πŸ“± The theme should support at least 3 screen resolutions.
  • πŸ” No technical errors (checked automatically).

If the topic is rejected, the Xiaomi email will give you the reason, most often it is:

  • 🚫 Copyright infringement (such as using Marvel or Disney logos without permission).
  • πŸ“ Inconsistency of image permissions.
  • πŸ”€ Mistakes in description.xml.

πŸ’‘

Before posting, check the topic on devices with different screen resolutions, even if you have specified in the description.xml Support for all permissions, in practice the topic may be displayed incorrectly.

7. Promote and monetize your theme

Posting to the Mi Theme Store is just the first step, so that your topic is noticed:

  • πŸ“’ Create a presentation: record a video review of the topic (you can use Screen Recorder) and upload it to YouTube or TikTok with hashtags #MIUI, #XiaomiThemes.
  • 🀝 Collaborate with bloggers: many Xiaomi channels are ready to show your topic in reviews for free (for example, TechBurner or Xiaomi Today).
  • πŸ’¬ Participate in communities: Post a topic on forums XDA Developers, 4PDA or VK/Facebook, dedicated MIUI.
  • πŸ“Š Optimize the description: Use keywords in the title and description of the theme (for example, β€œdark theme for Redmi Note 12”, β€œminimalist icons” MIUI 14").

If you are planning to monetize the topic:

  • πŸ’° Set the price from $0.99 to $2.99 - More expensive themes sell worse.
  • 🎁 Offer a free β€œlight” version of the theme with basic icons, and the full version is paid.
  • πŸ“ˆ Track sales statistics in the Mi Theme Store developer panel and update the theme (e.g. add new icons once a month).

An example of successful monetization: the theme β€œNeon Dark” from the developer @miuithemes earned more $5,000 Over the year, thanks to regular updates and promotions in social networks.

FAQ: Frequent questions about creating themes for Xiaomi

Can you create a theme without knowing graphic editors?
Yes, but the quality is lower. You can: Use online services like Canva to create icons, download pre-made theme templates and modify them (like changing colors in Mi Theme Editor), take free icons from Flaticon and adapt them to fit them. MIUI. However, for professional results, it is better to master Photoshop or GIMP.
Why is my theme not installed on a smartphone?
Probable reasons: Discrepancy of screen resolution (check out) description.xml). A damaged.mtz file (reassemble the theme in Mi Theme Editor) is missing a folder with mandatory elements (e.g., a folder with a file that is not a theme, icon/). The device does not support custom themes (on some models). POCO This feature is disabled. Try to set the theme through ADB (command above).
How to add animation to the lock screen?
For animations: Prepare GIF or APNG And you can do it with the resolution that corresponds to your device's screen. lockscreen/ inside the theme archive. Specify the path to the file in description.xml: <lockscreen> <animation path="lockscreen/animation.png"/> </lockscreen> Limitations: The animation must not exceed 5 MB and should be optimized for 60 FPS.
Can you port themes from other launchers (Nova, Apex) to MIUI?
Technically yes, but it's a complicated process. Themes for Nova Launcher or Apex use a different format (.apk or.klwp) and need to be converted to.mtz manually: Remove icons from the original theme (usually they lie in the.mtz format). res/drawable). Adapt them to the requirements MIUI (Get a new theme in Mi Theme Editor. There are no automatic conversion tools ready.
How much can I earn selling themes in the Mi Theme Store?
Revenue depends on several factors: Theme quality: unique design sells better than template solutions. Promotion: topics advertised on social networks generate 3-5 times more revenue. Price: optimal range β€” $0.99–$Relevance: topics for new models (Xiaomi) 13T, Redmi Note 12) are sold more actively. According to Xiaomi, top developers are earning $1,000–$3,000 a month, but most newcomers manage to get a paycheck. $50–$200 on a single topic.