How to permanently remove ads on Xiaomi Redmi 7: proven ways

Xiaomi Redmi 7 smartphone owners often face intrusive ads in system applications, notifications, and even on the lock screen. This is not a coincidence, but part of the business model of MIUI, Xiaomi’s branded shell, which is monetized by displaying banner ads. In this article, we will discuss 5 working ways to remove ads on Redmi 7 times and forever – from simple settings to radical methods like flashing.

It's important to understand that some methods require superuser rights or alternative firmware installation, which can affect the warranty and stability of the device. We will detail the risks of each method so you can choose the best option.

1. disable personalized advertising in MIUI settings

The easiest way to reduce the amount of ads is to deactivate personalized ads in your smartphone settings, which won’t remove ads completely, but will significantly reduce the amount of ads, especially in system applications like Browser, Music or Themes.

Instructions:

  • πŸ“± Open the Settings. β†’ Google β†’ Advertising.
  • πŸ”„ Switch the slider "Disable personalized advertising" in the active position.
  • πŸ” Go back to the main settings and go to Settings β†’ Additionally. β†’ Confidentiality β†’ Advertising.
  • 🚫 Turn off the option "Personalized recommendations" (if available).

This method works on all versions of MIUI 10-14, but has limitations: ads in some applications (such as Mi Video) may remain.

πŸ“Š How often do you see ads on your Xiaomi?
It's always annoying.
Sometimes, but tolerably.
There's almost no advertising.
Didn't notice the commercials.

2. reset of the advertising ID (Advertising ID)

Each Android device is assigned a unique Advertising ID, which is used for targeted advertising, and resetting it can temporarily reduce the number of impressions, but it won’t eliminate the ads completely, and is suitable for those who don’t want to risk the stability of the system.

How to Reset Advertising ID:

  1. Go to Settings β†’ Google β†’ Advertising.
  2. Click "Reset Advertising ID".
  3. Confirm the action in the dialog window.

After the reset, the ad networks (Google Ads, Mi Ads) will perceive your device as new, which will reduce the frequency of impressions by 1-2 weeks, but after a while, the ad will return, since the identifier is updated automatically.

πŸ’‘

To enhance the effect, after resetting Advertising ID, clear the cache of Google Play Services and Mi Ad Services apps in the application settings.

3. Disable Advertising through Hidden MIUI Settings (without root)

MIUI has hidden options that allow you to disable some of the system advertising without obtaining root permissions, which works on firmware up to MIUI 12.5 (on new versions, some items may not be available).

Step-by-step:

  • πŸ”§ Open the Settings app.
  • πŸ” In the search bar, enter "msa" (without quotes).
  • πŸ“‹ Select "msa" in the search results.
  • πŸ”„ In the upper right corner, click on three dots and select "Show system applications".
  • 🚫 Find MiuiDaemon and Analytics apps, open them in turn and disable "Show notifications".

This method removes advertising notifications from Xiaomi, but does not affect banners in the applications. To completely remove it, you will need to disable system services (see the next section).

What is msa in MIUI?
This is the Miui System Ads system service, which is responsible for displaying ads in notifications and some applications. its shutdown does not affect the stability of the smartphone, but can lead to rare failures in updating the weather or themes.

4. Removal of Advertising via ADB (without root but with PC)

If previous methods didn’t work, you can use ADB (Android Debug Bridge), a tool for debugging Android devices, which does not require root rights, but requires connecting a smartphone to a computer. On Xiaomi Redmi 7 with MIUI 11-12.5, this method removes up to 90% of system advertising, including banners in settings and notifications.

Instructions:

  1. Turn on Developer Mode: Go to Settings β†’ About Phone. 7 times click on MIUI Version until the notification β€œYou are a developer!” appears.

"Debugging by USB"

Settings β†’ Additional β†’ For Developers

ADB-driver

adb shell pm hide com.miui.systemAdSolution


adb shell pm hide com.xiaomi.midrop




adb shell pm hide com.miui.analytics




adb shell pm hide com.miui.msa.global

After you execute the commands, restart the device. Ads should disappear from most system applications. If some banners are left, repeat the procedure or try the next method.

