yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] Tomatot-:
Hi, I've been reading stuff (including this thread) about micro G for the last 24 hours, quite intensively. I figured out I finally understood most of it so I decided to give a try to this installer.

I'm quite happy with the result as most of my google apps seem to work. However, I noticed two things so far

-Google Play store keeps crashing so I can't access anything.

-Package installer (I tried to uninstall some apps) don't work either.

I have a Lenovo Zuk Z2 running ROM Aex 8.1 with treble support. My rom includes signature spoofing.

I downloaded the two installers you made on this thread.

I wiped system, flashed again my rom as well as the two installers and magisk.

Everything is ticked now in the MicroG settings app.

But still I have these problems.

Could you help me please?

I probably missed something and I'm sorry for that, I tried to look for solutions but i didn't find any... Thanks anyway. :)

Edit : I feel quite bad but also good. A simple reboot (always the good old way....) seems to have fixed everything! That's amazing. Thanks again to you Ale5000 and MaR-V-iN

Edit 2: the only thing that doesn't work is my gmail setup. Everytime I try to log in with gmail, it takes me the microG sign in but then obviously it says my google account is already signed in. However, Gmail apparently can't see this.

I'm stuck with this page basically : https://www.dropbox.com/s/478b8kay99jbs6n/Screenshot_Gmail_20180423-110059.png?dl=0

I've tried reinstalling gmail, clearing data, granting permissions, etc. Nothings seems to work...
[Miscellaneous Android Development] :
Enable device registration in microg settings,clear play store data reboot now check
[Miscellaneous Android Development] ale5000:
Hi,

good to see most problems are fixed.

For Gmail have you tried to grant contacts permission to Gmail in Android settings, enable Device registration in microG settings, remove the google account, restart the device and then re-add the google account?
[Miscellaneous Android Development] Tomatot-:
I've tried both without success. Thanks for quick replies anyway.

In case I don't find any solution, I'll stick with k9 mail.

Edit : If I add my google account, I can see in my phone settings / account that my gmail account is synced, but it's not showing on the gmail app.

However, I found a solution in case people would face the same issue : adding manually my google account on the gmail app (imap).

I don't have instant sync but at least it's working.

