Advertising in Xiaomi smartphones is one of the most controversial features of firmware MIUI. Even after purchasing a device, users are faced with banners in the settings menu, notifications about โrecommendedโ applications and pop-up windows in system utilities. The manufacturer explains this as a "personalized experience," but in practice, advertising is annoying, slows down the interface and eats up traffic. MIUI 14+ Hidden settings have appeared that allow you to disable most of the ad blocks without root rights.
In this article, we will analyze all the current methods - from standard settings to little-known tricks with the help of the computer. ADB. You will learn how to remove advertising in:
- ๐ฑ Settings menu (sections "Subjects", "Security", "Cleaning")
- ๐ Notification panels and call blocker
- ๐ System applications (Mi Video, Mi Music, GetApps)
- ๐ Lock screen and search bar
Important: the methods work on all current models - from the budget Redmi Note 12 to the flagship Xiaomi 14 Ultra. MIUI (Below 12.5), some of the instructions may not fit โ check the availability of menu items.
Why is Xiaomi showing ads and is it legal?
Xiaomi smartphones have traditionally been aggressively monetized through advertising, part of the companyโs business model: the low price of the device is offset by the display of targeted banners. According to a study by Counterpoint Research (2023), up to 30% of Xiaomiโs revenue in China is accounted for by advertising integration in the Chinese market. MIUI.
From a legal point of view, this is a controversial point:
- โ In Europe and Russia, users can disable personalized advertising through settings (requirement) GDPR).
- โ ๏ธ In China and India, ads are built-in at the firmware level โ disabling them may violate the license agreement.
- โ Complete removal of advertising modules (com.miui.systemAdSolution) without root is considered a modification of the software and deprives of warranties.
The manufacturer claims to collect only anonymous data about the deviceโs use, but independent tests (e.g. from Privacy International) have revealed the transfer. IMEI If you are concerned about privacy, we recommend combining disabling advertising with blocking telemetry (for this in the section about privacy). ADB).
Method 1: Disabling Advertising through the standard MIUI settings
Starting with MIUI 12.5, a hidden partition for managing advertising appeared in the firmware:
- Through Settings Search: Open Settings โ Search (a magnifier icon at the top) Enter: Advertising recommendations (in English firmware - Ad services). MIUI.
- Through the manual path (does not work on all models): Settings โ Memory. โ Cleanup โ โ๏ธ (top-cog) โ Advertising recommendations
In the menu that opens, you need:
โ๏ธ What to disable in "Advertising Services" MIUI"
0
After applying the changes, restart the device. Ads in the system menu should disappear within 24 hours (cache is not updated instantly).
โ ๏ธ Note: Some firmware (e.g. Redmi Note 11 with S) MIUI 13.0.4) the item "Advertising services" may not be available. ADB Or install a patch through Magisk.
Method 2: Blocking Advertising through ADB (without root)
If the standard settings donโt work, use Android Debug Bridge (ADB) โ This method does not require superuser rights, but it will require a computer and 10 minutes of time.
Step 1: Preparation
- ๐ฅ๏ธ Download. ADB Tools (official package from Google).
- ๐ฑ On the phone, activate Settings. โ The phone. โ Version. MIUI (Press 7 times to turn on the developer mode).
- ๐ง Back to Settings โ Additionally. โ For developers and enable debugging by USB.
Step 2: Commands to disable ads
Connect your phone to your PC and type in the command line (cmd or Terminal):
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.ab
adb shell settings put global captive_portal_detection_enabled 0These teams:
| Team team. | What's he doing? | The effect |
|---|---|---|
| pm hide com.miui.systemAdSolution | Hiding the system module of advertising | Remove banners in settings and notifications |
| pm hide com.xiaomi.ab | Disables the analytics service Xiaomi | Stops collecting data for targeted advertising |
| captive_portal_detection_enabled 0 | Turns off the check of "internet connection" | Remove pop-up windows when connecting to Wi-Fi |
โ ๏ธ Attention: After update MIUI team ADB To avoid this, create a script with these commands and run it after each update. Also, do not use pm uninstall instead of pm hide, which can cause system failures.
๐ก
If after entering commands the phone stopped connecting to Wi-Fi, perform in the ADB: adb shell settings put global captive_portal_detection_enabled 1 โ This will bring back the network check, but the ads may come back.
Method 3: Removing Advertising through Magisk (for Advanced)
If you have root rights or are willing to get them, the most radical way is to install the DisableFlagSecure module or Xiaomi Debloater via Magisk.
- ๐๏ธ Completely remove system applications-advertisers (GetApps, Mi Video, Mi Browser).
- ๐ Block Internet access for services com.miui.analytics and com.xiaomi.midrop.
- ๐ ๏ธ Edit build.prop files so that the system โthinksโ youโre in a region without ads (e.g. ro.miui.region)=EU).
Instructions:
- Install Magisk Manager and get root (instructions for your model look at the root version). 4PDA).
- Download the Xiaomi Debloater module (check compatibility with your version) MIUI!).
- In Magisk, go to Modules โ Install from storage and select the downloaded file.
- After installation, restart the phone and check for ads.
The advantage of this method is to completely remove the advertising modules, not just hide them.
- โ ๏ธ Loss of warranty (if the device is warranty, use it) ADB).
- โ ๏ธ Possible bugs in the camera or NFC (on some Poco models F5 redmi K60).
- โ ๏ธ Need to reconfigure after updating MIUI.
What if the camera stopped working after installing the module?
Method 4: Blocking Advertising via DNS or VPN
If you don't want to go through the phone settings, you can block Xiaomi's ad servers at the network level.
Option 1: Modification DNS
Use it. DNS-servers that filter advertising:
- ๐ AdGuard DNS: 176.103.130.130 and 176.103.130.131
- ๐ NextDNS: 45.90.28.167 (requires registration to configure filters)
- ๐ Cloudflare Family: 1.1.1.3 (blocks adult content) + promotion)
How to apply:
- Go to Settings. โ Wi-Fi (or Mobile Network).
- Click on the connected network. โ Change the network โ Additionally. โ Settings IP.
- Select Static and enter the selected DNS field DNS 1 and DNS 2.
Option 2. VPN advertising-blocking
Some of them VPN-Services have built-in ad blockers:
- ๐ก๏ธ ProtonVPN (free rate with tracker locking).
- ๐ก๏ธ AdGuard VPN (Specialized service for blocking advertising).
- ๐ก๏ธ 1.1.1.1 from Cloudflare (simple interface, no registration required).
โ ๏ธ Attention: Blocking through DNS/VPN will not remove ads in the system menu (for example, in Settings) โ Themes), but effective against banners in the browser and some notifications. For full effect, combine this method with ADB or settings MIUI.
Method 5: Disabling Advertising in Individual Applications
Some Xiaomi system apps have their own ad settings, here's how to turn them off:
1. Mi Video / Mi Music
- Open the app. โ Profile โ Settings โ Advertising preferences.
- Turn off Personalized Ads and Recommendations on the home screen.
- In Mi Music, remove the tick from Show banners on the playback screen.
2. GetApps (Mi App Store)
- Launch GetApps โ Profile โ Settings โ Notifications.
- Turn off App Recommendations and Promotions and Discounts.
- In the Privacy section, select Do not collect data.
3.Mi Browser browser
- Open the browser โ โฎ โ Settings โ Confidentiality.
- Activate Pop-Up-Up-Up-Off Lock and Tracking Protection.
- In the Home page section, turn off the News Feed.
4. Lock screen
To remove ads on the blocked screen:
- Go to Settings โ Lock screen.
- Turn off Recommended Content and Mi Globe (if any).
- B Settings โ Display. โ Lock screen style choose option without widgets.
๐ก
Even after disabling in-app ads, they may reappear after the update.To avoid this, disable auto-update for GetApps, Mi Video and Mi Browser in Settings โ Annexes โ Application management.
What if the adverts returned after the MIUI update?
After the firmware update, all ad settings are reset.
1. Create a backup of settings
- Use Swift Backup (requires root) or built-in backup MIUI (Settings โ The phone. โ Backup).
- Save the com.miui.systemAdSolution settings separately (if you use them). ADB).
2.Switch off auto-update MIUI
To ensure that the firmware is not updated without your knowledge:
- Go to Settings โ About the phone โ System update.
- Press on. โฎ โ Settings โ Turn off Automatic Update Downloading.
- For reliability, block internet access for com.android.updater via NetGuard or a built-in Firewall (if there is root).
3. Use the script to automatically apply settings
If you use ADB, file on a PC disable_ads.bat contents:
@echo off
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.ab
adb shell settings put global captive_portal_detection_enabled 0
pauseRun this file after each update.
4. Install custom recovery (for power users)
With help. TWRP Or OrangeFox can be done:
- Create a backup copy of the section /data current-setting.
- Remove updates MIUI before installation (by deleting files in the /cache).
- Switch modified firmware without advertising modules (for example, MIUI EU).