How to permanently disable ads on Xiaomi Redmi Note 7: the full guide

The Xiaomi Redmi Note 7 is one of the most popular budget smartphones, but its owners often face intrusive advertising in system applications, notifications and even on the lock screen. Unlike flagship models where advertising can be turned off through premium features, in the Redmi Note 7, this process requires more deep manipulation of settings or even editing system files.

In this article, we will analyze all the current ways of blocking ads – from standard methods in the menu. MIUI Advanced solutions with the use of ADB, Xiaomi ADB/Fastboot Tools and modified firmware. We will pay special attention to the nuances for the Redmi Note 7 (codename lavender, as some general instructions may not work due to version features MIUI and regional firmware.

Important: Some methods require unlocking the bootloader or root rights, which can affect the warranty and security of the device, and we will note such cases with special warnings.

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

Advertising in MIUI is part of Xiaomi's business model that allows the company to keep device prices low.Sources of ads on the Redmi Note 7:

  • πŸ“± System applications: Security, Themes, Music, Video, Downloads and even Settings.
  • πŸ”” Push notifications: banners from Mi Push Service and partners (Alibaba, Tencent).
  • πŸ”’ Lock screen: Advertising pictures when unlocked (Lockscreen Ads feature).
  • πŸ“¦ Pre-installed apps: Mi Browser, Mi App Store, Mi Pay and others.

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

  1. Disable personalized advertising in settings (partial solution).
  2. Remove system applications via ADB or with root rights.
  3. Install custom firmware without advertising services (for example, LineageOS or Pixel Experience).

In practice, most users are limited to the first and second items, as the third requires deep technical knowledge and can lead to a loss of warranty.

πŸ“Š How often do you worry about advertising on Xiaomi?
It's always getting in the way of using.
Sometimes it appears, but tolerated.
I can't see much of it.
I already turned off all the banners.

Method 1: Disabling personalized advertising in MIUI settings

The easiest and safest method is to deactivate targeted ads through the settings menu, which will not remove banners completely, but will significantly reduce their number.

Instructions for Redmi Note 7:

  1. Open Settings β†’ About the phone and 7 times click on the MIUI version to activate the developer mode.
  2. Return to the main settings menu and go to Additional β†’ Special features β†’ Advertising (on some firmware, the path may differ: Settings β†’ Advertising).
  3. Turn off the sliders: πŸ”˜ Personalized recommendations (disables the collection of data about your activities). πŸ”˜ Advertising notifications (blocks push banners).

Reset the device.

This method works on all versions of MIUI, including MIUI 12/13/14 for the Redmi Note 7. However, it does not remove ads from preinstalled apps (e.g., Mi Browser or Themes).

πŸ’‘

Turning off personalized ads reduces banners by 40-60%, but does not remove them completely.

Method 2: Remove Advertising through ADB (without root)

A more radical method is to disable advertising services through ADB (Android Debug Bridge.This does not require root rights, but you need to allow debugging by USB set up ADB-computer-driver.

Step-by-step:

  1. Download and install Google’s Platform Tools (includes adb.exe).
  2. On your phone, activate Developer Mode (as in Method 1) and enable USB Debugging in Settings β†’ Additional β†’ For Developers.
  3. Connect Redmi Note 7 to your PC and confirm debugging permission.
  4. Open the command prompt (cmd) in the folder with the platform-tools and execute commands in turn:
adb shell pm disable-user --user 0 com.miui.daemon


adb shell pm disable-user --user 0 com.xiaomi.midrop




adb shell pm disable-user --user 0 com.android.browser




adb shell pm disable-user --user 0 com.miui.player




adb shell pm disable-user --user 0 com.miui.video




adb shell pm disable-user --user 0 com.xiaomi.joyose




adb shell pm disable-user --user 0 com.miui.hybrid




adb shell pm disable-user --user 0 com.xiaomi.mipicks

These commands disable the main ad services and unnecessary system applications, and then restart the phone.

Install Platform Tools on PC|Enable the developer mode on the phone|Allow debugging by USB|Connect your phone to your PC with the original cable|Check the connection with the adb device command-->

Warning: Some commands may disable useful features (e.g. com.miui.daemon is responsible for system notifications). If you have problems after execution, return the applications with the command:

adb shell pm enable com.name.packet

Method 3: Using Xiaomi ADB/Fastboot Tools

For users who do not want to manually enter ADB-Teams, there is a utility Xiaomi ADB/Fastboot Tools.It automates the process of removing ads and unnecessary apps.

Instructions:

  1. Download the utility from the official repository: GitHub.
  2. Unpack the archive and launch XiaomiADBFastbootTools.exe.
  3. Connect Redmi Note 7 to your PC and select 4. Manage Applications.
  4. In the submenu, select 2. Uninstall System Applications and tick the following packages: πŸ—‘οΈ com.android.browser β€” Mi Browser πŸ—‘οΈ com.miui.hybrid – Hybrid banner ads πŸ—‘οΈ com.xiaomi.mipicks - a recommendation service πŸ—‘οΈ com.miui.daemon – background advertising processes

Confirm the deletion and wait for the phone to restart.

The advantage of this method is the visual interface and the ability to selectively remove, but be careful: removing critical system packages can lead to unstable MIUI operation.

πŸ’‘

Before mass uninstalling applications via ADB, back up your data to Settings β†’ Additional β†’ Backup and Reset.

Method 4: Blocking ads via hosts file (root required)

If you have root rights, the most effective way to do this is to edit the hosts file, which blocks access to ad servers, and it works at the system level and covers all ads, including banners in games and browsers.

Instructions:

  1. Install any file manager with root support (such as Root Explorer or FX File Explorer).
  2. Go to /system/etc/hosts and back up the original file.
  3. Open the hosts file for editing and add the following lines at the end:

Before removal, it is mandatory to:

  1. Make a full backup through TWRP.
  2. Check if the file is being used by other processes (the lsof | grep name file in Termux command).
  3. Delete only those files that are specifically related to advertising (the list for the Redmi Note 7 can be found on 4PDA).

FAQ: Frequent questions about ad blocking on Redmi Note 7

Can I turn off ads without root and ADB?
Yes, but only partially. In MIUI settings, disable Personalized Recommendations and Advertising Notifications (Method 1). Also remove unnecessary system applications through Settings β†’ Applications (e.g. Mi Browser, Mi Music).
Why did the adverts come back after ADB shutdown?
Most likely, you have updated MIUI. System updates restore deleted packets and reset changes to hosts. To avoid this: Turn off automatic updates in Settings β†’ About Phone β†’ System Update. Use Magisk Module to permanently lock (e.g. AdAway).
Is it safe to use Xiaomi ADB/Fastboot Tools?
Yes, if you only delete unnecessary applications (e.g. Mi Browser or Mi Pay). However, removing critical services (e.g. com.miui.home) can cause the launcher to fail. Always check the list of uninstalled packages on forums (e.g. 4PDA).
How to return remote system applications?
If you have removed something important through ADB, you can restore the application by command: adb shell cmd package install-existing <name packet> If this does not work, you can only reflash the phone via Fastboot or TWRP.
Is it true that custom firmware removes advertising forever?
Yes, but with reservations: βœ… MIUI EU and other modified versions MIUI remove the advertisement completely. βœ… LineageOS/Pixel Experience does not include Xiaomi advertising services by definition. ⚠️ However, in some applications (for example, games), advertising may remain, since it is built into the application itself. MIUI (Second Space or Game Turbo).