How to Uninstall System Applications on Xiaomi via PC

Modern Xiaomi smartphones running MIUI or HyperOS shells are often overflowing with pre-installed software that cannot be removed by standard methods. Users are faced with intrusive advertising, background processes and useless software taking up precious space. The only reliable way to clean up a device from system debris is using a computer and ADB debugging protocol.

This method does not require obtaining superuser rights (Root), which preserves the guarantee of the device and integrity of banking applications. However, interfering with the system partition /system requires extreme caution and following the instructions accurately. Any error can lead to malfunctioning of the operating system or even a bootloop (cyclical restart).

In this article, we will discuss the process of preparing, configuring and safely removing unnecessary components, you will learn to distinguish between critical services and harmless software that can be painlessly deactivated to speed up the gadget.

Necessary tools and smartphone preparation

Before you start, you'll need a computer running Windows, macOS or Linux, and you'll need to install ADB drivers on your device, which are often bundled with Google's platform tools, without which your computer won't be able to recognize your smartphone in debugging mode.

On the Xiaomi smartphone itself, you need to activate the hidden developer menu. To do this, go to Settings β†’ About the phone and quickly click 7-10 times on the MIUI Version (or OS Version). Once the notification β€œYou became a developer” appears, you will access the desired settings.

Next, go to Settings. β†’ Advanced settings β†’ For developers, you need to turn on the debugging switch here. USB. It is also important to activate the item. USB-Debugging (Security settings) that allows the computer to control the device without constant screen confirmation.

⚠️ Warning: When you connect your smartphone to your PC for the first time, you will see a request for debugging permission on the screen. Be sure to select "Always Allow from this computer" and press OK, otherwise the commands will not be executed.

β˜‘οΈ Preparing for removal of system applications

Done: 0 / 5

Installation and Configuration of the ADB Environment on the Computer

You'll need Platform Tools to work with. Download it from the official Android Developers website. Once you unpack your archive, open the Command Prompt (CMD) or PowerShell in the tool folder. In Windows, you can do this by clamping down Shift and right-clicking in the folder, selecting "Open PowerShell window here."

Check the device's connection by entering the adb device command. If a device with a serial number and device status appears on the list, the connection is established. Unauthorized status means that you have not confirmed access on the phone screen.

For convenience, many users use graphical shells such as Xiaomi ADB/Fastboot Tools or ADB AppControl. They automatically define the model and offer a list of applications to remove, marking dangerous system processes in red.

adb shell pm list packages

This command will display a complete list of all installed packages, and in GUIs, this list is already filtered and structured, making it much easier to find unnecessary software.

πŸ“Š What tools do you prefer to work with? ADB?
Command Prompt (CMD/PowerShell)
Xiaomi ADB/Fastboot Tools
ADB AppControl
I didn't use it, I'm afraid to break it.

Package analysis: what can be removed and what can not be removed

The most critical stage is packet identification. Xiaomi system applications have the prefix com.miui. or com.android.... Removing components responsible for calls, messages or interface operation will cause the phone to malfunction.

Analytics, ads and rarely used apps like Mi Video, Mi Music or Mi Browser can be safely removed if you don’t use them, and com.facebook.katana and other Google services are often removed if they aren’t in use.

List of safe packet removal
com.miui.misys (Mi Account - cautious if you don't need a sign-in), com.miui.player (Mi Music), com.miui.videoplayer (Mi Video), com.xiaomi.mirecycle (Recycle Bin), com.android.bips (Print Service), com.facebook.system (Facebook App Manager).

Pay special attention to packages called daemon or service, often responsible for background synchronization or sensors, and before removing such a component, you'd better find a description of it online by the exact name of the package.

Package nameDescriptionRisk of removal
com.miui.analyticsStatistics and advertisingLow (recommended)
com.miui.msaAdvertising Services System (MSA)Low (recommended)
com.android.phoneTelephony systemCritical (do not touch)
com.miui.securitycenterSecurity centreHigh (will disrupt the antivirus)
com.google.android.gmsGoogle Play ServicesHigh (the cards, the store will stop working)

Removal process through the command line

If you're using a console, the command to remove the app is as follows. It doesn't erase. APK-The file is physically hidden by the current user (user 0), which is equivalent to deleting the file.

adb shell pm uninstall -k --user 0 <name packet>

For example, to remove the MSA ad service, type: adb shell pm uninstall -k --user 0 com.miui.msa. Once the command is completed, the system will give a message Success.

It's important to understand the difference between deleting for the user and completely uninstalling. The --user 0 command is safe, because when you reset to Factory Reset, all the applications that are removed in this way will return to their places.

⚠️ Warning: Do not use the flag -k without need, if you want to free up space completely, but for system applications the standard command pm uninstall --user 0 is a safety standard.

πŸ’‘

Keep a list of deleted packets in a text file. If the phone starts to behave strangely after cleaning, you can quickly restore the deleted install command.

Recovery of Remote System Components

If the phone is not working properly, contacts are gone or the sound is no longer working, remote applications can be returned using the cmd package install-existing command (for Android 11+) or the standard pm install-existing.

The complete recovery team looks like this:

adb shell cmd package install-existing <name packet>

An alternative and simpler way is to perform a complete data reset. Since deletion was only for the user profile 0, when you return to the factory settings (Settings β†’ About Phone β†’ Resetting), the original firmware will be restored to its full extent.

If you remove a critical component, such as SystemUI or launcher, the phone can go into eternal restart, in which case only reflashing the device through Fastboot mode using the Mi Flash Tool utility will help.

Alternative methods and automation

For those who don’t want to work with code, there are scripts and utilities with a graphical interface. Xiaomi ADB/Fastboot Tools (the developer of Szaki) automatically analyzes the device and suggests removing only those components that are verified by the community.

Universal Android Debloater is also popular, an open-source cross-platform app that has a database of secure packages for thousands of devices including Xiaomi, Samsung and OnePlus. It flags packages with colors: green is safe, yellow is cautious, red is dangerous.

πŸ’‘

Using graphical shells (GUIs) reduces the risk of error by 90%, as they hide complex commands and warn you of deleting critical system files.

Some users try to remove system debris by installing modified themes or using root-enabled cleaners, which are ineffective because they don’t allow access to the system partition /system/app or /system/priv-app.

Can Google services be removed from the global firmware?
Technically, it is possible through ADB, but it is highly discouraged: Deleting com.google.android.gms will disrupt most apps in the Play Market, including navigators, banks and instant messengers. The phone will become virtually useless to the average user.
Do you need Root Rights to remove system applications?
No, method. ADB Root rights allow you to delete or hide applications for the current user without superuser rights. Root rights give you full access to the file system, but obtaining them is more difficult and can disrupt the operation of banking applications (SafetyNet/Play Integrity).
What if your computer can’t see your phone in ADB mode?
Check the cable. USB (It should support data transfer, not just charging. Make sure drivers are installed. ADB. Try another one. USB-port, preferably USB 2.0.Reboot your smartphone and allow debugging again.
Will remote applications return after the MIUI update?
When you upgrade to OTA, applications removed through ADB are usually deleted because only the system partition changes and user settings are saved. However, when you switch between major versions of Android (for example, from 13 to 14), the system can restore the original packet list.