How to permanently disable floating windows on Xiaomi Redmi Note 8 Pro: from system settings to ADB

The Xiaomi Redmi Note 8 Pro with its MIUI shell is known for its useful features, but some of them โ€” such as floating (pop-up) windows โ€” can annoy users. These miniature panels appear on top of other applications, interrupting work: notifications from instant messengers, mini-players, banner ads or system alerts. In this article, we will discuss all possible ways to turn them off, from standard settings to hidden settings and ADB commands.

Itโ€™s important to understand that the source of floating windows can be both MIUI system services (such as Game Turbo or Second Space) and third-party apps with aggressive advertising. We will analyze both cases and offer solutions proven on the firmware MIUI 11-14 for the Redmi Note 8 Pro (begonia model).

Why do floating windows appear on the Redmi Note 8 Pro?

Before you block pop-ups, you need to understand their nature. On the Redmi Note 8 Pro, they fall into three categories:

  • ๐Ÿ“ฑ System windows MIUI: Mini-player music, charging notifications, alerts from Cleaner or Security. Their behavior is regulated in the shell settings.
  • ๐ŸŽฎ Gaming overlays: Appear when you run games through the Game Turbo (e.g., a panel) FPS Discord is off the game acceleration menu.
  • ๐Ÿ“ข Advertising and third-party windows: the most intrusive. Source: rights-based apps SYSTEM_ALERT_WINDOW (for example, UC Browser, APUS Launcher or Chinese utilities require manual permission revocation.

On the Redmi Note 8 Pro with MIUI Global firmware, floating windows from system applications (such as Music or Downloads) cannot be turned off completely without ADB - the shell limits these settings out of the box. However, they can be minimized or hidden through hidden settings. The third category (advertising) is easier to fight - just revoke permissions from the guilty application.

If the windows appear even after resetting, either a virus (unlikely on stock firmware) or pre-installed software from Xiaomi is to blame, in the latter case only disabling through ADB or removing the package (requires root).

๐Ÿ“Š What floating windows annoy you the most?
MIUI System Notifications
Gaming overlays (FPS, chats)
Advertising banners from apps
All of the above.

Method 1: Disconnect via MIUI settings (without root)

Let's start with the simplest, the standard shell tools, which are suitable for system and game overlays, but it won't help you to stop ads from third-party apps.

Instructions:

  1. Open Settings โ†’ Applications โ†’ Application Management.
  2. Slip on the three dots in the top right corner and select Special Access โ†’ Show on top of other apps.
  3. In the list, find apps with an active switch (such as Music, Game Turbo, Cleaner) and turn off the resolution for each.
  4. For game overlays, go to Settings โ†’ Special Features โ†’ Game Turbo and deactivate the option to Show the Toolbar.

Note that some system applications (e.g. Security) will return to resolution after rebooting, and this will require an ADB method (see below).

โ˜‘๏ธ Preparation for switching off floating windows

Done: 0 / 4

Method 2: Blocking through Developer Rights (ADB)

If the system windows return after turning off in the settings, you will need to revoke the Android level permission. ADB (Android Debug Bridge: This method works without root, but requires a computer.

Step-by-step:

  1. Turn on USB debugging: Go to Settings โ†’ About Phone. Tap 7 times on MIUI Version to activate Developer Mode. Go back to Settings โ†’ Additional โ†’ For Developers and turn on USB Debugging.

Redmi Note 8 Pro

Platform Tools

cmd

adb

adb devices

Make sure the device is identified.

package.name

com.miui.player

adb shell pm revoke package.name android.permission.SYSTEM_ALERT_WINDOW

List of popular MIUI packages for Redmi Note 8 Pro:

AnnexPacket nameType of window
Musiccom.miui.playerMini player.
Game Turbocom.xiaomi.glgmGame overlays
Securitycom.miui.securitycenterVirus notifications
Cleanercom.miui.cleanmasterClearance alerts
Downloadscom.android.providers.downloads.uiNotifications of downloads

Once you have completed the command, restart your phone, and the resolution will be revoked until the next application update, so to secure the result, freeze your system applications via Titanium Backup (requires root) or use ADB to disable them:

adb shell pm disable-user --user 0 package.name

What if the ADB canโ€™t see the device?
1. Make sure that Xiaomi drivers are installed (download from the official website). 2. Try another one. USB-cable (original). 3. Enable the "Debugging by Debugging" option in the developer settings USB (safety parameters)โ€ and โ€œUnlocking OEM". 4.Reboot the phone and PC.

Method 3: Removing the guilty apps (requires root)

If floating windows generate third-party software (like UC Browser or APUS Launcher) and disabling permissions doesn't help, you have to uninstall the app completely. On stock firmware without root, this is impossible, but there are workarounds:

  • ๐Ÿ”ง Shutdown through ADB (without removal: adb shell pm uninstall -k --user 0 package.name The application will remain in the system, but will cease to work for the current user.
  • ๐Ÿ—‘๏ธ Complete removal from root: Install Root Explorer or Titanium Backup. /system/app/ or /data/app/. Delete the folder with the application and clear the cache in /data/data/package.name.
  • ๐Ÿ›ก๏ธ Blocking through Magisk: Install the App Systemizer module to convert custom applications to system (and vice versa.

โš ๏ธ Note: Removing Xiaomi system applications (such as Security or Cleaner) can lead to unstable firmware or update errors. TWRP.

For the Redmi Note 8 Pro, it is especially dangerous to remove:

  • com.miui.securitycenter โ€“ responsible for security;
  • com.xiaomi.finddevice โ€“ Device Search Service
  • com.miui.cloudservice synchronization with Mi Account.

adb shell dumpsys package package.name

In the conclusion, look for the line "requiredFor": - if it is not empty, deletion can disrupt the system.-->

Method 4: Using third-party applications to block

If the previous methods didn't work or you don't want to mess with ADB, there are specialized utilities that come to the rescue.

  1. Overlay blockers: ๐Ÿ›ก๏ธ App Ops โ€“ allows you to disable permissions for individual applications without root (requires) ADB activate). ๐Ÿ”’ Island (from Sandbox developers) โ€“ creates an isolated environment for โ€œsuspiciousโ€ applications.

Firewalls

  • ๐Ÿšซ NetGuard โ€“ blocks the network activity of advertising modules.
  • ๐ŸŒ Blokada - filtering DNS-Requests, preventing ads from being loaded.

After discharge:

  • ๐Ÿ“ฑ Do not restore data from backup โ€“ this can return the problem.
  • ๐Ÿ” Install apps one at a time and watch for floating windows.
  • ๐Ÿ”ง Turn off automatic updates of system applications in Settings โ†’ Annexes โ†’ Application management โ†’ Three-pointed โ†’ Auto-update.

On the Redmi Note 8 Pro with MIUI 12+, after reset, floating windows from system applications (such as Music) can return in 1-2 days. This is due to background synchronization of Mi Account. To prevent this, immediately after reset, turn off sync in the Xiaomi account settings.

How to Prevent Floating Windows in the Future

To prevent the problem from returning, follow simple rules:

  • ๐Ÿ“ฅ Install apps only from Google Play or official sources (such as APKMirror). APK.
  • ๐Ÿ” Check permissions when installing: if an application (such as a flashlight) requests SYSTEM_ALERT_WINDOW, refuse.
  • ๐Ÿ”„ Update regularly MIUI, but not through beta versions โ€“ they often contain bugs with overlays.
  • ๐Ÿ›ก๏ธ Use alternative launchers (like Nova Launcher) that block system overlays.

For advanced users:

  • Install custom ROMs (such as Pixel Experience or LineageOS) that do not have MIUI floating windows.
  • Use the Xposed Framework with the NoSystemUI module to block system notifications.

๐Ÿ’ก

The most reliable way to get rid of floating windows on the Redmi Note 8 Pro is to combine disabling permissions via ADB + removing guilty applications (if there is root). MIUI system overlays can only be minimized, but not completely removed without changing the firmware.

FAQ: Frequent questions about floating windows on Redmi Note 8 Pro

โ“ Why do floating windows return after shutdown?
This is a feature of MIUI: system applications (such as Security or Cleaner) automatically restore permissions after an update or reboot. The solution is to revoke permission through ADB (see Method 2) or freeze the application.
โ“ Can I remove floating windows without a computer?
Yes, but with limitations: Through Settings โ†’ Special Access โ†’ Show on top of others (temporarily). With apps like App Ops (requires pre-setting via ADB), you can't completely remove system overlays without a PC.
โ“ What apps most often cause advertising floating windows?
Top.-5 culprits on the Redmi Note 8 Pro: UC Browser (com.UCMobile.intl package); APUS Launcher (com.apusapps.launcher); Clean Master (com.cleanmaster.mguard); SHAREit (com.lenovo.anyshare.gps); VivaVideo (com.quvideo.xiaoying).Remove them via Settings โ†’ Annexes.
โ“ Will these methods work on other Xiaomi models?
Yes, the instructions are valid for all smartphones on MIUI 11-14, including: Redmi Note 9/10/11 Pro; POCO X3/X4 Pro; Mi 10/11 Series. Except for models with HyperOS (for example, Redmi Note 13 Pro), where the path to settings may differ.
โ“ Can I turn off the floating windows through TWRP?
Yes, but it's risky. TWRP can remove the APKs of system applications from the /system partition, but it can lead to bootloop. A safer option is to use ADB or Magisk to freeze packets.