Xiaomi Redmi 9A owners often face intrusive ads in system applications, notifications, and even on the lock screen. The manufacturer has integrated advertising modules into the MIUI shell for monetizing budget devices, but this creates discomfort when using. In this article, we will analyze all the working ways to disable advertising, from standard settings to advanced methods using ADB.
It is important to understand that Redmi 9A with global firmware (EEA) advertising is much less than in the Chinese or Indian version of MIUI. If your device was bought in Russia or Europe, some methods may not be necessary.
Before you start settings, make sure your Redmi 9A has the latest version of MIUI installed. Check this in Settings β About Phone β System Update. Outdated firmware versions may not support some ad-disabled settings.
1. disable personalized advertising in MIUI settings
The easiest way to reduce impressions is to deactivate ad personalization, which wonβt remove all banners, but will make them less intrusive and relevant.
Go to Settings β Google β Advertising and:
- πΉ Turn off the slider "Personalized Advertising"
- πΉ Click "Reset advertising" ID" (This will nullify your profile for targeted advertising)
- πΉ In the "Interests" section, delete all categories that the system has collected about you.
Then go back to the basic settings and go to Settings β Applications β Application Management β All apps. Find Msa (Mobile Services Framework) and:
- π΅ Turn off Auto Start"
- π« Disable displays over other windows ("display over")
- π Restrict access to "Notifications"
π‘
If you donβt have Msa in the list of applications, try finding com.miui.systemAdSolution, which is the main module responsible for system advertising.
2. Manual disabling of advertising in system applications
Ads in Redmi 9A are most often found in standard Xiaomi utilities, and letβs look at how to remove them in each of them.
Security appendix:
- Open the app and go to Settings (β) β About the programme
- Tap. 5-7 once on the line βVersionβ MIUI", until the message "Additional settings unlocked" appears"
- Go back and open a new section called βAdditional Settingsβ.
- Turn off the "Advertising Recommendations" slider
Annex "Themes" (Themes):
- π¨ Go to Profile. β Settings β Advertising preferences
- π Uncheck all boxes: "Personalized recommendations", "Show ads"
- π Update your app through Google Play β sometimes newer versions contain less advertising
Music appendix (Music):
- π΅ Go to Settings. β Additionally. β Advertising settings
- π« Turn off "Show ads on the player screen" and "Advertising banners"
- π Alternative: Install a third-party player (for example, VLC poweramp)
What to do if there is no βAdvertising Settingsβ item?
3.Using ADB to Deeply Disable Advertising
If standard methods donβt work, youβll need to connect to your phone via Android Debug Bridge (ADB), which requires a computer but has the maximum effect.
Preparation:
- Download ADB Tools for your OS
- Enable USB Debugging on your phone: Settings β About Phone β MIUI Version (Tap 7 times), then Settings β Additional β For Developers β Debugging on USB
- Connect Redmi 9A to your PC and confirm your trust in the device
Commands to disable ads:
adb shell pm hide com.miui.systemAdSolution
adb shell pm hide com.xiaomi.midrop
adb shell pm hide com.android.browser
adb shell settings put global captive_portal_detection_enabled 0After you execute the commands, restart the phone.
- π‘οΈ Disable the system module of advertising systemAdSolution
- π΄ Remove ads in Mi Drop and standard browser
- π Stop checking the captive portal (which sometimes shows ads when connecting to Wi-Fi)
Original connected USB-cable|Debugging is on. USB|Drivers installed ADB PC-only|Backup of important data is made|Battery charge >50%-->
4. Alternative methods: disabling via DNS and host file
Blocking ad servers at the DNS level or through a hosts file modification is an effective way to do so without root rights.
Method 1: Replacement of DNS
- π‘ Go to Settings. β Wi-Fi (or Mobile Network)
- π§ Tap on the current network. β "Change the network" β "Additionally"
- π’ In the field "DNS" Type 1.1.1.1 (Cloudflare) or 94.140.14.14 (AdGuard) DNS)
Method 2: Editing the hosts file
This will require a file manager with access to the root folder (e.g. FX Explorer or Solid Explorer):
- Open the way /system/etc/hosts
- Add the following lines to the end of the file: 127.0.0.1 ad.mi.com 127.0.0.1 globalapi.ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com
- Save the file and restart the phone
π‘
Changing the hosts file without root rights is possible only on some versions. MIUI. If the file is not saved, use it. ADB-Command: adb shell "echo '127.0.0.1 ad.mi.com' >> /system/etc/hosts"
5. Install custom firmware (for advanced users)
The radical solution is to install an alternative version of MIUI or custom build (like LineageOS or Pixel Experience), which will completely remove all advertising modules, but will require unlocking the bootloader.
Advantages:
- β Complete absence of system advertising
- β More recent versions of Android
- β Additional configuration functions
Risks:
- β οΈ Loss of guarantee
- β οΈ Possible bugs in the work of the camera or sensors
- β οΈ Difficulty returning to standard firmware
Instructions for unlocking the bootloader are officially provided by Xiaomi at en.miui.com/unlock. Once unlocked, you can flash Redmi 9A via Fastboot or TWRP.
How to check if the bootloader is unlocked?
6. Third-party applications for blocking advertising
If previous methods didnβt work, you can use specialized utilities that work at the VPN or local proxy level, filtering advertising traffic.
| Annex | Type of lockdown | Need root? | Reference |
|---|---|---|---|
| AdGuard | Local VPN | β No. | Official website |
| Blokada | DNS + host list | β No. | Official website |
| NetGuard | Domain locking | β Yes (for full functionality) | GitHub |
| DNS66 | DNS-filtering | β No. | F-Droid |
For maximum efficiency, combine AdGuard with a modified DNS.
- Install AdGuard from Google Play
- In the application settings, select "Advertising Filter" and "Tracer Filter"
- Activate DNS Protection and specify server 94.140.14.14
π‘
You can import additional filters for MIUI in AdGuard. Download this list: miui.txt and add it to User Filters.
7. Frequent mistakes and how to avoid them
When trying to turn off ads, Redmi 9A users often face typical problems, and let's look at some of the most common ones.
Problem 1: After the ADB shutdown, the advert returns
β οΈ Note: Xiaomi periodically resets settings ADB To fix the changes, follow the command: adb shell cmd package compile -m speed -f com.miui.systemAdSolution This will block the system-level ad module.
Problem 2: DNS change is not working
- π Check what you're editing. DNS for current connection (Wi-Fi or mobile network)
- π Restart your phone after changing your settings
- π± Make sure there are no conflicts with VPN-Applications (turn them off before the test)
Problem 3: Security App prevents ads from being turned off
β οΈ Note: In some regional versions MIUI Solution: Change Xiaomi account region to India (in account settings) Install APKMirror Installer and download the Security version for the Indian region from APKMirror APK top-end