How to remove ads from Xiaomi apps: from MIUI 12 to HyperOS

Advertising in Xiaomi smartphones is one of the most talked-about issues among owners of devices based on MIUI and the new HyperOS. Even after buying a phone, users face banners in system utilities, push notifications about promotions and built-in advertising in the Browser, Music or Themes. The manufacturer explains this by the need to monetize budget models, but for many users this approach becomes annoying.

In this article, we will look at all the current ways to remove ads, from official settings to hidden developer settings. It is important to understand that some methods require unlocking the bootloader or root rights, which can affect the warranty. We will specify the risks for each option and offer alternatives for users who do not want to go into technical details.

Instructions are checked on models Redmi Note 12 Pro+, POCO F5, Xiaomi 13T and other devices from 2023-2026 with firmware MIUI 14 and HyperOS 1.0. If your model is older (for example, Redmi 9A 2020), some menu items may differ - pay attention to the screenshots in the official documentation Xiaomi.

๐Ÿ“Š What Advertising in Xiaomi Irritates You the Most?
Banners in system applications
Push notifications about shares
Browser advertising
Pop-up windows when unlocking
All of the above.

1. Official MIUI settings: disable personalized advertising

The easiest and safest way to do this is to use the built-in MIUI tools, which allow you to turn off personalized ads, but not all ads completely, but reduces your impressions by 40 to 60 percent.

Instructions:

  • ๐Ÿ“ฑ Open the Settings. โ†’ Google โ†’ Advertising (or Settings) โ†’ Additionally. โ†’ Confidentiality โ†’ Advertising in new versions).
  • ๐Ÿ”„ Switch the switch toggle Personalized advertising to the off position.
  • ๐Ÿ—‘๏ธ Click Reset Advertising ID (This will clear your profile for targeted ads).
  • ๐Ÿ”’ Go back to the main settings and go to Settings โ†’ Annexes โ†’ Application management โ†’ Triple point (โ‹ฎ) โ†’ Special access โ†’ Disable notifications for Msa (Mobile Services Ads) and MiuiDaemon.

This method does not remove ads completely, but it significantly reduces the number of ads, for example, banners on the home page will disappear in the Browser, and pop-ups with sentences will no longer appear in the Topics.

โš ๏ธ Note: After the advertising reset ID Some apps (like the Google Play Store) may temporarily display more ads, which is normal. After 1-2 days, the frequency of impressions will normalize.

2. Disable advertising through MIUI Optimization (hidden menu)

MIUI firmware has a hidden MIUI Optimization menu that is responsible for system recommendations and advertising, and its disabling does not require root rights, but can affect the operation of certain functions (such as Game Turbo or Second Space).

How to turn it off:

  1. Activate Developer Mode: Go to Settings โ†’ About Phone and click on MIUI Version 7 times.
  2. Back to Settings โ†’ Additionally. โ†’ For developers.
  3. Find MIUI Optimization and turn it off.
  4. Reset the device.

After that, the system will stop loading advertising modules for Browser, Music and Video, but in some regions (for example, in India), this method may not work due to the peculiarities of local firmware.

What happens if you turn off MIUI Optimization?
Disabling this parameter will lead to the following changes: - Disappear banner ads in system applications. - Some functions, for example, Smart Lock or Read Mode, may stop working. - Increase the loading time of some applications (up to 2-3 seconds). - In rare cases, the the theme of registration may be lost (rebooted).

3. Removal of Advertising through ADB (without root)

If previous methods have not helped, you can use ADB-This method does not require unlocking the bootloader, but requires connecting the phone to a computer.

Step-by-step:

  • ๐Ÿ–ฅ๏ธ Download and install. ADB Tools on PC.
  • ๐Ÿ“ฑ Turn on Debugging. USB In Settings โ†’ For developers.
  • ๐Ÿ”Œ Connect your phone to your computer and confirm your trust in the device.
  • ๐Ÿ Open the command line (Windows) or the terminal (macOS/Linux) in the folder with adb and enter:
adb shell pm disable-user --user 0 com.miui.systemAdSolution


adb shell pm disable-user --user 0 com.xiaomi.midrop




adb shell pm disable-user --user 0 com.miui.analytics




adb shell pm disable-user --user 0 com.miui.bugreport




adb shell pm disable-user --user 0 com.miui.cloudservice




adb shell pm disable-user --user 0 com.miui.cloudservice.sysbase

These commands disable the system services responsible for displaying ads and collecting analytics. Once executed, restart the phone.

โš ๏ธ Warning: Disabling com.miui.cloudservice may disrupt Mi Cloud (Xiaomi cloud storage).If you use contact sync or photo, skip this command.

Install ADB Tools on PC

Enable debugging over USB on your phone

Connect your phone to the original cable

Check that drivers are installed (the device is determined in Task Manager)

Backup of important data-->

4.Removal of advertising by root rights (Magisk)