But my problem may be solved by a clean flash, because all my other google apps (Music, Keep) can detect my google account and sync without any issues...
[Miscellaneous Android Development] H4nYcz:
I'm using MicroG on mine Redmi 3s 16/2 GB variant with LiquidRemix ROM, because I can't use official Gapps (bootloop) with Oreo roms. MicroG is great workaround and everything is working fine except Gmail (using Bluemail app and I haven't any issues)

GPS and other things are working fine too, so many thanks developer, because I'm able using Oreo roms without any problems now, you just save me, thank you very much again! :)

EDIT: One thing that I'm missing is incompatible Google play and CTS and I hope it will be fixed ASAP, because I don't want use Gapps anymore.
[Miscellaneous Android Development] igor renan:
When will I install your mod on my twrp error phone, why would someone have a solution
[Miscellaneous Android Development] kurtn:
Congratulations! This is the best bug report I've ever seen. :)
[Miscellaneous Android Development] SGH-i200:
Please try again to describe your problem by translation via https://www.deepl.com/translator - which terrible translation service you used?
[Miscellaneous Android Development] Tomatot-:
That's indeed a very inaccurate translation :D .

I come back at you because I found out a new problem

-https://xdaforums.com/showpost.php?p=68642712&postcount=1862 I actually have the exact same issue as this person. Unfortunately, nobody answered him. I'm wondering if this bug is known and if there is a workaround potentially. It's not dealbreaker but that'd be nice. I'm personally only using Keep so I don't about Calendar but that'd probably be the same.

-Also, all my messaging apps are working good except Whatsapp. It seems after the app gets too sleep, it doesn't receive new messages anymore so I don't get notifications. Then if I open the app, the new messages will be updated and appear. To my knowledge, whatsapp doesn't use GCMs o I don't know what could be the cause. (

EDIT : I was wrong, whatsapp uses GCM

)

I'll keep looking for answers in the meantime and I'll let you know if I find something, in case someone has the same issues.

Otherwise, to finish on a good note, I'm quite happy with this mod. I think my battery life has improved, especially on standby. Also, most services are working really good and I'm impressed how well Google Maps actually work. The localization is actually really accurate and the finding my position is really quick.

Edit : also, I don't know if it's related, but I sometimes have FC of DroidGuard Helper.

Edit 2: I'm trying this workaround and I'll let you know if it works. https://github.com/microg/android_packages_apps_GmsCore/issues/502#issuecomment-374012282

Edit 3 : it has worked! Whatsapp is now registered. I'm waiting to get new messages now but there's no reason that it doesn't work.

I'll write down my exact steps here :

-Backup your messages (not mandatory but better i guess)

-Uninstall Whatsapp

-Download this APK : https://www.apkmirror.com/apk/whatsapp-inc/whatsapp/whatsapp-2-17-351-release/

-Change your phone date to septembre 2017. If you forgot to do it before opening the app (that's what happened to me lol), clear the data of the app and it will work! If you don't, even if you change the date, the message won't change.

-Set back the date

-Setup your account. You won't be able to access your messages as the app will tell you the app is outdated.

-Download the latest whatsapp apk on APK mirror

-Install it

-It should work

-you can check that whatsapp is registered in the microG settings.

Enjoy :)

Only downside : I think you can't automatically update through the playstore, as the playstore doesn't see apps installed from external sources.

Edit 4: :( So I got new messages and unfortunately it doesn't seem to work. I have no idea why. in the microG settings app, indeed, it says Whatsapp didn't receive any messages. :/
[Miscellaneous Android Development] SGH-i200:
Why not use Yalp (Play written backwards) to download and update apps from the PlayStore?

Yalp Store (Download apks from Google Play Store) - https://f-droid.org/app/com.github.yeriomin.yalpstore

So far all of my Premium apps are working without the real PlayStore installed.
[Miscellaneous Android Development] Tomatot-:
Yeah, I guess I should try!
[Miscellaneous Android Development] 2phazt:
Last time I tried yalp it neither was possible to buy new apps with it nor to make inapp purchases. Is this possible now?
[Miscellaneous Android Development] halifage:
Also, yalp tried to update play services (gmsCore or something) and after downloading, installation would fail. That's why i opted for this mod. Everything works with no issues :good:
[Miscellaneous Android Development] kurtn:
Fist link in klickable format

https://xdaforums.com/showpost.php?p=68642712&postcount=1862

It's about calendar sync. Maybe you should read at shadow53.

From your WhatsApp issue I guess you have an Oreo ROM. WhatsApp has Gcm/firebase as well as a own messaging solution. Looks like WhatsApp tries to guess availability of firebase and gets cheated by microG. In Oreo I had best results by installing WhatsApp without microG and disabling battery optimization for WhatsApp.
[Miscellaneous Android Development] ale5000:
Please report the exact error message and number as it appear.

Then when flashing the installer use the "+" volume key to enable the "live setup" and then enable debug log.

At the end of the procedure please post the file "debug-a5k.log" that appear in the same folder of the installer.
[Miscellaneous Android Development] Tomatot-:
1) Yes, but it's also about Google Keep and reminders.

About Shadow53, do you mean to find an alternative? Yes, I'm thinking about it. But I have plenty of useful notes, including ones with important reminders. And there's no easy way to export them. Of course it'd be a solution, but an actual fix would be more satisfying (or even simply knowing where the issue comes from)

2) Whatsapp : I guess it's "good" that I'm not the only one in this situation. Do you have any idea if that could get fixed in the future? I can be patient, as long as i know it will eventually get fixed. I don't intent to put any pressure on anybody, but if someone tells me clearly "from now on, it will never work", at least I won't have to be patient anymore :D

is there anyway then to hide GMS from whatsapp?
[Miscellaneous Android Development] kurtn:
1 sorry, i don't know anything about synching except shadow53 worked on it. I recommended reading.

2 WhatsApp work for me. Nobody knows if or when microG will get firebase.
[Miscellaneous Android Development] Tomatot-:
2. So Whatsapp works for you because you're not using microG?
[Miscellaneous Android Development] kurtn:
I installed it before flashing microG
[Miscellaneous Android Development] Tomatot-:
Oh... right, smart! I guess that's a good fix, as long as you know it before flashing. Would be good to add it to the OP.

---------- Post added at 12:30 PM ---------- Previous post was at 12:07 PM ----------

