Computer Tips - Android: delete "undeletable" apps

Date: 2019jan9 OS: Android Keywords: preinstalled, bloatware, crapware Q. Android: delete "undeletable" apps A. Connect your device and use adb:
adb shell
pm list packages (From the shell)
Or
pm list packages | grep samsung (From the shell)
To see the names of all packages, then:
pm uninstall -k --user 0 <package-name> (From the shell)
Example
pm uninstall -k --user 0 com.samsung.android.beaconmanager
Root access is not required. Sadly a factory reset will restore these apps. It would be better if Android had a user friendly way to uninstall all unrequested apps. Credit: https://news.ycombinator.com/item?id=18864220