Uninstall any preinstalled system app from Android cell phone

YouTube and many other preinstalled apps have no button . Instead they have button that itself might be disabled. Such apps can only be transiently stopped by tapping button .

New smartphones tend to be stuffed with useless and sometime annoying applications. Unlike the apps installed by phone owners, some preinstalled apps cannot be uninstalled by tapping the buttons on the phone screen.

With the help of a computer any system app can be uninstalled from a mobile phone. The procedure is not complicated, but is longer than tapping a button. To illustrate the procedure, I demonstrate how to remove YouTube and Facebook, two widespead apps that are often classified as system.

The first step is the most complicated. You have to enable and then find the menu in your phone. A general procedure is described in the Android documentation https://developer.android.com/studio/debug/dev-options. However, the exact way depends on the phone model. Search in Google how to enable in your phone model if you want to do it quickly.

Activate the option in the menu.

Connect the phone to the computer using a standard cable that you use for transfering photos or videos from your phone to your computer.

Download zip archive from https://developer.android.com/studio/releases/platform-tools to your computer and extract its contents any folder of your choice (for example C:\TEMP). The archive includes () a command-line tool for sending commands to a phone from a computer. The three commands used below are explained in the user guide https://developer.android.com/studio/command-line/adb.

Launch the (consult Google if you do not know how) and set the working directory to the folder containing the downloaded (for example by executing:cd C:\TEMP\platform-tools).

Type adb devices. A popup asking if you accept an RSA key appears on your phone. After you agree, a List of devices attached is displayed the .

Start an interactive shell: adb shell

Determine the package name of the YouTube app:

pm list packages | grep youtube

Uninstall the identified package:

pm uninstall -k --user 0 com.google.android.youtube

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

--

--

--

Java, JavaScript and SQL developer. Interested in data collection and visualization. Comment and disagree with my personal notes on tiny problems that I faced.

Love podcasts or audiobooks? Learn on the go with our new app.

My experience learning CUDA to accelerate Conway’s Game of Life

Beatifying Code: Ternaries

Building an electronics project with Java, Maven and Pi4J on Raspberry Pi with Visual Studio Code

Getting Started With Unity

Periodically Cleaning ElasticSearch Indexes Using AWS Lambda

Creating a Programming Language using Visual Basic

.NET Core 2.1 highlights: standing on the shoulders of giants

Cross-Platform Desktop GUI Application using .Net Core

Test GUI on Glade
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
Marian Čaikovski

Java, JavaScript and SQL developer. Interested in data collection and visualization. Comment and disagree with my personal notes on tiny problems that I faced.

Introduction to PWA & TWA

How Android updates work: A peek behind the curtains from an insider

Should Kotlin be the preferred choice for Android App Development?

First Step on Downgrading Android