/notebook/galaxy-tab-cleanup/index

Galaxy Tab Cleanup


  1. Install ADB
  2. Find your device

    ./adb devices

    1. Solve any permissions issues (see below)
  3. list Packages

./adb shell pm list packages --user 0

  1. Save list

./adb shell pm list packages --user 0 ~/packages-initial.txt

  1. Uninstall packages

    ./adb shell pm uninstall -k --user 0

    https://gitlab.com/W1nst0n/universal-android-debloater/-/blob/master/lists/Samsung.sh?ref_type=heads

  2. Save final list

./adb shell pm list packages --user 0 ~/packages-initial.txt

  1. 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?);

https://stackoverflow.com/questions/53887322/adb-devices-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.

About

I am an engineer and educator, having spent ten years as a professor. My goal is to help you build your knowledge of design and technology, get your hardware working, and propel your startup or small business. Get in touch!