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.
- Open the Security app (shield icon).
- Go to Ad Blocking (or Ad Blocking in English).
- Turn off the slider Block Advertising.
- Go back to the main Security menu and open Settings (βοΈ) β Auto-start.
- 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:
- 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.privacyadb shell pm disable-user --user 0 com.miui.securitycenterOnce 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:
- Go to Settings. β Wi-Fi (or Mobile Network).
- Click on the current network β Change the network β Additional settings.
- 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-server | Advantages | Deficiencies |
|---|---|---|
| 8.8.8.8 (Google) | High speed, stability | It does not block ads, it only bypasses MIUI restrictions. |
| 1.1.1.1 (Cloudflare) | Privacy, DoH support | It may conflict with some banking applications |
| 94.140.14.14 (AdGuard) | Blocks malicious advertising, but does not interfere with legitimate banners | It 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:
- Install Root Explorer (such as FX File Explorer or Solid Explorer).
- Go to /system/priv-app/MiuiSecurityCenter/MiuiSecurityCenter.apk and rename the file to MiuiSecurityCenter.apk.bak.
- Similarly, find and rename: /system/priv-app/PrivacyProtection/PrivacyProtection.apk
- 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?
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:
- Go to Settings β Applications β Application Management.
- Find Security (com.miui.securitycenter).
- Open Warehouse β Clear the data and Clear the cache.
- Reset the device.