How to permanently remove ads on Xiaomi Redmi Note 4X: detailed guide 2026

Xiaomi Redmi Note 4X (codenamed mido) is still popular because of its reliability and low price, but owners of this model often face one unpleasant feature – aggressive advertising in the system applications MIUI. pop-up banners in “Security”, “Themes”, “Music” and even in the settings menu annoy users, especially if the phone is bought for full price, not at a promotional price.

In this article, we’ll look at all the current ways to remove ads on the Redmi Note 4X, from standard MIUI settings to advanced methods using ADB and third-party utilities. It’s important to understand that some methods may require unlocking the bootloader or superuser rights (root), but we’ll start with the easiest and safest options, and you’ll learn why ads return after resetting and how to avoid this.

Before you start, check your firmware version: go to Settings → About → MIUI version. On the Redmi Note 4X, MIUI 10-12 (Android 6-7) versions remain relevant, and this affects the available ways to disable ads. If you have a newer firmware (for example, custom Android 9+), some instructions may not work.

1. Disabling Advertising through the standard MIUI settings

The easiest way is to use built-in MIUI options that reduce the number of ads you see, and unfortunately, you can't completely remove them, but the number of banners will decrease by 60-70%.

Here's what we need to do:

  • 📱 Disabling Personalized Advertising: Go to Settings → Additionally. → Confidentiality → Advertising and deactivating the option “Personalized recommendations” will reduce the number of targeted ads.
  • 🔍 Resetting the Advertising ID: In the same menu (Settings) → Confidentiality → Advertising) click "Reset Ad ID." This will temporarily reset targeting settings.
  • 🛡️ Disabling Advertising in System Applications: Go to Settings → Annexes → App management, select the system application (such as “Security” or “Themes”) and turn off the “Show recommendations” or “Advertising notifications” option».

These actions will help reduce the amount of ads, but they won't remove them completely, like banners in Mi Video or Mi Music, they might stay, and more radical methods would be needed to remove them completely.

⚠️ Attention: After update MIUI Ad settings may be reset. Check them after each update!

📊 How often do you see ads on your Xiaomi?
All the time, in all the applications.
Only in system utilities (Security, Topics)
There's almost no advertising.
Didn't notice the commercials.

2. Blocking Advertising through ADB (without root)

If the standard settings didn’t work, the next step is to use Android Debug Bridge (ADB), a method that doesn’t require superuser rights, but requires connecting the phone to a computer, and the bottom line is to disable the system components responsible for displaying ads.

You'll need:

  • 💻 A computer with installed Xiaomi drivers and ADB (You can download from the official Android website).
  • 📱 Included debugging by USB on the phone (Settings) → The phone. → Version. MIUI — Press 7 times, then return to Settings → Additionally. → For developers → Debugging by USB).
  • 🔌 USB-cable (preferably original).

Instructions:

  1. Connect the phone to the PC and confirm the debugging permission.
  2. Open the command prompt (Windows) or terminal (Linux/macOS) in the folder with ADB.
  3. Enter the command to check the connection: Adb devices must appear serial number of your device.
  4. Follow the commands to disable advertising services: adb shell pm hide com.miui.systemAdSolution adb shell pm hide com.xiaomi.midrop adb shell pm hide com.miui.analytics
  5. Reboot the phone.

If the commands fail (pm hide: not found), try the alternative:

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


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

⚠️ Note: On some versions MIUI Disabling com.miui.analytics can cause system applications to malfunction. If you notice bugs, return the settings with the command adb shell pm enable com.miui.analytics.

☑️ Preparation for work with ADB

Done: 0 / 5

3. Removal of advertising through third-party applications

If ADB seems complicated, you can use specialized utilities.

  • 🛡️ AdGuard – Blocks Advertising at Level DNS. Install the application from the official website and activate the protection. MIUI.
  • 🔧 MIUI Hidden Settings (requires) ADB or root, which allows you to manually disable advertising modules. 4PDA.
  • 🚫 Disconnect Pro – blocks trackers and some ads, but does not work with system ads Xiaomi.

To completely remove ads in MIUI, it is better to combine ADB and AdGuard.

  1. Disable system advertising services through ADB (Section 2).
  2. Install AdGuard and activate AdGuard Base + EasyList China filters.
  3. In AdGuard settings, enable HTTPS Filtering (a certificate may be required).

Important: On the Redmi Note 4X with MIUI 10–11, AdGuard can conflict with system services. If the Internet is lost after installation, add the miui.com and xiaomi.com domains to the whitelist.

Why doesn’t AdGuard block all ads in MIUI?
System banners in MIUI (e.g., in "Security" or "Themes") are downloaded through Xiaomi's local services, not the Internet. AdGuard only blocks online advertising, so additional methods (ADB or root) are needed to completely remove them.

4. Manual removal of ad APKs (requires root)

If you're willing to get root rights, you can completely delete the files that are responsible for displaying ads, which is the most effective method, but it requires caution - wrong actions can lead to a system failure.

List of APK ads on the Redmi Note 4X:

Packet nameAppointmentCan I remove it?
com.miui.systemAdSolutionThe main module of system advertising✅ Yes.
com.xiaomi.midropMi Drop (can display ads)✅ Yes.
com.miui.analyticsAnalytics (indirectly affecting advertising)⚠️ Partially (may break statistics)
com.miui.bugreportError Reports (sometimes containing advertising modules)❌ No (critical to the system)
com.miui.hybridHybrid services (includes advertising pop-ups)⚠️ Careful: May break theme)

