Every Android user sooner or later faces a situation where a new smartphone is overloaded with pre-installed software that cannot be removed using standard means. Manufacturers and telecom operators often add their own services, games and utilities, which not only take up precious memory space, but also consume system resources in the background. This leads to reduced autonomy of the device and a slower interface.
The good news is that there is a reliable way to get rid of this digital “junk” without the need to obtain superuser rights rootwhich often scares newbies. Using Google's debugging tools, you can safely deactivate or completely remove any system packages you don't need. In this manual, we will analyze in detail the process of preparing, setting up the environment and executing commands to clean your device.
Before taking active steps, you need to understand the responsibility. Removing critical system components can lead to unstable operation or even bricking of the gadget if you erase the wrong package. Therefore, we will pay special attention to studying the structure of packages and creating backup copies. The right approach will allow you to turn stock firmware into a clean and fast system, leaving only the functionality that is really necessary.
Preparing hardware and software
To complete the procedure, you will need a personal computer or laptop running Windows, macOS or Linux. You need to install the package Android SDK Platform-Toolson your computer, which contains the utilities adb and fastboot. This is the official toolkit from Google that provides communication between PC and mobile device. You should download it exclusively from the official website of the developers to avoid malware.
You need to activate developer mode on the smartphone itself. To do this, go to the section Settings → About phone and find the item Build number. Click on it seven times in a row until a notification appears indicating that you have become a developer. After this, a new section will appear in the main settings menu For developers, where you need to enable the option USB debugging.
⚠️ Attention: USB debugging mode gives your computer enhanced access to your phone's system. Never connect your device to unfamiliar PCs or public charging stations that support data transfer in this mode to avoid theft of personal information.
Connect your phone and computer with a high-quality USB cable. When you connect for the first time, a request will appear on the smartphone screen to allow debugging from this computer. Be sure to check the box “Always allow from this computer” and confirm the action. Without this step, the command adb devices will not see your device, and further manipulations will be impossible.
☑️ Ready to delete
Establishing a connection and checking the connection
After installing the drivers and enabling debugging, open the command line line or terminal on the computer. Go to the directory where the platform tools were unpacked. To check the connection is correct, enter the command adb devices. If everything is configured correctly, you will see your device's serial number and status device.
If instead of the device status it is displayed unauthorized, check your phone screen. The confirmation dialog may be hidden behind other applications, or the system may be locked. Unlock the screen and tap Allow. In rare cases, you may need to reconnect the cable or restart the service adb command adb kill-serverfollowed by adb start-server.
Make sure the correct ones are installed on your computer USB drivers for your manufacturer. Samsung, Xiaomi or Huawei devices often require specific drivers that are not included in the standard Google package. Lack of the correct driver may result in the phone only charging but not being detected as a debug device.
If the adb devices command does not show the device, try changing the USB port on your computer or using a different cable. Often the problem lies in cheap cables that only support charging, but not data transfer.
Identification and analysis of system packages
The most critical step is finding the names of application packages that you plan to remove. You cannot enter names manually, as system names often differ from those displayed in the menu. To get a complete list of all installed packages, use the command:
adb shell pm list packages
This command will display a huge list of lines like package:com.android.chrome. It is extremely inconvenient to search for the desired application in such a stream of text. To narrow your search, add a keyword. For example, if you want to find all applications from Facebook, enter adb shell pm list packages | findstr facebook (for Windows) or adb shell pm list packages | grep facebook (for macOS/Linux).
For a more visual analysis, it is recommended to use the utility App Inspector or similar applications directly on your phone to find out the exact name of the package before deleting. There are also graphical frontends for ADB, such as Universal Android Debloaterthat automate the search process and display package descriptions, reducing the risk of error.
| Application type | Package name example | Risk of deletion | Recommendation |
|---|---|---|---|
| Browser | com.android.chrome |
Low | Safe if there is an alternative |
| Google Services | com.google.android.gsf |
Critical | Do not delete, will break synchronization |
| Marketplaces | com.samsung.android.app.galaxyfinder |
Medium | Delete if not used |
| System UI | com.android.systemui |
Critical | Strictly prohibited |
How to understand what a package is responsible for?
If you are not sure of the purpose of a package, enter its name into a search engine along with the word "android package". Specialized forums and databases will help determine the function of the component. Never remove packages containing the words "framework", "provider" or "service" unless you are 100% sure.
The process of removing and deactivating applications
There are two main methods of getting rid of unwanted software: complete uninstall and deactivation for the current user. Complete removal requires root access and can be dangerous, so we will look at the deactivation method for the user 0 (primary). This effectively hides the application from the menu, stops its processes and frees up space, but leaves files on the system partition in case of a factory reset.
The command to deactivate is as follows:
adb shell pm uninstall -k --user 0
Flag here -k indicates that the app's data and cache are preserved (in case you want to get it back without reinstalling it), and --user 0 indicates that the app is being removed for the main profile only. If you have multiple users on the device, the application will remain available to them, which is sometimes convenient for testing.
After entering the command and pressing Enter, you should see a message Success. This means the application has been successfully removed from your userspace. It will disappear from the list of installed apps, stop updating and consuming traffic. If you receive an error, check that the package name is spelled correctly and that you are connected.
Restoring deleted system components
If during the optimization process you accidentally deleted an important application or noticed strange system behavior, do not panic. Since we used the user deactivation method rather than physically wiping it from the system partition, recovery takes a couple of seconds. You will again need an ADB connection and the name of the removed package.
To return the application, use the install command for the current user:
adb shell cmd package install-existing
This command tells the system to make the application available to the user again 0. Once completed successfully, the application will appear in the menu and you can use it as usual. This is the main advantage of the method over complete removal via root access, where recovery often requires flashing the device.
It is recommended to maintain a text file with a list of removed packages. Write down the name of each removed component immediately after the procedure. This will save you in a situation when, in a month, you forget what exactly you deleted, and the system begins to generate errors related to a missing dependent service.
⚠️ Attention: Interfaces and names of system applications may differ depending on the version of Android and the manufacturer’s shell (MIUI, OneUI, ColorOS). What is safe to delete on a “pure” Android may be critical for the operation of the Xiaomi or Samsung launcher. Always check the information for your specific model.
The deactivation method via ADB is reversible and safe. You can always restore a deleted application with one command without risking the functionality of your smartphone.
Frequent errors and precautions
One of the most common mistakes is deletion Package Installer (com.android.packageinstaller). Without this component, you will not be able to install new applications either from Google Play or through APK files. The system will simply no longer understand the format of the installation packages, and you will have to do a complete data reset to restore functionality.
You should also be careful with applications responsible for communications and the phone book. Deleting com.android.phone or com.android.contacts will cause the phone to turn into a tablet: you will not be able to make calls, send SMS or receive notifications about missed calls. Even if you only use instant messengers, telephony system components can affect the operation of the mobile data.
- 🚫 Never delete packages that have the word
frameworkorproviderin the name unless you know exactly their purpose. - ⚠️ Avoid deleting the system launcher (
Launcher3,OneUI Home) unless you have an alternative desktop installed. - ✅ Before mass deletion, create a complete backup of your important data to an external drive or to the cloud.
Another problem is that the driver installation process freezes on Windows 10 and 11. If Device Manager sees phone as “Unknown device”, try manually specifying the path to the drivers in the folder usb_driver inside the downloaded SDK archive. Sometimes disabling driver digital signature verification helps, but this is an extreme measure.
What to do if the phone goes into endless loading?
If after removing a system component the phone stops booting, try entering Recovery mode (usually the power button + volume up) and perform Wipe Cache Partition. If this does not help, you will need a Factory Reset, which will delete all data but restore the system.
Alternative methods and automation
For those who do not want to work with the command line, there are graphical utilities such as Universal Android Debloater (UAD). This is an open source app that scans the connected device and offers a list of applications recommended for removal, marking dangerous packages in red. It uses the same ADB commands under the hood, but provides a user-friendly interface.
Using such tools speeds up the process, since the application database is constantly updated by the community. You can see which packages are safe to remove on a specific model, for example Samsung Galaxy S21 or Xiaomi Redmi Note 10. However, even when using GUI tools, it is recommended to carefully read the descriptions before clicking the uninstall button.
Remember that system optimization is not only about removing applications. After cleaning, it is recommended to reboot the device to allow the system to rebuild the indexes and free up resources. Regularly checking the list of installed apps will help keep your phone clean and prevent new “garbage” from accumulating after firmware updates.
Is it safe to remove Google Play Services?
No, this is strictly not recommended. Google Play Services ensures the operation of push notifications, geolocation, synchronization accounts and the operation of most third-party applications. Removing it will lead to the inoperability of almost all useful software on the phone.
Do deleted applications take up space in memory?
When using a command with the flag --user 0 application files remain in the system partition, but they do not take up space in the user storage and do not affect the speed of operation. In fact, they do not exist for the system until you restore them.
Do you need root access for this procedure?
No, the described method works on any device with USB debugging enabled. root access is required only to physically delete files from the system partition, which is much more dangerous and difficult for the average user.
Is it possible to remove a standard browser and install your own?
Yes, you can remove the system browser (for example, Samsung Internet or Mi Browser) by first installing and configuring an alternative, for example, Chrome or Firefox. The system will automatically switch the use of links to the new application by default.
What is Bloatware?
Bloatware is a term for pre-installed software that takes up space on the device, consumes resources, but does not provide a payload for a specific user. Often these are advertising applications or duplicates of standard functions.