HTC One M8 with LineageOS 16, package installer crashes

Oct 30, 2018
17
0
0
Package installer crashes and i cant install .apk files, i tried other installers, but they crash too. Also, when I want to give location permission to app, it crashes saying package installer crashed. What could be the cause? (i know i can install apps through adb, but i dont always have access to computer)
 
Last edited:

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
You've started 3 threads now, all possibly related. Starting multiple threads is not a good idea, as it's only going to confuse you and those trying to help you. The info in this thread is very incomplete. I only know this from helping you on another thread. Helped by the fact that traffic is low on this device forum, otherwise I probably wouldn't connect the dots on this. So consider yourself lucky, and please post smarter moving forward.

I know you previously flashed the wrong boot.img. Then re-flashed the ROM. When you re-flashed the ROM, did you dirty flash? If so, sometimes that works, sometimes it doesn't. Having random problems after a dirty flash, is usually an indicator that you need to go back and do a clean flash. Back up your personal data by method of your choice. Then clean flash (default wipe in TWRP - data, cache, Dalvik), then flash ROM again, and flash gapps if needed for the ROM.
 
  • Like
Reactions: DarkKnightComes
Oct 30, 2018
17
0
0
You've started 3 threads now, all possibly related. Starting multiple threads is not a good idea, as it's only going to confuse you and those trying to help you. The info in this thread is very incomplete. I only know this from helping you on another thread. Helped by the fact that traffic is low on this device forum, otherwise I probably wouldn't connect the dots on this. So consider yourself lucky, and please post smarter moving forward.

I know you previously flashed the wrong boot.img. Then re-flashed the ROM. When you re-flashed the ROM, did you dirty flash? If so, sometimes that works, sometimes it doesn't. Having random problems after a dirty flash, is usually an indicator that you need to go back and do a clean flash. Back up your personal data by method of your choice. Then clean flash (default wipe in TWRP - data, cache, Dalvik), then flash ROM again, and flash gapps if needed for the ROM.
i did backup, then i wiped data, system, cache, dalvik, and after flashing ROM its still happening. It must be something with the Package Installer. Is there any way i can install Package Installer on my own, because what i found was only some external program which still used Package Installer.
 

redpoint73

Recognized Contributor
Oct 24, 2007
15,259
6,946
113
i did backup, then i wiped data, system, cache, dalvik, and after flashing ROM its still happening. It must be something with the Package Installer. Is there any way i can install Package Installer on my own, because what i found was only some external program which still used Package Installer.
Try flashing another Lineage build, is probably the easiest way.
 
  • Like
Reactions: DarkKnightComes