yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] ale5000:
I think a new version of microG is really near.

I'm sorry for those who haven't been answered yet but I don't yet have time.

I will reply soon.
[Miscellaneous Android Development] ilikenwf:
In my experience 1.0.27 seems to be the last version where the play store works. In my case, even after having added my google account, play store asks me to sign in every time.

Could someone repost the 1.0.27 zip file, or could [MENTION=5627087]ale5000[/MENTION] please reexpose it for download please? The archives folder is restricted.
[Miscellaneous Android Development] Oehrly:
Playstore works for me mostly, but I need to start it three times until it works. I am on 1.0.29.

Some apps complain about outdate play services, but most of them still work.

So it is not that bad ;) For me at least.
[Miscellaneous Android Development] ilikenwf:
Start 3 times - you mean open, close, and repeat? I just treid that with no luck...
[Miscellaneous Android Development] kecodoc:
I have some problems with google services and I want to go back to the original google

Please help me how to remove all microg anh reinstall Stock Google gapps.

Thank a lot !!
[Miscellaneous Android Development] Oswald Boelcke:
There are certainly different ways around, but I personally believe the easiest one is:

Take a Nandroid backup.

Wipe dalvik, cache, system and data.

Clean flash your ROM.

Flash the OpenGApps package of your desire.
[Miscellaneous Android Development] Oehrly:
Yeah, like that. But you need to close it from the recent apps list in between.

Does the trick for me on two different phones at least
[Miscellaneous Android Development] blue whale:
I tried to join this

I installed an app for telegram, but it requires a mobile phone number which I do not have. Is there a direct link to the newest apk of microG service ?
[Miscellaneous Android Development] vdbhb59:
Will find and upload here if possible.
[Miscellaneous Android Development] ale5000:
It is also here.
[Miscellaneous Android Development] chris42too:
[MENTION=5627087]ale5000[/MENTION] Will you move the installer to the new fork or have an alternative version? Or is there a way to get a PR to the original repository?

