Galaxy Tab Cleanup
- Install ADB
-
Find your device
./adb devices
- Solve any permissions issues (see below)
-
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
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
Permissions issue
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.