Advertising in Xiaomi, Redmi and POCO smartphones has become one of the most annoying features of MIUI firmware. Even after buying the device, users encounter banners in the settings menu, notifications about "recommended apps" and pop-ups in system utilities. The manufacturer has integrated ad modules so deeply that standard shutdown through settings often works incompletely - ads return after updates or resets.
This article will not just list the obvious menu items, but will reveal all possible methods: from basic settings to advanced ones. ADB-We tested each method on devices with MIUI 12-14 (including global and Chinese versions) so you can choose the best option - whether it is temporary concealment of banners or complete removal of advertising services without root rights.
Basic MIUI settings: what can be turned off without additional tools
To start with, the basics are built-in MIUI options that reduce the amount of ads, but donβt remove them completely, which work on all devices, including the Xiaomi 13/14, Redmi Note 12, and POCO F5, but their effectiveness depends on regional firmware.
First, check the following points:
- π± Advertising in the Settings menu: go to Settings β The phone. β Version. MIUI (tap 7 times to activate the developer mode, then return to Settings β Additionally. β Special facilities β Advertising recommendations and disable slider.
- π Push notifications: Settings β Notifications β Additionally. β Advertising notifications (turn off all switches).
- π Personalized Advertising: Settings β Google β Advertising (turn off Personalized Advertising and reset advertising) ID).
- π¦ Mi App Store Recommendations: Open the Mi App Store, go to Profile β Settings β Recommend and deactivate all options.
Important: after the MIUI update, some of these settings may reset, for example, in the firmware for India (MIUI INDIA), advertising notifications are automatically turned on every 30 days. To avoid this, use automation through Tasker (we will discuss this below).
2. Disabling Advertising through Mi Account: Hidden Options
Many users are unaware that some of the ad modules are linked to a Mi Account, and even if you are not logged in, the system may display "general" banners, but after you log in, additional settings appear.
- Sign in to Mi Account through Settings β Accounts β Mi Account.
- Go to account.xiaomi.com (open in your browser on your PC or phone).
- In Privacy β Ad Preferences, disable all personalization-related switches.
- Return to your device and check Settings β Sync β Advertising Preferences β additional options should appear here to disable.
β οΈ Note: If you are using Chinese firmware (MIUI China, some of these settings can be blocked, in which case only a change of region or a change of location will help. ADB-Teams (see next section).
π‘
After you turn off the ads in your Mi Account, clear the cache of the Mi Account and Miui Daemon apps through Settings β Apps β App Management. This will speed up the application of changes.
3. ADB-Teams: complete disabling of advertising without root rights
The most effective way to remove ads on Xiaomi is to use Android Debug Bridge (ADB), which does not require superuser rights, but requires a computer and 10 minutes of time. We tested commands on MIUI 14 (Android 13) β they work on 90% of devices, except for some Chinese versions with blocked ADB.
First, prepare the device:
Enable Developer Mode (7 taps according to MIUI version)
Activate USB Debugging in Settings β Additional β For Developers
Connect your phone to your PC and confirm your debugging permission
Download ADB Tools (or use Minimal ADB)
-->
Now run the following commands in cmd (or Terminal on Mac/Linux):
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.miui.analytics
adb shell pm hide com.miui.msa.global
adb shell pm hide com.miui.player
adb shell settings put global captive_portal_detection_enabled 0
adb shell settings put global captive_portal_server falseThese teams:
- π« Disable the system module of advertising (systemAdSolution).
- π΅ Block analytics and data sending (analytics, msa.global).
- π΅ Remove ads in the standard player (miui.player).
- π Stop checking for βinternet connectionβ (often used to display ads).
β οΈ Attention: on certain devices (e.g, POCO X5 Pro MIUI 14.0.6) pm hide may not work. In this case, use the alternative:
adb shell pm uninstall -k --user 0 com.miui.systemAdSolutionWhat to do if ADB is not working?
Modification of system files (for advanced users only)
If ADB-The most radical method is editing system files, which requires an unlocked bootloader and super-user rights, but it is guaranteed to remove ads forever.
You'll need:
- π Unlocked bootloader (instructions for Xiaomi: official website).
- π± Installed by Magisk (to obtain root rights).
- π₯οΈ Programme MT Manager or Root Explorer for file editing.
Instructions:
- Download and install MT Manager from Uptodown.
- Open the app, provide root access, and follow the path /system/etc/hosts.
- Add the following lines at the end of the file: 127.0.0.1 ad.mi.com 127.0.0.1 data.mistat.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 tracker.ai.xiaomi.com 127.0.0.1 stat.pandora.xiaomi.com
- Save the file and restart the device.
This method blocks access to Xiaomiβs ad servers at the system level, but be careful:
β οΈ Note: improper editing of the hosts file may cause loss of Internet connection. Before changing, back up the original file. Also, some banking applications (such as SberBank Online) may block work on devices with modified hosts.
5. Alternative firmware: how to get rid of advertising forever
If youβre willing to take drastic measures, installing custom firmware (like LineageOS, Pixel Experience or Xiaomi.eu) completely solves the problem of advertising. These firmwares are stripped of all MIUI advertising modules and offer a βcleanβ Android.
Comparison of popular firmware for Xiaomi:
| Firmware | Advertising support | Unlocking required | Complexity of installation | Cons |
|---|---|---|---|---|
| Xiaomi.eu | β No advertising. | β Yes. | Medium | No Google Pay (on some models) |
| LineageOS | β No advertising. | β Yes. | Tall. | There may be no camera support |
| Pixel Experience | β No advertising. | β Yes. | Tall. | There are no MIUI features (e.g. Second Space) |
| MIUI Global (EEA) | β οΈ Minimum advertising | β No. | Low. | Updates come with a delay |
For custom firmware installation:
- Unlock the bootloader (see official instructions).
- Install TWRP Recovery for your model (for example, for Redmi Note 10 Pro, use this version).
- Download the firmware (e.g. Xiaomi.eu from the forum) and install via TWRP.
β οΈ Attention: Installing custom firmware will void warranty and may result in a device blink. Before the procedure, check the firmware compatibility with your model (for example, check the firmware compatibility with your model, POCO F4 redmi K40 use different versions TWRP!).
π‘
Custom firmware is the only way to guarantee that ads will be permanently removed, but it is only suitable for advanced users. ADB-commands or change of region of firmware.
6 Automation: How to Block Ads Without Manual Intervention
If you don't want to constantly check your settings after updates, you can automate the process with Tasker or MacroDroid, which lets you create rules that will turn off ads automatically.
MacroDroid macro example (blocks advertising notifications):
- Create a new macro with a trigger Notice received.
- In the filter, specify the packages: com.miui.systemAdSolution, com.xiaomi.midrop.
- Add the action Close the notification.
- Activate the macro.
For Tasker, use this profile:
Profile: Event β System β Device Boot
Task:
1. Run Shell: pm hide com.miui.systemAdSolution (with root or ADB rights)
2. Run Shell: settings put global captive_portal_detection_enabled 0
3.Wait: 30 seconds
4. Run Shell: pm clear com.miui.systemAdSolutionThese rules will be followed every time the phone is turned on, ensuring that the ad modules remain disabled even after updates.
You can also use DNS-level blockers, such as NextDNS or AdGuard. Set up a private DNS in Settings β Connections β Private DNS and specify the address:
- π dns.adguard.com (blocks most of Xiaomiβs advertising domains).
- π‘οΈ security.cloudflare-dns.com (less aggressive but reliable).
7. Frequent problems and solutions
Even after all the methods are applied, users face the return of advertising.
Problem 1: Advertising returns after the MIUI update.
- π Repeat. ADB-Teams after each major update.
- π΅ Turn off automatic updates in Settings β The phone. β Updating the system β Settings (βοΈ) β Auto-update.
Problem 2: They don't work. ADB-chinese.
- π Change the firmware region to Global or EEA through settings β Additionally. β Region (resetting will be required).
- π§ Use Xiaomi. ADB/Fastboot Tools for mass disabling of advertising packages.
Problem 3: Advertising appears in standard apps (Mi Video, Mi Music).
- π¬ Remove or freeze applications via adb shell pm uninstall -k --user 0 com.miui.video.
- π΅ Use alternatives: VLC or musicolet.
Problem 4: After editing hosts, the Internet doesnβt work.
- π‘ Check the syntax of the file (each line should end with a line translation).
- π Restore the original hosts from backup.
π‘
If the ad returns after resetting, execute adb backup -f backup.ab -apk -obb -shared -all -system before resetting to save the current ADB settings.