Where to look for a folder with themes on Xiaomi: hidden ways and nuances of MIUI

You’re trying to find a themes folder on your Xiaomi smartphone, but the standard file manager doesn’t show the files you want? This is no surprise: the manufacturer hides the system directories from users to prevent the theme from being accidentally deleted. However, access to the theme folder is still possible – and in this article we’ll explain how to do this on different versions of MIUI, including the latest MIUI 14/15.

It's important to understand that the theme storage structure has changed with the release of new firmware, and if all the themes were in one place before, now they are distributed across multiple folders depending on the type (system, downloaded from Mi Theme Store, custom), we will analyze all possible locations, and also explain why some files may be missing even after manual search.

Why theme folder is hidden from the user

Xiaomi is deliberately restricting access to system folders for two key reasons:

  • πŸ”’ Damage protection: Incorrectly deleting or editing theme files can cause interface failures, including launcher "outages" or complete inoperability MIUI.
  • πŸ›‘οΈ License Restrictions: Many of the items in the official store are copyrighted and their copying or distribution violates the terms of use.
  • πŸ”„ Automatic control: The system itself optimizes the storage of themes, removing unused files when memory is scarce.

However, power users often need access to this folder β€” for example, to back up a favorite theme before resetting your phone or to manually install custom designs.

Backup of topics|Setting custom themes|Delete unnecessary files|Structure study MIUI|Other-->

Where to search for theme folder on different versions of MIUI

The folder location depends on the firmware version and the theme type, and the following is the current path table for the latest MIUI versions (tested on MIUI 12-15):

Type of themeThe way to the folderNotes
Standard (systemic)/system/media/theme/defaultRoot rights are required to access. No editing is recommended!
Downloaded from Mi Theme Store/data/system/theme/The folder only appears after installing at least one theme.
Castomic (manually installed)/sdcard/MIUI/theme/It can be absent – it is created automatically at the first manual installation.
Cash tem (temporary files)/data/data/com.android.thememanager/cache/It is cleaned by the system when there is a lack of memory.

Starting with MIUI 14, some of the themes are stored encrypted in the /data/app/~~themes/ folder. These files have the.mtz extension (for old themes) or.tz extension (for newer forms), and can only be extracted using special tools, which we will discuss in the next section.

⚠️ Attention: Folder /data/ unavailable without root rights or ADB-Patents to access it through a standard file manager will result in a "Permission denied" error.

How to Access theme Folder Without Root Rights

If you don’t have root access on your device, use one of the proven methods:

Method 1: Through ADB (loss of guarantee)

This is an official method that does not require unlocking the bootloader:

  1. Activate Developer Mode: Go to Settings β†’ About Phone and click on MIUI Version 7 times.
  2. Enable USB debugging in Settings β†’ Additional β†’ For developers.
  3. Connect the phone to your PC and execute the command: adb shell ls /data/system/theme/ This will display a list of installed themes.

To copy the theme on PC, use:

adb pull /data/system/theme/[name folder theme] C:\themes\

Replace [name folder topics] with the real name from the list.

Install ADB-PC drivers|Enable debugging on USB phone-on|Connect your phone to the original cable|Check the connection with the adb device command-->

Method 2: Through a root file manager (requires unlocking)

If you have a bootloader unlocked and Magisk installed, use managers like Root Explorer or Mixplorer:

  • πŸ“ Open the manager and move along the way. /data/system/theme/.
  • πŸ” Find a folder with the title of the topic (for example, com.example.theme1).
  • πŸ“‹ Copy the folder to a safe place (for example, on the SD-map).

⚠️ Note: Removing files from /data/system/theme/ This can cause the current theme to crash. Always back up before changes!

πŸ’‘

If you want to save a theme before resetting your phone, export it through the Themes app: open the theme β†’ click three dots β†’ select Export. The file will be saved to /sdcard/MIUI/theme/.

How to Reserve and Restore Themes

In order not to lose your favorite design when resetting or updating your firmware, follow this instruction:

Backup

  1. Copy the theme folder from /data/system/theme/[name theme] to your PC or cloud.
  2. If the theme is installed from the Mi Theme Store, export it through the Themes app (see tip above).
  3. For custom themes (.mtz files), simply copy the file from /sdcard/MIUI/theme/.

Post-discharge recovery

After resetting to factory settings:

  1. Move the saved theme folder back to /data/system/theme/ (root required).
  2. For.mtz files: Open Themes app β†’ Local β†’ select a file.
  3. If the theme does not apply, restart the phone.

Important: Themes from MIUI 13 and later may not work on older firmware versions due to changes in the design of the files.

Frequent problems and their solutions

