How to permanently remove ads on Xiaomi 11: from system banners to apps

Owners of Xiaomi 11 smartphones (including 11 Lite 5G NE, 11T Pro and 11 Ultra) often face annoying advertising in the system menus, notifications and even on the lock screen. The manufacturer has integrated advertising modules deep into the MIUI shell, making their removal a non-trivial task. In this article, we will analyze 5 proven ways – from basic settings to advanced methods using ADB and modified firmware.

It’s important to understand that some of the ads in Xiaomi are β€œlegitimate” from the company’s point of view – it’s part of the monetization ecosystem. However, users often consider such banners a violation of privacy. We will not discuss ethical aspects, but will focus on technical solutions relevant to MIUI 12.5-14 (including global and Chinese versions).

We warn you in advance that some methods require unlocking the bootloader or root rights, which can lead to loss of warranty. If you are not willing to take risks, use only the white methods in the first two sections.

πŸ“Š Which advertisements annoy you the most?
Banners in settings
Notice of β€œrecommendations”
Advertising in system applications
Advertising on the lock screen
All of the above.

1. Disabling Advertising through the standard MIUI settings

To start with, the safest method that doesn’t require additional tools is that Xiaomi provides the option to disable some of the ad modules through the settings menu, but these options are often hidden or reset after updates.

Here is the guide for MIUI 13/14:

  • πŸ“± Go to Settings. β†’ Google β†’ Advertising and disabling the option "Personalized Ads" will reduce the number of banners targeted, but will not remove the system advertising completely.
  • πŸ” B Settings β†’ Annexes β†’ App management, find the β€œMsa” (Mobile Services Framework), open its settings and turn off Auto Run, Notifications Display, and Mobile Data.
  • πŸ›‘ In the same menu, find the Security app, go to Settings. β†’ Get recommendations and deactivate all switches.
  • πŸ“΅ To disable advertising on the lock screen: Settings β†’ Lock screen β†’ Additionally. β†’ Recommendations and turn off the slider.

These actions will reduce banners by 30 to 40 percent, but they won't solve the problem completely, like ads in Weather, Themes, or Mi Browser, and more radical measures will be needed to remove them.

⚠️ Note: After major updates MIUI (For example, 13 to 14, some settings may reset. Check them after each update.

2.Using ADB to Deeply Disable Advertising

If standard methods didn’t work, the next step is to use Android Debug Bridge (ADB), which allows you to disable the system applications responsible for displaying ads without obtaining root permissions.

You'll need:

  • πŸ–₯️ A computer with installed Xiaomi drivers and ADB Tools.
  • πŸ“± Included Debugging by USB on a smartphone (Settings) β†’ The phone. β†’ Version. MIUI β†’ 7 times to tap according to the version β†’ Return to Additional Settings β†’ For developers).
  • πŸ”Œ Cable USB (preferably original).

Next, run commands in the command line (or Terminal on Mac/Linux):

adb shell


pm uninstall --user 0 com.miui.analytics




pm uninstall --user 0 com.xiaomi.midrop




pm uninstall --user 0 com.miui.systemAdSolution




pm uninstall --user 0 com.android.browser




pm hide com.miui.cleanmaster

These commands remove (or hide) the main modules responsible for collecting data and displaying ads, and after rebooting the device, the banners in the settings and notifications should disappear.

Install ADB Tools on PC

Enable debugging over USB on your phone

Connect your phone to your PC and confirm trust

Open the command line in the folder with ADB

Reboot the phone after completing commands-->

⚠️ Note: Pm uninstall commands --user 0 System files remain intact, but some features (such as Mi Drop for file transfer) will stop working.

3. Removal of Advertising with Magisk and Xposed

For users who are ready to root, there is a more radical solution, modules for Magisk or Xposed, which allows you to block ads at the system level, including banners in third-party applications.

The most effective modules for Xiaomi 11:

ModuleDescriptionCompatibilityRisks.
Displax’s MIUI DebloaterRemove all MIUI advertising and telemetry modules, including MSa, Analytics and SystemAdSolution.MIUI 12-14, demands MagiskMaybe break it. OTA-update
Xiaomi ADB Fastboot ToolsGraphical interface to disable ads through ADB without manual commands.All versions of MIUIRequires an unlocked bootloader
LSPosed + MIUI AdBlockBlocks ads at the application level (including Weather, Themes, Browser).Requires LSPosed and MagiskIt may conflict with certain modules.
Universal AdBlockUniversal ad blocker for all Android applications.Any firmware.Could slow down the system.

For installation:

  1. Install Magisk (instructions for Xiaomi 11 here).
  2. Download the desired module in.zip format (for example, with XDA Developers).
  3. Install the module through Magisk β†’ Modules β†’ Install from storage.
  4. Reset the device.

Important: After installing modules, turn off automatic updates MIUI through settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ β†’ Auto-update. Otherwise, the update may break the modules.

What if the phone does not turn on after installing the module?
If after installing the Magisk module, the device hung on the Xiaomi logo, follow the following steps: 1. Press the power button. + Volume up for entrance to Recovery. 2. Choose Advanced β†’ File Manager. 3. Move to the /data/adb/modules and delete the folder with the problem module. 4. Reboot the device. If that doesn't work, then you can use the Fastboot flash system to save your phone. system.img --slot=all).

4. Alternative firmware: from AOSP to custom MIUI

If none of the above methods worked, the last option is custom firmware, a radical solution that will completely remove all Xiaomi ad modules, but require unlocking the bootloader and resetting data.

