Android (AOSP) package

Shell

Keep: com.android.shell Keep Vendor documentation
Maker
Android Open Source Project
Category
Developer and test tools
Confidence
Vendor documentation
Verified
25 October 2026

The system package that runs commands sent over ADB and captures bug reports. Keep it: Shell is needed for the phone, its updates or its security.

What it does

Shell is the Android package behind the command line you reach with adb shell from a computer, and it holds the permissions those commands run with. It also builds bug reports when you request one from Developer options. It runs only when a computer sends commands over ADB or a bug report is being captured.

If you disable it

ADB commands and bug reports stop working, and because ADB is the usual way to re-enable disabled packages, you may be unable to undo other changes without a factory reset.

How to disable it

On most phones Settings greys out Disable for this package, so ADB is the way to turn it off. The commands below work without root and can be undone.

Disable it (reversible)

adb shell pm disable-user --user 0 com.android.shell

Turn it back on

adb shell pm enable com.android.shell

The stronger option removes it for your user only; the original copy stays on the phone and a factory reset brings it back. Prefer disabling: it is easier to undo.

Uninstall for the main user

adb shell pm uninstall -k --user 0 com.android.shell

Restore after an uninstall

adb shell cmd package install-existing com.android.shell

New to ADB? Set it up in about ten minutes.

Data and battery

Bug reports it captures can contain logs, app lists and other personal details; they stay on the device unless you share them.

Where it appears

  • Made by Android Open Source Project.

Questions people ask

What is com.android.shell?

com.android.shell is Shell. The system package that runs commands sent over ADB and captures bug reports.

Can I disable Shell?

Keep it: Shell is needed for the phone, its updates or its security. On most phones it takes ADB.

What happens if I disable Shell?

ADB commands and bug reports stop working, and because ADB is the usual way to re-enable disabled packages, you may be unable to undo other changes without a factory reset.

Sources

  1. Android source: ShellAndroid source
  2. Android Developers: Android Debug Bridge (adb)Developer documentation
  3. Universal Android Debloater list entryCommunity list

Each source answered when this page was checked on 25 October 2026.

Confidence: Vendor documentation. Backed by the maker's own documentation, the Android source or the Play listing. How we decide a verdict.

Cite this page: https://mysystemapp.com/packages/com.android.shell/ (verified 25 October 2026). Something wrong or out of date? Request a correction.