Floating windows on Xiaomi Redmi smartphones are one of the most annoying features of MIUI, which appears at the most inopportune times, and can be a miniature window with ads, a notification from Mi Browser, or even a system warning that is not closed with a standard swipe. In this article, we will analyze all possible causes of floating windows and give step-by-step instructions for turning them off, from basic methods to advanced settings through ADB.
Xiaomi is actively using floating notifications to promote its own services (for example, Mi Video or Mi Pay), sometimes they appear due to malfunctions in the MIUI shell, and in rare cases due to viruses. We will look at unique methods for the Redmi Note 10/11/12 and Redmi 9/9A/9C models, where the problem is most often manifested due to the features of the firmware.
What is a floating window on Xiaomi and why does it appear?
Floating windows (or floating windows) in MIUI are miniature pop-up panels that are superimposed on top of an active application.
- ๐ข System notifications โ appear when updates, low battery power or accessories are connected (for example, headphones).
- ๐ Banner ads are usually from Mi Browser, Mi Video or GetApps, and can be turned off, but not always obvious.
- โ ๏ธ Failure windows โ occur when applications fail (e.g., โCom.miui.home has stopped app").
The main reasons for the appearance:
- Aggressive advertising in MIUI โ Xiaomi even integrates advertising modules into system applications (especially in regional firmware for India and China).
- Launcher malfunctions โ if a floating window appears with the text โLauncher stoppedโ, the problem is in com.miui.home.
- Viruses or malicious applications โ some programs (especially from third-party sources) create floating windows to display ads.
- Mistakes update MIUI - after an incorrect update can "hang" system processes that generate pop-up windows.
โ ๏ธ Warning: If a floating window appears with the text "Your device is infected" or requires payment, it is 100% virus. โ Google โ Security).
| Type of window | Reason. | Can I turn it off? |
|---|---|---|
| Banner advertising by Mi Browser | Built-in advertising in MIUI | Yes, through the app settings. |
| Notification "Launcher stopped" | System launcher failure | Yeah, resetting the launcher settings. |
| Window asking for firmware updates | Systemic warning | Partially (may be delayed) |
| Pop-up advertising of an unknown app | Virus or malware | Yes, after the virus was removed. |
Method 1: Disable floating notifications in MIUI settings
The easiest method is to block the display of floating windows for specific applications, which works for advertising from Mi Browser, Mi Video and other system programs.
Instructions:
- Open Settings โ Applications โ Application Management.
- Find an app that shows floating windows (like Browser or Video).
- Slip it and select Notices.
- Turn off the Floating Notifications (or Pop-ups in newer versions of MIUI) switch.
- To completely disable advertising, also deactivate Personalized Recommendations.
If a floating window comes from an unknown source, check the list of newly installed apps.
- ๐ฎ Gaming accelerators (e.g. Game Turbo)
- ๐ฑ Launchers from third-party developers
- ๐ก๏ธ "Optimizers" and "cleaners" of cache
Disable notifications in Mi Browser|Check the list of recently installed applications|Update MIUI last-minute|Clear the launcher cache (com.miui.home)-->
โ ๏ธ Attention: B MIUI 13/14 The way to set up notifications has changed. โ Notifications and status bar โ Floating notifications and manually disable unnecessary.
Method 2: Reset the launcher settings (if the window with the error "Launcher stopped")
If a floating window appears with the message "The Launcher app has stopped" or "com.miui.home is not responding", the problem lies in the failure of the system launcher, in which case the reset of its settings will help.
How to do this:
- Go to Settings โ Applications โ Application Management.
- Search for Launcher (or com.miui.home).
- Open the application page and click Storage.
- Tap Clear cache and erase data (this will reset the wallpaper and icon location!).
- Reboot the phone.
After the reboot, the launcher will recreate the cache, and the floating window with the error should disappear. If the problem persists, try updating MIUI to the latest version or reset through ADB (more on this below).
What if the reset didn't help?
Method 3: Disable floating windows via ADB (for power users)
If standard methods donโt work, you can block floating windows at the system level with the help of ADB (Android Debug Bridge), which is suitable for all Redmi models, but requires a connection to a computer.
Step-by-step:
- Enable USB Debugging on your phone: Settings โ About Phone โ MIUI Version (tap 7 times to activate Developer Mode) Settings โ Additional โ Developers โ Debugging on USB
- Connect the phone to the PC and confirm the debugging permission.
- Open the command line (Windows) or the terminal (Mac/Linux) and type: adb shell pm grant com.miui.home android.permission.SYSTEM_ALERT_WINDOW adb shell pm revoke com.miui.home android.permission.SYSTEM_ALERT_WINDOW
- To turn off floating windows in all applications, do: adb shell settings put global hidden_api_policy 1
These commands will disable the floating windows for system applications. If you want to return it, do this:
adb shell settings put global hidden_api_policy 0๐ก
Before using ADB, make sure you have the latest Xiaomi drivers installed, and you can download them on the official website in the Tools section.
| ADB Team Team | Action. |
|---|---|
| adb shell pm revoke [package] android.permission.SYSTEM_ALERT_WINDOW | Prohibits floating windows for the specified package (e.g. com.android.browser) |
| adb shell settings put global hidden_api_policy 1 | Blocks hidden APIs that are used to display ads |
| adb shell am force-stop com.miui.home | Forced stops the launcher (helps when hanging) |
Method 4: Removing viruses that cause floating windows
If a floating window appears with suspicious text (e.g., "Your phone is infected!", "You won a prize!" or "Pay a subscription"), it is almost certainly a virus.
How to delete:
- Launch Google Play Protect: Settings โ Google โ Security โ Play Protect โ Scan
- Install an antivirus (such as Malwarebytes or Dr.Web Light) and perform a full scan.
- Check the list of installed applications for suspicious ones (such as those with System Update, Flash Player, or Clean Master names).
- If the virus blocks access to settings, restart the phone in Safe Mode (press the power button โ hold โSwitch offโ โ โSafe Modeโ).
Typical sources of viruses on Xiaomi Redmi:
- ๐ฑ Installation APK Unknown sources (especially hacked games).
- ๐ Transitioning to references to SMS or messengers (for example, "Your Mi Account is blocked").
- ๐ Connecting to an infected PC through USB (Viruses can be copied to your phone).
โ ๏ธ Note: Some viruses are disguised as system applications (e.g. com.android.system). Before deleting, check the name of the package through a Google search - real system applications cannot be removed!
Yes, there was a virus with floating windows | Yes, but another type of virus | No, never | I don't know how to check-->
Method 5: Disabling personalized advertising in MIUI
Xiaomi is actively using personalized ads in its firmware, and sometimes it manifests itself as floating windows, which can be turned off in the settings of the Mi Account.
Instructions:
- Open the Settings. โ Mi Account.
- Go to Mi Cloud โ Sync and disable Advertising Preferences.
- Go back to the basic settings and select Google โ Advertising.
- Turn off Personalized Ads and reset the Advertising Identifier.
Additionally, you can prevent MIUI from collecting data about your activity:
- Go to Settings โ About Phone โ MIUI version (tap 7 times to activate the developer mode).
- Back to Settings โ Additionally. โ For developers.
- Turn off Error Reporting and Automatic Data Sending.
These actions will reduce the number of ad floating windows, but will not eliminate them completely. For a radical solution, use ADB (mode 3).
๐ก
Turning off personalized ads doesnโt remove all floating windows, but reduces their number by 60-70%.To completely remove you need more radical methods (ADB or firmware reset).
What do you do if nothing helps?
If youโve tried all the ways, but the floating window still appears, there are two radical options left:
- Phone flashing: Download the latest version of MIUI for your model from the official website. Use the Mi Flash Tool to run through Fastboot. Select the Clean All option.
Installation of custom firmware
LineageOS
Pixel Experience
- Unlock the bootloader through the Mi Unlock Tool.
- Install TWRP Recovery and run custom firmware.
- Warning: This will void the warranty and may result in the device being locked!
Before the firmware must:
- ๐ Charge your phone to at least 60%.
- ๐ฑ Make a backup copy of the data (photos, contacts, messages).
- ๐ง Make sure you have the original USB-cable (cheap cables can interrupt firmware).