Creating your own theme for Xiaomi Redmi: from idea to installation

Xiaomi Redmi smartphones based on the shell MIUI They allow you to customize the interface deeply, from wallpaper to system icons, but what if you have themes that are off the table? β†’ The solution is simple: create your own theme from scratch, and it takes patience and attention to detail, but the result is worth the effort β€” a unique design that no one else has.

In this guide, we’ll take you all the way from preparing graphic elements to packing a theme into.mtz format and installing it on your device. You don’t need programming skills, but you need a basic knowledge of working with graphic editors (for example, Photoshop or free graphics). GIMP). We will focus on compatibility with the latest versions. MIUI 14/15, where the requirements for the structure of the topics have changed.

Before you start, check:

  • πŸ“± Model of your Redmi: Themes for Redmi Note 12 and Redmi 10 are created the same way, but may differ in support of certain elements (for example, animations).
  • πŸ”„ Version. MIUI: In Settings β†’ The phone should be listed. MIUI 12 or newer (for older versions, the process is different).
  • 🎨 Availability of raw materials: prepare design sketches or inspirational pictures – this will save time during the graphics creation stage.

1. What is the subject MIUI and what it is

Subject in MIUI β€” This is a file package with the.mtz extension that contains:

  • πŸ–ΌοΈ Graphic elements: wallpaper, application icons, system notification icons, lock screensavers.
  • 🎨 Color schemes: palettes for menus, notification panels, keyboards.
  • πŸ”Š Sounds: ringtones of calls, notifications, alarm clock signals (optional).
  • πŸ“œ Configuration files: description.xml (Topics metadata) and preview.png (preview).

It's important to understand that not all elements are mandatory, for example, you can create a theme with only wallpaper and icons, leaving the system sounds and fonts as default, but the fuller the package, the more harmonious the interface will look.

Element of the topicMandatory?File formatAn example of a path in the archive
Wallpaper (Wallpaper)βœ… Yes..jpg, .png/wallpaper/lockscreen.jpg
Application icons❌ No..png (transparent background)/icon/com.android.settings.png
Color scheme❌ No..xml/color/colors.xml
Notification sounds❌ No..mp3, .ogg/sound/notification.ogg

⚠️ Attention: Topics for MIUI 14/15 You must have preview.png file resolution 1080Γ—1920 β€” Otherwise, they won't show up in the theme selection menu. MIUI permit required 720Γ—1280.

2. Tool preparation: what will be needed

To create a theme, you will need:

  • πŸ’» Computer with Windows/macOS/Linux (mtz packing).
  • 🎨 Graphic Editor: Adobe Photoshop, GIMP or Figma (to create icons and wallpapers).
  • πŸ“¦ Archivator: 7-Zip WinRAR (for working with theme files).
  • πŸ“± Redmi smartphone with unlocked bootloader (if you plan to test the theme before publication).
  • πŸ”§ MIUI Theme Editor (optional) – official software from Xiaomi to simplify the creation of themes.

If you are a beginner, start with MIUI Theme Editor – the program automatically generates templates for icons and wallpapers, and also checks the structure of the package for errors").

πŸ“Š What tool do you plan to use to create a theme?
MIUI Theme Editor
Graphic Editor (Photoshop/GIMP)
Manual assembly through archiver
Another option

For experienced users, manual theme assembly is fine.

  • πŸ“.psd icon templates (can be found on forums) XDA Developers or 4PDA).
  • πŸ” Hex editor (e.g. HxD) for editing configuration files.
  • πŸ“Š Documentation. MIUI Theme structure (the current version is here).

⚠️ Attention: When in use MIUI Theme Editor Make sure the version of the program matches the version MIUI It's on your smartphone, like an editor for you. MIUI 12 will not be able to properly package the theme for MIUI 15.

3. Theme design: where to start

Before you start creating graphics, decide on the concept of the topic:

  • 🌈 Style: minimalism, neon, retro, dark/light themes.
  • 🎯 Target audience: gamers, anime lovers, business users.
  • πŸ”„ Unique elements: animated icons, dynamic wallpaper, custom fonts.

