Xiaomi Redmi Note 9S owners often face intrusive ads in system applications, browsers, and even lock screens. The manufacturer has integrated advertising modules into the branded MIUI shell to monetize cheap smartphones. However, constant banners, pop-ups and โrecommendationsโ annoy users, slow down the device and consume traffic. This article will help to completely or partially get rid of advertising in legal and technical ways, from simple settings to deep modifications of the system.
It's important to understand that Redmi Note 9S (codename curtana) runs on MIUI 12/13/14 depending on the firmware version. Ad removal methods differ for global (Global ROM), Chinese (China ROM) and European (EEA ROM) versions. We'll look at universal solutions, and point out nuances for specific regions. If you're willing to sacrifice some functionality for the sake of clean interface, some ways will require unlocking the bootloader and installing custom firmware.
Warning: Interfering with system files can lead to loss of warranty or unstable operation of the device.You do everything at your own risk. For beginners, we recommend starting with safe methods (sections 1-3), and for experienced users, radical solutions will be suitable (sections 4-6).
1. disable personalized advertising in MIUI settings
The easiest and safest way to reduce the amount of ads is to deactivate personalized ads in the settings menu, which does not remove ads completely, but significantly reduces their appearance in system applications (Browser, Music, Themes).
Instructions:
- ๐ฑ Open the Settings. โ Google โ Advertising (or Settings) โ Additionally. โ Confidentiality โ Advertising in new versions MIUI).
- ๐ Switch the slider "Personalized advertising" to the off position..
- ๐๏ธ Click "Reset advertising" ID" and confirm the action.
- ๐ Go back to the main settings and go to Settings โ Annexes โ Application management โ Triple point (โฎ) โ Special access โ Disable permission for Msa (Mobile Services Ads).
This method works on all versions of MIUI, but has limitations:
- โ Does not remove ads in the weather, calendar and notes.
- โ Does not block banners on the lock screen (if they are included in the theme).
- โ Reduces the number of targeted ads in the browser and theme store.
โ ๏ธ Note: After the advertising reset ID Some apps (like the Google Play Store) may temporarily not work properly.Reboot your device if you notice a crash.
2. Manual disabling of advertising in system applications
Many of Xiaomiโs standard apps have built-in ad modules that can be manually deactivated, a method that takes longer, but allows you to pinpoint ads where they interfere the most.
List of applications with advertising settings:
| Annex | The path to settings | What to turn off |
|---|---|---|
| browser | โฎ โ Settings โ Additionally. โ Advertising | Disable "Personalized recommendations" |
| Music. | Profile โ Settings โ Advertising | Turn off "Show ads" |
| Topics | Profile โ Settings โ Advertising preferences | Reset the advertising ID |
| Weather. | โฎ โ Settings โ Notifications | Disable "Advertising Notices" |
| Calendar | โฎ โ Settings โ Notifications | Remove the box from "Special Offers" |
We further recommend:
- ๐ซ Disallow background activity for Msa (Settings) โ Annexes โ Application management โ Msa โ Battery โ Limit background activity).
- ๐ต Disable notifications from Mi Video, Mi Browser and GetApps.
- ๐ Clean the cache of these applications regularly (once every 1-2 weeks).
โ ๏ธ Note: In some regional versions MIUI (For example, in Indian, menu items may be called differently. If you don't find the settings, check the firmware version in Settings. โ The phone. โ Version. MIUI.
Make a backup copy of the data|Write down the version MIUI and assembly number|Connect the phone to charge (minimum 50%)|Install ADB-Drivers on PC (if you plan to use commands)
-->
3.Use of ADB-commands to block ads
For users who are ready to connect the Redmi Note 9S to a computer, there is a method to disable ads via Android Debug Bridge (ADB), which removes advertising packages at the system level without requiring root rights, but will require unlocking OEM Unlock in the developer settings.
Step-by-step:
- Activate Developer Mode: Go to Settings โ About Phone and click on MIUI Version 7 times.
- Back to Settings โ Additionally. โ For developers and include: ๐ง Debugging by USB ๐ Unlocking OEM (crucial!)
ADB Tools
File transfer
adb devices(A device with a serial number must appear).
adb shell pm uninstall --user 0 com.miui.analytics
adb shell pm uninstall --user 0 com.xiaomi.joyose
adb shell pm uninstall --user 0 com.miui.systemAdSolution
adb shell pm uninstall --user 0 com.android.browser
adb shell pm hide com.duokan.phone.remotecontrollerCritical: pm hide only works on MIUI 12.5+. For older versions, use pm uninstall, but this can cause some features to crash (e.g., deleting the browser will block link opening from other applications).
After completing the commands, restart the device. The ads should disappear from:
- ๐ฑ Lock screen (if it was built into the theme).
- ๐ System applications (Weather, Calendar).
- ๐ Browser (to be used by Google Chrome default).
๐ก
If, after the execution, ADB-Some applications have stopped working โ restore them with the adb shell cmd package install-existing command <packet>. The list of deleted packages can be viewed in Settings โ Annexes โ Application management โ Remote.
4. Installation of alternative firmware (without advertising)
The most radical, but also the most effective way is to flash the Redmi Note 9S to custom firmware without advertising modules.
- ๐ Xiaomi.eu โ European firmware without advertising, with support OTA-update.
- โก Pixel Experience โ โpureโ Android without shell MIUI.
- ๐ LineageOS - light firmware with minimalist interface.
Installation process:
- Unlock the bootloader through Mi Unlock Tool (requires a Xiaomi account binding and a wait of 7-15 days).
- Download firmware for the curtana model (for example, with XDA Developers).
- Install TWRP Recovery via fastboot: fastboot flash recovery twrp.img fastboot boot twrp.img
- In TWRP, run Wipe โ Format Data (this will delete all data!).
- Sweep through the downloaded firmware and GApps (if you need Google services).
Advantages of custom firmware:
- โ Total absence of advertising at the system level.
- โ Regular security updates.
- โ Ability to fine-tune the interface.
โ ๏ธ Warning: Installing unofficial firmware voids warranty and may cause problems with Widevine L1 (Downgrading streaming quality at Netflix, Disney+). Before firmware, check model compatibility on the developer forum.
What if the camera doesnโt work after the firmware?
5. Blocking ads through the hosts file (without root)
If you don't want to flash your phone, but you're willing to do a little bit of technical manipulation, you can block Xiaomi ad servers through hosts, which doesn't require root rights, but requires ADB.
Instructions:
- Download the current hosts file (select the option with ad blocking and trackers).
- Connect your phone to your PC and do: Adb shell su -c"mount -o rw,remount /system" su -c"cp /sdcard/hosts /system/etc/hosts" su -c"chmod 644 /system/etc/hosts" su -c"mount -o ro,remount /system" (If there is no root, use adb push hosts. /data/local/tmp/hosts && adb shell"su -c'cp /data/local/tmp/hosts /system/etc/hosts'").
- Reset the device.
This method blocks access to advertising servers, but has limitations:
- โ Removes banners in Browser, Music, Temakh.
- โ Does not affect the built-in Weather or Calendar ads (it is downloaded from local resources).
- โ ๏ธ It may break down after the update. MIUI (repeat the procedure).
๐ก
Blocking through the hosts file is a compromise option for users who do not want to flash the phone, but are ready for periodic repetition of the procedure after updates.
6. Disabling Advertising through Magisk and Modules
If you already have root rights (installed by Magisk), you can use dedicated modules to block ads, which is the most flexible method and allows you to point-to-point remove advertising components.
Recommended modules for Redmi Note 9S:
- ๐ก๏ธ AdAway โ blocks ad domains via a hosts file (similar to the method in Section 5, but with automatic updates).
- ๐งน MIUI Blocker โ a specialized module for removing advertising in MIUI (removes banners on the lock screen, in Settings and the Security Center).
- ๐ Universal AdBlock โ Blocks ads in all apps, including games.
How to determine:
- Download the module (a file with the.zip extension) from XDA Developers or Magisk Repo.
- Open Magisk Manager and go to Modules.
- Click "Install from storage" and select the downloaded file.
- Reset the device.
For MIUI Blocker, after installation, you need:
- Start Terminal Emulator or connect via ADB.
- Execute the command: su miui_blocker
- Select the option โBlock all adsโ from the menu (block all ads).
โ ๏ธ Note: Some modules (e.g, MIUI Blocker may conflict with updates MIUI. Before upgrading the system, temporarily disable the module in Magisk, and after the update, install it again.
7. Reset to factory settings (last resort)
If all of the above methods did not work, and the advertising appeared after the MIUI update, you can perform a hard reset to the factory settings, which will return the system to its original state, but delete all data (photos, contacts, applications).
How to Reset the Redmi Note 9S:
- Back up your important data (via Settings โ Additional โ Backup and Reset or manually).
- Go to Settings โ About the phone โ Reset settings.
- Select โErase all dataโ and confirm the action.
- After rebooting, set your phone up as new, but donโt restore data from a MIUI backup (it may contain advertising settings).
After discharge:
- โ Advertising in system applications will disappear (until the next update) MIUI).
- โ All standard apps (Mi Browser, Mi Video, etc.) will return, which will start showing ads again in 1-2 weeks.
- ๐ We recommend that you apply the methods from sections 1-3 immediately after reset (disabling personalized advertising and disabling advertising). ADB-team).
An alternative way to reset is through Recovery Mode:
- Turn off the phone.
- Press Volume Up + Power before the Mi logo appears.
- Select Wipe Data โ Wipe All Data (control โ volume buttons, confirmation โ power button).
๐ก
Resetting to factory settings is a temporary solution. Without additional actions (ADB, hosts, custom firmware), advertising will return after synchronization with Xiaomi servers.