CyberSolutions: Uninstall Carrier / OEM Bloatware Without Root Access

Wednesday, April 10, 2019

Uninstall Carrier / OEM Bloatware Without Root Access


More and more carriers and OEMs are locking down their devices and installing various pieces of bloatware onto our smartphones and tablets. Admittedly, bloatware is a rather subjective term and can range from Samsung’s own messaging application to Google’s own music player application to even actual spyware like DT Ignite. Because many of our phones and tablets are locked down, it can be difficult to uninstall or even disable some of these pre-installed system applications.

We generally see smartphones and tablets setup this way because the OEM or the carrier wants to maintain control of the devices they sell. Sometimes they get paid for each application they pre-install on the smartphones they sell. Then there are times when they can even make more money from the diagnostic and usage data these applications can collect on your phone. At the end of the day though, carriers and OEMs do this for both additional revenue and control of the platform.

There are some debloater applications in the Play Store for certain OEMs, which is nice, and there are also some dedicated XDA community members here that put together tools which can help get rid of these as well. It’s rare to see a universal solution for this task, though, and today’s guide will walk you through how to manually uninstall these system applications without root access. All you need is a few simple ADB commands in a command prompt.


Requirements:

01. Universal USB Drivers (Download Link)
02. ADB Binary (Download Link)

Steps to Uninstall Applications:

01. Install the USB drivers for your device.

02. Download and extract the ADB Binary.

03. Move the ADB Binary folder to C drive (C:\).

04. On your phone, go to Settings and tap on About Phone. Find the Build Number and tap on it 7 times to enable Developer Options.

05. Now enter Developer Options and find USB Debugging. Enable it.



06. Plug your phone into the computer and change it from “Charge Only” mode to “File Transfer (MTP)” mode.

07. On your computer, browse to the directory where you extracted the ADB Binary.


08. Launch a Command Prompt in your ADB folder. This can be done by holding Shift and Right-clicking then selecting the “Open Command Prompt Here” option.


09. Once you’re in the command prompt/terminal, enter the following command: 
adb devices

10. You will see that the system is starting the ADB daemon. If this is your first time running ADB, you will see a prompt on your phone asking you to authorize a connection with the computer. Grant it.

11. Now if you re-run the adb devices command, the terminal will print the serial number of your device. If so, then you’re ready to move on.

12. Enter the following command: 
adb shell


13. Execute the following command to find package names:
pm list packages | grep '<OEM/Carrier/App Name>'


ALTERNATIVELY: You can also easily find the package name of an installed system application by installing the App Inspector app on your phone. I prefer doing it this way so you know exactly what the app name is of the application that you are about to uninstall.

14. Execute the following command to uninstall specific applications. Enter the package name you want to uninstall in place of <name of package>.
pm uninstall -k --user 0 <name of package>


Steps to Reinstall Applications

1. Follow Step 01 - Step 12.

2. Enter the following command: 
adb shell cmd package install-existing <name of package>

Note: This works because applications truly aren’t being fully uninstalled from the device, they are just being uninstalled for the current user (user 0 is the default/main user of the phone). That’s why, if you omit the “–user 0” and “-k” part of the uninstall command, the command won’t work. These two flags respectively specify that the system app will only be uninstalled for the current user (and not all users, which is something that requires root access) and that the cache/data of the system application will be preserved (which can’t be removed without root access). Therefore, even if you “uninstall” a system application using this method, you can still receive official OTA updates from your carrier or OEM.

No comments :

Post a Comment