PM error Could not access the Package Manager 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:  

su
pm disable {package_name}


But am getting an error:  

android.os.TransactionTooLargeException
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.
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.