Xiaomi and Redmi smartphone owners often face intrusive system debris that cannot be removed by standard methods. The MIUI shell or the new HyperOS preinstalles many services that not only take up space, but also consume CPU and RAM resources. Using Android Debug Bridge (ADB) opens up access to hidden system functions, allowing you to get rid of excess software without obtaining Root rights.
However, interfering with system partitions requires extreme caution and a clear understanding of the purpose of each package. Removing critical components can lead to a bootloop (cyclic reboot) or complete device failure. In this article, we will discuss which packages are safe to remove and which ones cannot be touched categorically so that your gadget remains on the go.
Before you start, you need to prepare your work environment. You need a computer with Windows, Linux or macOS, USB-Deleting the com.miui.system package is not critical to the system, but will return the standard Android settings instead of the default one. MIUI. This nuance is important for those who want to βcleanβ the interface as much as possible, while maintaining the basic functionality of calls and communications.
Preparing a smartphone and computer to work with ADB
The first step is to activate the hidden developer menu on your device. β On the phone and press quickly 7-10 once-point version MIUI or OS. After the notification that you have become a developer, go back to the main settings menu and find the additional section. β For developers, you need to activate the debugging switch. USB.
Next, you should prepare your computer. Download the current SDK Platform Tools package from Google's official website or use proven builds like Minimal ADB and Fastboot. Unpack the archive in the root folder of the disk, for example, in C:\adb, so that the path to the files is short and contains no Cyrillic characters, which will simplify the input of commands into the console and reduce the risk of syntax errors.
Connect your smartphone to your PC with a cable. For the first time, you'll see a request on your device screen for debugging permission from that computer. Make sure you tick Always Allow from that computer and hit OK. If the device isn't identified, check the drivers or try another one. USB-port, preferably USB 2.0, as they are often more stable with debugging modes.
β οΈ Note: When connecting the cable, the smartphone screen should be unlocked.If you miss the confirmation request RSA-The computer will not have access to the system commands, and all further actions will be impossible.
βοΈ Checking readiness for debloat
Starting ADB and checking the connection
Open the command line (cmd) or terminal in the folder with the ADB tools. To check the connection, enter the command adb devices. In response, you should see a list of connected devices with a unique serial number and device status. If instead of the status it is written unauthorized, look at the phone screen and confirm access.
For ease of use, many users use graphical shells such as the Xiaomi ADB/Fastboot Tools from jhenrique09 or ADB AppControl. These programs automatically read the list of installed packages and offer convenient interfaces to remove them. However, manually entering commands through the console gives more control and understanding of the processes occurring in the system.
To see the full list of all packages installed, type the command adb shell pm list packages. The output will be huge, so it is better to filter it by adding a keyword, for example, adb shell pm list packages | find "miui" (for Windows) or adb shell pm list packages | grep "miui" (for Linux/Mac).
What if the ADB canβt see the device?
Xiaomiβs Safe to Delete Package List
There is a category of applications that do not disrupt basic smartphone functionality, such as advertising services, analytics, redundant browsers and duplicate system utilities, and below is a table with the most common packages that can be safely uninstalled to free up resources.
| Packet name | Description of the component | Risk of removal |
|---|---|---|
| com.miui.misys | Security Systems (Mi Security) | Low (antivirus is working) |
| com.miui.analytics | Collection of usage statistics (Analytics) | Zero (telemetry only) |
| com.miui.daemon | Background data and statistics collection | Low (reduces load) |
| com.xiaomi.joyose | Service of gaming optimizations and advertising | Medium (may affect Game Turbo) |
| com.miui.cloudservice | The Mi Cloud Cloud Service | Low (if not used) |
Also worth noting are pre-installed third-party apps, which are often bundled with Facebook, Booking.com, TikTok or games, and their packages usually contain the word facebook, booking or tiktok in their title, and removing these components is painless and does not affect the phoneβs performance.
Special attention should be paid to the package com.miui.msa.global. MIUI (MSA β MIUI System Ads: Removing it completely eliminates pop-up ads in system applications, but may sometimes require re-installation after major firmware updates as the system seeks to restore this component.
Dangerous packages: what to remove categorically can not be
There are components in Android that will cause the device to fail, most notably Google frameworks and services, and if you delete Google Play Services (com.google.android.gms), the maps, notifications, contact syncs and most third-party apps will stop working.
Also critical are packages responsible for telephone communication and work SIM-Deleting com.android.phone or com.qualcomm.qti.telephonyservice will turn your smartphone into a tablet without the ability to call or mobile Internet. Recovering without flashing or resetting through Recovery will be extremely difficult.
Don't touch the components associated with the display and touchscreen. Packages with names that contain display, touch or sensor are responsible for processing input. Their loss can cause the screen to stop responding to touch or display a distorted picture, making it impossible to control the device.
β οΈ Before removing any package you are not 100% sure of, search for its name in the search engine. It is better to leave an extra application than to get a "brick" that requires a difficult recovery.
π‘
Save the list of deleted packets to a text file. If something goes wrong after cleaning, you can quickly restore deleted components with the install-create command or just knowing what to return.
Instructions for removing applications through the console
To remove a particular application, the command adb shell pm uninstall -k --user 0 <name packet> is used. The flag -k stores the data and the application cache (in case you want to return it), and --user 0 indicates that the deletion is done for the main user, that is, for the entire system.
adb shell pm uninstall -k --user 0 com.miui.analyticsOnce you enter the command, the system will give you a Success message if the deletion is successful. [DELETE_FAILED_INTERNAL_ERROR] or the like, means that the packet is deletion-proof or is a system critical component that ADB Do not let you touch without a Root-Right.
If you have deleted something extra and want to return the application, use the command adb shell cmd package install-existing. <packet>. This will restore the system application from the firmware reserve. Please note that for third-party applications (such as Facebook) removed by this method, recovery is possible only by re-installation. APK-file.
Alternative methods and graphical utilities
For those who are afraid to work with the command line, there are convenient programs with a graphical interface. ADB/Fastboot Tools is perhaps the most powerful tool created specifically for Xiaomi devices, which can remove system applications, clear cache, disable ads and even unlock the bootloader.
Another popular option is ADB AppControl. This program automatically analyzes installed applications, assigns them security statuses (Safe, Unknown, Dangerous) and allows you to remove them one by one or in groups.
Using such utilities greatly reduces the risk of error, since they often have built-in databases of known packets. ADB-If the program freezes or gives you an error, knowing the manual commands will allow you to solve the problem directly.
β οΈ Note: Graphics programs may not work properly on new versions of Android (13/14) or HyperOS due to changes in security policy. Always check that the utility is compatible with your version of the OS.
Recovery of the system after errors
If the phone starts to behave incorrectly after cleaning, but loads, the easiest way to return deleted packets is through ADB, as described above. If the device has gone into cyclic restart (bootloop), you will need to enter Recovery mode. On the phone turned off, press the Volume Up and Power buttons simultaneously.
In the Recovery menu, select Wipe Data, which will delete all user data and return the settings to factory settings, which often helps to correct errors caused by removing system components. Before this procedure, make sure you have a backup of important files.
In the extreme case, when Recovery does not help, only flashing the device through Fastboot mode using the Mi Flash Tool utility remains.This is guaranteed to return the phone to its original state, but will require an original firmware image for your particular model.