Install ADB
Find your device
./adb devices
list Packages
./adb shell pm list packages –user 0
Save list
./adb shell pm list packages –user 0 ~/packages-initial.txt
Uninstall packages
./adb shell pm uninstall -k –user 0 <com.program.name.here>
https://gitlab.com/W1nst0n/universal-android-debloater/-/blob/master/lists/Samsung.sh?ref_type=heads
Save final list
./adb shell pm list packages –user 0 ~/packages-initial.txt
My before-after list
If you are getting the following error when trying to interact with an android device.
$ adb devices List of devices attached xxxxxxxx no permissions (user in plugdev group; are your udev rules wrong?);
I followed these steps and it worked. Ensure you give permission to the device on the android side as well.