This repository contains a list of Android Debug Bridge (ADB) commands to aggressively bloatware from Samsung Android devices that don't normally display an option to remove them.
Running all commands listed in commands.txt will disable almost all Samsung apps. This includes the Galaxy App Store, Samsung Themes, Samsung Dex, Samsung Bixby, Facebook, and more. Use at your own risk and read over all commands to make sure you don't take out something you need. While these commands cannot harm your device, there may be situations where your phone gets into a crash-loop and the easiest fix is to boot the device into "Recovery Mode" and perform a factory reset.
⚠️ Research each package before running the command to disable it. Some apps have hidden dependencies.
Search for a Minimal ADB installer : https://xdaforums.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/ Further reading on ADB can be found here: https://developer.android.com/studio/command-line/adb#Enabling.
-
Install Minimal ADB
-
On your phone, enable Android's "Developer Options"
-
In "Developer Options", turn on "USB Debugging"
-
Connect your Samsung Android phone to your computer with USB debugging enabled. Verify that adb sees your device and the daemon is running with the following command
adb devices
- You should see the device name listed as a "device".
- At this point your device should prompt you to accept USB debugging from your computer. Tap "Allow".
-
Enter your device's shell with the following command
adb shell
-
Once in the device's shell, copy and paste all desired commands from commands.txt to remove the package.
Once in your device's shell, you can use the following command to list installed packages by name.
pm list package | grep '<package name>'
For example, to list all installed packages with Facebook in their name, you'd type,
pm list package | grep 'facebook'
Use :
pm install-existing --user 0 <package name>
For example to reinstall Sound Quality and Effects,
pm install-existing --user 0 com.sec.android.app.soundalive
pm install-existing --user 0 com.sec.android.app.myfiles