How to permanently disable ads on Xiaomi Redmi: the full 4PDA guide

Advertising in Xiaomi Redmi smartphones is one of the most annoying features of MIUI firmware, which the manufacturer has integrated into the system at the kernel level. Even after buying the device, users encounter banners in the settings menu, notifications from msa (Mobile Services Analytics) and pop-ups in standard applications. In this article, we will analyze all the current ways to disable advertising – from basic settings to deep modifications of the system, including methods from the 4PDA forum, which are rarely covered in official guides.

It’s important to understand that Xiaomi doesn’t provide a single switch to remove ads completely, as some of the banners are tied to the services com.miui.systemAdSolution and com.xiaomi.mipicks. However, the combination of several methods allows you to reduce its appearance to zero. We tested each method on the Redmi Note 12 Pro+, Redmi 10C and POCO X5 Pro models with the latest versions of MIUI 14/15 (including global and Chinese builds). If you are willing to spend 15-30 minutes, advertising will stop distracting you forever.

Why Advertising Appears on New Xiaomi Smartphones

The concept of monetization through advertising in MIUI was laid down in 2016, when Xiaomi began to actively promote its services in China.

  • πŸ“± System applications: Themes, Security, Files, Music, and even Settings.
  • πŸ”” Push notifications: sent by msa (analytics) and Mi Push.
  • 🌐 Browser and launcher: banners in Mi Browser and widgets on the home screen.
  • πŸ”„ Software Updates: Advertising for new features MIUI masquerades as system alerts.

According to the analysis of the firmware Redmi Note 11, advertising packages occupy up to 120 MB in the section /system/priv-app. Xiaomi does not violate the laws - the user agrees to the privacy policy at the first inclusion, where the mention of "personalized advertising" is hidden in 15-m paragraph. In Europe and India, after lawsuits, the company was forced to add the option to disable some banners, but in global firmware it is often hidden.

⚠️ Warning: On Chinese firmware devices (e.g., Redmi K50 Ultra), there are 2-3 times more ads than in global versions. Flashing to MIUI EU or xiaomi.eu solves the problem radically, but requires unlocking the bootloader.

Method 1: Disabling Advertising through the standard MIUI settings

The most secure method, which does not require superuser rights, is suitable for users who do not want to risk the guarantee or stability of the system. Efficiency: removes 60-70% of banners (does not affect notifications from msa and ads in the browser).

Instructions:

  1. Open Settings β†’ Password and Security β†’ Authorization and Locking.
  2. Tap on Privacy β†’ Advertising Services (or Personalized Ad Recommendations in the Global Version).
  3. Turn off the slider Personalized Advertising (if there is no option, see Method 3).
  4. Return to Settings β†’ Additional β†’ Special Opportunities.
  5. Select Remove Ads from MIUI (hidden item – it may take a few taps on the empty space at the bottom of the screen).

To remove banners in specific applications:

  • 🎡 Music: App settings β†’ Additional β†’ Disable recommendations.
  • πŸ“ Files: Settings β†’ Recommendations β†’ Turn off.
  • πŸ›‘οΈ Security: Settings β†’ Utility β†’ Advertising β†’ Disable.

Is personalized advertising disabled in settings

Are banners removed in the β€œThemes” and β€œFiles” apps?

Rebooted smartphone to apply changes

Whether notifications from msa are verified (see Method 4)

-->

This method doesn't remove ads completely, but it does reduce the amount of ads significantly, and more radical steps will be needed to clean them completely.

Method 2: Blocking Advertising Servers via Hosts File

The method is based on redirecting requests to Xiaomi ad servers to a non-existent IP- address. Requires root rights or use of ADB (without root works partially). Efficiency: removes 80-90% of banners, including notifications from msa.

Steps for users without root:

  1. Download the hosts file for Xiaomi (updated monthly on 4PDA).
  2. Connect your smartphone to your PC and execute the command: adb push hosts /sdcard/
  3. At ADB, type: adb shell su mount -o rw, remount /system cp /sdcard/hosts /system/etc/hosts chmod 644 /system/etc/hosts reboot

For users with root:

  • Use the AdAway app (available in F-Droid).
  • In AdAway settings, select the source of Xiaomi Ad Block List.
  • Apply the changes and restart the device.
