Package Management
Android 1.0+
Risk: MODIFIES_DEVICE
Disable Package / Component
Disables a package or component globally across the entire system.
Command Syntax
adb shell pm disable
Generic Syntax:
pm disable <package-or-component-name>
Real-World Usage Examples
Disable component
Disables specific broadcast receiver component.
adb shell pm disable com.example.app/.MyReceiver
Output:
Component com.example.app/.MyReceiver new state: disabled