Git Product home page Git Product logo

debloat-samsung-adb's Introduction

Debloat Samsung Phones with Android Debug Bridge (ADB)

This repository contains a list of Android Debug Bridge (ADB) commands to aggressively bloatware from Samsung Android devices that don't normally display an option to remove them.

Running all commands listed in commands.txt will disable almost all Samsung apps. This includes the Galaxy App Store, Samsung Themes, Samsung Dex, Samsung Bixby, Facebook, and more. Use at your own risk and read over all commands to make sure you don't take out something you need. While these commands cannot harm your device, there may be situations where your phone gets into a crash-loop and the easiest fix is to boot the device into "Recovery Mode" and perform a factory reset.

โš ๏ธ Research each package before running the command to disable it. Some apps have hidden dependencies.

Instructions

Search for a Minimal ADB installer : https://xdaforums.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/ Further reading on ADB can be found here: https://developer.android.com/studio/command-line/adb#Enabling.

  1. Install Minimal ADB

  2. On your phone, enable Android's "Developer Options"

  3. In "Developer Options", turn on "USB Debugging"

  4. Connect your Samsung Android phone to your computer with USB debugging enabled. Verify that adb sees your device and the daemon is running with the following command

    • adb devices
    • You should see the device name listed as a "device".
    • At this point your device should prompt you to accept USB debugging from your computer. Tap "Allow".
  5. Enter your device's shell with the following command

    • adb shell
  6. Once in the device's shell, copy and paste all desired commands from commands.txt to remove the package.

Other

Once in your device's shell, you can use the following command to list installed packages by name.

  • pm list package | grep '<package name>'

For example, to list all installed packages with Facebook in their name, you'd type,

  • pm list package | grep 'facebook'

Reinstall deleted apps

Use :

  • pm install-existing --user 0 <package name>

For example to reinstall Sound Quality and Effects,

  • pm install-existing --user 0 com.sec.android.app.soundalive
  • pm install-existing --user 0 com.sec.android.app.myfiles

debloat-samsung-adb's People

Contributors

matthieu-pierson avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.