Ohhh... Interesting! So do you think it might work if i freeze microG services, uninstall whatsapp, install it again and then defreeze microG apps?
[Miscellaneous Android Development] kurtn:
It's worth a try.
[Miscellaneous Android Development] Tomatot-:
I just did it. Unregistered Whatsapp from microG and reinstalled whatsapp while microG apps were frozen. Even after my microg apps restored, whatsapp can't see i'm connected to a google account. So I guess that's a good start. I'll let you know.

The only problem is that I can't find my messages backup anymore, but that's ok.

Edit : it hasn't worked.

As a conclusion to this little experience, I think I'm unfortunately too dependent from Google services yet to fully remove Google from my phone... But that helped me to know what I actually need and what I can forget about... My privacy settings have improved as well as my independence from Google!

Flashing back pico gapps seem more reasonable for me, I don't have time to always look for fixes and solutions.

But thank you for your help anyway, and I'll keep an eye on this project as it's still a wonderful piece of work and also because it has a lot of potential.
[Miscellaneous Android Development] SGH-i200:
It's not possible. I'm buying the apps on another device (PlayStore website should work as well), but have not yet bought any in-app purchases at all. For my use case Yalp does all I need and save me from the struggles that come with using PlayStore alongside MicroG.
[Miscellaneous Android Development] joelh:
I'm having the UnifiedNLP issue where it won't bind to my system or become recognized as a location provider. Used your zip as well as Nanodroid and manual installation - always the same result. I referenced a lot of issues on microg's git that suggested your zip came with the fix, but no luck so far. Isn't there a commit out there that's supposed to fix this?
[Miscellaneous Android Development] kurtn:
There is a xposed module that can maybe help.
[Miscellaneous Android Development] joelh:
Xposed isn't an option because SafetyNet fails.
[Miscellaneous Android Development] Cuzeg Spiked:
Use systemless xposed in magisk repo. Works fine for me, no issues. I do use Gapps but I did decide not to use Gapps and just use yalp store with fdroid to not worry about safetynet and have a more open source android, at least 90%. Works just as well with microg.

Also use magisk xposed installer version.
[Miscellaneous Android Development] lysergicknight:
better off doing it manually it seems

alright so I've been messing around with MicroG on my stock Galaxy Nexus and tried this flash in hopes of getting Unified to register with the system (which it still doesn't although it has back-ends set up) and now my dalvik gets refreshed on every reboot, plus my apps now realize that google's framework isn't installed, whereas before (when I installed them manually) everything worked except for Unified...

Not really a problem since I can just restore but I just thought I would share.

EDIT: I just noticed that DejaVu is incompatible with JB, so that could be it but I doubt it.
[Miscellaneous Android Development] schmanto:
I'm also having problems with binding Unifiednlp to system.

Basically, when I boot up and head straight to microg self-check, I see it is working - there's a check mark at "Unifiednlp is registered to system".

In location apps it also finds my location very accurately. Problem is: it starts to break after roughly one minute into boot. Suddenly the check mark disappears and it says "Unifiednlp didn't bind with system". I can also monitor this when I go straight to google maps after boot - I see my location getting tracked perfectly, but soon after I get force-closes from the location backends and even com.android.phone. Then the location is gone..

How can I track down this issue?

I'm using a pretty complex setup, with NOS 8.1 (Kenzo) with the xposed module "XposedGMSCoreUnifiednlp" with systemless xposed + Installer, both from Magisk. Also a couple of xposed modules (eg. greenify, amplify).

I also installed a couple of location backends from Fdroid, could they be in conflict with each other, or cause problems somehow?

Thanks for your help..
[Miscellaneous Android Development] ale5000:
[MENTION=6720440]schmanto[/MENTION] [MENTION=9132399]lysergicknight[/MENTION]

UnifiedNlp unbind (so it is no longer registered) from Android if the app crash, so everytime the app crash you have to restart Android.

A logcat may help to debug the crash.

My installer already contains a couple of backends (and they are the F-Droid versions) so avoid installing the ones already included (but they can be updated later with F-Droid).
[Miscellaneous Android Development] schmanto:
Thanks for the quick answer! I created a log from a normal boot to capture the problem - but I'm not sure what to look for..

Here is the log I created with matlog:
[Miscellaneous Android Development] ale5000:
If I'm not wrong openbmap cause cascading crashes.

Could you please uninstall it, restart the phone and then retry?

