Owners of Xiaomi, Redmi and POCO smartphones often encounter intrusive pre-installed software that cannot be removed by standard means.These programs, known as bloatware, take up space in memory, consume CPU resources and can display ads. Fortunately, there is a safe and proven method to eliminate them without the need for superuser rights.
Using a computer for this procedure opens up access to Android system functions via the ADB debugging bridge. This tool allows you to interact with the operating system at a deep level, removing even those components that are hidden from the average user.
The main purpose of this procedure is to optimize the device and free up RAM, so you can get rid of duplicate Google services, unnecessary games and marketing applications that the manufacturer installs by default, and this is especially true for global firmware versions, where the list of preinstalled software can be huge.
Necessary tools and PC preparation
Before you start, you will need a personal computer or laptop running Windows, macOS or Linux. You will need to download and install the minimum Google Platform Tools toolkit, which contains adb and fastboot executables. Without this package, no command will be recognized by the system.
It is also critical to establish relevant USB-Windows 10 and 11 install them automatically when you connect, but for stable operation, it is better to use the official Xiaomi driver. USB Lack of the right drivers is the most common reason why a computer doesnβt see a connected device in debugging mode.
For convenience, many users prefer to use graphical shells such as Xiaomi ADB/Fastboot Tools or ADB AppControl. These programs visualize the list of applications and allow you to remove them with a mouse click, however, manual use of the command line gives more control over the process and ensures that there are no hidden scripts in third-party software.
π‘
Use the original. USB-cable coming bundled, as cheap counterparts often only support charging and do not transmit data.
Activation of the developer mode and debugging
The first step on the smartphone side is to turn on the hidden developer menu, and to do this, go to Settings, select About Phone, and find the MIUI Version (or HyperOS Version) line, and you need to quickly click on this line 7-10 times in a row until you notice that you have become a developer.
Once you activate the menu, go back to the main settings menu and find the Additional or Advanced Settings section, and a new Developer Item will appear there. Once you enter it, scroll down to Debug and activate the USB Debugging switch, and the system will warn you of the risks you need to accept.
When you first connect your smartphone to your computer, a dialog box will appear on your mobile device screen asking for debugging permission. Be sure to tick "Always Allow from this computer" and press OK. If you don't, the connection will break after each command, and the cleaning process will take a long time.
βοΈ Checking readiness
Connecting a smartphone and checking the communication
Connect your smartphone and computer USB-If you're using Windows, open Device Manager and make sure there's no exclamation marks in Portable Devices or Android Device, which will confirm that the drivers are installed correctly and the system sees the hardware.
Open the command line or terminal in the adb tool folder. To check the connection, type the command:
adb devicesIf everything is set up correctly, you'll see a list of connected devices with a unique serial number and device status. If it displays unauthorized instead, look at the smartphone screen and confirm the access request. Offline status usually indicates problems with the cable or drivers.
- π± Make sure your smartphone screen is unlocked during the first connection attempt.
- π» Check that the path to the folder with ADB It does not contain Cyrillic symbols to avoid coding errors.
- π Try different. USB-port, preferably USB 2.0 if there are problems with stability.
List of removal packages and risk table
The hardest part of the process is packet identification. Android system apps have packet names that often don't match their menu names, like the Music app might be called com.miui.player, and advertising services might be hidden under names like com.miui.msa.
Below is a table of common Xiaomi packages that users often delete and an assessment of the risks of removing them. Before executing commands, it is strongly recommended to find the exact name of the package through the command adb shell pm list packages or specialized application analyzers.
| Packet name | Description | Risk of removal |
|---|---|---|
| com.miui.msa | Advertising Services System (MSA) | Low (recommended) |
| com.miui.daemon | Statistics and telemetry collection | Low. |
| com.android.bips | The Print Spooler (Print Spooler) | Medium (needed for printers) |
| com.google.android.youtube | Official YouTube | Low (can be replaced) |
| com.miui.weather2 | Weather appendix | Medium (depends on widget) |
Removing critical system components, such as com.android.phone or com.miui.securitycenter, can cause unstable operation or buildup of the device. Always double-check the packet name before entering a deletion command. Never delete packets that you don't know the purpose of, especially if the name has the words system, framework, or security in it.
β οΈ Note: Removing system applications through ADB It doesn't physically erase them from the recovery section, but it makes them invisible to the current user.
Execution of application removal commands
There are two main methods of deletion: temporary (for the current user) and complete. For most optimizations, it is enough to remove the application for the current user (user 0).
To remove a specific packet, use the following command in the terminal:
adb shell pm uninstall -k --user 0 name packetHere. -k means saving cache and data (so that when you restore, you do not lose the settings, if any), and --user 0 If you want to remove the app completely for all users (which requires more rights and can be more dangerous), the flag --user 0 You can drop it, but it is not recommended for beginners.
To speed things up, you can use scripts or delete packets in groups, but manually entering each command ensures you don't delete the extra, and after each successful operation, the terminal will give you a message, "Success." [DELETE_FAILED_INTERNAL_ERROR], This means that the application is protected or critical to the operation of the OS.
How to return a remote application?
Alternative methods and graphical utilities
If working with the command line seems difficult to you, there are convenient options. GUI-The shells. ADB AppControl (Windows) automatically detects the connected smartphone, shows a list of all apps with icons and a security rating. It allows you to delete, freeze and install. APK-single-click.
Another popular tool is Xiaomi ADB/Fastboot Tools from developer Szaki, a cross-platform Java application that is specifically tailored for Xiaomi devices, which can remove advertising services, clear the Cache partition, and even unlock the bootloader (if you have an account).
- π‘οΈ Security: Graphics utilities often have built-in lists of safe packets to remove, marking dangerous ones in red.
- π Backup: Most programs offer to backup a list of installed applications before cleaning.
- π Availability: Native language interface makes it easier to understand technical terms.
Using such software reduces the risk of human error when typing commands, but requires trust from a third-party developer. Always download such utilities only from official sites or trusted repositories such as GitHub or 4PDA.
β οΈ Note: When using third-party uninstallers, the antivirus may react to their activity as suspicious, as they interfere with the system files of Android.
System Restore and Frequent Errors
If after removing system components, the smartphone started to work incorrectly (calls are lost, Wi-Fi is not working, endless download), you should not panic. Since we used the removal method for the user, these applications are physically in the system partition and can be returned.
The easiest way to roll back is to reset to factory settings (Wipe Data) via the Recovery menu. This will bring all remote system applications back to their places. If the phone boots, you can try to restore a specific package through ADB with the install-existing command, as described in the spoiler above.
Frequent errors include device offline error (solved by cable reconnection), authorization error (reconfirm request on the screen) and command not found error (ADB not added to path variables or you are in the wrong folder).
π‘
The ADB method of removal is safe because it does not require unlocking the bootloader and does not violate the warranty, since it does not make changes to the system partition recovery.