How to permanently remove ads on Xiaomi Mi: 5 working ways

Advertising on Xiaomi Mi smartphones is one of the most common complaints users have. Even after buying the device, you continue to see banners in system applications, notifications and on the desktop. The manufacturer has integrated ad modules into MIUI firmware at the system level, but that doesnโ€™t mean that it canโ€™t be eliminated. In this article, weโ€™ll look at all the current ways, from basic settings to advanced methods using ADB and modified firmware.

Itโ€™s important to understand that Xiaomi is not breaking the law by advertising โ€“ itโ€™s part of their business model to keep device prices low. However, users in Europe and Russia often face excessive advertising due to regional features of firmware. We tested all methods on the latest versions of MIUI 14 (Android 13/14) and identified those that work consistently without the risk of โ€œbrickingโ€ the device.

If you're willing to spend 10-15 minutes of adjustment - you can remove it to 90% Complete removal will require deeper interventions, which we will also describe with warnings about the possible consequences.

1. disable personalized advertising in MIUI settings

The easiest and safest way is to use the built-in options, which removes only a portion of the ads, but does not require technical skills and is suitable for all Xiaomi Mi, Redmi and POCO models.

Go to Settings โ†’ Google โ†’ Advertising and follow the following steps:

  • ๐Ÿ”น Turn off the Personalized Ads option (this will stop targeted banners based on your activity)
  • ๐Ÿ”น Click "Reset advertising" ID" (This will eliminate your profile for advertisers)
  • ๐Ÿ”น Enable the option โ€œAdvertising Optimizationโ€ (paradoxically, but it reduces the number of impressions)

Next, go back to the basic settings and go to Settings โ†’ About Phone โ†’ MIUI version. Tap 7-10 times on the line with the version to activate the developer mode. Then go to Settings โ†’ Additional โ†’ For developers and turn off:

  • ๐Ÿ“ฑ "Display notices of recommendations"
  • ๐Ÿ“ฑ "Optimization MIUI" (This is not optimization, but background data sending)

โš ๏ธ Note: After the advertising reset ID Some apps (like Google Play Store) may temporarily display more ads, which is normal and will pass through the Internet. 1-2 day-day.

๐Ÿ“Š What kind of Xiaomi model do you have?
Mi 11/Mi 12
Redmi Note 10/11
POCO F3/F4
Another Xiaomi model
I'm not Xiaomi.

2. Manual disabling of advertising in system applications

Many of Xiaomiโ€™s standard apps have hidden ad settings, and weโ€™ve compiled a list of the most โ€œadvertisingโ€ apps and ways to clean them up:

AnnexThe path to settingsWhat to turn off
Mi browserโ‹ฎ โ†’ Settings โ†’ Additionally.Disable "Recommended Content" and "News on the Main"
Music.Profile โ†’ Settings โ†’ RecommendationsTurn off "Personal recommendations" and "Banners on the playback screen"
VideoProfile โ†’ Settings โ†’ Personal DataDisable "Recommendations on the main" and "Partner content"
TopicsProfile โ†’ Settings โ†’ NotificationsTurn off all notifications and "Subject recommendations"
Securityโš™ โ†’ Settings โ†’ NotificationsDisable "Optimization" and "Cleaning Recommendations"

For Notes, ads can only be removed via ADB (this is discussed in the next section), but there are no ads in Calendar and Weather, a myth that has been circulating in forums since 2018.

If you donโ€™t use standard apps, you can disable them (donโ€™t delete them!)

  1. Go to Settings โ†’ Applications โ†’ Application Management
  2. Select an unnecessary app (such as Mi Video)
  3. Click "Disable" (not "Delete Updates")

๐Ÿ’ก

Once system applications are disabled, their icons will disappear from the desktop, but they will remain in the device's memory. MIUI.

3.Using ADB to Deeply Disable Advertising

The ADB (Android Debug Bridge) method allows you to disable system-level ads without root rights. This works on all Xiaomi Mi models, including the Mi 11, Mi 12, Mi 13 and the budget Redmi Note series. You will need a computer with Xiaomi drivers installed and USB debugging enabled.

Step-by-step:

  1. Activate Developer Mode (as described in the first section)
  2. Enable debugging over USB in Settings โ†’ For developers
  3. Connect your phone to your PC and confirm your debugging permission
  4. Download ADB Tools and unpack it into a separate folder.
  5. Open the command line (Win + R โ†’ cmd) in this folder

