Featured image of post Uninstall Facebook from your Android Device

Uninstall Facebook from your Android Device

As the application is a system application you can't unistall Facebook, but you can remove it using Android ADB

I still have a Samsung Galaxy S9 on which have the Facebook application installed by default when you purchase the phone. I want to completely remove the application from my device. As from time to time the application shows up on my screen even after I disabled it. I’ve created this guide to help you remove the Facebook application from your Samsung Galaxy S9.

To completely uninstall and remove the Facebook application from your Samsung Galaxy S9 using Android Debug Bridge (ADB) on your machine

Enable Developer Options:

  • Go to Settings > About Phone > Software Information > Build Number. Tap the build number seven times to enable Developer Options.
  • Scroll down and select Developer Options.
  • Enable USB Debugging.

Connect Your Phone to Your Laptop :

  • Connect your Samsung Galaxy S9 to your laptop using a USB cable.
  • Allow access to your phone data on your laptop.

Install ADB

Download the Android SDK Platform Tools:

Download the platform tools from the official Android developer site. Extract the downloaded ZIP file to a convenient location on your PC.

Add ADB to System Path:

Open Control Panel -> System and Security -> System -> Advanced system settings.

Click on Environment Variables. In the System variables section, find the Path variable, select it, and click Edit. Click New and add the path to the folder where you extracted the platform tools (e.g., C:\path\to\platform-tools). Click OK to save the changes.

Connect Your Android Device to Your PC

Use a USB cable to connect your Android device to your PC. On your Android device, you may see a prompt to allow USB debugging from your computer. Check the box to always allow and tap OK.

Verify ADB Connection

Open Windows Terminal. Type adb devices and press Enter. You should see a list of connected devices with a status of device. If you see unauthorized, check your phone for a prompt to allow USB debugging.

Multiple connected devices

When you have multiple devices or emulators connected to your computer, you need to specify which device to target with your ADB commands. Each device connected to your system is assigned a unique serial number. Here’s how you can specify a specific device:

List Connected Devices

First, list all connected devices to get their serial numbers.

adb devices

You will see an output similar to this:

List of devices attached
emulator-5554   device
0123456789ABCDEF device

Specify the Device

You can specify a particular device using the -s option followed by the device’s serial number. Here are some examples: adb -s 0123456789ABCDEF shell

Uninstall Facebook Applications:

  • Open the terminal on WebADB and copy the following commands:
    pm uninstall --user 0 com.facebook.katana
    pm uninstall --user 0 com.facebook.system
    pm uninstall --user 0 com.facebook.appmanager
    pm uninstall --user 0 com.facebook.services
  • Paste each command and press Enter to uninstall each Facebook application.

Verify the Uninstallation:

  • Go back to your phone and open Settings > Apps.
  • Enable the “Show System Apps” option.
  • Search for Facebook and ensure that all the Facebook applications are no longer listed.
Built with Hugo
Theme Stack designed by Jimmy