How to remove ad blocking on Xiaomi: a complete guide with 5 proven methods

Owners of Xiaomi, Redmi and POCO smartphones often face a problem: built-in ad blocking in MIUI interferes with the work of applications, sites and even system services. The ad blocking feature in Security Settings can break the display of banners in games, block push notifications or disrupt the operation of web pages.

In this article, we’ll look at all the current ways to disable ad blocking on Xiaomi devices, including hidden settings, ADB commands, changing DNS and even modifying system files for advanced users. Each method is tested on the latest versions of MIUI 14/15 (including global and Chinese firmware) and is suitable for models from Redmi Note 10 to Xiaomi 14 Ultra flagships.

Why Xiaomi is blocking ads and can it be turned off?

MIUI Ad Blocking was introduced in 2019 as part of the Security App, originally intended to protect users from fraudulent websites and malicious banners, but has since aggressively filtered any ad content, including:

  • πŸ“± Mobile Games (Free Fire, PUBG Mobile, Genshin Impact)
  • 🌐 Advertising blocks on websites (Google AdSense, Yandex.Direct)
  • πŸ”” Push notifications from apps (for example, discounts on AliExpress or Wildberries)
  • πŸ“Ί Built-in advertising on YouTube, TikTok and other services

The problem is compounded by the fact that MIUI automatically activates blocking after updates or reboots, even if you manually disabled it, which is due to Xiaomi’s policy of β€œprotecting user data” – the company actively fights trackers and ad networks, but often does it too radically.

⚠️ Note: On devices with Chinese firmware (China) ROM) Ad blocking is hardwired into the system, and deactivating it may require a change of region or a global/European version. MIUI.

Method 1: Standard shutdown via MIUI settings

The easiest method is to use the built-in options, which is suitable for most users and does not require technical skills.

  1. Open the Security app (shield icon).
  2. Go to Ad Blocking (or Ad Blocking in English).
  3. Turn off the slider Block Advertising.
  4. Go back to the main Security menu and open Settings (βš™οΈ) β†’ Auto-start.
  5. Find in the list of Ad Blocking and turn off AutoRun.

If the lock is activated again after the reboot, try the additional step:

  • πŸ”§ Go to Settings. β†’ Annexes β†’ Application management.
  • πŸ” Find Security (com.miui.securitycenter).
  • πŸ“΅ Turn off notifications and background activity.

Check the version of MIUI (Settings β†’ About the phone)

Disable Auto-Update of the Security Application

Delete the cache of the Security app (Settings β†’ Applications β†’ Storage)

Reboot the device after changes-->

This works on 60-70% of devices, but on some firmware (especially Chinese) the option may be hidden or blocked.

Method 2: Disconnect via ADB (without root)

If the standard settings do not help, you can use ADB-This method doesn't require root rights, but it requires a computer and enabled debugging. USB.

Step-by-step:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. Tap 7 times on MIUI Version.

USB debugging

Settings β†’ Additional β†’ For Developers

Connect your phone to your PC and confirm your trust in your computer.

ADB Tools

ADB

adb shell pm disable-user --user 0 com.miui.privacy
adb shell pm disable-user --user 0 com.miui.securitycenter

Once you've done the commands, restart the device, block the ads at the system level, and then you can turn it back on, use:

adb shell pm enable com.miui.privacy


adb shell pm enable com.miui.securitycenter

⚠️ Note: Disabling com.miui.securitycenter may disrupt some security features (e.g. virus scanning.

Standard settings MIUI|ADB-team|Change of change DNS|Root access|I've tried nothing.-->

Method 3: Changing the DNS to bypass the lock

If ads are blocked at the network level (e.g. in a browser or applications), alternatives can be used. DNS-This method does not disable the function itself. MIUI, It allows you to bypass the limitations.

Instructions:

  1. Go to Settings. β†’ Wi-Fi (or Mobile Network).
  2. Click on the current network β†’ Change the network β†’ Additional settings.
  3. In the field DNS Select Manually and enter one of the addresses: 🌍 Google DNS: 8.8.8.8 and 8.8.4.4 🌍 Cloudflare DNS: 1.1.1.1. and 1.0.0.1. 🌍 AdGuard DNS (Blocks advertising, but does not conflict with MIUI): 94.140.14.14 and 94.140.15.15

Save the settings and restart the device.

DNS-serverAdvantagesDeficiencies
8.8.8.8 (Google)High speed, stabilityIt does not block ads, it only bypasses MIUI restrictions.
1.1.1.1 (Cloudflare)Privacy, DoH supportIt may conflict with some banking applications
94.140.14.14 (AdGuard)Blocks malicious advertising, but does not interfere with legitimate bannersIt can slow down the loading of some websites.

This is particularly effective for web advertising (websites, YouTube) and push notifications, but it won’t help if the blocking happens at the application level (e.g. in games).

Method 4: Disable through system file editing (for advanced)

If you are willing to take more drastic measures and you have root access or unlocked Bootloader, you can disable ad blocking by editing system files, a method not recommended for beginners, as incorrect actions can lead to a device blink.

Step-by-step:

  1. Install Root Explorer (such as FX File Explorer or Solid Explorer).
  2. Go to /system/priv-app/MiuiSecurityCenter/MiuiSecurityCenter.apk and rename the file to MiuiSecurityCenter.apk.bak.
  3. Similarly, find and rename: /system/priv-app/PrivacyProtection/PrivacyProtection.apk
  4. Reset the device.

After that, the ad-blocking components will stop working, so to get it back, just return the original names to the files.

⚠️ Note: On some devices (Xiaomi) 12/13/14 files can be protected by dm-verity, and if you modify them without turning off the check, you will have a bootloop. TWRP!

What if the phone does not turn on after editing system files?
If the device is stuck on the MI logo or boots into fastboot, follow the following steps: 1. Boot into Fastboot mode (press Power + Vol Down). 2. Connect the phone to your PC and check the connection with the command: fastboot devices 3. Refuse the original boot.img: fastboot flash boot.img 4. If the problem persists, perform a full flash flash flash through the Mi Flash Tool (selecting the Clean All option).

Method 5: Reset security settings (last resort)

If none of these methods worked, you can try resetting the Security app to the factory settings, which will remove all user lock rules and return the system to its original state.

Instructions:

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Find Security (com.miui.securitycenter).
  3. Open Warehouse β†’ Clear the data and Clear the cache.
  4. Reset the device.
❓ How to Check if Ad Blocking Is Actually Disabled?
To make sure that the ads are no longer filtered: Open a site with test ads, for example: https://pagead2.googlesyndication.com. Run a game with banners (for example, Subway Surfers or Candy Crush). Check the network log through the NetGuard or PCAPdroid application - if requests to advertising domains (doubleclick.net, googleads.g.doubleclick.net) are blocked, then the function is disabled.net
❓ Is it legal to disable ad blocking on Xiaomi?
There is no legal prohibition against disabling the built-in features of your device: πŸ“œ Xiaomi may consider this a violation of the user agreement (especially if you use informal methods such as: ADB root). πŸ”„ Disabling system components may deprive you of warranty (if the device is warranted, it is better to use methods without modifying the system). 🌍 In some countries (e.g. the EU), users have the right to have full control over their device, including disabling pre-installed software.