microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.64k stars 1.73k forks source link

Can't uninstall microG and reinstall Google Play services #345

Open Ningyoplug opened 7 years ago

Ningyoplug commented 7 years ago

I needed to uninstall microG and go back to having Google Play Services because I couldn't log into my Love Live! School Idol Festival account (due to Google Play Games not working on microG). So i uninstalled the microG Core and Framework, as well as the fakegapps xposed module. (sorry if i'm using the wrong names, i can't really check right now). Rebooted etc and tried to reinstall Google play services, but now it kept giving me an "unfortunately, google play services has stopped" error. I tried to look it up but no solution helped me at all. I tried to reinstall the google play services framework as well, but the situation just worsened. Now my phone is pretty much unusable. Awfully slow and keeps giving me an error that says that the framework has stopped.

I really need my phone. It's all i have right now, since i can't access my computer very often. Why is there no guide on how to uninstall microG properly and reinstall GPS anywhere...? Anyway, I really need help as soon as possible. Please help...

JonnyTech commented 7 years ago

Try to boot into recovery and wipe davlik and cache. Which gapps are you using? I'm pretty sure that opengapps does that.

Ningyoplug commented 7 years ago

At first I tried to only install the Google play services apk and the framework apk. Then I tried installing the opengapps micro zip. Now play store and games work fine but I still get some errors from some google apps, so I uninstall ed those (I don't really need Books and Movies & TV anyway).

Still, even though i kinda fixed this, my point is that there are no guides anywhere about how to uninstall microG completely and reinstall Gapps successfully. If someone could write such a guide I'm sure that would help a lot of people.

acsway878787 commented 7 years ago

I'm using microG, and LoveLive!(Japan server) works well for me. Could you tell me what server are you playing? And far as I know, Japan server uses Google+, not Google Play Games, so it should work well with microG.

Ningyoplug commented 7 years ago

Idk about Japanese server but Eng server uses both Google+ and Google Play Games, since you can link to both. Maybe when I tried to log into my account it kept loading because I'm linked to both? Maybe I should unlink the Google Play Games account and keep only the Google+ one linked, then reinstall microG and see if it works.

Nanolx commented 7 years ago

try deleting

/data/system/users/0/runtime-permissions.xml

I once had the same issue the other way round (not being able to use microG after removing everything GApps). Depending on your issue it may work.

Ningyoplug commented 7 years ago

I can confirm that I can't link to (nor load) a google account in Love Live. This is terrible... makes it easy to lose my account if i cant back it up by linking it to google. Is there any way to fix this? Whenever I try to link my account inside the love live app, it just keeps loading forever.

mar-v-in commented 7 years ago

Original Google Play Services (as in opengapps) is not supposed to be installed after first boot. Uninstalling microG is just uninstalling the packages you installed by using the system settings...