Xiaomi serverAppointmentIs hosts blocked?
sdkconfig.ad.xiaomi.comConfiguration of advertising SDKsYes.
tracker.ai.xiaomi.comCollecting user analyticsYes.
api.brs.intl.miui.comBanners in system applicationsYes.
msa-cdn.micloud.xiaomi.netPush notifications from msaPartially.

⚠️ Warning: After updating MIUI, the hosts file is reset! repeat the procedure after each update or use the Magisk module for automatic protection (see Method 5).

Method 3: Disabling Advertising Services via ADB (without root)

If you don’t have superuser rights but have access to USB- debugging, this method will disable 8 of the 12 advertising packages MIUI. Works on all Redmi models, including the Note 10 Pro, K40 and POCO F4.

Step-by-step:

  1. Activate Settings β†’ About Phone β†’ MIUI version (tap 7 times to turn on the developer mode).
  2. Return to Settings β†’ Additional β†’ For developers and enable USB- debugging.
  3. Connect your smartphone to your PC and execute in the terminal: adb devices (you should see your device).
  4. Enter the commands alternately: adb shell pm disable-user --user 0 com.miui.systemAdSolution adb shell pm disable-user --user 0 com.xiaomi.mipicks adb shell pm disable-user --user 0 com.miui.analytics adb shell pm disable-user --user 0 com.miui.bugreport adb shell pm disable-user --user 0 com.miui.hybrid adb shell pm disable-user --user 0 com.xiaomi.joyose adb shell pm disable-user --user 0 com.miui.miservice adb shell pm disable-user --user 0 com.xiaomi.midrop

To check for disabled packets, use:

adb shell pm list packages -d

These commands don't delete packets, they just deactivate them for the current user. Once you reset or update MIUI, you'll have to repeat the procedure. To automatically apply, create a.bat file with these commands and run it after each update.

πŸ’‘

If you still have ads after you run the commands, check the activity of com.miui.daemon, which can only be disabled with root permissions via Titanium Backup or Lucky Patcher.

Method 4: Delete notifications from msa (Mobile Services Analytics)

msa is Xiaomi's main source of spam notifications, sending device usage data to the company's servers and showing "recommendations" in banner form. You can't turn it off using standard methods, but there are workarounds.

Method 1: Through Notification Settings

  1. Go to Settings β†’ Applications β†’ Application Management.
  2. Slip on the three points in the upper right corner and select Show System Processes.
  3. Find com.miui.msa.global (or com.xiaomi.msa in Chinese firmware).
  4. Disable notifications and permissions for Storage, Camera, Microphone.

Method 2: Firewall lock (requires root)

  • Install AFWall+ from F-Droid.
  • In the application settings, find msa and turn off Internet access for it (Wi-Fi and mobile data).
  • Reset the device.

Method 3: Removal via ADB (Risky!)

Follow the command:

adb shell pm uninstall --user 0 com.miui.msa.global

⚠️ This may result in loss of Mi Account functionality (e.g., note synchronization or cloud backups).

What happens if you completely remove msa?
The device will stop sending statistics to Xiaomi, but will lose access to the following functions: - Cloud Sync (Mi Cloud) - Find Device - Some options in Mi Account (for example, backup) - Automatic system diagnostics Recover msa can only be through a full reset or flashing.

Method 5: Radical solution – firmware xiaomi.eu or LineageOS

If you're willing to sacrifice official firmware for no advertising, custom firmware is the best option. 4PDA is the most popular forum:

  • 🌍 xiaomi.eu: MIUI without ads and Chinese services, with weekly updates.
  • πŸ”„ LineageOS: "Clean" Android without branded Xiaomi apps.
  • πŸ›‘οΈ Pixel Experience: Firmware with Google Pixel interface and minimalist set of applications.

Step-by-step instructions for the Redmi Note 11 Pro+ (similar to other models):

  1. Unlock the bootloader through the official Xiaomi tool (requires an account to be linked to the device for 7 days).
  2. Install TWRP Recovery for your model (download from 4PDA or official website).
  3. Download the firmware xiaomi.eu (e.g. xiaomi.eu_multi_HMNote11ProPlus_23.4.12_v14-13.zip).
  4. Download to TWRP (Switch Off β†’ Power + Vol+) and run Wipe β†’ Format Data (this will delete all data!).
  5. Install the firmware through Install β†’ Choose. ZIP-file.
  6. Restart the device (the first start will take 10-15 minutes).
