Xiaomiโs MIUI-based smartphones sometimes face the problem of โhang-upโ apps: messengers continue to send notifications after closing, games slow down the system, and background processes drain the battery. Unlike Android in its pure form, here the standard swiping in the multitasking menu does not always remove the application from memory. Why does this happen?
Itโs about aggressively optimizing MIUI Optimized, Xiaomiโs proprietary solution that manages device resources, which can block forced stops for โsystemโ applications (e.g. com.miui.securitycenter) or return them to the background after a few seconds. In this article, weโll discuss 5 working ways to completely stop the program from basic to advanced, including ADB and hidden developer settings.
1. Standard Stop through Android Settings
The most obvious method is to use built-in Android tools, which is suitable for most user applications (e.g. Telegram, VK, TikTok), but may not work for Xiaomi system services.
How to do this:
- ๐ฑ Open the Settings. โ Annexes โ Application management.
- ๐ Find the right app in the list (use a search if itโs not at the top).
- ๐ Click Stop (button will only appear if the program is active).
- โ ๏ธ Confirm the action in the pop-up window.
If the Stop button is inactive or not, the application is protected by MIUI, in which case move on to the following methods.
๐ก
After a forced stop, some apps (such as Facebook or Instagram) can automatically restart. To avoid this, turn off auto-run in the application settings (Auto-Run).
Note: this method does not delete app data. If the goal is to reset cache or settings, use the Clear Data button in the same menu.
2. Forced stopover via MIUI Optimized
MIUI Optimized is a back-end application that monitors background processes, often preventing users from completely shutting down programs, but it can also be used to force them to stop.
Instructions:
- Activate Developer Mode: Go to Settings โ About Phone. Click 7 times on the MIUI Version until the notification โYouโve become a developer!โ appears.
Settings โ Additional โ For Developers
MIUI optimization
turn off
Reboot the phone.
Now try to stop the application in the standard way (section 1).
โ ๏ธ Attention: offline MIUI Optimized can lead to increased battery consumption and overheating of the device. Use this method only when necessary and turn on optimization back after solving the problem.
3. Stop over ADB (for power users)
If the app persists in not shutting down, Android Debug Bridge (ADB), a computer debugging tool, works even for system services, but requires a PC connection.
Step-by-step:
- Download the platform-tools from the official Android website.
- Connect your phone to your computer via USB and enable debugging via USB (Settings โ Developers โ USB debugging).
- Open the command line (cmd) in the folder with the platform-tools.
- Enter the command to check the connection: adb devices (should appear serial number of your device).
- Find the name of the package of the problem application (you can find out through the App Inspector or the APKMirror website).
- Follow the command to force stop: adb shell am force-stop com.example.app (replace com.example.app with the real name of the package).
Step-by-step action:
- Install Titanium Backup and grant root rights.
- Find the problem app in the list.
- Click โFreeze!โ (the application will disappear from the system, but will remain in memory).
- If you want to remove it completely, select โDelete!โ
โ ๏ธ Note: Removal of Xiaomi system applications (e.g, com.miui.weather2 or com.xiaomi.scanner may cause functions to fail (weather, scanner) QR-codes) or cyclic loading of the phone. Before deleting, check if the application is critical for the user to use the device. MIUI.
๐ก
If you are not sure about your root access, you should use ADB (Section 3) or third-party utilities (Section 4).