Advertising in Xiaomi smartphones has become one of the most annoying features of the brand shell MIUI. Even after buying premium models like Xiaomi 14 Ultra or Redmi K70 Pro, users encounter intrusive banners in settings, notifications and system applications. The manufacturer explains this with โpersonalized recommendationsโ, but in practice it is targeted advertising that eats traffic, drains the battery and spoils the user experience.
In this article, we will analyze all the current ways to disable advertising on Xiaomi, Redmi and smartphones. POCO โ basic MIUI It's important to understand that some methods require ROOT-We'll also look at why ads come back after updates and how to avoid them.
All instructions are tested on the latest versions of MIUI 14/15 (including global and Chinese builds) and are relevant for models from 2020-2026. If you use an older device, check the compatibility of methods in the FAQ at the end of the article.
Why is Xiaomi showing ads and is it legal?
Xiaomi officially declares that advertising in MIUI is part of its business model to keep device prices low, and reports show that up to 30 percent of the brandโs revenue comes from advertising integrations and affiliate services.
- ๐ฑ Global vs. Chinese firmware: In Chinese versions MIUI There are a lot more ads (up to the banners in the off menu (EEA, Russia, Global are less aggressive, but advertising is still present.
- ๐ Updates return ads: After each major update MIUI Many settings are reset and banners reappear. It's not a bug, it's a feature, and Xiaomi "reminds" of its services.
- ๐ User Agreement: When you first turn on your smartphone, you agree to the privacy policy, which states the use of your data for targeted advertising.
Xiaomi is not legally in breach of the law, but has been prosecuted in Europe and Russia for lack of transparency, for example, in 2021, Xiaomi was fined โฌ3 million in Italy for collecting data without usersโ explicit consent.
โ ๏ธ Note: Disabling advertising through system files or ROOT In Chinese firmware, some methods can block access to Xiaomi services (for example, to the Mi Cloud cloud).
Method 1: Basic MIUI settings (without ROOT)
If you're not ready for radical measures, start with standard shell tools. In recent versions of MIUI, some of the ads can be turned off via the settings menu, but these options are often hidden or reset after updates.
Here is the step-by-step guide for MIUI 14/15:
- Go to Settings โ Password and Security โ Authorization and Advertising Data.
- Turn off the sliders: ๐ Personalized recommendations (the main source of targeted advertising) ๐ Advertising Notifications (Banners in the Curtain)
- Return to Settings โ Additional โ Special Features โ Advertising Notifications and deactivate all options.
- For Mi Browser, Mi Video and Mi Music apps, go to their settings and turn them off: ๐ฐ "Recommended content" ๐ "Push notifications"
Delete โPersonalized recommendations"|Deactivate โAdvertising Notices"|Check the Mi settings Browser/Mi Video|Remove the cache of system applications|Reboot your smartphone-->
These actions will remove up to 60-70% of ads, but banners in the themes menu, lock screen and some system applications (for example, Security) will remain.
๐ก
If you still have ads after you turn off, try resetting your ads: go to Settings โ All Settings โ Restore and Reset โ Reset app settings. This will remove the cache of Xiaomi services responsible for displaying banners.
Method 2: Disabling Advertising through ADB (without ROOT)
More effective method: using Android Debug Bridge (ADB). It allows you to disable system applications responsible for displaying ads without receiving ROOT-This method works on all Xiaomi models, including POCO F5, Redmi Note 12 and Xiaomi flagship 13T.
You'll need:
- ๐ฅ๏ธ Computer with Windows/macOS/Linux
- ๐ฑ USB-cable (original or quality)
- ๐ง Included debugging by USB (How to turn it on - see below)
Step 1. Enable debugging over USB:
- Go to Settings โ About Phone and 7 times click on the MIUI version to activate the Developer Mode.
- Back to Settings โ Additionally. โ For developers and include: ๐ง Debugging by USB ๐ Allow unlocking OEM (if)
Step 2. Connect your smartphone to your PC and execute the commands:
- Download ADB Tools and unpack the archive.
- Open the command prompt (Windows) or terminal (macOS/Linux) in the folder with ADB.
- Enter the following commands: Adb devices adb shell pm hide com.miui.systemAdSolution If the first command does not show your device, check the drivers or cable.
| ADB Team Team | What's off? | The effect |
|---|---|---|
| pm hide com.miui.systemAdSolution | MIUI System Advertising Service | Remove banners in settings and theme menu |
| pm hide com.xiaomi.midrop | Mi Drop (advertising when transferring files) | Pop-ups disappear |
| pm hide com.miui.analytics | Analytics gathering | Less targeted advertising |
| pm hide com.miui.msa.global | Global advertising services | Cleans banners in Mi Browser |
After you execute the commands, restart your smartphone. Ads should disappear from most system menus. If banners return after the update, repeat the procedure.
โ ๏ธ Note: pm hide does not remove applications, but only hides them from the system. In some firmware (for example, Chinese), this method may not work - you need pm uninstall -k --user 0, But it already requires ROOT.
Basic settings MIUI|ADB-team|ROOT custom-made|I've tried nothing.|Another way.-->
Method 3: Removing Advertising by Using ROOT-rights
If you are willing to take radical measures, ROOT-This is a method that is suitable for power users and allows you to remove ads permanently, including hidden banners in the firmware:
- ๐จ Loss of warranty if not concealed ROOT before-service)
- ๐ Possible problems with OTA-update
- ๐ก๏ธ The risk of blocking certain features (for example, Mi Pay or Widevine) L1 for Netflix HD)
Step 1. Receiving ROOT-rights:
- Unlock the bootloader through the official Mi Unlock Tool (requires a Xiaomi account and device binding).
- Install custom TWRP recaps for your model (see instructions on XDA Developers).
- Sweep Magisk through TWRP to get ROOT.
Step 2: Removal of advertising modules:
With Root Explorer or Mixplorer (with superuser rights), delete the following files and folders:
- ๐ /system/app/SystemAdSolution โ main module
- ๐ /system/priv-app/AnalyticsCore โ analytics
- ๐ /system/etc/hosts โ Add to this file the blocking of advertising domains (example below)
Example of blocking through hosts:
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 tracking.miui.comStep 3: Freeze unnecessary applications:
Use Titanium Backup or built-in Magisk features to freeze:
- ๐ง MiuiDaemon (responsible for background advertising processes)
- ๐ง MiPush (push notifications with ads)
- ๐ง MiBrowserGlobal (if you do not use a browser)
What to do after ROOT stopped working OTA-update?
Method 4: Castom firmware without advertising
The most radical method is to install an alternative firmware, devoid of Xiaomi advertising modules.
- ๐ฑ MIUI EU (unofficial European build without ads, but with weekly updates)
- ๐ค LineageOS (Pure Android, but may not support some Xiaomi features)
- ๐ Pixel Experience (Firmware with Google Pixel features optimized for Xiaomi)
- ๐ MIUI Pro (modified) MIUI with remote advertising and extra chips)
The advantages of custom firmware:
- โ Total absence of advertising at the system level
- โ More frequent security updates
- โ Ability to fine-tune the interface
Cons:
- โ Risk of โbrickโ (turning the phone into a โbrickโ) if installed incorrectly
- โ Possible camera bugs, NFC or sensors (depending on the model)
- โ Loss of warranty and features like Mi Pay or Widevine L1
How to install custom firmware:
- Unlock the bootloader (as in the way with ROOT).
- Install TWRP for your model.
- Download the firmware from the official website (for example, MIUI EU or LineageOS).
- Backup the current system through TWRP.
- Sweep through the firmware, then Magisk (if you need ROOT) and GApps (if you need Google services).
โ ๏ธ Note: Before installing custom firmware, check its compatibility with your Xiaomi model by device code (for example, davinci for Redmi). K20 or alioth for POCO F3). The mismatch may result in a broken fingerprint sensor or module. 5G.
๐ก
Custom firmware is the only way to guarantee that ads will be permanently removed, but it requires technical skills and may deprive you of some MIUI features (such as the built-in document scanner or Read mode).
Method 5: Blocking Advertising via DNS and VPN
If you don't want to go through your smartphone settings, you can block Xiaomi's ad domains at the network level, which doesn't remove banners completely, but it reduces the number of banners significantly.
Method 1: Change of DNS
- Go to Settings โ Connections and Sharing โ Private DNS.
- Select "Private Host Name" DNS" enter: ๐ dns.adguard.com (blocks ads and trackers) ๐ก๏ธ 1.1.1.3 (Cloudflare with malicious sites blocked)
Save and restart your smartphone.
Method 2: VPN with Ad Blocking
Install one of these apps (available on Google Play):
- ๐ก๏ธ AdGuard VPN โ block advertising at the level DNS + coder
- ๐ Blokada โ open blocker without registration
- ๐ NextDNS โ customizable filters (you can add domain block Xiaomi)
Method 3: Hosts file (without ROOT)
If you canโt get ROOT, but you have access to a PC, you can change the hosts file on your smartphone via ADB:
adb shell
su
mount -o rw,remount /system
echo "127.0.0.1 ad.mi.com" >> /system/etc/hosts
echo "127.0.0.1 data.mistat.xiaomi.com" >> /system/etc/hosts
mount -o ro,remount /system
reboot| Method | Efficiency | Difficulty | Need a ROOT? |
|---|---|---|---|
| Change of DNS | Medium (30โ50%) | Low. | No. |
| VPN with lock | High (60-80%) | Low. | No. |
| Editing by hosts | High (70-90%) | Medium | Desirable. |
These methods are especially useful if ads appear in Mi Browser or third-party apps, but they wonโt remove banners from system menus (such as theme settings).
How to Prevent Return of Ads After Updates
The main problem with Xiaomi users is that ads come back after each major MIUI update, which is because the system restores remote modules or resets settings.
1. Turn off automatic MIUI update:
- Go to Settings โ About the phone โ System update.
- Click on the three dots in the top right corner and select Update Settings.
- Turn off Auto Booting via Wi-Fi and Auto Update.
2. delete the System Update app (ROOT or ADB required):
adb shell pm uninstall -k --user 0 com.android.updater3. Use Magisk modules to block ad updates:
- ๐ง MIUI Bloater Remover โ Remove unnecessary system applications
- ๐ก๏ธ MIUI Ad-Away โ Blocks Advertising Domains at Host Level
- ๐ DisableFlagSecure โ allows you to take screenshots in protected applications (helps track where ads appear)
4. Create a backup of the "clean" system:
With TWRP or OrangeFox Recovery, back up the /system partition after removing the adverts. When you return the banners after the update, you can restore the system from the backup.
โ ๏ธ Note: If you use custom firmware (for example, MIUI EU), Update only through it - official OTA-Updates can return ads and block the bootloader.
๐ก
The most reliable way to avoid ad returns is to disable MIUI updates completely and switch to custom firmware, but this will take away official support and may create security issues (if you donโt update Android patches).