I am trying to freeze an app on my phone using the solution given here.

I am using the Terminal Emulator app to execute the commands:

pm disable {package_name}

But am getting an error:

Error: Could not access the Package Manager. Is the system running?

This error is being generated regardless of the app I try to disable.

How do I resolve this error?

My phone is a rooted Micromax Unite 2 A106 running on Android 4.4.2.

  • Is the screen unlocked when you are doing this? I've only seen this error when im trying to adb shell but my screen is locked – user111175 Dec 25 '16 at 12:55
  • I'm executing this command on the phone itself, not from a PC; so the screen is unlocked when I do this. – Anmol Singh Jaggi Dec 25 '16 at 14:29

The problem has to do with your version of the su binary. I was using ChainFire's updated binary and it didn't work. I re-rooted with Kingoroot and it's now working.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.