How to permanently disable advertising in games on Xiaomi Redmi: from simple ways to deep settings

Why do Redmi games have ads and can they be removed?

Advertising in mobile games on Xiaomi Redmi smartphones is one of the most common complaints of users, even in paid games, banners sometimes pop up, and in free projects, ad units can appear after each level, interrupting gameplay, the reason is not only because of the greed of developers, but also because of the features of the MIUI firmware, which integrates its own advertising mechanisms.

Unlike iOS, where Apple tightly controls ad display, Android โ€” especially on Xiaomi devices โ€” allows developers and the system to embed ad modules at different levels, which can be both built-in advertising in the game (for example, through AdMob or Unity Ads), and system advertising from MIUI, which is loaded through services like msa (Mobile Services Analytics), the latter can be turned off without root rights, but with advertising in games you have to tinker.

It's important to understand that you can only remove ads from all games without consequences on a rooted device or with specialized tools like Lucky Patcher (which can lead to a ban on a Google account), but there are legal ways to reduce the number of ads or make them less intrusive.

Method 1: Disabling MIUI system advertising (without root rights)

The first thing to do is to disable the built-in advertising in the MIUI firmware. It can manifest itself not only in games, but also in system applications (for example, in the Browser or Weather).

  1. Open Settings โ†’ About the phone and tap the MIUI version several times to activate the developer mode.
  2. Return to the main settings menu and go to Additional โ†’ Special features โ†’ Advertising (on some versions the path may differ: Settings โ†’ Applications โ†’ Application Management โ†’ Settings (cogs) โ†’ Show recommendations).
  3. Turn off the Recommends slider and Personalized Advertising.

These settings wonโ€™t eliminate ads inside games completely, but they will reduce the number of system banners that can be overlaid on top of the game interface, for example, after that, pop-ups with suggestions to install other games from Xiaomi will stop appearing.

Disable "Show recommendations" in special features |

Turn off "Personalized Ads" in your account settings |

Delete or disable the GetApps app (Theme Store)|

Clear the Security Application Data (Security)-->

If after this manipulation, the ads in the games still appear, then it is embedded directly into the application itself, and the following method will help.

Method 2: Use of the DNS-filters (AdGuard, NextDNS)

One of the most effective and safest methods of blocking ads is changing the DNS-It works at the network level, instead of the standard servers. DNS From the provider, you connect to servers that filter the ad domains. DNS NextDNS blocks most ad networks, including Google AdMob, Unity Ads and AppLovin.

How to set up:

  1. Go to Settings. โ†’ Connections and sharing โ†’ Private DNS (or settings โ†’ SIM-maps and mobile networks โ†’ Access point (APN) โ†’ Private DNS version MIUI).
  2. Select DNS Provider Host Name and enter one of the addresses: To block ads and trackers: dns.adguard.com To block ads only: dns-family.adguard.com For NextDNS: 45.90.28.167 (enter as IP if the field does not accept the host)

Save the settings and restart the phone.

This method does not require root rights and works on all versions of Android. However, it only blocks ads at the network level, so the built-in banners (such as static images) can remain, but pop-ups and video ads that are downloaded from external servers will disappear.

I don't use it.|

AdGuard DNS|

NextDNS|

Cloudflare (1.1.1.1)|

Other-->

Method 3: Block ads via hosts file (requires root or ADB)

The hosts file in Android is a local database that matches domain names with the IP-If you add entries for ad domains (e.g. googleads.g.doubleclick.net), the system will redirect requests to them to a non-existent address (127.0.0.1), effectively blocking ads.

