Removing Xiaomi System Applications via ADB: Secure List and Instructions

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

Done: 0 / 5

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?
If the adb device command does not give anything other than the List header, try: 1. USB-cable to the original or high-quality analogue. 2. Reinstall drivers through Device Manager (select "Universal Android Driver"). 3. Reboot your smartphone and computer. 4. In developer mode, disable and re-enable debugging by USB.

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 nameDescription of the componentRisk of removal
com.miui.misysSecurity Systems (Mi Security)Low (antivirus is working)
com.miui.analyticsCollection of usage statistics (Analytics)Zero (telemetry only)
com.miui.daemonBackground data and statistics collectionLow (reduces load)
com.xiaomi.joyoseService of gaming optimizations and advertisingMedium (may affect Game Turbo)
com.miui.cloudserviceThe Mi Cloud Cloud ServiceLow (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.

πŸ“Š What component? MIUI annoys you the most?
Advertising in system applications
Pre-installed garbage (Facebook, Booking)
Intrusive notifications
Fast battery discharge
Nothing annoys.

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.analytics

Once 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.

How to Sign In to Fastboot on Xiaomi?
Turn off the phone completely. Press the volume button and hold it, plug it in. USB-And you'll see a picture of a hare in a hat, a corned hare repairing an android.

Frequently Asked Questions (FAQ)

Do you need Root Rights to remove system applications through ADB?
No, no Root rights required. The pm uninstall-k --user 0 deletion method works on a standard, unmodified system, and it's even safer because it doesn't break the integrity of the system partition or block banking applications.
Will the warranty fly off after using ADB?
Using ADB to remove applications is not a reason to deny warranty, since software changes are reversible. However, if you damage the system and bring the phone to service, recovery may be paid. The warranty only flies when you unlock the bootloader.
Can I delete the Google Play Store and live without it?
Technically, you can remove it, but it's very inconvenient to live without it, and you'll lose access to the app store, security updates, and most of the software that's linked to Google services, and it's a critical component of the system for the average user.
What if the phone stopped catching the network after cleaning?
Most likely, the package responsible for the modem or radio interface was removed, you need to reset to the factory settings (Wipe Data) through Recovery, if this does not help, you will need a complete flashing of the device.
Will the remote app be updated after the MIUI update?
Yes, when you update your firmware over the air (OTA), the system checks the integrity of your system files and can restore deleted components, in which case you will have to re-delete the procedure after the update.