Xiaomi Redmi 9T owners often face annoying ads in system apps, notifications, and even lock screens. The manufacturer has integrated ad modules into MIUI firmware to monetize budget devices, but this creates discomfort when using. Fortunately, there are several ways to disable ads, from standard settings to advanced methods using ADB.
In this article, we will discuss all the current methods of removing ads on Redmi 9T (model M2010J19SG/M2010J19SY), including hidden MIUI settings, disabling personalized ads and blocking through DNS. Importantly, some methods require connecting to a PC or installing additional applications, but all of them are safe if executed correctly. If you use custom firmware (for example, PixelExperience or LineageOS), advertising in the system will not initially β the problem is relevant only for official MIUI.
1. Disabling Advertising in Standard MIUI Settings
To start with, the simplest of options is hidden in the settings menu. Xiaomi provides the ability to disable some of the ads without using third-party tools, but these options are often hidden or reset after updates.
Go to Settings β About Phone β MIUI version and tap the build number 7 times to activate Developer Mode. Then go back to the basic settings and open a new Developer section. Here, find the USB Debugging option and turn it on, which you will need for further methods.
- π± Advertising in Apps: Open Settings β Annexes β Application management, select the system application (such as Browser or Music) and disable Show recommendations.
- π Advertising Notifications: Go to Settings β Notifications β Additional and deactivate recommendations MIUI and Get publicity.
- πΌοΈ Banners on the lock screen: C Settings β Lock screen disable Recommendations on lock screen and Show ads.
β οΈ Note: After major updates MIUI (For example, 12.5 to 13, some settings may reset.
2.Blocking Advertising through MIUI Personalization
Xiaomi uses a personalized recommendation system (MSA) that collects data about your activity for targeted advertising, and disabling this service will reduce the number of impressions, but will not remove the ads completely.
Instructions:
- Open Settings β Privacy β Special Permits β Personalized recommendations.
- Turn off the slider Personalized recommendations.
- Return to Privacy and select Ads β Deactivate Personalized Ads and Interest-Based Ads.
- Reset the device.
This method will reduce the frequency of ads in Weather, Themes and Browser, but will not affect banners in Settings or App Menu.
Developer mode activated
USB debugging enabled
Backup of important data is made
Xiaomi drivers installed on PC (if necessary) ADB)-->
3.Using ADB to Deeply Disable Advertising
The most effective way is to disable advertising services via Android Debug Bridge (ADB), which requires a PC connection but is guaranteed to remove most banners, and works on all versions of MIUI for Redmi 9T (including MIUI 14).
Download ADB Tools and execute commands in the terminal (command line):
adb shell pm uninstall --user 0 com.miui.systemAdSolution
adb shell pm uninstall --user 0 com.xiaomi.midrop
adb shell pm hide com.android.browser
adb shell settings put global captive_portal_detection_enabled 0These teams:
- π« Remove the system application com.miui.systemAdSolution β the main source of advertising.
- π Disable Mi Drop (file-sharing app showing banners).
- π Hide the standard browser that is integrated with the advertising network Xiaomi.
- π‘ Blocks checking of Internet connection (elimines advertising in the absence of a network).
β οΈ Note: Pm uninstall commands --user 0 It is safe and reversible, and if necessary, applications can be returned via adb shell cmd package install-existing.
What if the ADB canβt see the device?
4. Blocking Advertising through DNS
Alternative method β redirecting advertising domains to βempty" DNS-It doesn't remove ads completely, but it blocks banners from downloading from the network. ADB.
Instructions:
- Open Settings β Connections and Sharing β Private DNS.
- Select the Private DNS Host Name and type in: dns.adguard.com or 1.1.1.3 (DNS from Cloudflare with ad-blocking).
- Save the settings and restart the phone.
| DNS-provider | Address | Efficiency |
|---|---|---|
| AdGuard DNS | dns.adguard.com | Block 80% of advertising in MIUI |
| Cloudflare (Family) | 1.1.1.3 | Block 60-70% of banners |
| NextDNS | Registration is required | Customized filtering (up to 90%) |
| Google DNS | 8.8.8.8 | Don't block ads |
Important: Using third-party DNSs can slow down some sites (such as bank or corporate portals) as they often block "suspicious" domains. If the DNS changes no longer open the necessary resources, return the standard settings.
5. Removing Advertising through Hosts File Editing
For power users, there is a method of blocking ad domains by editing the hosts system file, which requires root rights or using the AdAway application (works without root on some firmware).
If you have root:
- Install any file manager with root support (such as Root Explorer).
- Go to /system/etc/hosts and open the file in the text editor.
- Add the following lines at the end of the file: 127.0.0.1 ad.mi.com 127.0.0.1 data.mistat.xiaomi.com 127.0.0.1 sdkconfig.ad.intl.xiaomi.com 127.0.0.1 globalapi.ad.xiaomi.com
- Save the file and restart the device.
If root is not available, use AdAway (available in F-Droid):
- π± Install the application and provide access to VPN (necessary for redirecting traffic).
- π In the settings, select the source of the hosts file (for example, Adaway Default).
- π Click Apply and Confirm Creation VPN-connection.
β οΈ Note: Editing a hosts file without root can lead to conflicts with others VPN-If banking applications stop working after application, disable AdAway.
π‘
Before editing the hosts file, back it up. To do this, copy the original file to a folder. /sdcard/ name-name hosts_bak.
6. Alternative methods: custom firmware and patches
If the standard methods didnβt help, consider installing custom firmware. Redmi 9T is available:
- π± PixelExperience: firmware based on pure Android without advertising and unnecessary Xiaomi services.
- π§ LineageOS: Lightweight open source firmware. Supports Redmi 9T (juice).
- π‘οΈ MIUI Patched: Modified versions MIUI from the community, for example, MIUI EU), where the advert is removed at firmware level.
Installation process:
- Unlock the bootloader via Mi Unlock Tool (requires a Xiaomi account and wait 7 days).
- Install custom recovery (TWRP) via fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
- V TWRP perform reset (Wipe) β Format Data and install ZIP-firmware.
Installing custom firmware voids the warranty and may result in data loss. Redmi 9T with Android 11+ firmware may need to roll back to an older version of MIUI before installing TWRP.
π‘
Custom firmware completely removes advertising, but requires technical skills, and for beginners, we recommend starting with ADB or DNS methods.
7. Frequent mistakes and how to avoid them
When you turn off ads, users often face problems, and here are the most common solutions.
| Problem. | Reason. | Decision |
|---|---|---|
| Advertising returns after update | MIUI resets settings when updating | Repeat steps with ADB or disable auto updates in Settings β About Phone β System Update |
| ADB does not see the device | There are no drivers or incorrect USB mode | Install Mi PC Suite and select File Transfer mode when connected |
| After the DNS change, the internet is not working. | Incorrectly entered address or conflict with VPN | Check the DNS address (e.g. dns.adguard.com) and disable other VPNs |
| Apps dye after removal via ADB | Critical System Software Removed | Restore the application with the adb shell cmd package install-existing com.xiaomi.midrop command |
If after all the manipulations, the ad remained in a particular application (for example, in Mi Video or Mi Browser), try:
- π Remove updates for system applications in Settings β Annexes.
- π¦ Install alternatives from Google Play (e.g., Google Play, VLC instead of Mi Video).
- π« Disable the application through ADB: adb shell pm disable-user --user 0 com.xiaomi.video.