We recommend starting with a sketch on paper or in Figma.

  • πŸ“ The screen resolution of your Redmi (for example, 2400Γ—1080 For the Redmi Note 12 Pro+).
  • 🎨 Color gamut: use no more than 3-4 primary colors for harmony.
  • πŸ” Details: transparency of icons, notification style, control panel design.

πŸ’‘

Use the Coolors tool to make a color palette, and it automatically generates combinations that look good on your body. AMOLED-redmi screen.

Example of the design project structure:

πŸ“ My subject/




β”œβ”€β”€ πŸ“ Icons/




β”‚   β”œβ”€β”€ chrome.png




β”‚   β”œβ”€β”€ gallery.png




β”‚   └── ...




β”œβ”€β”€ πŸ“ Wallpaper/




β”‚   β”œβ”€β”€ lockscreen.jpg




β”‚   └── homescreen.jpg




β”œβ”€β”€ πŸ“ Colors/




β”‚   └── colors.xml




└── preview.png

4. Creation of graphic elements

The most time-consuming stage is the preparation of the graphics.

  • πŸ–ΌοΈ Resolution: Must match your Redmi screen. 1080Γ—2340 (ratio 9:20).
  • 🎨 Format:.jpg (for photo) or.png (for illustrations with transparency).
  • πŸ“ File weight: no more than 5 MB for wallpaper and 1 MB for icons.

For icons, use templates from MIUI Theme Editor or Create Yours in Photoshop:

  • πŸ”Ή Size: 192Γ—192 px (for round icons) or 144Γ—144 px (for square).
  • πŸ”„ Format:.png with transparent background.
  • 🎯 Style: All icons should be in the same style (e.g. flat or shadowed).

Created wallpaper for locking and the main screen|

Icons have the same style and size|

The color scheme is preserved in colors.xml|

Preview.png complies with the resolution 1080Γ—1920-->

To speed up the process, you can use ready-made icon sets from sites like Flaticon, but be sure to check the license for commercial use.

⚠️ Note: Icons for system applications (com.android.settings, com.miui.home) must be present in the package.

5. Packing the theme in.mtz format

When all files are ready, they must be stored in the.mtz archive.

  1. Create a folder with your theme title (such as MyRedmiTheme).
  2. Put all graphics files and configurations in it (see the structure above).
  3. Add the file. description.xml with metadata topics (example below).
  4. Archive the folder to.zip format, then rename the extension to.mtz.

Example of contents description.xml:

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


<theme>




<name>My Redmi Theme</name>




<author>Your Name</author>




<version>1.0</version>




<compatibility>MIUI14,MIUI15</compatibility>




<preview>preview.png</preview>




</theme>

Use the correctness of the archive MIUI Theme Editor or online validator Xiaomi Themes Validator.

What to do if the topic is not set?
If there is an error when installing.mtz, check it out: 1. Correct folder structure (for example, icons should lie in the /icon/, not). 2. All required files (preview.png, description.xml). 3. Compatibility with version MIUI (specified in the compatibility). 4. No Cyrillic characters in file names. If the problem persists, try repackaging the archive using the file name. 7-Zip (compression method: "Storage").

6.Install theme on Xiaomi Redmi

The.mtz file can be installed in two ways:

Method 1: Through the theme menu (without root)

  1. Copy the.mtz file into your phone’s memory (for example, into the Download folder).
  2. Open the Topics application β†’ Profile β†’ Import.
  3. Select your file and wait for the theme to apply.

Method 2: Through MIUI Theme Editor (with debugging by USB)

  1. Connect Redmi to your PC and enable Debugging USB In Settings β†’ The phone. β†’ Version. MIUI (Press 7 times on the version, then return to the optional version. β†’ For developers).
  2. V MIUI Select Upload to Device and specify the path to.mtz.
  3. Restart the phone – the theme will appear in the list of available.
Method of installationNeed root?CompatibilityLimitations
Through the theme menu❌ No.MIUI 12–15Not all elements can be applied.
MIUI Theme Editor❌ No.MIUI 14–15I need a USB debugging.
Manual replacement through ADBβœ… Yes.Any versionRisk of damage to system files

