How to permanently remove ads from Xiaomi Redmi 7 phone: the full guide

Xiaomi Redmi 7 smartphone owners often face intrusive ads in system applications, notifications, and even desktops, a problem that is related to the features of MIUI firmware, where ad units are integrated at the operating system level. Unlike regular banners in apps, system advertising appears in the settings menu, file manager and even in the notification panel.

The main difficulty is that Redmi 7 (codenamed onc) runs on MIUI 10/11/12 depending on the firmware version, where the ad mechanisms are deeply embedded in the system. Simply turning off the settings is often not enough, you need a comprehensive approach. In this article, we will discuss all the current ways to remove ads, from standard methods to radical solutions like changing firmware.

It's important to understand that some methods can affect the stability of the device or lead to loss of warranty. We will describe the risks of each method in detail so that you can choose the best option, start with the safest solutions and gradually move on to more complex techniques.

1. disable personalized advertising in MIUI settings

The first and most secure way is to deactivate ad services through the standard settings menu, which does not require super-user rights and is suitable for users who do not want to risk the stability of the system.

Go to Settings β†’ Xiaomi Account β†’ Mi Advertising (or Settings β†’ Additional β†’ Special features β†’ Advertising depending on the version of MIUI).

  • πŸ”΄ Personalized recommendations are the main source of targeted advertising
  • πŸ“’ Showing ads in system applications – blocks banners in MIUI-annexes
  • πŸ”„ Use Analysis – Stops collecting data about your activities
  • πŸ“Š Error Reporting – indirectly affects the amount of advertising

Once you turn off these options, restart the device, and the effect will not be immediately noticeable β€” system services take up to 24 hours to implement the changes, which reduces the amount of advertising by 40-60%, but does not remove it completely, since some banners are sewn into the application code.

πŸ’‘

If the "Mi Advertising" item is not on your menu, try changing the region to "India" in Settings β†’ Additional β†’ Region. In Indian firmware, advertising settings are usually more detailed.

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 helps reduce the number of personalized banners, although it does not eliminate system advertising completely.

Follow the following steps:

  1. Open Settings β†’ Google β†’ Advertising
  2. Click Reset Advertising Identifier
  3. Activate the option to disable personalized advertising
  4. Reset the device

For a deeper cleanup, you can use the AppBrain Ad Detector app (available on Google Play), which shows all apps using your Advertising ID.

πŸ“Š How often do you see ads on your Xiaomi?
All the time, in all the applications.
Only in MIUI system utilities
Sometimes in notices
I can't see much of it.
I don't know what that is.

3. Removal of system applications with advertising (root required)

The most radical way is to physically remove the apps responsible for displaying ads, a method that requires super-user rights (root) and can lead to unstable system operation if executed incorrectly.

List of dangerous apps in Redmi 7 that can be removed:

Package nameDescriptionRisk of removal
com.miui.analyticsAnalytics and advertising displayLow.
com.xiaomi.midropMi Drop (often showing ads)Medium.
com.miui.systemAdSolutionThe main module of system advertisingHigh-pitched
com.miui.bugreportError Reports (indirectly related to advertising)Low.
com.miui.playerMi-music (contains advertising blocks)Medium.

Use Root Explorer or Titanium Backup to delete it. Make sure to back up your system through TWRP Recovery before you delete it!

⚠️ Warning: Removing system applications can cause a cyclical reboot of the device. If the phone stops working properly after deleting it, restore deleted packets via backup or re-flash the device.

Make a backup copy through TWRP|

Check the validity of root-rights |

Install Root Explorer or Titanium Backup|

Write down the names of the deleted packets |

Prepare firmware for recovery-->

4. Installation of custom firmware without advertising

The most drastic solution is to install an alternative firmware, where all MIUI advertising modules are completely removed. The following options are suitable for Redmi 7:

  • πŸ“± LineageOS – pure Android without unnecessary services
  • πŸ”§ Pixel Experience – firmware with Pixel interface
  • 🌍 MIUI EU β€” European MIUI publicity
  • πŸ›‘οΈ Havoc-OS - custom firmware with advanced settings

The installation process requires unlocking the bootloader and installing custom recovery (TWRP).

  1. Unlock the bootloader via Mi Unlock Tool (Xiaomi account required)
  2. Install TWRP Recovery for Redmi 7 (version 3.5.2 or later)
  3. Download the firmware (for example, MIUI EU) and move on SD-map
  4. Download to TWRP and complete reset (Wipe β†’ Advanced Wipe β†’ Dalvik, Cache, System, Data)
  5. Install the firmware through Install in TWRP