05-04 10:17:46.162 E/JSON Parser( 5064): Error parsing data org.json.JSONException: Value Invalid of type java.lang.String cannot be converted to JSONObject
05-04 10:17:46.162 E/org.openbmap.unifiedNlp.geocoders.OnlineProvider( 5064): JSON data was null
05-04 10:17:46.179 V/WifiHAL ( 508): event received NL80211_CMD_TRIGGER_SCAN
05-04 10:17:46.196 I/ActivityManager( 2667): Force stopping com.google.android.gms appid=10043 user=0: from pid 7883
05-04 10:17:46.196 I/ActivityManager( 2667): Killing 4688:com.teslacoilsw.launcher/u0a136 (adj 100): stop com.google.android.gms
[Miscellaneous Android Development] schmanto:
Ok, I think you put me in the right direction. It didn't help uninstalling openbmap, but then I tried to deactivate each of the backends one by one. Turns out it was Dejavu location service, that caused the crashes on my device! It actually seems to work pretty stable now when I deactivate it. Very happy to have this sorted out at last!

Thank you, kind Sir!

Edit: I'm afraid the Problem still persists.. When i try to uninstall Dejavu Service, it pops up again after reboot.. I guess it's too far integrated within the system?
[Miscellaneous Android Development] ale5000:
Could you please report the problem of Dejavu here?

So the author can fix it.
[Miscellaneous Android Development] Suga86:
I think my microg service core is up-to-date but when I use ampere, it needs update google play services. What can I do?
[Miscellaneous Android Development] joelh:
Magisk Xposed doesn't pass safetynet either, though. I'm looking for a solution that does. :good:
[Miscellaneous Android Development] Cuzeg Spiked:
Yeah I don't know what I can do. I had success but it varies for everybody it seems.
[Miscellaneous Android Development] schmanto:
I've been investigating my issue more thoroughly now.. Turns out, what breaks Unifiednlp for me can not simply be the Dejavu Provider, but something else in my setup. I did a clean flash of my Rom, and it seems to work with most of my apps. Now I continue re-adding one thing at a time, to track down the culprit. I'll let you guys know when I find it!

Edit: If anyone is wondering, it was the App Amplify.. Wasn't easy to track down because I've used it for years without problems. I don't know if it was a certain wakelock or alarm that I had blocked, but without this app it runs much more stable. It seems on my device as soon as the app is installed, things start breaking, fc, etc. Uninstalling doesn't help, I had to restore my backup from TWRP. Hope this helps someone else!
[Miscellaneous Android Development] ghst7:
Hi there can someone help me for a bit on how to update this, I've instead micro G using this flashable installer more than a month ago so still version 108, now that I want to update can I only reflash the newest installer available or do I need to do some other procedure?
[Miscellaneous Android Development] kurtn:
If you only want update from 108 to 111 you can do it with f-droid. You need microG repo and activate unstable updates.
[Miscellaneous Android Development] ghst7:
Yup that's the info I was looking for, thank you!
[Miscellaneous Android Development] ale5000:
You have two ways:

- Update the components through F-Droid (as already said)

- Or flash the new version of the zip directly
[Miscellaneous Android Development] ghst7:
That's good to know, thank you
[Miscellaneous Android Development] Pedroles:
Hi all,

Due to unrelated problems, on Leeco Lepro3 I had to restore a backup with microG installed, but I got stuck in a bootloop. Because of this, I reflashed AEX fresh rom, but I was surprised that microg main app was there! So,the question is simple. Is this installed in a special place in the memory? How could I wipe/uninstall it in case of need?

Thanks in advance
[Miscellaneous Android Development] marcdw:
If microG was still present after flashing ROM then I can only assume a few things. You dirty flashed and AEX does backups and restores (items in /system/addon.d/ with microG being one of the items) or you have it installed as a user app.

If you did wipe system but not data and it is present, then it's a user app. It can be uninstalled via Settings -> Apps.

For the former, either wipe system before flashing ROM or remove it from the addon.d folder if present.

I have AEX N (w/microG) and O on another device but don't know if it does backups. Don't think so.

EDIT: I've read that AEX does do backups. So used to wiping /system that I never noticed.

Moto G5S Plus XT1806, FrankenROM Oreo, MultiROM, Tapatalk 4.9.5
[Miscellaneous Android Development] ale5000:
It is installed as system app, but if you update it inside Android then the update is installed as user app (in this case it is present both as system and user app).

