Can't Install Apps - Error code "-504" - LG G6 Questions and Answers

So background check
Unlocked bootloader through official LG website and the popular guide from this forum.
Rooted with Magisk, went smoothly.
Used Smali patcher to create a mock location module.
Flashed this with Magisk.
Now, i've been trying to install the apps from app store as well as through the .apk files i downloaded to the SD card and I get the same error message for every app. Googling this error gave me basic clear cache/data guidance and this does nothing. Have i actually screwed up my LG G6 on day one?

Related

[HELP] There was a problem parsing the package

Hello there,
I am on 7.1.1 rooted with bootloader unlocked.
Everytime I try to install an apk file I get this message "There was a problem parsing the package"
Unknown sources is on!
I found on 6.xx when I turned on unknown sources I had to do a full reboot first and quickly open solid explorer to get the install done. Have you tried that yet?
Can you post a link of one apk failing?
rchtk said:
Can you post a link of one apk failing?
Click to expand...
Click to collapse
Sorry I can't.
I've not seen that exact error or actually any error toast installing an apk from my sd. In the installer the install button would not depress for me unless I did that re-boot and acted quickly. Not used 7.1 yet but hopefully I'll be able to use fdroid on it. I can on 7.0 after the initial install of PureNexus since "unknown sources" checked comes with the rom I've been able to install what I want. I turn if off after that and some updated apks are tricky to get done.

Google Play Services crashing

Hello,
I have a T-Mobile LG V20 first off.
I installed TWRP and had to wipe the device to get rid of the encryption thing, so it would work properly. I flashed SuperSU back on and restored my phone with TitaniumBackup. Ever since then I am unable to play any music and when I try Google Play Services crashes.
I have tried clearing the app's cache, all data and installing the latest APK. Nothing is working, please help.
I also tried this method but it says the file is corrupt, maybe that is the issue.
"I have got an alternate method who have rooted their phone. Install ES explorer (or any file manager with root permissions). Go to device/system/priv-app/gmscore.apk. install the gmscore.apk. this solved my problem which even persisted after a hard reset also."
I would post this question in the root thread. (That is if you used jcadduono method to root your phone)
http://forum.xda-developers.com/v20/development/h918-recowvery-unlock-v20-root-shell-t3490594/
I just added it to that thread. Do you have any idea about it?

Android Package Install can't install APKs

I have a rooted LG Stylo 2 Plus (T-Mobile model). I recently encountered a problem where when I sideload some apks I get "App not installed. The package appears to be corrupt" and when downloading and then installing apps through the Google Play Store, I would get error 507. The apk work on other devices, and some apk will install, but there is other ones I need to install. I have tried clearing the cache of the package installer and Google play store and services. What should I do?
I have the exact same problem, same model (lgms550) running 7.0 (rooted, twrp and supersu, otherwise stock). Mine initially started when I installed xposed. When I flashed the uninstaller zip the package installer worked again (for a while...) Now every package throws "appears corrupt" and Playstore gives the 507 error. I've transferred the apps to my other phone (gs5) and they install fine so they're not bad downloads. Frankly I'm stumped and after hours of combing google for answers this is the first post that matches and oddly it's the same device. Maybe it's the ms550?
Fixed this by reflashing system from twrp.
First off, I feel it necessary to say WITHOUT THE CREW WORKING ON TWRP THERE WOULD HAVE BEEN DOZENS OF ANDROIDS BEING USED FOR SKEET SHOOTING BY MYSELF! A huge thanks. Thank God I took the time to do a quick backup with twrp before starting anything stupid. I still am unsure as to the original cause, it was only noticed after installing xposed but I've done any number of changes to this phone. If needed i can reset, make a backup, and upload for flashing in twrp for whoever wants it.
Seems like I had same or close to same with my T-Mobile Stylo 2 plus. (now unlocked on metro PCS)
A while back I had a weird issue where my default package installer would not install qpks. I downloaded another app from playstore and worked fine. I didn't pay much attention to it as I resolved the issue using a different app to install qpks.
Sent from my ph2n using XDA Labs
SM210 said:
Seems like I had same or close to same with my T-Mobile Stylo 2 plus. (now unlocked on metro PCS)
A while back I had a weird issue where my default package installer would not install qpks. I downloaded another app from playstore and worked fine. I didn't pay much attention to it as I resolved the issue using a different app to install qpks.
Sent from my ph2n using XDA Labs
Click to expand...
Click to collapse
I've traced the problem to having Mod Edit: warez installed. Seems the issue has been resolved with updates to Mod Edit: warez. The problem persisted even when using another app to install.

Unbricking a Moto G7

Hi there XDA. So after installing Magisk and after attempting to install a couple modules it seems that my device just craps out and I'm no longer able to boot, although it does boot me to the fastboot menu and I can access recovery as well. I can't seem to find a definitive answer to how to fix this, since I've tried uninstalling Magisk and even deleting all the modules I downloaded too. What all can I do to get my device back up and running again?
EDIT: So I went to try an experiment with this video: https://www.youtube.com/watch?v=njXQYn53SPc and basically this guy shows how to create a batch file from an servicefile.xml from the copy of my downloaded firmware for my phone. I went and created a flashable .bat for the RIVER_RETAIL_9.0_PPOS29.114-16-5-2_cid50_subsidy-DEFAULT_regulatory-DEFAULT_CFC firmware. I'd highly recommend watching the video however just so you have a good idea of where to put the .bat file to flash to your bricked Moto G7 River. Also to note if you end up having the same problem I did, this method will restore your phone and you won't lose your data. However, using this method will uninstall TWRP and also your root. Another note I need to mention is that what happened with me also could happen by trying to uninstall Google Chrome, Google Play Games, Google Play Music, and Youtube.

Removing apps from Vendor image?

I've been on a journey with my ShieldTV 500. My Netflix stopped working and there doesn't seem to be a solution. I was on original firmware 5.0.2 for a long time rooted. Hadn't touched the config for almost 2 years and Netflix just stopped working with the "can't connect error."
Last night I sleepily followed various broken instructions to flash a stock non-root OEM ROM all the way up to 8.0.2. Netflix still doesn't work, can't connect and crashes instantly on a fresh system. Troubleshooting has been throughly exhausted. I cannot uninstall it because it's a "stock" app. Apparently it lives in the vendor image that is flashed amongst system, boot, recovery, etc. Is there a way to rebuild the image without certain apps included? I can't sideload a different version of Netflix because the stock one is never actually deleted, and the install always fails. Using adb commands nor a root explorer ever successfully uninstalls or deletes the files.
The Nvidia & Netflix supports are worthless in this respect. I just thought of this and maybe someone with a bit more dev experience than me can chime in. I opened the image with Ext4 Unpacker on my PC to poke around and found the bloatware "app" folder. There's got to be an index file or something telling it to install that apk and I feel like if I just delete it I'll have an error during flashing possibly corrupting the image.
Going to try using ADK to extract and recompile it then flash again. Will post updates.
Any help is appreciated. Cheers.

Categories

Resources