For removal:

  1. Get root (for example, through Magisk).
  2. Install a file manager with root support (such as Root Explorer or FX File Explorer).
  3. Go to /system/priv-app/ or /system/app/.
  4. Find the APKs from the table above and remove them (or rename them by adding the.bak extension).
  5. Clean the cache in Settings → Storage → Clear the cache.

⚠️ Warning: Deleting com.miui.hybrid could lead to interface failure MIUI! We recommend first rename the file and test the system.

💡

Before removing system APKs, backup via TWRP or Titanium Backup, which will allow you to recover files if the phone stops booting.

5. Installation of custom firmware without advertising

If none of these methods worked, the radical solution is to install custom firmware (like LineageOS or Pixel Experience) that would remove MIUI altogether along with the ads, but would require:

  • 🔓 Unlock the bootloader (official way through Mi Unlock Tool).
  • 📥 Custom recaveri installations (TWRP).
  • 🛠️ Ability to work with fastboot and ADB.

The advantages of custom firmware:

  • ✅ Total lack of advertising.
  • ✅ More recent version of Android (e.g. Android 10-12 instead of Android 6-7).
  • ✅ Ability to fine-tune the interface.

Cons:

  • ❌ Loss of warranty (if it is still valid).
  • ❌ The risk of “bricking” the phone in case of an error.
  • ❌ Certain functions (e.g, IR-Quick Charge or Blaster may not work properly.

For Redmi Note 4X (mido) are suitable firmware:

  • 📱 LineageOS 16-18 (Android 9-11) – stable, but without branded Xiaomi chips.
  • 📱 Pixel Experience – the interface is like Google Pixel, but can slow down on weak hardware.
  • 📱 Havoc-OS - customizable firmware with many settings.

Installation instructions look for XDA Developers or 4PDA. Be sure to check firmware compatibility with your model (mido for Redmi Note 4X)!

💡

Custom firmware is the only way to get rid of advertising forever, but it requires technical skills. If you're a beginner, it's best to start with the methods in sections 1-3.

6 Why Advertising is Returning and How to Prevent It

Many users complain that after resetting or updating MIUI, the adverts appear again.

  1. MIUI restores the standard settings after the update.
  2. System apps are updated via Google Play or Mi App Store, returning ad modules.
  3. Xiaomi is changing its privacy policy to automatically include personalized advertising.

How to prevent the return of advertising:

  • 🔄 Turn off auto-update system applications: Go to Google Play → Settings → Auto Update Apps and select “Do not update automatically».
  • 📵 Block the Internet for advertising services: C Settings → Find com.miui.systemAdSolution and disable mobile data + Wi-Fi.
  • 🔒 Install the blocker through hosts: Download the hosts file with the blocking of Xiaomi advertising domains and replace them with the standard one in the hosts. /system/etc/hosts (root).

If the ad comes back after the MIUI update, repeat the steps from Section 2 (ADB) — usually this helps.

7. Alternative methods (for experienced users)

If you are willing to experiment, here are a few more ways:

  • 🔧 Use of the Xposed Framework: Module MIUI AdBlocker for Xposed blocks system-level ads. Requires root and Xposed Installer installation.
  • 📡 DNS-filtering: Change DNS on the phone at 1.1.1.1 (Cloudflare) or 94.140.14.14 (AdGuard) DNS). This will block some online advertising.
  • 🛠️ Modification of system files: In the file /system/build.prop add a line ro.miui.has_ad=0. This will disable some of the advertising mechanisms, but it doesn’t work on all versions. MIUI.

The Redmi Note 4X also has a patch called “Deodex MIUI” that removes ad libraries from system APKs. However, installing it requires deep knowledge and can lead to unstable phone performance.

What is Deodex and why is it needed?
Deodex is the process of converting MIUI system files from.odex to.dex, allowing you to modify them (e.g., remove ads) on de-dexed firmware, which is easier to apply patches, but can run slower and less stable.

FAQ: Frequent questions about removing ads on Redmi Note 4X

❓ Can you remove advertising without rooting and ADB?
Yeah, but not completely. MIUI (Section 1) and AdGuard reduce the amount of advertising by 60-70%, but system banners (for example, in “Security”) will remain. ADB root.
❓ Why After Disabling Advertising Through ADB She's coming back?
This is due to automatic updates to MIUI or system applications. After the update, re-run the commands from Section 2. Also check if the Personalized Recommendations option is enabled in the privacy settings.
❓ Will the way to work with ADB on MIUI 12?
On the Redmi Note 4X, only MIUI 10–11 (Android 6–7) is officially available. If you have installed a custom MIUI 12, ADB commands may not work - in new versions, Xiaomi has changed the structure of advertising services. In this case, try the methods from section 4 (root) or section 5 (custom firmware).
❓ Can I return the standard settings if I delete them after APK phone is sluggish?
If you deleted system files through root and your phone malfunctioned: Install TWRP Recovery. backup the current system (backup in the system) TWRP). Download stock firmware for Redmi Note 4X (mido) from xiaomifirmwareupdater.com, run it through Fastboot or TWRP. It'll bring the phone back to factory status, but it'll delete all the data. If you had a backup, restore it after you've run the firmware.
❓ Is there a risk of losing the guarantee when using these methods?
Yes, but only in some cases: ✅ Safe: Settings MIUI (Section 1), AdGuard, amendment DNS. ⚠️ Risky: ADB (2) – theoretically could lead to a warranty denial, but in practice Xiaomi rarely checks this. ❌ Warranty Removed: bootloader Unlock, root, custom firmware (sections 4-5). If the phone is warranty, start with the methods from section 1-3.