Firmware options for Xiaomi 11:

  • 🌍 Global ROM Ad-free – modified versions of the official firmware with remote advertising modules (for example, MIUI EU or MIUI Pro). Supported OTA-Updates, but may contain bugs.
  • πŸ€– AOSP-Firmware (e.g. LineageOS, Pixel Experience, ArrowOS) – pure Android without traces MIUI. Requires manual installation and settings.
  • πŸ”§ De-bloated MIUI β€” official firmware with deleted unnecessary applications and advertising (for example, RevengeOS or SuperiorOS projects).

Installation process:

  1. Unlock the bootloader via the Mi Unlock Tool (can take up to 72 hours to wait).
  2. Install. TWRP Recovery for your model (for example, for Xiaomi) 11T Pro β€” twrp-3.7.0_vayu.img).
  3. Download firmware (e.g. Pixel Experience for venus is the code name Xiaomi 11).
  4. Flick through fastboot flash recovery twrp.img, then in TWRP run Wipe β†’ Format Data and install firmware.

Advantages of custom firmware:

  • βœ… Complete absence of advertising and telemetry.
  • βœ… Ability to update without data loss (for most firmware).
  • βœ… Improved productivity and battery life.

Disadvantages:

  • ❌ Loss of warranty (if the bootloader is unlocked).
  • ❌ Possible camera bugs, NFC or 5G (firmware-dependent).
  • ❌ Lack of some branded functions MIUI (Second Space or Game Turbo).

πŸ’‘

Before installing custom firmware, make a backup copy of the persist partition (responsible for IMEI Backup command: adb backup -f persist.ab -apk -obb -shared -all -system.

5. Network-level advertising blocking (DNS/VPN)

If you don't want to interfere with system files, you can block ads at the Internet connection level, which works for in-browser banners, some system notifications, and in-app ads.

Methods of blocking:

  • 🌐 Change of change DNS: Go to Settings. β†’ Connections β†’ Private DNS. Select the host name of the private provider DNS and type in dns.adguard.com (AdGuard) DNS) 1.1.1.3 (Cloudflare Family) 94.140.14.14 (AdGuard Default)
  • πŸ”’ VPN Ad-Blocking: Install AdGuard VPN Or Blokada from F-Droid. Activate ad blocker and tracker mode.
  • πŸ“‘ Local Blocker (for advanced): Install Termux and execute: pkg install dnsmasq wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts -O /data/data/com.termux/files/usr/etc/hosts dnsmasq -C /data/data/com.termux/files/usr/etc/dnsmasq.conf

This method blocks up to 80% of ads, but does not affect the system banners in Settings or Lock Screen. ADB-second-section.

⚠️ Note: Some banking applications (e.g. SberBank Online or Tinkoff) may block work when using customized banking services DNS or VPN. In this case, add them to the exceptions.

6. Manual removal of advertising packages (for experienced)

If you are confident in your skills and ready to work with system files, you can manually remove advertising packages through Root Explorer or ADB Shell. This method requires root access and caution - an error can lead to a bootloop ( looped download).

List of the main advertising packages in MIUI 13/14:

com.miui.analytics


com.xiaomi.midrop




com.miui.systemAdSolution




com.android.browser




com.miui.hybrid




com.miui.hybrid.accessory




com.xiaomi.joyose




com.miui.touchassistant




com.miui.videoplayer




com.miui.player

For removal:

  1. Open Root Explorer (or connect via root-enabled adb shell).
  2. Go to /system/priv-app/ or /system/app/.
  3. Remove the names from the list above.
  4. Clear the cache to /data/dalvik-cache/ command: su rm -rf /data/dalvik-cache/*
  5. Reset the device.

Critical: Before deleting packets, back up /system by adb backup -f system.ab -system, which will allow you to restore the system in case of an error.

πŸ’‘

Removing system packages can disrupt some features (such as Mi Video or Game Turbo).Always check the package list for relevance to your version of MIUI.

FAQ: Frequent questions about removing ads on Xiaomi 11

❓ Why does it appear again after the ad is turned off in the settings?
Xiaomi periodically resets ad settings through updates MIUI. To avoid this: Turn off automatic updates in Settings β†’ The phone. β†’ Updating the system β†’ βš™οΈ. Use it. ADB For permanent packet removal (Section 2). Install Displax's MIUI Debloater (section 3).
❓ Can you remove ads without unlocking the bootloader?
Yes, but only partially. Use: Standard settings (section 1) - remove ~30% of ads; ADB without root (section 2) - removes another ~40%; DNS/VPN blocking (section 5) - block network advertising; To completely remove ads, unblock the bootloader is mandatory.
❓ How to return remote system applications?
If something stops working after you delete the packages via ADB or Magisk: Download the original firmware for your model with Xiaomi Firmware Updater. Remove the system.img file from it. Connect the phone to your PC and execute: adb push system.img /sdcard/adb shell su mount -o rw,remount /system cd /sdcard/ gunzip -c system.img | cpio -i Copy the missing folders from /sdcard/system/ to /sd//.
❓ Why does the custom firmware not work after installing NFC camera?
This is a common problem when using AOSP-Solution: Install firmware based on Xiaomi. MIUI (for example, MIUI EU), It's not pure Android. Download individual fixes for your model with XDA Developers (Look for themes with a tagline) [FIX]). Check if the firmware supports your modification (e.g. Xiaomi) 11 Lite 5G NE has other iron than 11 Pro).
❓Legal: Is it legal to remove ads from Xiaomi?
From a legal perspective: βœ… Disconnecting through Settings is completely legal (this is your device). ⚠️ Use of the ADB/Magisk β€” Xiaomi may cancel the warranty if it detects changes. ❌ Distribution of modified firmware violates Xiaomi’s license agreement (but personal use is not prosecuted).In most countries (including Russia, the EU and the United States), modifying your own device is not illegal unless you distribute pirated software.