⚠️ Attention: Installing custom firmware voids warranty and may result in data loss. On Redmi 7 with Snapdragon 632 processor, some firmware may not work smoothly - check forum reviews before installing.

What if the network does not work after the firmware?
If after installing custom firmware, mobile Internet or Wi-Fi is lost, most likely, the necessary modems are missing. Solution: 1. Install via TWRP Modem pack for your region (look for "Redmi 7 modem fix") 2. APN In Settings β†’ SIM-maps and mobile networks β†’ Access points (APN) 3.If the problem persists, go back to the stock firmware and repeat the process with another custom version.

5.Use of ADB-call-off

For users who don’t want root rights but are willing to work with ADB (Android Debug Bridge), there is a method to disable ads via commands, which is reversible and does not require unlocking the bootloader.

Steps required:

  1. Activate USB Debugging in Settings β†’ About Phone β†’ MIUI Version (click 7 times on version, then go back to Settings β†’ Additional β†’ For Developers)
  2. Connect your phone to your PC and execute the command: adb shell pm hide com.miui.systemAdSolution
  3. To disable analytics, use: adb shell pm hide com.miui.analytics
  4. Reset the device

These commands don't remove applications, they just hide them from the system, and the effect is temporary, when you reset your settings or update your MIUI, you can re-advertise them, and you have to repeat the procedure after every major update to get a consistent result.

πŸ’‘

ADB-commands are the safest way after standard settings. They do not affect the warranty and are easily canceled by the adb shell pm unhide command. [package].

6.Alternative methods: blockers and host files

If the previous methods didn't help or seem too complicated, you can use specialized ad-blocking apps.The best options for Redmi 7 are:

  • πŸ›‘οΈ Blokada – Blocker at the level DNS (no root)
  • πŸ”’ AdGuard – filters ads in the browser and applications
  • πŸ“± DNS66 β€” Open source software to block advertising domains
  • 🌐 NextDNS – Cloud Filter with Configurable Rules

For maximum effect, combine these applications with editing the hosts file. Add the following lines to it (root or ADB required):

127.0.0.1 ad.mi.com


127.0.0.1 data.mistat.xiaomi.com




127.0.0.1 sdkconfig.ad.xiaomi.com




127.0.0.1 tracking.miui.com




127.0.0.1 api.brs.intl.miui.com

Important: On some versions of MIUI, editing the hosts file results in a cyclical reboot. Before making changes, back up the original file.

FAQ: Frequent questions about advertising on Xiaomi Redmi 7

Why did the ads reappear after the reset?
When resetting to factory settings, all system applications, including ad modules, are restored. To avoid this, before reset: Back up important data Remove advertising packages via ADB (pm uninstall -k --user 0 [package]) Use the adb shell command cmd package compile -m speed -f to optimize the system This will help save the changes after reset.
Can I remove ads without rooting and unlocking the bootloader?
Yes, but the effectiveness will be limited. The combination of the following methods will give the best result without root: Disabling personalized advertising in the settings Use Blokada or AdGuard Reset Advertising Identifier Installation of an alternative launcher (Nova Launcher) These measures will reduce the amount of advertising by 70-80%, but will not eliminate it completely.
Why do some firmware not have the "Mi Advertising" option in the settings?
This depends on the regional version of MIUI: Global ROM – the item is usually present Chinese version (China ROM) – advertising settings are hidden Indian ROM – the most detailed advertising settings Solution: change the region to β€œIndia” in the system settings or set MIUI EU via TWRP.
How to check which apps show the most ads?
Use AppBrain Ad Detector: Install the application from Google Play Run system scan See the list of applications with the most advertising requests Limit rights or remove problematic applications Pay special attention to system utilities like com.miui.video (Mi Video) and com.miui.notes (Notes).
Will Google Pay work after you remove your system apps?
It depends on which packages you deleted: Delete com.miui.analytics – does not affect Google Pay Delete com.google.android.gms – disrupt Google services Change hosts file – can block SafetyNet Check To restore Google Pay: Check SafetyNet status through the SafetyNet Test application If the check does not pass, restore the original hosts file Reinstall Google Play Services