How to permanently remove ads on Xiaomi Redmi Note 7: system and hidden methods

Xiaomi Redmi Note 7 is still one of the most popular budget smartphones, but its owners often face annoying advertising in MIUI. Banners in settings, pop-up notifications from system applications, advertising in the menu – all this spoils the experience of use. Unlike flagship models, where advertising can be turned off through Settings β†’ Password and Security β†’ Authorization, in Redmi Note 7 many options are hidden or work incorrectly.

In this article, you will find 5 working ways to remove ads, from simple changes in settings to deep cleaning of the system with ADB and root rights. We tested each method on MIUI 12.5 and MIUI 14 firmware (including global and Chinese versions), so the instructions are relevant for most users. Importantly, some methods require unlocking the bootloader or installing additional utilities, we will warn you about this in advance.

Why is Redmi Note 7 getting ads and can it be removed?

Advertising in MIUI is not a bug, it's a feature. Xiaomi monetizes budget smartphones by displaying banners in system applications: Security, Themes, Downloads, Weather and even in the Settings menu. On the Redmi Note 7, ads appear in three forms:

  • πŸ“’ Pop-up notifications from Msa (Mobile Services Analytics) – usually offer to install games or apps.
  • πŸ–ΌοΈ Banners in system applications (for example, in Calendar or Music).
  • πŸ”„ Advertising blocks on the menu (for example, when connecting to Wi-Fi or charging).

Can you remove ads altogether? Technically yes, but it would require:

  1. Disable personalized advertising in settings (this will reduce the number of impressions by 30-40%).
  2. Remove or freeze system applications responsible for displaying banners (requires root rights or ADB).
  3. Install custom firmware without advertising modules (for example, LineageOS or Pixel Experience).

Without root rights and unlocking the bootloader, you can reduce the amount of advertising by 70-80%, but you can't get rid of it completely. Below we'll look at all the methods, from the simplest to the most radical.

πŸ“Š How often do you get annoyed by Xiaomi ads?
It's always getting in the way of using.
Sometimes, but tolerably.
There's almost no advertising.
Didn't notice the commercials.

Method 1: Disabling personalized advertising in MIUI settings

It's the safest and fastest method that works without any additional software, and it doesn't remove ads completely, but it reduces the amount of ads significantly. MIUI 12–14:

  1. Open Settings β†’ Password and Security β†’ Authorization and Locking.
  2. Scroll down and find Personalized Recommendations (or Advertising Services in older versions).
  3. Turn off Personalized Recommendations (if active).
  4. Return to Settings β†’ About Phone β†’ Click on the MIUI version 7 times to activate Developer Mode.
  5. Then go to Settings β†’ Additional β†’ For developers and enable debugging over USB.

After this, ads in Settings and some system applications will disappear, but banners in Themes or Security may remain.

β˜‘οΈ Preparation for removal of advertising

Done: 0 / 4

Method 2: Removing Advertising through ADB (no root rights)

If the standard settings do not help, you can use Android Debug Bridge (ADB) β€” This is a tool that can control a smartphone through a computer, and it doesn't require root rights, but it requires installation. ADB-Drivers and Enable Debugging by USB.

Advantages of the method:

  • βœ… No need for root rights.
  • βœ… It works on any version. MIUI.
  • βœ… Remove Advertising from Most System Applications.

Disadvantages:

  • ⚠️ A computer with a computer is required Windows/Linux/macOS.
  • ⚠️ Incorrect commands can disrupt the system.

Step-by-step:

  1. Download Platform Tools (ADB) from Google’s official website and unpack the archive.
  2. Connect Redmi Note 7 to your computer via USB, select File Transfer mode.
  3. Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
  4. Enter the command to check the connection: adb devices If the device is displayed, continue.
  5. Follow the commands in turn (copy and paste): adb shell pm uninstall --user 0 com.miui.analytics adb shell pm uninstall --user 0 com.xiaomi.midrop adb shell pm uninstall --user 0 com.miui.systemAdSolution adb shell pm uninstall --user 0 com.android.browser adb hide shell pm com.miui.hybrid.
  6. Reboot the phone.

These commands remove the apps responsible for collecting analytics and displaying ads. If after the reboot some functions stopped working (for example, File Transfer over Wi-Fi), return the applications with the command:

