Advertising in mobile games on Xiaomi has become a real scourge of modern gamers: from annoying banners to 30-second videos that interrupt the gameplay at the most critical moment. POCO, where the manufacturer actively integrates its own advertising SDK. The good news is that you can remove ads without them. ROOT-rights, using hidden functions MIUI, alternative DNS and specialized tools.
In this article, we'll look at 7 proven methods, from basic system settings to advanced technical solutions, how to block ads at the OS level, in games themselves and through network filters. Importantly, some of the ways may conflict with Google Play policies, so we'll point out all the risks and limitations. If you're ready to get back to your comfortable gameplay, let's go!
Why are there so many ads in Xiaomi games?
Xiaomi smartphones (especially the Redmi Note line and POCO) They're famous for their value-for-money ratio, but there's a downside to this, which is aggressive monetization through advertising. Here are 3 key reasons why it's even appearing in paid games:
- πΉ Built-in advertising SDK Xiaomi: The manufacturer integrates its own modules (com.miui.analytics, com.xiaomi.midrop) and partner networks (AppLovin, Unity Ads), which show ads even in third-party applications.
- πΉ MIUI Optimized Ads: Personalized Ads in Settings MIUI collects data about your activities and selects targeted ads, including gaming.
- πΉ Google Play policy: Many free games (especially from Chinese developers) use AdMob and IronSource as their main revenue streams, bypassing blockers through dynamic domains.
Interesting fact: on Xiaomi devices for the European market (MIUI Global advertising on 30-40% less than in the firmware for Asia (MIUI This is related to local data protection laws (GDPR). If your smartphone is purchased in China or on AliExpress, the probability of encountering advertising is higher.
β οΈ Note: Blocking ads in certain games (e.g. Free Fire or Free Fire) PUBG Mobile may lead to a ban of an account, which developers consider a violation of the rules of use.
Method 1: Disabling personalized advertising in MIUI
The easiest and safest way to do this is to deactivate targeted ads in your system settings, and that won't take away all the banners, but it will reduce the number of banners by a few minutes. 40-50%. The instructions are relevant to MIUI 12/13/14:
- Open Settings β Google β Advertising.
- Click Reset Advertising ID and confirm the action.
- Go back to the main settings and go to Memory. β Cleanup.
- Select the AutoStart tab and disable it for the Msa (Mobile Services Ads) and Analytics apps.
We also recommend disabling advertising optimization. MIUI:
- Go to Settings. β Special facilities β Services MIUI.
- Find Personalized Recommendations and deactivate it.
This method does not require ROOT It doesn't violate Google Play's rules, but it doesn't work with all types of ads, like video ads in Clash of Clans or Brawl Stars, because it's built into the game engine itself.
Reset the advertising ID Google|Disable Auto-Run for Msa and Analytics|Deactivate personalized recommendations|Clear the cache of system applications-->
Method 2: Blocking Advertising through Private DNS (without ROOT)
One of the most effective ways is to redirect DNS-This works at the network level and blocks up to 80% of ads in games. DNS:
| Type DNS | Address | Features |
|---|---|---|
| AdGuard DNS | dns.adguard.com (or 176.103.130.130) | Blocks trackers and ads, supports DoH (DNS-over-HTTPS) |
| NextDNS | 45.90.28.167 | Flexible settings, you can create your own filter for gaming domains |
| Cloudflare Family | 1.1.1.3 | Blocks malicious and ad sites, but is less aggressive than AdGuard |
| CleanBrowsing | 185.228.168.168 | It filters mobile ads well, but can block some game updates. |
How to set up a private DNS Xiaomi:
- Open Settings β Connections and Sharing β Private DNS.
- Select the host name of the private DNS provider.
- Enter one of the addresses from the table (e.g. dns.adguard.com).
- Save the settings and restart the device.
Important: Some games (such as Genshin Impact or Honkai: Star Rail) may have a connection error when using AdGuard. DNS. In this case, try NextDNS with custom rules.
β οΈ Attention: If after the shift DNS Banking applications (e.g., SberBank Online) have stopped working, and you have to return the standard settings. DNS for security reasons.
π‘
For maximum efficiency, combine private DNS with the removal of personalized advertising in MIUI (Method 1). This will strengthen the lock on 20-30%.
Method 3: Use of Blokada or similar applications
If system methods donβt help, specialized ad blockers will come to the rescue. Blokada is one of the best solutions for Xiaomi, as it works without any help. ROOT It doesn't require any complicated settings. It creates a local application. VPN-The tunnel through which advertising requests are filtered.
How to install and configure Blokada:
- Download. APK from the official website (blokada.org) as the version from Google Play is stripped down.
- At the first launch, allow creation VPN-connection.
- In the settings, select Blocking β Lock lists and activate: πΈ EasyList (Basic Advertising Filter) πΈ EasyPrivacy (Blocking Trackers) πΈ AdAway (specialized list for Android)
Launch on boot
Benefits of Blokada:
- πΉ It works at the system level, blocks advertising in all games and applications.
- πΉ No, he doesn't. ROOT-rights (as opposed to AdAway).
- πΉ Supports custom rules (you can add domains of specific gaming advertising networks).
Disadvantages:
- πΈ May be in conflict with others VPN-applications (e.g. ProtonVPN).
- πΈ Some games (such as Call of Duty: Mobile) detect VPN and block the entrance.
How to bypass the lockdown VPN play?
Method 4: Editing the hosts file (requires) ROOT or ADB)
For advanced users, there's a method of blocking ads through the hosts file, which intercepts requests for ad domains and redirects them to "empty" domains" IP-The address (127.0.0.1) is up to 95% effective, but requires either ROOT, or access through ADB.
If you have ROOT:
- Install a file manager with ROOT support (such as Root Explorer).
- Go to /system/etc/hosts and back up the file.
- Download the current block list (for example, from adaway.org).
- Add the contents of the downloaded file to the end of your hosts.
- Save the changes and restart the device.
If ROOT No, but there's access to ADB:
adb shell
su
mount -o rw,remount /system
echo"127.0.0.1 ad.service.com" >> /system/etc/hosts
mount -o ro,remount /system
rebootList of popular advertising domains for games:
- πΈ googleads.g.doubleclick.net (AdMob)
- πΈ events.api.unityads.unity3d.com (Unity Ads)
- πΈ app-measurement.com (Firebase Analytics)
- πΈ api.ironsrc.com (IronSource)
β οΈ Attention: Incorrect editing of the hosts file can lead to loss of Internet connection.Always back up and check syntax after changes.If after reboot there is no network, restore the original file through TWRP or ADB.
π‘
Hosts editing is the most powerful method of blocking ads, but it requires caution: If you are not sure about your skills, use safer methods (such as Blokada).
Method 5: Install custom firmware (for power users)
If youβre willing to take drastic measures, custom firmware (like LineageOS or Pixel Experience) completely removes Xiaomiβs built-in ad modules.This method is suitable for devices with an unlocked bootloader and requires the presence of a customized firmware. TWRP.
The advantages of custom firmware:
- πΉ Total lack of advertising from MIUI (including system banners).
- πΉ Higher performance in games due to optimized core.
- πΉ Installation of Magisk and modules such as AdAway or Energy Ring.
Cons:
- πΈ Loss of warranty (if the device is under warranty).
- πΈ Risk of "bricking" when incorrectly installed.
- πΈ Some games (such as Genshin Impact) may not run on uncertified firmware.
Recommended firmware for Xiaomi:
| Firmware | Support for devices | Features |
|---|---|---|
| LineageOS | Redmi Note 10/11, POCO X3/X4, Mi 11 | Clean Android without ads, stable operation |
| Pixel Experience | POCO F3, Redmi K40, Mi 10T | Google Pixel interface optimized for gaming |
| Havoc-OS | Redmi Note 9 Pro, POCO F2 Pro | Maximum customization, but possible bugs |
Installation instructions:
- Unlock the bootloader through the Mi Unlock Tool (requires a Mi Account binding and a wait of 7 days).
- Install TWRP for your model (see instructions on XDA Developers).
- Download firmware and GApps (if you need Google services).
- In TWRP, run Wipe β Advanced Wipe (mark Dalvik, Cache, System, Data).
- Install the firmware, then GApps, and restart.
π‘
Before installing custom firmware, check compatibility with your model on the developerβs website. For example, the firmware for the Redmi Note 10 Pro (sweet) will not work for the Redmi Note 10 (mojito).
Method 6: Blocking Advertising through Magisk and Modules
If you have Magisk (or are willing to install it), you can use dedicated ad-blocking modules, which works on devices with an unlocked bootloader, but doesnβt require a full flashing.
Top.-3 plug-in:
- AdAway: Classic blocker, updates lists automatically. install via Magisk or manually (requires) ROOT).
- DNS66: Blokada, but with support for Magisk and advanced settings.
- Universal AdBlock: Blocks kernel-level advertising, including embedded modules MIUI.
How to install AdAway through Magisk:
- Download the AdAway for Magisk module.
- Open Magisk Manager and go to Modules β Install from Storage.
- Select the downloaded file and confirm the installation.
- After the reboot, open AdAway and update the host lists.
- Enable System mode to block ads in all applications.
For maximum efficiency, combine AdAway with Universal AdBlock:
1. Install Universal AdBlock via Magisk.
2. In the module settings, activate the options:
- Block Ads in Apps
- Block Tracking
- Block MIUI Ads
3. Reset the device.β οΈ Note: Some modules (e.g. Universal AdBlock) may conflict with banking applications, as they use the same lock mechanisms as antifraud systems. If after installation, SberBank or Tinkoff stop working, disable the module for these applications in the Magisk settings.
Method 7: Alternative methods (for individual games)
If you're getting annoyed by ads in a particular game, you can try local solutions that don't affect the whole system, which are less universal, but sometimes work where system blockers are powerless.
Method 1: Buying a premium version of the game
Many games (such as Clash Royale or Homescapes) offer to disable ads for a one-time fee (usually a few games). 100-300 This is the most legal way, but not suitable for everyone:
- πΉ Pros: 100% guarantee of no advertising, support of developers.
- πΈ Cons: Not all games offer this option; purchases are not carried over between accounts.
Method 2: Use of modified APK (MOD)
There are some games for some. MOD-You can find them on forums like PlatinMods or RevDL. There are risks, however:
- πΈ Ban account: In PUBG Mobile, Free Fire and Clash of Clans for use MOD ban.
- πΈ Viruses: Many MOD-AndPK They contain malicious code (especially from unofficial sources).
- πΈ Lack of updates: Modified versions often lag behind the original by a few patches.
Method 3: Limiting mobile traffic for gaming
Some games only show ads when you have an Internet connection, and if you turn off data for a game, the ads disappear, but some functionality (for example, online modes) disappears.
- Go to Settings β Applications β Application Management.
- Select the game and click Data Transfer.
- Turn off Mobile Data and Wi-Fi (if you only need to leave Wi-Fi, leave a tick next to it).
Method 4: Resetting advertising ID through ADB
If the game shows ads based on your advertising ID, You can manually drop it through ADB:
adb shell settings put global advertising_id [random_uuid]
adb shell settings put global advertising_id_enabled 0Where [random_uuid] β casual UUID (for example, 38400000-8cf0-11bd-b23e-10b96e4ef00d). This method tricks trackers into showing non-personalized ads (or not showing them at all).