Why is Xiaomi getting ads and can it be removed?
Owners of Xiaomi, Redmi, POCO and Black Shark smartphones regularly face the same problem: pop-up ads interfere with the phone, slow the interface and eat traffic, and banner ads appear not only in the browser or apps, but also directly in the settings menu, on the lock screen and even in the notification panel, all due to the MIUI proprietary shell, which is integrated with Xiaomi advertising services by default.
The good news is that you can remove ads without root rights and complex manipulations. The bad news is that some methods require profound changes in the system, which can lead to a loss of warranty or unstable phone performance. In this article, we will examine everything from basic settings to radical solutions for advanced users, and also find out why ads return after a reset and how to avoid it.
Let me warn you right away, if you're using POCO Launcher or MIUI for global firmware (EEA), some of the ad units may be hidden by default, but the Chinese version (China ROM) has to work hard, because there are many more ads. You can check your firmware in Settings β About Phone β MIUI version.
Method 1: Disabling personalized advertising in MIUI
The easiest and safest method is to deactivate advertising services through standard settings, which will not remove all banners, but will significantly reduce their number. MIUI 12/13/14 (including HyperOS for new models).
Go to: Settings β Google β Advertising (or Settings β Additional β Privacy β Advertising for older versions).
Turn it off here.
- π Personalized advertising is the main source of targeted banners.
- π Using data collection β prevents analysis of your actions in the system.
- π Show interest-based advertising β disables responsive ads.
After that, restart your phone. The effect will not be noticeable immediately β it will take 12 to 24 hours for the system to stop showing ads based on your data. Unfortunately, this method does not remove ads in system applications (for example, in Mi Video or Mi Browser), but reduces the number of ads in the interface.
π‘
If the Advertising option is not in the settings, update Google Play services in the Play Store or clear the cache of the Google Play Services app through Settings β Applications β Application Management.
Method 2: Blocking Advertising through MIUI (Hidden Settings)
Xiaomi hides some of the ad settings, but they can be activated through secret menus.This method works on most models, including the Redmi Note 10/11/12, POCO X3/X4/X5 and Mi 11/12/13.
Steps to shut down:
- Open the Settings app.
- Go to About Phone and tap 7-10 times on the MIUI version until the notification βYou became a developerβ appears.
- Return to the main settings menu and open Additional β for developers.
- Activate Debugging over USB (optional, but may be needed for other methods).
- Now go to Settings β Additional β Special Features β MIUI Settings (or Settings β System β Advanced Settings β MIUI Settings).
- Find and disconnect: π’ Promotional notices π― Personalized recommendations π Partner services (if any)
After this action, the ads in the notification panels and system windows should disappear. If items are missing, your firmware can be modified (for example, customized xiaomi.eu), and there are no ads there initially.
Are the developer's rights open?
Is USB debugging activated?
Is the "MIUI settings" section found?
All advertising switches are turned off?-->
Method 3: Remove system applications with advertising (without root)
Some Xiaomi apps (Mi Browser, Mi Video, GetApps, Mi Pay) are the main sources of advertising. They can be disabled or removed without obtaining root rights, but this will require the use of ADB (Android Debug Bridge).
You'll need:
- π₯οΈ Computer with installed ADB Tools.
- π± USB-cable.
- βοΈ Included debugging by USB (see previous section).
Instructions:
- Connect your phone to your PC and type in the command line: Adb devices Make sure the device is identified (it should appear its name).
- Run the command to remove unwanted software (example for GetApps): adb shell pm uninstall --user 0 com.xiaomi.mipicks
- Repeat for other apps: com.miui.browser - Mi Browser com.miui.video - Mi Video com.xiaomi.payment - Mi Pay com.xiaomi.midrop - Mi Drop (if not used)
β οΈ Note: Removing system applications may cause some features to fail (e.g. Mi Pay is needed for contactless payments).If you have problems after deleting, restore the application via the command:
adb shell cmd package install-existing com.xiaomi.mipicksList of safe applications to remove
Method 4: Use DNS-filters for blocking advertising
If the advertisement appears in the browser or applications, it can be blocked at the level DNS-It won't remove the system banners. MIUI, But it will clear the Internet traffic from intrusive ads, and it works on all Xiaomi models, including: POCO M4/M5 redmi 9/10.
How to set up:
- Go to Settings. β Connections β Private DNS (or settings β SIM-maps and mobile networks β Private DNS).
- Select the hostname of the private DNS provider and enter one of the addresses: dns.adguard.com - blocks ads and trackers (recommended). family.adguard-dns.com - + block adult content. 1.1.1.3 - Cloudflare with filtering malicious sites.
Save the settings and restart the phone.
To check the work DNS Open your browser and go to adguard-dns.io. if you are in the "Your" section DNS-Provider displays the selected server - everything is configured correctly.
| DNS-server | What's blocking | Cons |
|---|---|---|
| dns.adguard.com | Advertising, trackers, phishing | It can slow down the loading of some websites. |
| 1.1.1.3 | Malicious and fraudulent websites | Does not block ads in apps |
| family.adguard-dns.com | Advertising + Adult Content | It can block legitimate resources (for example, forums) |
| dns.google | Nothing's blocking. | Only for speed testing |
β οΈ Note: Some banking applications (e.g. SberBank Online or Tinkoff) may conflict with private banking services. DNS. If payments stopped working after the server change, return the standard settings. DNS or add banking sites to the AdGuard exceptions (if you use them).
Method 5: Install custom firmware (for advanced)
If nothing works, the radical method is to reflash the phone to custom firmware without advertising.
- π± xiaomi.eu - official MIUI without advertising and Chinese services (supports) OTA-update).
The firmware process includes:
- Unlock the bootloader via Mi Unlock Tool (requires an account to be linked to Mi and wait 7-15 days).
- Installation of custom recavery (TWRP or OrangeFox).
- Flash firmware via fastboot or recovery.
β οΈ Attention: Custom software firmware will void the warranty and may result in a phone "brick" if an incompatible version is selected. Before you start, check your model's support on the forums. XDA Developers or 4PDA.
Official MIUI (with advertising, but stable)
xiaomi.eu (no ads but with bugs)
LineageOS (Pure Android)
Pixel Experience (like the Google Pixel interface)
I don't know/I don't want to stitch-->
Method 6: Blocking ads through the host file (for experienced)
Another effective method is to edit the hosts file, which is responsible for forwarding requests, and if you add the addresses of Xiaomi's ad servers to it, the system will stop connecting to them, which requires root rights or ADB.
Instructions:
- Download the pre-made hosts file with ad blocking (for example, from Steven Black).
- Connect your phone to your PC and execute the command: adb push path to hosts /sdcard/
- Now transfer the file to the system folder: adb shell su mount -o rw,remount /system cp /sdcard/hosts /system/etc/hosts chmod 644 /system/etc/hosts mount -o ro,remount /system
- Reboot the phone.
If you donβt have root, you can use apps like AdAway (Magisk requires) or Blokada (which works without root, but is less efficient).
π‘
Editing a hosts file blocks system-level advertising, but can disrupt some applications (such as banking or social media).
Method 7: Resetting the phone to factory settings (extreme case)
If the ad appears after updating or installing questionable apps, a complete reset will help.This method will remove all data from the phone, so first:
- π Backup photos, contacts and messages (via Settings) β Google β Backup or Mi Cloud Backup).
- π Write down logins/passwords from accounts (they will disappear!).
- π Make sure you know the username/password from your Mi Account β after resetting, the phone will require confirmation.
For discharge:
- Go to Settings β About the phone β Reset settings.
- Select Delete all data.
- Confirm the action and wait for the reboot.
After reset, donβt restore data from backup β it could bring back ads! Set your phone up as new and turn off ad services immediately (see Method 1 and Method 2).
β οΈ Note: On some models (Redmi Note 8 Pro, POCO F1) After reset, an error "This device is locked" may appear due to binding to the Mi Account. To avoid blocking, untie the device in Settings before resetting. β Xiaomi account β Security β Remove the device.