6

I ask to pm (package manager) to enable some package, but it doesn't enable and shows the message "new state: disabled"

shell@android:/ $ pm enable my.app.com

Package my.app.com new state: disabled

Weird... It seems to be a bug...

Samsung GT-P3100 with Android 4.0.3

Any Idea how to solve it?

Community
  • 1
  • 1
CelinHC
  • 1,857
  • 2
  • 27
  • 36

1 Answers1

3

You may need to be root in order to use the command pm disable <app_package> on system apps.

bonnyz
  • 13,458
  • 5
  • 46
  • 70
  • FWIW, looking at the source to `pm`, it appears that a privilege is needed, and the `adb shell` account may or may not have it, depending on how the OS was configured by the vendor (or whether you've rooted it yourself). I get the "Killed" message when running on an HTC One with 4.4.2. When trying the same thing on my Nexus 7 I get an exception message. – Kristopher Johnson Feb 17 '15 at 18:39