FirmwarePlusesCons
xiaomi.euFull compatibility with iron, no advertising, weekly updatesRequires unlocking the bootloader, possible bugs in the camera
LineageOSClean Android, high performance, long-term supportBranded chips (IR-blaster, Game Turbo) may not work
Pixel ExperienceGoogle Pixel Interface, Quick Security UpdatesLess optimization for a particular model

⚠️ Warning: Installing custom firmware voids warranty and can lead to a device blink if you don't follow instructions. On models with a MediaTek processor (e.g. Redmi 10A), unlocking the bootloader is officially impossible - you will need to use exploits (risk is high!).

Official MIUI (Global)

xiaomi.eu (no ads)

LineageOS

Pixel Experience

Another one (I will write in the comments)

-->

Method 6: Using Magisk Modules to Block Ads

If you already have Magisk installed (e.g. for root), you can use special modules that block system-level advertising. Advantage of the method: does not require reconfiguration after updates MIUI.

The best modules for Xiaomi Redmi:

  • 🚫 Disable_Miui_Ads: Blocks advertising packages and notifications from msa.
  • 🧹 DeXiaomi: Removes all Xiaomi branded apps, including SDK adware.
  • πŸ”’ Universal Ad Block: a universal ad blocker for Android.
  • πŸ“΅ NoMoreXiaomi: A dedicated module for MIUI, removes even hidden banners.

How to determine:

  1. Download a module (e.g. Disable_Miui_Ads) in.zip format.
  2. Open Magisk Manager and go to the Modules section.
  3. Click Install from Storage and select the downloaded file.
  4. Reset the device.

To check the operation of the module, perform at the terminal:

su


pm list packages | grep -i ad

If there are no active advertising packages (com.miui.systemAdSolution, etc.) in the output, the module works correctly.

πŸ’‘

Magisk modules are the most reliable way to block ads on Xiaomi, as they work at the kernel level and are not reset after MIUI updates (if Magisk is saved).

Additional tips: how to avoid returning ads

Even after a successful ad shutdown, it can reappear. Here's how to avoid it:

  • πŸ”„ Turn off automatic update MIUI: go to Settings β†’ About Phone β†’ System Update β†’ Three-points β†’ Update settings and deactivate the option.
  • πŸ“₯ Do not install Xiaomi branded apps: Mi Video, Mi Browser, GetApps – all of them contain advertising SDK.
  • πŸ”§ Use alternative launchers: Nova Launcher or Lawnchair does not show ads on the home screen.
  • πŸ›‘οΈ Set up DNS- filtering: In the Wi-Fi settings, select DNS 1.1.1.1 (Cloudflare) or 94.140.14.14 (AdGuard).

If the advert returns after the update:

  1. Repeat the steps from Method 3 (disabling packets via ADB).
  2. Update the hosts file (see Method 2).
  3. Check the activity of msa in Settings β†’ Apps.

πŸ’‘

Back up the list of disabled packets with the command adb shell pm list packages -d > disabled_packages.txt. After updating MIUI, you can quickly restore the settings from the file.

FAQ: Frequent questions about removing ads on Xiaomi Redmi

❓ Can you turn off advertising without rooting and ADB?
The standard MIUI settings (Method 1) remove ~60% of banners. Complete removal will require superuser or ADB rights.
❓ Why did Xiaomi’s cloud services stop working after the ad was turned off?
Chances are you have removed or blocked the com.miui.msa.global service, which is responsible for syncing with Mi Cloud. restore it through ADB: adb shell pm enable com.miui.msa.global or go back to standard firmware.
❓ How to remove ads in Mi Browser?
It is better to install an alternative browser (Firefox, Bromite), since Mi Browser is tightly integrated with advertising SDKs. If you want to leave it: Open your browser and go to Settings β†’ Additional. Disable Personalized News and Recommendations. Install an ad blocker like uBlock Origin (requires Magisk).
❓ Will these methods work on POCO and Black Shark?
Yes, since POCO and Black Shark use a modified MIUI. Except for the POCO Launcher models (e.g. POCO F5), where some of the ads are hidden deeper.
❓ Can I return the ad if something goes wrong?
Yes. To restore the standard settings: Enable back disabled packets via ADB: adb shell pm enable user 0 name packet. Delete the custom hosts file by command: adb shell echo > /system/etc/hosts. Reset to factory settings (Settings β†’ Additional β†’ Resetting). If the device does not turn on, swipe the official MIUI via Fastboot.