How to completely remove the font on Xiaomi: from system settings to ADB

Why is the standard method of resetting fonts in Xiaomi not working?

Xiaomi smartphone owners often face a problem: after installing custom font through themes or third-party applications, it is not possible to return the system font. β†’ Theme β†’ My subjects. β†’ Reset leaves traces – some characters are displayed curved and the interface is displayed MIUI "It's all about architecture. MIUI: The system saves font files in protected folders, and there is no simple "delete" in the menu.

Worse still, the typefaces installed through ADB or Magisk modules, which affect system files in /system/fonts and not touch them without superuser permission, but root access also has nuances: incorrect deletion can lead to bootloop or loss of localization. This article covers all scenarios, from safe to extreme.

Before you start, check:

  • πŸ“± Model of the device (on Poco) F5 Redmi Note 12 and different paths to fonts)
  • πŸ”’ Version MIUI (In the 14th version, the mechanism of the theme has changed)
  • πŸ”“ root (without it, some methods will not work)

If you just want to get back the standard font after experimenting with the topic, start with the first method. If the font got stuck after manual patching, you'll have to use ADB or Fastboot.

πŸ“Š What type of font removal method have you tried before?
Reset via theme settings
Delete via File Manager
ADB-team
I've tried nothing.

Method 1: Reset via theme settings (no root)

The safest way, but only works if the font was installed through the official Theme app. Suitable for MIUI 12-14 on all devices, including the Xiaomi 13T and Redmi Note 11.

Instructions:

  1. Open Settings β†’ Theme.
  2. Slip on the profile icon (top right) β†’ My themes.
  3. Find an active theme with font and click Reset.
  4. Confirm the action and restart the device.

⚠️ Note: If the font is left after reset, it was installed manually (e.g., iFont or FontFix) rather than through the themes.

β˜‘οΈ Preparation for font resetting

Done: 0 / 4

Method 2: Delete via file manager (with root)

