Xiaomi smartphones based on the company shell MIUI They offer users a unique personalization experience, which is custom customized themes, but what if none of the thousands of themes available in the Mi Theme Store are 100 percent your style? The solution is simple: create your own theme from scratch! This process requires patience, attention to detail and basic skills with graphic editors, but the result is worth the effort β your phone will become truly unique.
In this article, we'll take you all the way from preparing working tools to publishing a topic in an official store, and you'll learn what interface elements you can customize, where to download templates for your personalization. MIUI Theme Editor, and how to avoid the typical novice mistakes, and if you've never done design before, don't worry, we'll give you some basic tools and resources for learning. Even minimal changes (for example, changing icons or fonts) can radically change the appearance of the system.
1. What can be changed in the custom theme MIUI
Before you start creating, it is important to understand which interface elements are amenable to customization in the MIUI. The shell allows you to modify almost all visual components, but with some limitations:
- π¨ Color palette: background colors of system applications, accent shades for buttons, scroll bars and notifications.
- πΌοΈ Wallpaper and background images: screensavers for desktop, lock screen, application menu and system dialogues.
- π± Application icons: icon design for standard and third-party programs (requires a separate package of icons).
- π€ Fonts: System and custom fonts for text (with license restrictions).
- π Sounds and melodies: notification signals, pressing sounds, alarm clock melodies.
- π± Animations and transitions: effects when opening / closing applications, navigation gestures.
- π§ System dialogs: appearance of pop-up windows, settings menu, notification panels.
But there are also immutable elements, like, you can't modify:
- π« Logic of system functions (e.g., swipe order in Control Center).
- π« Settings menu markup (you can change only the visual design, but not the location of items).
- π« Appearance of some proprietary applications (e.g. Mi Pay or Mi Home).
It is important to understand that the depth of customization depends on the version. MIUI. For example, in MIUI 14 there is support for dynamic wallpaper, and in MIUI 13 - Advanced settings for dark theme. Before you start, check the current version of the shell on your device in the Settings menu β The phone. β Version. MIUI.
2. Necessary tools and programmes
To create a theme, you'll need a set of specialized tools, most of which are free, but some (like professional graphic editors) may require a license.
| Tool. | Appointment | Download link | Alternatives |
|---|---|---|---|
| MIUI Theme Editor | The official theme editor from Xiaomi, allows you to import graphic elements and customize their placement. | Mi Theme Store (in the developer section) | There are no full-fledged analogues |
| Adobe Photoshop or GIMP | Editing graphic elements (icons, wallpaper, buttons). GIMP β free-alternative. | gimp.org | Krita, Affinity Photo |
| Android Studio | To test the theme on the emulator (optional if there is no physical device). | developer.android.com | Genymotion |
| 7-Zip or WinRAR | For unpacking and packaging of archives of topics (.mtz format). | 7-zip.org | PeaZip, Bandizip |
| Notepad++ or VS Code | Editing the theme configuration files (e.g, description.xml). | notepad-plus-plus.org | Sublime Text, Atom |
Before installation MIUI Theme Editor ensures that your device meets the following requirements:
- π± Xiaomi smartphone based on MIUI 12 or newer (for testing themes).
- π₯οΈ Windows computer 10/11 MacOS (the editor does not officially support Linux).
- πΎ Minimum 5 GB of free disk space (for storing graphics files).
π‘
If you donβt have a Xiaomi smartphone to test, use an emulator. MIUI To do this, download the system image from the official Xiaomi website for developers and configure a virtual device with resolution. 1080Γ2340 (typical).
3. Preparation: Downloading templates and studying the structure of the topic
All topics for MIUI They have a very strict file structure, so you don't want to create it from scratch, download the official template from Xiaomi, which contains folders for all customizable items and file examples:
- π On the Mi Theme Store site in the developer section.
- π In the archives with MIUI Theme Editor (usually located in the templates folder after installation).
- π On the forums of enthusiasts (for example, Xiaomi.EU or 4PDA).
Unpack the template and examine its structure. A typical theme folder looks like this:
miui_theme_template/
βββ description.xml #Metadata topics (title, author, version)
βββ preview.png # Preview for theme store
βββ com.android.systemui # System elements (notification panel, buttons)
βββ com.miui.home # Desktop icons and app menus
βββ com.miui.themes # Color schemes and styles
βββ Wallpapers # Desktop and Lock Wallpapers
βββ Fonts # Fonts (optional)Key file β description.xml. It contains meta-information about the topic that the user will see in the store:
<theme>
<name>My first topic</name>
<author>Your name</author>
<version>1.0</version>
<compatibility>MIUI14</compatibility>
<description>Minimalistic theme with dark accents</description>
<preview>preview.png</preview>
</theme>What happens if you fill it in incorrectly? description.xml?
And look at the com.android.systemui folder, which stores the design elements of the notification panel, power buttons, and other system dialogs. status_bar_background.png is responsible for the background of the upper panel, and notification_panel_bg.png β The size of these images is fixed, so when you replace them, use the templates from the archive.
4. Design of icons: rules and recommendations
Icons are the most visible element of the theme, so their design should be given special attention. MIUI Supports two types of icons:
- πΌοΈ Standard: square icons with rounded corners (size) 192Γ192 px).
- π¨ Adaptive: icons with transparent background and arbitrary shape (size) 108Γ108 px, but with indentations to 192Γ192 px).
When creating icons, follow the following rules:
- β Uniform style: all icons should be made in the same color scheme and with the same level of detail.
- β Readability: The icon must be recognizable even when it is sized 48Γ48 px (as it appears in the notification panel).
- β Transparency: Transparent background is required for adaptive icons (.png format).
- β Do not use text on icons (except for app logos, such as YouTube or Twitter).
If you are not an artist, use the ready-made icon sets with a license. CC0 (free for commercial use):
- π₯ Flaticon β more than 3 million vector icons.
- π₯ The Noun Project β icons from designers around the world.
- π₯ Icons8 β single-style icon sets.
Download the icon template from the archive MIUI Theme Editor|Choose a single style (flat, voluminous, minimalistic)|Fit all icons to size 192Γ192 px|Check the readability when reduced to 48Γ48 px|Save it in format PNG Transparent (for adaptive icons)
-->
To speed up the process, use batch processing in Photoshop or GIMP. For example, you can record an action that automatically trims all icons to the desired size and applies a single filter. It is also useful to use plugins to export layers to individual files (in Photoshop it is Export). β Layers to Files).
5. Working with color schemes and fonts
The color palette of the theme is determined in the file colors.xml, This file contains hexadecimal color codes for different interface elements:
<resources>
<color name="system_accent_color">#FF5722</color> <!-- Primary accent color -->
<color name="system_background_color">#FFFFFF</color> <!-- System window background -->
<color name="text_color_primary">#212121</color> <!-- Main text -->
<color name="notification_panel_bg">#F5F5F5</color> <!---Notification panel background -->
</resources>To select a harmonious palette, use the following tools:
- π¨ Coolors β Color scheme generator.
- π¨ Adobe Color β creating palettes based on images.
- π¨ Material Design Color Tool β Checking Color Contrast.
The fonts are more complicated: MIUI It only supports.ttf and.otf, and not all system fonts can be replaced:
- Place the font file in the fonts folder.
- Point the way to it in the file. styles.xml (in the same folder com.miui.themes): <style name="TextAppearance.Miui"> <font name="font_family">my_font.ttf</font> </style>
- Make sure the font supports Cyrillic (if the theme is for Russian-speaking users).
π‘
Colour system_accent_color It affects the design of buttons, sliders and highlighted elements throughout the interface, and choose a shade that works well with both light and dark themes (if your theme supports them).
Be careful with font licenses. Many free fonts (like Google Fonts) allow for use in personal projects but prohibit commercial distribution. If you plan to publish a topic on the Mi Theme Store, check the terms of the license or use fonts marked with a tag. SIL Open Font License (OFL).
6. Testing the theme on the device
Before publishing, you need to test the topic on a real device.
- Connect Xiaomi smartphone to your computer in file transfer mode (MTP).
- Copy the theme folder to the root directory of internal memory (for example, /sdcard/miui/theme/).
- Open the Topics app on your phone, go to My Topics β Local and choose your theme.
During the test, pay attention to:
- π Icon blur: If the icons look fuzzy, check their resolution (should be a multiple of 192 px).
- π Color artifacts: Some colors may be displayed differently on the AMOLED-screen.
- π Element size: buttons and text should be readable on high-resolution screens (e.g, FHD+).
- π Animations: Check the smoothness of transitions between screens.
If the topic does not apply, check:
- β Correctness of filling description.xml (tagged <compatibility> and <version>).
- β All required folders (e.g. com.android.systemui).
- β Version compliance MIUI on the device and in the theme file.
π‘
To speed up the testing, use the "Quick Application" function in MIUI Theme Editor. It allows you to send changes to your device without fully restarting the theme. Activated in the Tools menu. β Quick Apply.
If you are testing on an emulator, note that some features (such as dynamic wallpaper or navigation gestures) may not work properly.
7.Packaging and publishing theme in Mi Theme Store
When the theme is ready and tested, it should be packaged in.mtz format (archive). MIUI Theme, for that:
- Come back in MIUI Theme Editor and press File β Export.
- Select a folder to save and wait for the packaging to be completed.
- Check the resulting.mtz file for errors (for example, using a utility). MTZ Validator, which can be found on the forums Xiaomi).
For publication in the Mi Theme Store:
- Register as a developer at themes.xiaomi.com.
- Upload the.mtz file in your personal account in the Submit Theme section.
- Fill in metadata: title, description, screenshots (minimum size) 1080Γ1920 px), tags.
- Send the subject to moderation. The verification period is 3 to 7 days.
Publication requirements:
- π The theme should be unique (do not copy existing solutions).
- π All graphic elements must be in high resolution (at least) 1080p).
- π Prohibited watermarks, advertising or links to third-party resources.
- π The theme should support at least two versions. MIUI (for example, MIUI 13 and MIUI 14).
What to do if the topic is rejected?
Once approved, the theme will be available in the Mi Theme Store for all users, you can track the number of downloads and reviews in your personal account, and if the theme is popular, Xiaomi can offer you collaboration or placement in the top section.
8. Promote and monetize your theme
Even the best quality theme won't get promoted without some promotion, and here are some ways to draw attention to your creation:
- π’ Social media: post screenshots of the topic in Telegram channels dedicated to Xiaomi (for example, @miuiru or @xiaomithemes).
- π’ Forums: Create a theme for 4PDA Xiaomi.EU with detailed description and installation instructions.
- π’ YouTube: Record a short video with an overview of the topic and a demonstration of its capabilities.
- π° Paid versions: If the theme is in demand, release the Pro version with additional icons or wallpapers (for example, through Donationalerts or Boosty).
Mi Theme Store does not provide direct monetization tools, but you can:
- π³ Include a link to Donate in the theme description (e.g. Qiwi or PayPal).
- π³ Create a premium version of the theme with unique elements (e.g. animated wallpaper).
- π³ Offer customization services to the topics under order (write about it in the description).
If your theme has over 10,000 downloads, you can apply for a Xiaomi affiliate program, which gives you access to analytics, banner posting and other bonuses, but for this theme must meet all the technical requirements and not have complaints from users.
π‘
The most popular themes in the Mi Theme Store are minimalist solutions with a dark palette and adaptive icons. If you want to quickly reach an audience, focus on these trends, but add unique details (for example, custom animations or authorβs wallpaper).