All Discussions
  • Other
  • Disable Package Installer

Started by techy · Mar 02, 2023

Hi all, I'm attempting to disable the package installer on the Kyocera E411. I ran adb shell pm disable-user --user 0 com.android.packageinstaller
This disabled the ability to install apps (attempts to install via apk returned "unable to play")
However, when I restart the phone, it gets stuck in a boot loop, which forced me to reset the phone via recovery.
If anyone has any ideas, I'd be very much obliged!
Thanks.

Biden2020prez

techy Try using adb shell pm suspend com.android.packageinstaller or adb shell pm disable-user --user 0 com.android.defcontainer

techy the package installer is some times required to boot a phone I hade the same thing a while ago with the Kyocera e4610 and i don't know if there is anything you can do about it

techy I had the same thing with the exalt. I think Hi1 is right about package installer being needed for boot

Biden2020prez

Nhaaps The second one I've seen used and the first one is just a guess.

ayilmeshilesh

I had that issue, and the solution is to uninstall/disable the package access helper.

for me, on the LG Exalt, the package name was com.android.defcontainer. on the Kyocera should be something similar, you could install an app manager, and look for "package access helper"' and then just uninstall that package using the package name.

Biden2020prez

ayilmeshilesh I can try it later on a phone with root access, but I think it wouldn't have that issue. 'suspend' doesn't seem to affect the app itself, rather it just puts a popup blocking you from opening it.

The boot loop/boot failure is caused by the fact that package manager, which relies partially on packageinstaller, can't start up properly, which is an integral part of the booting process.