This apply to all system apps, it isn't special.

Plus there is also a script in /system/addon.d/ to preserve it through ROM updates.

If you wipe both /system and /data before flashing the new ROM you can be sure to have a completely clean ROM.
[Miscellaneous Android Development] Pedroles:
Does everybody have problems with gmc and whatsapp? It seems that this service does not work properly and I receive tons of notifications but only after opening the app...

I read that a workaround is to put the app without battery optimization,not tested yet, would I have a serious battery drain?

Thanks in advance
[Miscellaneous Android Development] kurtn:
It is only a problem with Oreo ROMs. I don't see much drain with non optimized WhatsApp.
[Miscellaneous Android Development] astrod:
I tried this installer out on my gapps-less Moto E2 with LOS 14.1 and everything seems to work great (thanks to the microg developers and the developer of this installer!)

- except 2 things.

1. No notifications from google voice (a known issue) and

2. One app complaining about a not updated google play services. I looked into installing "blank store" and "fake store" but could not install either (getting error about invalid package). Can someone explain to me how to do it, or if I even need to since I used this installer?
[Miscellaneous Android Development] kurtn:
You can update microG with f-droid. But that version is still not updated to stop apps from complaining. You can try to get the noGoolag fork if that is really a problem for you.
[Miscellaneous Android Development] astrod:
Thanks. Apparently I already have the latest microg and fakestore installed. It is a problem as the latest version of the app simply wont work, but I will live without it for now.
[Miscellaneous Android Development] 2phazt:
More and more apps are complaining about not updated play services.
[Miscellaneous Android Development] kurtn:
You can try this: (thanks to NoGooLag telegram group)
[Miscellaneous Android Development] ale5000:
1) I don't have time to check this currently but I will look at it in the future.

2) The installer already contains the latest official versions but the author of microG GmsCore haven't already updated it for the latest version bump of Google.
[Miscellaneous Android Development] 2phazt:
Can I install this apk over the original microG or will there be a signature incompability? I usually install from f-droid.
[Miscellaneous Android Development] kurtn:
I don't low. Please try and report here.
[Miscellaneous Android Development] ale5000:
[MENTION=5914361]2phazt[/MENTION]: Most likely no, the one included in the installer is signed by the original author of microG instead the apk of NoGooLag is signed by someone else.
[Miscellaneous Android Development] kecodoc:
Please help me.

Flash zip and config complete all works well

But google keyboard problem google service failed click to notification open google play I received a notification update google service and google keyboard activity unstable.

Sorry my English not good
[Miscellaneous Android Development] rick_hxc:
I'm trying to install the Google Sync Add-on 1.0.3 beta on my Chuwi HiBook Pro with CM 12.1 (Android Lollipop 5.1 and x86 cpu) but I can't. In the TWRP I get this error: Updater process ended with ERROR: 91 ERROR installing zip file...

So, what can I do, any suggestion about this?

Regards!
[Miscellaneous Android Development] chris42too:
You can't do much right now with microg. Microg needs an update with the latest google framework signature. You need to wait for a version newer 0.2.4-111 of microg.

Other Options:

- If you find an older version of GBoard you can try to install that.

- Try the noGoolag version mentioned above.

Regards

Chris
[Miscellaneous Android Development] icecharles:
Thank you very much for this and microG but i seem to have a problem with push notifications

Even tho inside microG settings i can see that it "reads" the push notofications they never pop on my phone

Any idea why?

Here is a screenshot

imgur.com/a/upl0EKP
[Miscellaneous Android Development] blue whale:
Hello,

I have several updated applications that say ''Requesting Google Play Services Be Updated''. I have installed ROM for the i9100 running lineage-14.1-20180607-microG-i9100.zip

how do I update the google play service ?
[Miscellaneous Android Development] kurtn:
You don't have Google play services. You have microG instead. Sad but true: it doesn't get updates. You can install a forked version with better updates if you know how to remove and install system apps.
[Miscellaneous Android Development] blue whale:
I can try to the fork version, Where can I get it ?
[Miscellaneous Android Development] kurtn:
Telegram Post from June 2nd @ NoGoolag
[Miscellaneous Android Development] 2phazt:
So the official version is finally abandoned?
[Miscellaneous Android Development] kurtn:
No it isn't. There is activity on github.