How to Uninstall Any Android App With ADB (Including System Apps and Bloatware)
As we continue to pile on apps onto our Android devices, we often end up with apps that we no longer use or need. Although it is easy to uninstall regular apps through the Play Store or Settings menu, removing system apps or bloatware can be quite tricky. However, with the help of the Android Debug Bridge (ADB) tool, you can remove any app from your Android device, regardless of its source. Here is a step-by-step guide on how to uninstall any Android app with ADB.
Step 1: Set Up ADB on Your Computer
Before you can use ADB to uninstall apps, you need to have ADB installed on your computer. To set up ADB, follow these steps:
1. Download the Android SDK Platform-Tools package for your operating system from Google’s website.
2. Extract the downloaded package into a folder on your computer, such as C:/ADB.
3. Open the extracted folder and press Shift+Right Click to open a Command Prompt or PowerShell window.
4. Connect your Android device to your computer using a USB cable.
5. On your Android device, enable USB debugging by going to Settings > Developer options > USB debugging. If you can’t see Developer options, go to Settings > About phone and tap the build number seven times.
6. In the Command Prompt or PowerShell window, enter the command “adb devices” and hit enter. If you see your device’s serial number, it means your device is connected and ADB is working correctly.
Step 2: Identify the Package Name of the App You Want to Remove
To uninstall an app using ADB, you need to know its package name. You can find the package name using several methods, including:
– Searching the app on the Play Store and looking at its URL (e.g., com.google.android.youtube).
– Using an app like Package Name Viewer to view the package name of all installed apps on your device.
– Running the command “adb shell pm list packages” in the Command Prompt or PowerShell window to see a list of all installed packages on your device.
Step 3: Uninstall the App Using ADB
Once you have identified the package name of the app you want to remove, you can uninstall it using the following command in the Command Prompt or PowerShell window:
adb shell pm uninstall -k –user 0 packageName
Replace “packageName” with the actual package name of the app you want to uninstall. The “-k” option keeps the app’s data and cache files, while “–user 0” specifies that the app should be uninstalled for the primary user of the device.
If the app you are trying to uninstall is a system app or bloatware, you may encounter an error message stating that the app cannot be uninstalled. In that case, you can use the following command to disable the app instead:
adb shell pm disable-user –user 0 packageName
This command will disable the app, preventing it from running, but it will not delete any of its files.