adb shell cmd package install-existing com.miui.hybrid
What if the ADB can’t see the device?
1. Make sure that the debugging is enabled by USB (Settings β†’ For developers. 2. Install Xiaomi drivers USB Drivers from the official website. 3. Try another one. USB-cable (preferably original). 4. Reboot your computer and phone.

Method 3: Blocking Advertising via DNS (without root rights)

If ads appear in a browser or some apps, they can be blocked at the DNS level.This method does not remove system banners, but is effective against advertising in Google Chrome, YouTube and third-party programs.

Instructions:

  1. Open Settings β†’ Connections and Sharing β†’ Private DNS.
  2. Select the host name of the private DNS provider.
  3. Enter one of the addresses: dns.adguard.com (recommended) family.adguard-dns.com (blocks +18 content) 1.1.1.3 (Cloudflare Family)

Save and restart the phone.

After that, most of the ads in your browser and some apps will disappear. To check, open the AdGuard test site β€” if the lock works, you will see a green tick.

⚠️ Note: Some banking applications (e.g. SberBank Online) may block work when using third-party banking services DNS. In this case, return the standard settings.

Method 4: Removing Advertising with Root Rights (for Advanced)

If you're willing to take drastic measures, root rights will allow you to remove ads by 100%.

  • πŸ”“ Unlock the bootloader through the official Xiaomi tool.
  • πŸ“± Install custom recovery (TWRP).
  • πŸ› οΈ Get Root Rights through Magisk.

After obtaining the root rights, do the following:

  1. Install Root Explorer or FX File Explorer from Google Play.
  2. Go to /system/etc/hosts.
  3. Open the hosts file in the text editor and add the lines: 127.0.0.1 ad.mi.com 127.0.0.1 track.uc.cn 127.0.0.1 sdkconfig.ad.intl.xiaomi.com 127.0.0.1 api.ad.intl.xiaomi.com
  4. Save the file and restart the phone.

Also with root rights, you can remove system applications responsible for advertising:

  • com.miui.analytics – analytics collection.
  • com.xiaomi.mipicks is the Xiaomi app store.
  • com.miui.hybrid – hybrid services (includes advertising).
  • com.miui.systemAdSolution is the main advertising module.

⚠️ Note: Removing system applications may cause some features to fail (such as Topics or Security). TWRP!

Method 5: Install custom firmware without advertising

If all previous methods failed, the most reliable way is to install custom firmware. For Redmi Note 7 (codename lavender) fit:

FirmwareFeaturesAdvertisingComplexity of installation
LineageOSClean Android without unnecessary apps❌ No.⭐⭐⭐ (middle-class)
Pixel ExperienceThe interface is like Google Pixel❌ No.⭐⭐⭐⭐ (complex)
MIUI ProModified MIUI without advertising❌ No.⭐⭐ (simple)
Havoc-OSMaximum customization❌ No.⭐⭐⭐⭐ (complex)

For custom firmware installation:

  1. Unlock the bootloader through Mi Unlock Tool (requires a Xiaomi account binding).
  2. Install TWRP Recovery for Lavender.
  3. Download the firmware from the official website (for example, LineageOS).
  4. Reboot to TWRP, make Wipe (Dalvik, Cache, System, Data) and install firmware.

Once you install custom firmware, you will lose the official Xiaomi warranty, as well as some features (such as data encryption or working with banking applications).

πŸ’‘

Before installing custom firmware, check compatibility with your phone model! For the Redmi Note 7, only the lavender firmware is suitable (not to be confused with the violet for the Redmi Note 7 Pro).

What if the adverts returned after the MIUI update?

After updating the firmware, Xiaomi often returns remote system applications and resets settings.

  • πŸ”„ Turn off automatic updates MIUI: Go to Settings. β†’ The phone. β†’ Update system. Click on three dots in the top right corner. β†’ Settings β†’ Turn off Automatic Booting.

Freeze system applications:

App Quarantine

Titanium Backup

  • com.miui.analytics
  • com.xiaomi.mipicks
  • com.android.browser
  • πŸ”§ Use scripts for ADB: Create a file. disable_ads.bat with the Spoob teams 2 and start it after each update.