If the font was installed through applications like iFont or ZFont, its files are likely to be in /data/fonts or /system/fonts.

  • πŸ”§ Root access (for example, via Magisk)
  • πŸ“ File Manager with root rights (Root Explorer, Mixplorer)
  • πŸ”„ Backup copy (required!

Step-by-step:

  1. Open the file manager and go to /data/fonts.
  2. Delete all files with the.ttf or.otf extension, except system files (their names begin with Noto or Roboto).
  3. Move to the /system/fonts Check for custom fonts (usually they have non-standard names like custom_font.ttf).
  4. Delete the files found and restart the device.

⚠️ Note: Deleting system fonts (e.g. NotoSansCJK-Regular.ttf) will lead to a crash of the interface on Chinese firmware. If you are not sure, first make a backup folder. /system/fonts!

How to distinguish system font from custom?
System fonts in MIUI usually have names beginning with "Noto" or "Roboto" and also contain in the name "CJK" (to support Chinese/Japanese characters). Castom fonts are often called randomly, for example "MyFont-Bold.ttf" or "custom.ttf".
folderWhat can be removedWhat can't be removed
/data/fontsAll.ttf/.otf files except system filesFiles with the names Noto*, Roboto*
/system/fontsOnly explicitly custom fonts (e.g. custom.ttf)Any files related to fallback_fonts.xml
/vendor/fontsNothing (bootloop risk)All files.

Method 3: Recoil through ADB (without root but with debugging)

If root access is not available, but USB debugging is enabled, you can try resetting fonts via ADB. This method works on MIUI 13/14 and does not require unlocking the bootloader.

What you need:

  • πŸ–₯️ Computer with installed ADB Tools
  • πŸ“± Included debugging by USB (Settings β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap β†’ Return to the Extra β†’ For developers β†’ Debugging by USB)
  • πŸ”Œ USB-TypeC Cable (preferably original)

Commands for font resetting:

adb shell


su -c "rm -rf /data/fonts/*"




su -c "reboot"

If the first command doesn’t work (no root), try the alternative:

adb shell pm clear com.miui.tsm.client

⚠️ Note: pm clear com.miui.tsm.client will reset all theme settings, including wallpaper and icons!

πŸ’‘

If ADB doesn’t see the device, try reinstalling Xiaomi ADB Interface drivers through Windows Device Manager. Mac/Linux may require the udev rule for Xiaomi.

Method 4: Fastboot Recovery (for experienced)

If the fonts have been modified at the firmware level (for example, through the Magisk patch or modified boot.img), you can only return them by flashing the system partition.

  • πŸ”“ Unlocked bootloader (unlocked bootloader)
  • πŸ–₯️ Mi Flash Tool or Fastboot
  • πŸ“¦ Original firmware for your model (download from the official website)

Step-by-step:

  1. Download the firmware in.tgz format and unpack it.
  2. Turn your phone into Fastboot mode: Turn off the device, then press Power + Vol-.
  3. Connect to your PC and execute the command: fastboot flash system.img
  4. Upon completion, type in fastboot reboot

⚠️ Note: Flashing the system will delete all data in the user section (/data). Pre-recruit backup via adb backup or TWRP!

πŸ’‘

Fastboot flashing is the last chance to get the fonts back if other methods didn't work, but it'll also reset the system to factory settings.

Method 5: Manual editing fonts.xml (for advanced)

In MIUI, the font configuration is stored in /system/etc/fonts.xml. If the font has entered the system but the.ttf files are deleted, the problem may be in this configuration.

  • πŸ”§ Root access or TWRP
  • πŸ“ Text editor with support XML (Notepad++, VS Code)
  • πŸ”„ The original backup fonts.xml

How to fix it:

  1. Copy /system/etc/fonts.xml on your PC.
  2. Open the file and find lines that mention custom font (e.g. <family name="custom">).
  3. Delete or comment on (<!------->) these blocks.
  4. Save the file and return it back to /system/etc/ with permissions saved (644).
  5. Reset the device.

Critical information: If fonts.xml deletes or damages the <alias> section for system fonts (e.g. sans-serif), the phone will stop loading into the GUI. You can only restore the workflow through ADB or flashing.

Frequent Mistakes and How to Avoid Them

Even experienced users make mistakes when working with fonts in MIUI.

  • 🚫 Removal of system fonts β†’ It leads to "squares" instead of text, so you can either recover from the backup or reflash the system.
  • πŸ”„ Incorrect file rights β†’ Solution: set 644 for.ttf and 755 for folders.
  • πŸ“± Ignoring the backup β†’ Solution: Always do adb backup before changes.
  • πŸ”§ Use of incompatible fonts β†’ Solution: Test fonts on FontDrop before installing them.

If after all the manipulations the font has not reset, check:

  1. Is there a Magisk module for fonts (for example, FontManager) installed?
  2. Has the /vendor/build.prop file changed (sometimes custom fonts are prescribed there).
  3. Does the font conflict with the MIUI update (after the update, you may need to reset).

FAQ: Answers to Frequent Questions

Can I remove the font without root and ADB?
Yes, but only if it was installed through the official Theme app. Use Method 1. For manually installed fonts (via iFont, ZFont) without root, it is impossible to remove them completely - artifacts will remain in the cache.
Once you delete the font, some characters are shown in squares. What do you do?
This means that the system font responsible for displaying characters/special characters has been deleted or damaged. Restore the NotoSansCJK-Regular.ttf and DroidSansFallback.ttf files from the backup or original firmware. If there is no backup, reflash the system via Fastboot.
I have Xiaomi on global firmware. Why did some of the writing become Chinese after the font reset?
Most likely, the localization font (e.g. NotoSansCJK) was removed. MIUI They use these fonts to display the Latin and Cyrillic alphabets. Restore them from the original firmware or reset them via Fastboot with region: fastboot flash system system_eea_global_images.img (where eea is the European region).
Can I remove the font through TWRP?
Yes, but with reservations: Download to TWRP and mount /system (If you ask for a password, enter a pattern lock. /system/fonts And delete the custom files. Make sure you check the file. /system/etc/fonts.xml If you have links to deleted fonts, then you can do Wipe. β†’ Dalvik/ART Cache. ⚠️ Note: In some versions MIUI folder /system It's dm-verity protected, and if you change it, it might not boot, and you'll have to turn off the Magisk check or reflash it. boot.img.
How to prevent automatic font recovery after MIUI update?
Updates MIUI Sometimes restore standard fonts from backups. To avoid this: Delete the folder before updating /data/fonts. Turn off automatic theme updates in Settings β†’ Theme β†’ Settings β†’ Auto Update. If you use Magisk, add a rule to magiskhide for the Themes app.