To completely remove ads, you will need to unlock the bootloader and get root access through Magisk.This method is suitable for advanced users, since improper actions can lead to a device blink.

List of apps that can be removed via Magisk or Root Explorer:

Package nameWhat is responsible for?Can I remove it?
com.miui.systemAdSolutionThe main module of advertisingโœ… Yes.
com.xiaomi.midropAdvertising push notificationsโœ… Yes.
com.miui.analyticsAnalytics (may affect updates)โš ๏ธ Careful.
com.miui.cloudserviceCloud services (including advertising)โŒ No (violates Mi Cloud)
com.android.browserStandard browser with advertisingโœ… Yes (can be replaced with Chrome)

For removal:

  1. Install Magisk Manager and get root access.
  2. Download Root Explorer or Titanium Backup.
  3. Go to /system/priv-app or /system/app.
  4. Remove or freeze the packages from the table above.

After removing system applications, be sure to clear the cache in Settings โ†’ Storage โ†’ Clean, otherwise residual files may continue to show ads.

5. Alternative firmware (Custom ROM)

If youโ€™re willing to take drastic measures, installing custom firmware (like LineageOS or Pixel Experience) will completely remove all Xiaomi ad modules.

  • ๐Ÿ”ง Requires unlocking the bootloader (resets all data!).
  • ๐Ÿ“ฑ Certain functions (e.g, IR-blaster AI) They may not work properly.
  • ๐Ÿ”„ Updates will have to be installed manually.
  • ๐Ÿ›ก๏ธ The guarantee will be cancelled.

Popular firmware without advertising:

  • ๐Ÿ“ฑ LineageOS โ€“ pure Android without unnecessary services.
  • ๐ŸŽจ Pixel Experience โ€“ firmware with Google Pixel interface.
  • โšก ArrowOS โ€“ Optimized for Performance.
  • ๐Ÿ”„ Xiaomi.eu โ€“ modified MIUI No Advertising (but with weekly updates).

Before installing, check your model support on the XDA Developers forum, for example, Pixel Experience is suitable for POCO X3 Pro, and LineageOS 20 is suitable for Redmi Note 10 Pro.

๐Ÿ’ก

Before installing custom firmware, make a full backup via TWRP. Save copies of boot, system and data partitions to an external drive.

6. Blocking Advertising via DNS or VPN

If you don't want to interfere with system files, you can block Xiaomi's ad servers at the network level.

  • ๐ŸŒ Change of change DNS: use 1.1.1.1 (Cloudflare or 9.9.9.9 (Quad9) customized Wi-Fi/mobile.
  • ๐Ÿ”’ VPN Ad-blocking: AdGuard VPN, Blokada or NextDNS.
  • ๐Ÿ›ก๏ธ Local Blocker: AdAway application (requires root) or DNS66 (rootless).

Example of NextDNS configuration:

  1. Download NextDNS from Google Play.
  2. Sign up and select the Block Ads & Trackers configuration.
  3. Activate. VPN-regime.
  4. Add to the blacklist the domains: ad.mi.com tracker.miui.com data.mistat.xiaomi.com sdkconfig.ad.xiaomi.com

This method blocks up to 90% of ads, including banners in Browser and Music, but does not affect push notifications from Xiaomi.

๐Ÿ’ก

Changing DNS or using a VPN is the only way to block ads without tampering with system files.

FAQ: Frequent questions about Xiaomi advertising

โ“ Why the HyperOS update has been re-advertising?
HyperOS (the new Xiaomi interface) resets some privacy settings. After the upgrade, you need to re-disable Personalized Ads in Settings โ†’ Google โ†’ Advertising and re-performing ADB-Teams (if you have used them before).
โ“ Can you remove ads in the Xiaomi browser without root?
Open the browser, go to Settings โ†’ Additional โ†’ Ads and news and disable all tumblers. It is also recommended to change the home page to about:blank or install Google Chrome.
โ“ Why after the shutdown MIUI Optimization gestures stopped working?
This is a known problem on some models (e.g. Redmi Note 11). To return gestures, go to Settings โ†’ Display โ†’ Full-screen display and select MIUI Gestures manually. If that doesn't help, turn on MIUI Optimization back.
โ“ How to remove advertising in the application "Themes"?
In Themes, ads are built into the server level. You can only remove them through: Turn off the Internet for the application (Settings โ†’ Applications โ†’ Themes โ†’ Mobile Data and Wi-Fi); Delete them via Magisk (com.android.themes package); Use Xiaomi.eu firmware (there are no ads there by default).
โ“ Is it legal to remove Xiaomi system apps?
Legally, yes, because you own the device, but Xiaomi can cancel the warranty if it finds traces of interference (unlocked bootloader, root) in the EU and the US, such actions are protected by the right to repair law, but in Russia and CIS countries, warranty obligations are regulated by local law.