Install ADB-PC drivers|Enable the developer mode on Redmi 7|Activate debugging by USB|Connect your phone to your PC with the original cable-->

5. Installation of custom firmware (radical method)

If you are willing to go to extreme measures, installing custom firmware (such as LineageOS or Pixel Experience) will completely remove all advertising, including system notifications and banners in MIUI. This method is suitable for advanced users, as it requires unlocking the bootloader and can lead to a loss of warranty.

Benefits and risks:

AdvantagesRisks.
Complete removal of advertisingLoss of guarantee
Cleaner and faster AndroidPossible bugs (defunct NFC, camera)
Regular security updatesDifficulty of installation for beginners
There are no MIUI system limitationsRisk of "bricking" of the device

Instructions for installing custom firmware:

  1. Unlock the bootloader through the official Xiaomi tool (requires a Mi Account and wait 7-15 days).
  2. Install TWRP Recovery for Redmi 7 (codenamed onc).
  3. Download the appropriate firmware (e.g. LineageOS 18.1) and GApps (Google services).
  4. With TWRP, perform a full reset (Wipe β†’ Advanced Wipe β†’ Dalvik, Cache, System, Data).
  5. Install firmware and GApps, restart the device.

Example of NextDNS configuration:

  1. Register at nextdns.io.
  2. Create a configuration with the block lists "AdGuard DNS" and "OISD".
  3. In Redmi 7, go to Settings β†’ Wi-Fi β†’ Additional β†’ IP Settings β†’ Static.
  4. In the DNS 1 field, enter an address from your NextDNS configuration.

πŸ’‘

For maximum effect, combine blockers: for example, use Blokada for applications and NextDNS for network filtering.

Frequent Mistakes and How to Avoid Them

When trying to remove ads on Xiaomi Redmi 7, users often make mistakes that lead to the opposite effect or malfunction of the device.

Mistake 1: Disabling important system processes

⚠️ Attention! Some guides advise disabling services like com.xiaomi.finddevice or com.android.providers.partnerbookmarks, which can lead to loss of functionality, such as the inability to use Find My Device or synchronize bookmarks.

Mistake 2: Using questionable β€œoptimizers”

Apps like Clean Master or DU Speed Booster promise to remove ads, but they actually show them even more, and they often request dangerous permissions, which can lead to data theft.

Error 3: Improperly unlocking the bootloader

⚠️ Attention! If you decide to install custom firmware, never use informal tools to unlock the bootloader (for example, Mi Flash Unlock from third parties). IMEI Or "brick" devices. Use only the official Xiaomi tool.

Error 4: Remove system applications without backup

Before removing any system APKs (such as Mi Video or Mi Browser) through ADB or root, make sure to back up with Titanium Backup or Swift Backup. Otherwise, you risk losing access to important features like an Airborne Update (OTA).

FAQ: Answers to Frequent Questions

Can I remove ads on Redmi 7 without root and ADB?
Yes, but not completely. disabling personalized ads in settings and resetting Advertising ID Reduce the number of impressions, but do not remove ads from system applications (Mi Video, Themes). ADB root.
Why did the ads come back after the reset?
Reset to factory settings restores all system services, including msa and Mi Ad Services. To prevent ads from returning, after reset, re-disable advertising services through settings or ADB.
Is it safe to use ADB to remove ads?
Yes, if you follow proven instructions. pm hide commands don't remove applications, they only hide them from the system, so the risk of failure is minimal. However, don't disable unknown system processes, which can lead to unstable operation.
Which is the best custom firmware for Redmi 7?
For Redmi 7 (codenamed onc), the recommended ones are LineageOS 18.1 (Android 11) – stable and optimized; Pixel Experience – as close as possible to β€œpure” Android; Havoc-OS – for fans of customization. Before installing, check compatibility on the XDA Developers forum.
Will the ads return after the MIUI update?
Yes, when you update through OTA, some ad services may be activated again. To avoid this: Before upgrading, back up the list of disabled applications (via ADB or Titanium Backup). After updating, repeat the pm hide commands for advertising services.