Now enter these commands sequentially (copy one, press Enter after each):

adb shell pm hide com.miui.systemAdSolution


adb shell pm hide com.android.browser




adb shell settings put global hidden_api_policy 1




adb shell settings put global captive_portal_detection_enabled 0




adb shell settings put global captive_portal_https_url https://connectivitycheck.gstatic.com/generate_204




adb shell settings put global captive_portal_http_url http://connectivitycheck.gstatic.com/generate_204

These teams:

  • ๐Ÿ›ก๏ธ Disable the system advertising module com.miui.systemAdSolution
  • ๐ŸŒ Block the standard browser (the main source of advertising)
  • ๐Ÿ”ง Allow access to hidden API (You need some teams)
  • ๐Ÿ“ก Disable Internet connection checks through advertising servers

โš ๏ธ Note: After completing these commands, do not update system applications through the Play Market - this may return advertising. SIM-The cards may not work properly.

Install Xiaomi drivers on PC|

Enable debugging over USB on your phone |

Download ADB Tools from the official website|

Connect the phone with the original cable |

Start the command line on behalf of the administrator-->

4. Installation of alternative firmware (for advanced)

If you're willing to take drastic measures, you can install custom firmware without advertising.

  • ๐Ÿ“ฑ Xiaomi.eu โ€“ modified MIUI without advertising and Chinese services (supports) OTA-update)
  • ๐Ÿค– LineageOS โ€“ โ€œcleanโ€ Android without branded applications Xiaomi
  • ๐Ÿ”ฅ Pixel Experience โ€“ firmware with an interface like Google Pixel
  • โšก ArrowOS โ€“ light firmware with minimalist design

The installation process requires unlocking the bootloader, which is officially supported by Xiaomi, but has limitations:

  • ๐Ÿ”“ Unlocking takes 7-14 Days (you need to link your Mi Account)
  • ๐Ÿ“‰ The warranty is maintained, but the service center may refuse repairs under warranty.
  • ๐Ÿ”„ After installing custom firmware OTA-formalization MIUI will not work

Instructions for installing Xiaomi.eu:

  1. Unlock the bootloader through the official tool
  2. Download the firmware for your model from Xiaomi.eu
  3. Install it through TWRP (Castom Recovery)
  4. Make wipe dalvik/cache after installation

Benefits of Xiaomi.eu:

  • ๐Ÿš€ Total absence of advertising (all advertising modules removed)
  • ๐ŸŒ Support for all languages, including Russian
  • ๐Ÿ”„ Regular weekly updates
  • ๐Ÿ›ก๏ธ No Chinese apps and surveillance

โš ๏ธ Note: On some models (Mi) 10T, Mi 11 Lite) firmware Xiaomi.eu may conflict with the module NFC โ€” Check user reviews before installing.

What happens if you install an inappropriate firmware?
Incompatible firmware can cause a device to "brick" (total inoperability) symptoms: constant reboot, black screen, no response to buttons. 80% of the time, this is fixed by flashing through the Fastboot, but for some models (for example, Mi Mi). A3) You may need to use soldering equipment for recovery EMMC-chip.

5. Disabling Advertising via DNS and Hosts File

Another effective method is blocking ad servers at the network level, which works for banners in the browser, some system notifications and in-game advertising.

Method 1: Changing the DNS

Go to Settings โ†’ Wi-Fi โ†’ Additional โ†’ DNS settings and select Manual. Enter one of these addresses:

  • ๐Ÿ”’ 1.1.1.3 (Cloudflare Family โ€“ blocks malicious and advertising sites)
  • ๐Ÿ›ก๏ธ 94.140.14.14 (AdGuard DNS)
  • ๐ŸŒ 84.200.69.80 (DNS.WATCH โ€” denless)

Method 2: Editing a hosts file (requires root rights)

If you have root, you can add lines to /system/etc/hosts to block ad domains.

127.0.0.1 ad.xiaomi.com


127.0.0.1 sdkconfig.ad.xiaomi.com




127.0.0.1 tracking.miui.com




127.0.0.1 data.mistat.xiaomi.com