When you use theme, you're going to see some common errors, and here's how to fix them:

Problem.Reason.Decision
Theme folder is not available in /data/system/There are no themes in the store.Install any theme from the Mi Theme Store, the folder will appear automatically.
Error "Permission denied" when accessingNo root rights or ADB-accessUse it. ADB-commands or unlock the loader
Theme does not apply after recoveryIncompatibility of MIUI versionsUpdate your firmware or find a theme version for your MIUI
Disappeared downloaded themes after the updateThe system cleared the theme cache.Reinstall themes from the store or restore them from backup

If graphical glitches have arisen after applying the theme (for example, icons are not displayed), do:

adb shell pm clear com.android.thememanager

This will reset the theme manager settings without deleting the files themselves.

What to do if the theme has broken the interface?
If after applying the theme, the phone started to slow down or the interface elements are displayed incorrectly: 1. Reboot the device - often this solves the problem of time glitches. 2. Return the standard theme: Settings β†’ Themes β†’ Standard. 3. If the interface does not respond, press the power button for 10 seconds for a forced reboot. 4. In extreme cases, reset through Recovery (data is not affected, but the topics will reset).

How to remove unnecessary topics and free up space

Over time, the /data/system/theme/ folder can take hundreds of megabytes to clear.

Method 1: Through the Themes app

  1. Open Themes. β†’ My subjects.
  2. Click and hold on to an unnecessary theme β†’ select Delete.
  3. Confirm the action.

Method 2: Manual cleaning (requires root)

Delete the folders to those from:

  • /data/system/theme/ – downloaded themes
  • /sdcard/MIUI/theme/ - custom.mtz files
  • /data/data/com.android.thememanager/cache/ - cache

⚠️ Note: Do not delete the default folder in /system/media/theme/ β€” This will cause the system launcher to fail!

πŸ’‘

Cleaning your themes folder regularly can free up to 1-2GB of storage, especially if you’re experimenting with design often.

Alternative ways to manage topics

If accessing the theme folder is too complicated, consider alternative methods:

  • 🌐 Mi Theme Editor (Windows): A program to create and edit themes without access to system folders. Download from the official Xiaomi forum.
  • πŸ“± Xiaomi’s Themes app: Allows you to export and import.mtz themes without root rights.
  • πŸ”§ Magisk modules: Modules like this MIUI Theme Manager expands the possibilities of working with themes.

For power users: If you want to modify system themes, learn the.tz file format (starting with the.tz file format). MIUI These files are: ZIP-archives with modified extensions containing:

  • description.ini - metadata topics
  • preview/ - Preview images
  • res/ - resources (icons, wallpaper, fonts)

To unpack, rename the file to.zip and open it with any archiver.

FAQ: Answers to Frequent Questions

Can you transfer themes from one Xiaomi to another?
Yes, but with reservations:.mtz themes are portable without problems - just copy the file to another phone and import through the Themes app. System themes from /data/system/theme/ may not work on another device due to differences in screen resolution or MIUI version. Starting with MIUI 13, some themes are tied to a Xiaomi account and require re-downloading.
Why did my themes disappear after the MIUI update?
This is standard system behavior: Xiaomi clears /data/system/theme/ with major updates (e.g. MIUI 12 on MIUI 13). Some themes become incompatible with the new firmware version. To return themes, reinstall them from the store or restore them from backup. If the theme is no longer available on the Mi Theme Store, try finding them on forums like XDA Developers or 4PDA.
How do I know which topic is currently active?
There are two ways: through Themes: Open My Themes. The active theme will be ticked. Through ADB (for technical users): adb shell dumpsys activity com.android.thememanager | grep "current theme" The team will display the current theme identifier.
Can I change the theme without root?
Partially. You can't edit files into /system/media/theme/ without root, but you can: Install custom theme over the system through the Mi Theme Store. Use launchers like Nova Launcher or Hyperion Launcher, which allow you to customize icons and wallpaper regardless of the system theme. ADB-commands to change individual elements (e.g. fonts): adb shell settings put system font_scale 0.85 (This is an example of scaling a typeface. Complete customization (e.g., replacing system icons) will still require root.
Where are the wallpapers and fonts installed through themes stored?
These elements are distributed in different folders: Wallpaper: System: /system/media/wallpapers/ Custom: /sdcard/MIUI/Wallpaper/ or /sdcard/Pictures/Wallpapers/ Fonts: System: /system/fonts/ (requires root for editing) Fonts from themes: stored inside the the the theme folder in /data/system/theme/[name themes]/fonts/To extract the font from the topic, copy the the the the the the theme folder on a PC and find files with the extension or ft.