Curious on how this goes on...
[Miscellaneous Android Development] ale5000:
The PR (more then one, some aren't yet ready) will arrive at the original repository before or later.

In the mean time I will compile my own version, but not immediatly because I don't have too much time currently.
[Miscellaneous Android Development] LazerL0rd:
If you need any help bro give me a PM.
[Miscellaneous Android Development] MtKokko:
How do you update them (microg parts?) because from F-droid it does not work.
[Miscellaneous Android Development] ale5000:
Update from F-Droid works but you have to set it correctly, post the things that you have done and the problem that you had if you need help.
[Miscellaneous Android Development] ammar_maher:
Just a question

In the OP you wrote that google play services app is empty..so if im playing some games i can not sign in with my account? I should stsrt from beginning of the game? Or the google play service app is empty only and my progress will be restored?
[Miscellaneous Android Development] Oswald Boelcke:
By my information (no own experiences as I don't use anything by Google at all) Google Play Games aren't supported by microG at all. In turn, this isn't an issue of @ale5000's microG Unofficial Installer.
[Miscellaneous Android Development] MtKokko:
Well, I ignored the problem, because everything worked out of the box. But then I wanted to know why it did not work so I came here. What have I done so far? Well, installed and flashed so many things,

that the list would grow too big to explain.

Anyways, Iike you said, it should work from F-droid, so I just cleaned the app data and installed F-droid Priviledged Extension, and voilá, fixed. I suppose that did the trick. Thanks!
[Miscellaneous Android Development] sxml2015:
[MENTION=5627087]ale5000[/MENTION]

Can I install it with Magisk?

I don't have a pc, no TWRP
[Miscellaneous Android Development] MtKokko:
Never mind.
[Miscellaneous Android Development] :
Safetynet issue fixed?
[Miscellaneous Android Development] sxml2015:
Odex cannot install signature spoofing

pain

https://xdaforums.com/showpost.php?p=75179218&postcount=2195

Tutorial, I tried the result failed unsuccessfully
[Miscellaneous Android Development] Oswald Boelcke:
Did you already captured @Setialpha's advice here? It's just four posts above the one you linked.
[Miscellaneous Android Development] ifGeny:
Play market always crashes after I installed microG unofficial installer. Can someone explain how to fix it?
[Miscellaneous Android Development] clewis.it:
Go to Settings > Apps

Show all apps.

Go to Package Installer, storage, then Clear Cache and Clear Data.

Do the same for Google Play Store.
[Miscellaneous Android Development] deedeeceleb:
Just reboot after activating microg. That's all.
[Miscellaneous Android Development] ifGeny:
clewis.it

Not helped :(

deedeeceleb

What do you mean under "activating microg" ?
[Miscellaneous Android Development] deedeeceleb:
Open Microg settings and simply activate it by checking signature spoofing. Then reboot.
[Miscellaneous Android Development] ifGeny:
After rebooting, Play Store says:
[Miscellaneous Android Development] Oehrly:
[Error RH-01]

Clear playstore cache/data again from settings.

Make sure to close it from Recent Apps before

Also make sure everything in microg self check is ckecked. (Apart from location stuff which is not necessary for play store)
[Miscellaneous Android Development] ifGeny:
Thanks for you suggestions. I tried this all but it didn't helped with several rebooting also. Then I tried to factory reset which is not worked also for some reason. Then I tried to run Play Store and this time it started without any problem. :confused: Even not all boxes in microG Self-check settings installed.

Also I have no F-Droid installed. How can I install it?
[Miscellaneous Android Development] kurtn:
Download file from https://f-droid.org/

Sometimes I have to move the file from downloads folder to documents to be able to install it.

In f-droid install yalp. It's a play store replacement.
[Miscellaneous Android Development] elwhiteboy01:
I'm going to try this unofficial installer, I've read through the comments before hand to see what hiccups there might be. And the biggest one seems to be the play store updating. So I will be ready to enter the shell commands if need be. My custom ROM is lineage OS based. It's an AICP ROM.. I had previously installed xposed, so I installed fake gapps. And now I'm ready to install your microG alternate installer. As the officials haven't worked for me. I will give feedback eventually. Wish me luck ?
[Miscellaneous Android Development] kurtn:
Sorry to bring bad news: The installers are all same degree of unofficial, because they are not made by marvin, the only official developer of microG. May be you should tell us, what exactly hasn't worked for you.
[Miscellaneous Android Development] elwhiteboy01:
Well, I installed the microG zip alone, with play store and fake play store. I also installed that nano package. None of which worked for me. However, I am happy to say, that this unofficial installer worked! As I read the comments before installing, I first enabled that google login thing in microG and rebooted. Before that, I didn't even use the play store and it was crashing while I did that. After boot was complete, I noticed no more crashing, so as I read in the comments, I went to accounts and signed in google. After that I tried the play store and it crashed, I forgot to clear cache and app data from the initial startup when it was crashing. Once I did that, I am using the play store and have access to all my paid apps. This sh!t is awesome! I really needed an alternative because my tablet is a low end Samsung galaxy tab a and google was killing my battery. I'm using the SM-T550 with AICP lineage based ROM on 8.1. I appreciate your concern, but all is well now ?????? hats off to the op. I will be adding a thanks!
[Miscellaneous Android Development] cmonty14:
I installed microG Service Core from F-Droid, this means it should be up-to-date.

However, there are several other apps (e.g. Telegram) that complain about outdated Google Services.

How should this be fixed then?
[Miscellaneous Android Development] kurtn:
Sorry. Official microG is not up-to-date. There are forks in nanodroid and nogoolag that should solve the outdate issue. Best practice is to avoid gms dependent apps and switch e.g. to f-droid version of telegram.
[Miscellaneous Android Development] cmonty14:
I certainly support the strategy to avoid GMS dependent apps. However in some occasions this is difficult if not impossible.

Probably I need to accept a compromise.

For sure I will now continue with microG forks... nanodroid looks promising to me.
[Miscellaneous Android Development] ale5000:
The old version is now accessible, but could you please test the version 1.0.31 beta to see if it works correctly?
[Miscellaneous Android Development] ale5000:
Could you please test the version 1.0.31 beta to see if it works correctly?

I'm almost sure it now works on x86 devices.
[Miscellaneous Android Development] ale5000:
I have released microG unofficial installer 1.0.31 beta, there isn't yet a changelog but the most important change is the update of GmsCore that fix the "update nag screen" and many GCM problems.
[Miscellaneous Android Development] PURJUJU:
Hello, how can I uninstall your unofficial version and put the microG official back please?

Thanks
[Miscellaneous Android Development] kurtn:
Only the installer is unofficial (like any other microG installer). The installer contains and installs the official microG components. No need to uninstall.
[Miscellaneous Android Development] PURJUJU:
Thank you for your answer. I'm facing a signature error when I try to update microG from fdroid. So how can I solve this please?
[Miscellaneous Android Development] kurtn:
Flash latest ale5000 zip
[Miscellaneous Android Development] PURJUJU:
Je préfère passer par fdroid
[Miscellaneous Android Development] marcdw:
Okay, but if the update from fdroid isn't working out for you, then why not update via the latest installer package.

BTW, do you have "Unstable updates" checked in F-Droid's settings? Are you sure the core you're trying to install is the correct one?

Just trying to cover some of the bases.

Moto G5S Plus XT1806, Validus 8.1.0, MultiROM, XDA Legacy
[Miscellaneous Android Development] lee.wp14:
EDIT : Problem solved, I'm just too careless
[Miscellaneous Android Development] Oswald Boelcke:
I'd personally appeciated if you had the description of your issue not erased but amended with the way you solved your issue. Even if you believe you were simply too careless, other guys could still learn from it. And this is part of XDA: Information and wisdom sharing!

Taking @ale5000's statement from the OP ("...all files included are the original versions...") for granted then the original play store version shouldn't allow purchases together with µG. I'm using the play store modified by @Setialpha from his NanoDroid, and a few months ago it worked when I made my last purchase (XPrivacyLua companion pro-features). As far as I know @Shadow53 also offers Setialpha's modified/patched store here.
[Miscellaneous Android Development] lee.wp14:
ah, no problem! My issue is that I didn't see the download files, i only saw folders, but the latest files are actually located at the root directory of the links (doing this at midnight thus kind of blur :D)

Btw, just to ask here, I face issues with microg on LOS 15 (works fine on KK setup), after granting spoofing permission and reboot, it will enter bootloop with adb not granted (no permission). Anyone face this before? I searched and say a guy report it before https://xdaforums.com/showpost.php?p=73802201&postcount=3807 but there seems no solution posted.
[Miscellaneous Android Development] Oswald Boelcke:
I apologise I didn't face your issue. With the Oreo ROMs I tried, I always also use Xposed (and require the Xposed framework for more reasons) and I "enable" signature spoofing powered through the Xposed module "FakeGapps". Attention: If you require to positively pass the SafetyNet check, with the Xposed framework installed you'll never be able to do so.
[Miscellaneous Android Development] lee.wp14:
It's ok. I just flash back to KitKat and everything works pretty well now.

I'm however curious why the latest microg gmscore is not used for kitkat and below devices???

https://github.com/micro5k/microg-u...mmit/94b6ba730d8c00a3f7366ca15dbbfd19bcbaa9bf

I was kind of frustrated at first when I could't get sync works as it prompts me to update Play Service (which didn't happen when I'm on Oreo), which makes me reverted back to use gapps when I find no relevant solutions online, until I finds out that previous version is used instead on Kitkat and below devices, then I hurriedly did a clean install with microg again and apply the latest version bump apk :mad:

The latest version bump gmscore just works fine on kitkat tho :thinking:
[Miscellaneous Android Development] HemanthJabalpuri:
Sir [MENTION=5627087]ale5000[/MENTION] i am running on stock touchwiz kitkat 4.4.2 rom...

after flashing the zip i can only able to signin only...

Playstore shows error rh-1

Inbox is not working i think microG is not spoofing as google play services

Below are all three versions logs generated by OS-Monitor app

Edit:- After updating to latest GmsCore after signin and reboot...all are working
[Miscellaneous Android Development] icecoldsipra:
Hello [MENTION=5627087]ale5000[/MENTION]! I am new to custom roms and still finding my way around things. So kindly forgive my basic knowledge. Thanks a lot for creating this flashable zip! I just installed it in my phone and it works perfectly. I did face a couple of issues with respect to creating a new google account. But following the inputs already shared in this thread definitely helped me sort things out. Once again, thanks a lot for all your hard work and continued support.

I only use Google Play Store, Google Maps and Android Auto (in my car). Google Play Store is working perfectly. I had to perform an additional step of restarting my phone after enabling "Google device registration" in microg settings to get things to work properly. It automatically updated to the newer version and is still working without any issues. I am able to install apps without any issues so far. Google Maps too works fine with the two nlps provided. However, I am able to get turn-by-turn navigation only with the mozilla nlp but it seems to be consuming lot of juice than Dejavu nlp.

I do have a couple of issues which I have outlined below. Both apps were installed after setting up microg.

Gmail app

- I installed it from Google Play Store as a user app. Every time I open the app, it asks me to sign in even though I have already created a google account. I am not sure how to fix this. This is not a deal breaker as I can use my browser to login to gmail.

Android Auto

- I use Android Auto extensively in my car every day. Again, I installed it from Play Store. However, I am not able to get past the first screen. I have tried searching for a solution in the internet but I could not find much information on how it can be fixed. I read in one of the posts in this thread by another user that installing the Google Partner Setup solved the problem. I also read in another website that we need to use a patched Android Auto app to work with microg. I am not very keen on installing another google app like the google partner setup.

Deep Sleep

- I noticed that ever since I have installed microg, my phone rarely goes into deep sleep. I am not sure how to find out if anything related to microg files are causing this as BetterBatteryStats only says PowerManagerService.Wakelocks running 100%. Previous to this installation, my phone used to be about 60-80% in deep sleep when I left my phone untouched.

Any guidance on how to proceed with these two issues would really be appreciated.

My phone - Lux [Moto X Play]

OS - Lineage OS 14.1 official [20180907-nightly build]

Root - MagiskSU

microG unofficial installer - 1.0.31 beta

Signature spoofing - FakeGApps [systemless Xposed module]
[Miscellaneous Android Development] Oswald Boelcke:
If I read the concept behind DejaVu I don't wonder that it doesn't support turn-by-turn navigation. As its name it already had to be at least one at a given location, and GPS aquired a good, accurate position, then the coverage maps for RF emitters detected by the phone are created and saved. I'd say DejaVu somehow creates a heatmap with probably many black holes. Anyhow, unless GPS is available DejaVu uses the database created by itself to provide an estimate location - if an entry for the given location is available. I'm convinced @n76 is 1000 times more competent than me to explain.

Regarding battery drainage by Mozilla Nlp, no own experiences as I don't use Mozilla Nlp (and never had). In conjunction with DejaVu I'm using the LocalGsmNlpBackend (or https://github.com/n76/Local-GSM-Backend)also developed by n76, and I'm very satisfied with its fuel consumption.

At least by the published µG implemantation status, Android Auto isn't supported. And [MENTION=7126506]Shadow53[/MENTION] placed a question mark behind Andoid Auto on his list.

Please allow me to share a statement by @Davey126 regarding deep sleep percentages that I like very much: https://xdaforums.com/showpost.php?p=77567663&postcount=34742

So, question: How is your idle dump?
[Miscellaneous Android Development] icecoldsipra:
With respect to GPS and turn-by-turn navigation, I have no issues as it's working well.

With respect to idle dump, I do remember BetterBatteryStats giving varying results between ~3-12% / hr during screen on. I have now uninstalled this app and have made peace with my phone charger. Again, I do not know if microG is stopping my phone from going to deep sleep. It could be just be specific for my device unless other users too noticed slightly increased battery drain during screen on after microG installation. I did try to Greenify all apks from the microG installation and only the one active nlp (whether it is Mozilla or DejaVu) was not getting hibernated. I am prepared to sacrifice a little bit of battery juice for an awesome idea like microG.

I really hope the experts from the XDA community find a fix for Android Auto too one day. They have always found a way to get things to work. My sole purpose of signing up with XDA was to thank all the devs for their brilliant work, whose apps I use. I hope to one day contribute something back to the community with an app of my own.. :cowboy:
[Miscellaneous Android Development] cipetonk:
I have a strange behavior

I flashed this, then play store updated itself

then everytime I reboot play store always download something and say "updating play support libraries" in the notification

is it only me with this issue?
[Miscellaneous Android Development] icecoldsipra:
I initially had problems with getting Play Store to work. I have a custom rom so I did not have any GAPPS installed. You may want to first uninstall all GAPPS from your device first. After some trial and error, and reading almost all posts in this thread to figure out how to get microG to work, this is what worked for me.

Step 1 - Flash latest microG installer zip available in this thread from recovery and reboot

Note - Do not access Play Store at this point. It kept force closing for me. I initially tried signing in to google account from the Play Store but it never did

Step 2 - In microG settings, enable 'Google device registration' and 'Google SafetyNet'. I do not use any app that requires 'Google Cloud Messaging' so i have not enabled it. You can enable it if you want

Note - Still do not yet access Play Store at this point

Step 3 - In phone settings, go to Accounts, add a new account, select google and sign into your google account

Note - Still do not yet access Play Store at this point

Step 4 - Reboot phone

Step 5 - You can now open Google Play Store and install/Update apps

Note - The first thing I did after opening play store was to disable auto-update of apps in google play store settings.

After Step 4, Google Play Store auto-updated for me but I have not faced any problems. I intentionally rebooted my phone just to test if I had similar problems as you and I can confirm I do not have it. The updated app is working well. Hope this helps you too.
[Miscellaneous Android Development] cipetonk:
what is your play store version [MENTION=9440644]icecoldsipra[/MENTION]?

mine is 11.4.16-all [0] [PR] 209796717 (81141600)

to reach this version, play store updated itself twice

the previous ones have no issue
[Miscellaneous Android Development] icecoldsipra:
I can see my Play Store version which got auto-updated as 11.4.16-all [0] [PR] 209796717. I do not see the additional numbers in braces. Below is a screenshot for reference.
[Miscellaneous Android Development] cipetonk:
solved by removing updates, disabling everything in microg settings, removing account, flashing latest installer, and enabling safetynet

thanks
[Miscellaneous Android Development] icecoldsipra:
[/COLOR]

Good to hear.. :)

Couple of new observations even since I have flashed the latest microG installer zip.

WhatsApp push notifications - I have stopped receiving push notifications for Whatsapp. I can see new messages only when I open WhatsApp. I have the latest version installed from Play Store after installing microG.

Magisk Manager - Every time I click on 'Tap to start SafetyNet check' in Magisk Manager, it force closes. Otherwise Magisk works without any problem. I have Magisk 17.1 installed and the Magisk Manager version is 5.9.1 (139). I also want to highlight I have enabled SafetyNet and disabled GCM in microG settings.

I have tried uninstalling and reinstalling both WhatsApp and Magisk, clearing data and cache, even doing a clean install of my rom (Lineage OS 14.1) to see if I can overcome these two small challenges. WhatsApp is a much more important one as I use it to communicate with my colleagues at work.

Anyone else seeing this or is it specific to my device?
[Miscellaneous Android Development] cipetonk:
you said you didn't enable GCM (google cloud messaging) & it's required by whatsapp

also, check if whatsapp is hibernated by greenify (or not)
[Miscellaneous Android Development] icecoldsipra:
I thought WhatsApp does not require GCM as it previously worked perfectly without any google setting. I have now enabled GCM in microG settings. Let me observe how things turn out for a while. I will report back once I am done testing.

[Edit] And I also confirm WhatsApp is not hibernated too.
[Miscellaneous Android Development] cipetonk:
what about doze? is it dozed? make sure it's not in battery optimization list
[Miscellaneous Android Development] icecoldsipra:
I have enabled GCM, tried clearing cache and data for WhatsApp, did a phone reboot, even removed it from battery optimization. But for some reason WhatsApp won't register with GCM. As per the below thread (which has references to this thread too), it looks like some of the newer versions of WhatsApp have problems registering with GCM in microG... :(

https://github.com/microg/android_packages_apps_GmsCore/issues/502

https://developers.google.com/cloud-messaging/faq
[Miscellaneous Android Development] SGH-i200:
WhatsApp needs GCM?

Maybe WhatsApp already migrated from GCM to 'Firebase Cloud Messaging' (FCM)? "Apps are moving over to use FCM and stop working with current GCM features of microg." https://github.com/microg/android_packages_apps_GmsCore/issues/439

Reagarding WhatsApp usage without Push: "Some apps do not receive any push messages anymore, others (like Whatsapp) fall back to a polling mechanism, that uses lots of battery." (URL same as above)
[Miscellaneous Android Development] icecoldsipra:
I guess microG now needs FCM support!
[Miscellaneous Android Development] baxxter106:
or maybe we should move on to something different than whatsapp...
[Miscellaneous Android Development] SGH-i200:
All apps [which use GCM now] will switch to FCM.