To automate this process, use the applications:

  • ๐Ÿ“ฑ AdAway (requires root)
  • ๐Ÿ›ก๏ธ Blokada (works without rooting through the VPN)
  • ๐Ÿ”’ DNS66 (lockdown via hosts)

These methods block up to 70-80% of ads, including banners in Mi Browser, Facebook and some games, but they do not affect the built-in advertising in Xiaomi system applications โ€“ this requires methods from the previous sections.

๐Ÿ’ก

Change of change DNS โ€” The safest way to block ads, but it doesnโ€™t work for system notifications MIUI. For full effect, combine with ADB-team.

6.Resetting to factory settings - a radical solution

If you tried all the methods, but the ads stayed, sometimes it helps to reset completely and then set it up correctly, which is suitable for new devices or if you are ready to lose all the data.

Instructions:

  1. Backup important data (photos, contacts, messages)
  2. Go to Settings โ†’ About the phone โ†’ Reset settings
  3. Select "Erase all data"
  4. After the reboot, do not log in to your Mi Account during the initial setup phase.
  5. Skip all synchronization and personalization offers
  6. Turn off ads immediately through settings (Section 1 of this article)

Why it works:

  • ๐Ÿ”„ Reset removes all accumulated data for targeted advertising
  • ๐Ÿšซ Rejecting Mi Account Prevents Synchronization of Advertising Profiles
  • โšก A clean system is easier to configure through ADB

โš ๏ธ Warning: Without a Mi Account, you will lose access to some features: cloud backup, device search, themes, and some system updates. weigh the pros and cons before you unsubscribe.

7. Frequent mistakes and how to avoid them

Many users have trouble trying to remove ads, and we've collected some of the most common mistakes and solutions:

Problem.Reason.Decision
After ADB-commands, advertising is backUpdating System Applications Through Play MarketTurn off auto-update for all Xiaomi apps
Some functions do not work after blocking the DNSBlocking the servers (for example, push notifications)Use the whitelist in AdGuard or Blokada
The device does not turn on after firmwareIncompatible firmware version or interrupted processSweat through the Fastboot official firmware
The advertisement remained in the "Themes" app.It is a system application with deep integrationUse it. ADB-Command: adb shell pm hide com.android.themes

What NOT to do:

  • โŒ Remove system applications through root (this breaks down dependencies)
  • โŒ Use the "magic" apps from the Play Market such as "No Ads for" MIUI" (Most are viruses)
  • โŒ Disable all Google services (this will disrupt many applications)
  • โŒ Switching a device without a backup of data

FAQ: Answers to Frequent Questions

โ“ Why After Updating MIUI commercials are back?
System updates often reset custom ad settings. After update: Repeat steps from Section 1 (disable personalized ads) ADB-Commands (section 3) Check if system applications have been updated through Play Market MIUI 14 added protection against changes through ADB โ€” If the teams donโ€™t work, try the custom firmware method.
โ“ Can you remove advertising without a computer?
Yes, but the effectiveness will be lower. Use a combination of methods: Turn off personalized advertising (section 1) Install Blokada or DNS66 to block ad servers Disable unnecessary system applications (section 2) This will remove up to 60-70% of ads. Complete removal requires a computer (ADB) or custom firmware.
โ“ Is it safe to use? ADB-team?
Yes, if you follow proven instructions. Do not delete system files (only disable modules) Do not disrupt the basic functions of the phone Can be canceled by repeating commands with pm unhide Risks are minimal, but do not interrupt the process while executing commands and use the original USB-cable.
โ“ How to remove ads in Mi Browser?
There are three ways: Disable in browser settings (section 2) Remove updates through Settings โ†’ Annexes โ†’ browser โ†’ โ‹ฎ โ†’ Replace the updates with another browser (e.g. Chrome or Firefox) and disable the standard browser via ADB: Adb shell pm hide com.android.browser The last way is the most reliable โ€“ the standard Xiaomi browser will be completely hidden from the system.
โ“ Why some websites stopped using authorization after the change DNS?
Some websites (especially banking and government) block access when using public services. DNS Cloudflare or AdGuard solutions: Temporarily return the standard DNS From provider Use Blokada with โ€œPauseโ€ function for specific applications Add problematic sites to the whitelist in AdGuard settings DNS For Sberbank Online and public services often helps disconnection VPN/Blockers at the time of authorization.