Uninstall any preinstalled system app from Android cell phone

YouTube and many other preinstalled apps have no button Uninstall. Instead they have button Disable that itself might be disabled. Such apps can only be transiently stopped by tapping button Force stop.
A sample output of the commands executed to uninstall the preinstalled YouTube system app. The output might depend on the phone model.
  • Check your phone to make sure that YouTube app is gone. Reuse the same two commands to identify several Facebook package names and then to remove them.
pm list packages | grep facebookpm uninstall -k --user 0 com.facebook.katana
pm uninstall -k --user 0 com.facebook.services
pm uninstall -k --user 0 com.facebook.system
pm uninstall -k --user 0 com.facebook.appmanager
  • To identify the packages of any other app, use another expression (app name in lowercase) in the first command after grep

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store