There are two ways to edit hosts:

  • ๐Ÿ”ง Root-rights: Use any root-enabled file manager (like Root Explorer) and edit the file along the way /system/etc/hosts. Add the block lists there (you can download ready-made ones from sites like MVPS Hosts).
  • ๐Ÿ–ฅ๏ธ No root through ADB (Not all devices are working: Adb shell su mount -o rw,remount /system echo "127.0.0.1 googleads.g.doubleclick.net" >> /system/etc/hosts mount -o ro,remount /system

The downside of this method is that you need to update your blocking lists regularly, as your ad domains change frequently, and on newer versions of MIUI (13+), the system can automatically reset changes to hosts after a reboot.

What happens if you misrepresent hosts?
If you make a mistake editing a hosts file, it can lead to loss of Internet access or problems updating applications, in the worst case, a system "brick" (if the file is corrupted and the system can not read it). Always back up the original file before changing!

Method 4: Ad-blocking applications (without root)

If you don't want to mess with DNS or hosts settings, you can install a dedicated ad-blocking app.

AnnexDemands a rut?How it worksCons
BlokadaNo.Creates a local VPN and filters trafficCan conflict with other VPNs, slow down the Internet
AdGuardNo (there's a version with a root)Filter DNS-request HTTP-trafficPaid version for full functionality
DNS66No.Blocks domains through DNSNot blocking. HTTPS-promotion
Lucky PatcherYes (for full functionality)Modifies. APK-fileHigh risk of Google account ban, unstable work

The most balanced option is Blokada or AdGuard, which do not require root rights and block most ad networks, PUBG Mobile or Free Fire can be detected VPN-Connecting and blocking access to multi-user modes.

๐Ÿ’ก

If after installing the ad blocker, games start to slow down, try adding them to the exceptions in the application settings. For example, in AdGuard, this is done in the Applications section โ†’ Exceptions

Method 5: Modification APK-Game files (for advanced users)

If you are willing to take drastic measures, you can remove advertising modules directly from the site. APK-It's gonna take a lot of game files:

  • ๐Ÿ“ฑ Root rights or the possibility of installing modified APK.
  • ๐Ÿ’ป Decompilation software (e.g., APKTool or JADX).
  • ๐Ÿ” Knowledge of editing smali code or AndroidManifest.xml.

Common algorithm:

  1. Download the original APK game (for example, with APKMirror).
  2. Decompile it with APKTool: apktool d game.apk
  3. Find references to advertising SDKs in decompiled files (e.g. com.google.android.gms.ads or com.unity3d.ads) and delete the corresponding lines in smali or AndroidManifest.xml.
  4. Compile. APK back: apktool b game -o game_mod.apk
  5. Sign the modified APK with a uber-apk signer and install it on your phone.

This method requires deep technical knowledge and time, and modified APKs can:

  • Do not update through Google Play.
  • Call a ban account in the game (especially in online projects like Clash of Clans).
  • Contain errors if critical game modules are removed.

๐Ÿ’ก

Modifying APK is the most effective way to remove ads, but also the riskiest, and only use it if you are prepared for possible consequences, including banning an account or unstable game performance.

Method 6: Alternative methods (offline mode, mods, emulators)

If none of the above helps, you can make a compromise:

  • ๐ŸŒ Play offline: many games don't show ads without an internet connection.
  • ๐ŸŽฎ Use mods: Some games have modified versions without ads (see forums like this). XDA Developers or 4PDA). The danger is the same as with Lucky Patcher - the risk of a ban.
  • ๐Ÿ–ฅ๏ธ Android emulators on PC: BlueStacks or LDPlayer can use system ad blockers (for example, AdGuard for Windows) that will filter the emulator traffic.
  • ๐Ÿ’ฐ Buy a premium version of the game: if the game offers the option of removing ads for a fee (for example, Homescapes or Gardenscapes), this is the most legal and safe way to do it.

The last point may seem obvious, but many users don't take into account that some games offer a one-time purchase to remove ads (rather than a subscription).In Angry Birds 2, for example, you can pay ~300 rubles once and for all to remove banners.

What to do if the advertisement remains?

If youโ€™ve tried all the ways, but the ads in the games on Xiaomi Redmi still appear, check out the following:

โš ๏ธ Warning: Some games (such as King or Supercell) use server-side checks for ad blockers, and if the game detects that you are blocking ads, it may block access to the game or reset progress. In this case, the only way out is to disable the blocker for a particular game.

  • ๐Ÿ”„ Update the game and ad blocker: sometimes ads appear because of outdated filters.
  • ๐Ÿ“ฑ Check the game settings: Some projects allow you to reduce the amount of advertising in the settings (for example, disable "reward videos").
  • ๐Ÿšซ Remove the game cache: go to Settings โ†’ Annexes โ†’ [Name of the game] โ†’ Memory. โ†’ Clear the cache.
  • ๐Ÿ” Check your device for viruses: some malware embeds additional ads. Scan your phone using Malwarebytes or Dr.Web.

If nothing helps, it may be a problem in a particular game, which leaves you either with advertising or looking for alternatives without it (like premium games from developers like Monument Valley or Altoโ€™s Odyssey).

FAQ: Frequent questions about ad blocking in Xiaomi games

Can I turn off ads in games without root rights?
Yeah, but not completely (DNS-Filters, apps like Blokada, block most of the network advertising, but cannot remove the built-in banners that are stored locally in the Internet. APK-To completely remove the ads, you need a root or modification APK.
Will you be able to get a Google account if you use Lucky Patcher?
Yes, high risk Lucky Patcher modifies APK-files that violate the terms of use of Google Play. If the game detects changes, the account can be blocked (especially in online projects), and the device can be banned from Google services (for example, loss of access to Google Pay).
Why did some games stop working after DNS was blocked?
Some games (like PUBG Mobile or Call of Duty: Mobile) block connections via VPN or custom DNS, as this can be used for cheating.Solution: add the game to the blocker exceptions or temporarily disable it.
How do I know which advertising network is used in the game?
Install Packet Capture or NetGuard and see which domains the game loads during the ad run, usually domains like googleads.g.doubleclick.net, unityads.unity3d.com or adservice.google.com.
Can you get it back if the game stops running after the changes?
If you edited hosts, return the original file. If you used Lucky Patcher, reinstall the game from Google Play. If you changed the DNS, return the standard network settings. In extreme cases, reset the phone to the factory settings (but that will delete all the data!).