⚠️ Note: If icons are missing after installing the theme or wallpaper is not displayed, check the paths to files in the.mtz archive. A frequent error is the wrong folder name (for example, Wallpaper instead of wallpaper).

7.Publishing the topic in the official store

If you want to share your theme with others, you can publish it in the official Xiaomi theme store.

  1. Register as a developer on the Mi Developer Platform.
  2. Upload the.mtz file to the Theme Submission section.
  3. Fill out the description in English and Chinese (you can use an interpreter).
  4. Wait for moderation (usually takes 3-7 days).

Publication requirements:

  • πŸ“Œ The topic should be unique (not a copy of existing ones).
  • πŸ–ΌοΈ All graphic elements are in high resolution.
  • πŸ“œ File. description.xml It should contain the correct metadata.
  • 🚫 Prohibited watermarks, advertising, content 18+.

πŸ’‘

Publication in the official store gives access to download statistics and user reviews, but requires compliance with strict Xiaomi rules.

Once approved, the theme will be available to millions of users. MIUI. Authors of popular themes can earn on the sale of premium versions or donations.

8. Solving common problems

When creating and installing themes, there are often errors.

Problem 1: The topic does not appear in the list after importation

  • πŸ”Ή Reason: no preview.png or incorrect resolution.
  • πŸ”§ Solution: Check that the preview.png file lies at the root of the archive and is sized 1080Γ—1920.

Problem 2: The icons haven't changed.

  • πŸ”Ή Reason: Incorrect icon file names (e.g. settings.png instead of com.android.settings.png).
  • πŸ”§ Solution: Use the official list of application package names.

Problem 3: Error "Incompatible version" MIUI"

  • πŸ”Ή Reason: In description.xml Incorrect compatibility is indicated.
  • πŸ”§ Solution: change the line <compatibility>MIUI14</compatibility> current-age.
How to find out the name of the package of any application?
1. Install the App Inspector app from Google Play. 2. Open it and select the app from the list. 3. Copy the value of the Package Name field (e.g. com.miui.calculator). 4. Use this name for the icon file name (e.g. com.miui.calculator.png).

FAQ: Frequent questions

Can you create a theme without a computer, only on your phone?
Yes, but with limitations. DIY (available in Google Play) allow you to edit wallpaper and icons directly on your smartphone, but they do not support advanced elements (for example, custom sounds or animations.
Why does my theme work on Redmi Note 11 but not on Redmi 10?
The problem is most likely the screen resolution.Redmi Note 11 permit 2400Γ—1080, Redmi. 10 β€” 2340Γ—1080. Reassemble theme with wallpaper optimized under 2340Γ—1080, Check the compatibility in description.xml.
How to add animated wallpaper to your theme?
For animated wallpaper (.gif or.mp4) You need to: Put the file in the folder /wallpaper/ name-name live_wallpaper.mp4. Specify the type of wallpaper in description.xml: <wallpaper type="video">live_wallpaper.mp4</wallpaper> Make sure the video has a resolution multiple of the smartphone screen (e.g, 1080Γ—2340). Note: Animated wallpaper is supported only on MIUI 13+ and can increase battery consumption.
Can I sell my themes to Xiaomi?
Yes, but with reservations: πŸ’° Through the official Xiaomi store, you get a percentage of sales (usually 30-50%). 🌐 On third-party sites (e.g, 4PDA or XDA) You can distribute themes for free or for donations. ⚠️ It is forbidden to sell themes containing other people's graphic elements without the author's permission. To monetize in the official store, you will need to verify the developer's account (paid, ~$10 a year).
How to update your topic after publication?
To update the theme in the Xiaomi store: Fix errors in files and reassemble.mtz. In the Mi Developer Platform, find your theme in the My Themes section. Download the new version with the increased number in description.xml (for example, <version>1.1</version>). Wait for the re-moderation (usually faster than the first post), and users who install the old version will receive a notification of the update.