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.
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.cleanmasterThese 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:
| Module | Description | Compatibility | Risks. |
|---|---|---|---|
| Displaxβs MIUI Debloater | Remove all MIUI advertising and telemetry modules, including MSa, Analytics and SystemAdSolution. | MIUI 12-14, demands Magisk | Maybe break it. OTA-update |
| Xiaomi ADB Fastboot Tools | Graphical interface to disable ads through ADB without manual commands. | All versions of MIUI | Requires an unlocked bootloader |
| LSPosed + MIUI AdBlock | Blocks ads at the application level (including Weather, Themes, Browser). | Requires LSPosed and Magisk | It may conflict with certain modules. |
| Universal AdBlock | Universal ad blocker for all Android applications. | Any firmware. | Could slow down the system. |
For installation:
- Install Magisk (instructions for Xiaomi 11 here).
- Download the desired module in.zip format (for example, with XDA Developers).
- Install the module through Magisk β Modules β Install from storage.
- 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?
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:
- Unlock the bootloader via the Mi Unlock Tool (can take up to 72 hours to wait).
- Install. TWRP Recovery for your model (for example, for Xiaomi) 11T Pro β twrp-3.7.0_vayu.img).
- Download firmware (e.g. Pixel Experience for venus is the code name Xiaomi 11).
- 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.playerFor removal:
- Open Root Explorer (or connect via root-enabled adb shell).
- Go to /system/priv-app/ or /system/app/.
- Remove the names from the list above.
- Clear the cache to /data/dalvik-cache/ command: su rm -rf /data/dalvik-cache/*
- 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.