Xiaomi Redmi 9A owners often face intrusive ads that appear in the settings menu, on the lock screen, in standard apps and even in notification panels. The manufacturer has integrated advertising modules deep into the MIUI shell, making it a non-trivial task, but there are legal and technical methods that allow you to not remove ads completely, then at least minimize them.
In this article, we will look at all the available ways, from basic settings in the smartphone interface to advanced methods using ADB and third-party tools. It is important to understand that some solutions require unlocking the bootloader or superuser rights, which can affect the warranty and stability of the device, we will specify the risks and alternatives for each option.
So let's start with the most basic methods, which don't require technical skills, and then we move on to the more complex ones.
1. disable personalized advertising in MIUI settings
The first and safest step is to deactivate the options associated with targeted advertising. This will not remove all banners, but will reduce their number and relevance. MIUI 12/13/14 on the Redmi 9A:
- Open Settings โ Google โ Advertising.
- Activate the switch "Disable personalized advertising".
- Return to the main settings menu and go to Settings โ Additional โ Privacy.
- Select "Advertising Services" and deactivate the "Personalized Recommendations" option.
- In the same section, click "Reset Advertising ID".
These actions will limit the collection of data about your activity, but will not remove the built-in ad modules in the Mi Browser, Mi Video or Themes apps.
โ ๏ธ Note: After the advertising reset ID Some services (such as the Google Play Store) may temporarily not work properly.
2. Removal of Advertising in Standard Xiaomi Apps
Mi Browser, Mi Video, Themes and Cleaner are the main sources of advertising on Redmi 9A. They can be either customized or replaced with banner-free analogues.
Configuring embedded applications
- ๐ Mi Browser: Open your browser โ โฎ โ Settings โ Additionally. โ Turn off "Recommended Content" and "Show news on the homepage".
- ๐ฌ Mi Video: Go to the app โ Profile โ Settings โ Recommendations โ Deactivate all switches.
- ๐จ Themes: In the subject app, go to Profile โ Settings โ Notifications and disable "Advertising Notices".
- ๐งน Cleaner: Open the utility โ โฎ โ Settings โ uncheck the box with "Show recommendations".
Replacement with third-party analogues
If the setting doesnโt work, install alternatives from Google Play:
| Standard annex | An Advertising-Free Alternative | Download link |
|---|---|---|
| Mi Browser | Bromite / Firefox Focus | Firefox Focus |
| Mi Video | VLC / MX Player | VLC |
| Themes | Hex Installer / Substratum | Hex Installer |
| Cleaner | SD Maid / Files by Google | SD Maid |
After replacing standard apps, be sure to disable or freeze the original ones through settings (Settings โ Applications โ Application Management โ Disable) so they donโt consume resources in the background.
โ๏ธ Preparation for replacement of applications
3. Blocking Advertising through ADB (without root)
The Android Debug Bridge (ADB) method allows you to disable system advertising services without obtaining root rights.This is a semi-official way that does not violate the warranty, but requires connecting a smartphone to a PC.
3.1 Preparation
- Download and install Platform Tools (includes adb.exe).
- On your smartphone, activate the developer mode: Settings โ About Phone โ MIUI version (click 7 times).
- Return to Settings โ Additional โ For developers and enable โDebugging by USBโ.
- Get Redmi on board. 9A PC-only USB-cable (select "File Transfer" mode").
Execution of commands
Open the command prompt (cmd) in the folder with the platform-tools and enter sequentially:
adb devices(Your device should show up. If not, check the drivers.)
adb shell pm disable-user --user 0 com.miui.systemAdSolutionadb shell pm disable-user --user 0 com.android.browseradb shell pm disable-user --user 0 com.miui.analyticsadb shell pm disable-user --user 0 com.xiaomi.midropThese commands disable the main ad modules. Use the same command to restore the service, replacing the disable-user with enable.
โ ๏ธ Attention: After update MIUI Some services can automatically turn on again.
What if the ADB canโt see the device?
4.Use of DNS-filters for blocking advertising
Change of change DNS-Device-level servers or routers allow you to block ad domains before they load, which works for ads in the browser and some applications, but does not affect embedded banners. MIUI.
Setup on a smartphone
- Go to Settings โ Connections and Sharing โ Private DNS.
- Select "Private DNS Host Name" and enter one of the addresses: dns.adguard.com (AdGuard DNS) doh.centraleu.pi-dns.com (Pi-hole) security.cloudflare-dns.com (Cloudflare)
Save the settings and restart the device.
Setup on the router
For global locking on all devices on the network:
- Go to the router control panel (usually 192.168.1.1).
- Find the "DNS" or "Network" section.
- Replace the standard DNS with: 94.140.14.14 (AdGuard) 1.1.1.3 (Cloudflare Family)
Save and restart the router.
The effectiveness of the method depends on the source of the ad, for example, banners in Mi Browser are blocked well, but MIUI system notifications are not.
๐ก
To check the work DNS-Open the dnsleaktest.com page in your browser and make sure that the selected ones are displayed. DNS-server.
5. Disabling advertising through editing the hosts file (requires root)
If you have root rights, you can block ad domains by editing the hosts system file, which is the most radical and requires caution.
Preparation
- Install a file manager with root support (such as Root Explorer or Solid Explorer).
- Download the current list of blocked domains (for example, from GitHub).
- Create a backup of the original /system/etc/hosts file.
Editing by hosts
- Open /system/etc/hosts in the root-access text editor.
- Add to the end of the file a line from the downloaded list (example): 127.0.0.1 ad.xiaomi.com 127.0.0.1 sdkconfig.ad.xiaomi.com 127.0.0.1 tracking.miui.com
- Save the file and set the rights to 644 (rw-r--r---).
- Reset the device.
โ ๏ธ Attention: Incorrect editing of the hosts file can lead to loss of Internet access.Always check the syntax and do a backup!
6. Installation of custom firmware (for advanced users)
The most drastic way to get rid of advertising is to install custom firmware, such as LineageOS or Pixel Experience, which will remove all built-in Xiaomi services, but require:
- ๐ Unlock the bootloader (officially via Mi Unlock Tool).
- ๐ฑ Custom recaveri installations (TWRP).
- ๐ ๏ธ Firmware of alternative OS.
The process takes 1-2 hours and involves the risk of building the device, and detailed instructions for Redmi 9A (codename dandelion) can be found on the XDA-Developers forum.
Pros: complete absence of advertising, security updates from the community, the ability to fine-tune.
Cons: loss of warranty, possible bugs (for example, with a camera or sensors), lack of official updates.
๐ก
Custom firmware is the only way to remove ads 100%, but it is only suitable for experienced users who are willing to sacrifice stability for the sake of cleanliness.
7. Alternative methods and life hacks
If the previous methods didnโt help or seemed too complicated, try these additional techniques:
- ๐ต Do Not Disturb Mode: Activate it on a permanent basis (Settings) โ Notifications โ It will hide push notifications, but not banners in apps.
- ๐ Resetting Advertising Settings: In Settings โ Google โ Advertising click "Reset advertising" ID" weekly.
- ๐ก๏ธ Browser Blockers: Install uBlock Origin extensions (for Firefox) or AdGuard Content Blocker (for Samsung Internet).
- ๐ฒ Disabling background activity: For advertising applications (Settings) โ Annexes โ Permits โ AutoRun) Disable AutoRun for Mi Browser, Mi Video and Cleaner.
Combination of several methods (e.g, ADB + DNS-filter + Replace applications) gives you the best result. Experiment, but don't forget to back up!