yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Oehrly:
EDIT: Yes, seems like it works with Android 10. I solved my problems. They were not related to Microg, but rather by the Playstore which I installed with microg.

Seems like I should have tested even more versions before posting.

Hi, is Android 10 already properly supported?

I have major issues installing apps from anywhere. I use Nitrogen OS 10.0. Nobody else is complaining about problems. But I don't know if anybody else on this ROM uses Microg currently.

App(stores) are crashing when trying to install an app:

FDroid (sometimes), Playstore (always), Titanium Backup (always), from internal storage (sometimes)

E AndroidRuntime: Caused by: java.lang.SecurityException: MATCH_ANY_USER flag requires INTERACT_ACROSS_USERS permission at com.android.server.pm.PackageManagerService.getSharedLibraries:5279 android.content.pm.IPackageManager$Stub.onTransact:4557 com.android.server.pm.PackageManagerService.onTransact:4049 android.os.Binder.execTransactInternal:1021 android.os.Binder.execTransact:994 : Neither user 10109 nor current process has android.permission.INTERACT_ACROSS_USERS.

This always seems to be the cause. I'll attach the full log for FDroid trying to update itself and Titanium Backup trying to restore an app.

Can this be caused by microg?
[Android Apps and Games] Yolco:
Gapps vs Gms

If I install gmsCore,

Will gapps and gservices still work??

And, is there any auto-installation script?
[Android Apps and Games] marcdw:
microG is a replacement for gservices (core). As far as gapps go, not all of them work well since microG isn't a 100% replacement. Not all Google functions and features are available.

ZTE Axon 7 A2017U, AOKP 7.1.2 ROM, Radioactive v2.4 Kernel, microG (NoGapps), Multiboot, XDA Legacy
[Android Apps and Games] pokipokipxorn:
I managed to get a recent version of Google Map working with current microG.

Google Map version

Maps_com.google.android.apps.maps_10.24.4.apk

Mini Guide here

https://xdaforums.com/mi-max-3/development/rom-aosip-derpfest-t3945455/post80448265#post80448265

This involves flashing a custom install of GApps using gapps-config.txt

Installing and configuring

Google account

Dejavu

Mozilla

Nominatim

Google Map

Contacts

Calendar

Install Magisk module microG installer

Then remove google account

Deleting in TWRP

Google GMS

Google Framework

Phonesky

Then boot phone to install replacement play store

Configure microG as usual
[Android Apps and Games] Alanon:
Hello, I'm contemplating removing Google from my phone, so I have a few questions to clear up before making up my mind on the best course of action. I tried a quick keyword search so as not to duplicate questions, but I haven't really found anything, so I'm hopeful that I won't be flooding the thread. I realise that many of these will seem obvious to veteran NoGapps-ers, but bear with me.

In principle, I have no problem with going cold turkey and removing Google altogether, as long as my apps actually work. Seeing some of the issues people have been having with MicroG, is it safe to assume that without any Google apps whatsoever, many apps won't work at all? Despite that, even if I were to find working replacements for some such apps, many of the apps that use Google to deliver notifications still won't work, and there's no standalone solution to spoof Google push notifications? So important apps like WhatsApp, Viber, Instagram, etc. might be dead silent? Something tells me that all of these are true, and in that case MicroG seems to be the more effective option overall.

Now, in perusing the thread I became aware of a way to retain Calendar and Contact synchronisation through copying some of Google's apks, and I'm generally fine with that. My question is, does this mechanic include call history, messages, app setting backups and other things I seem to get restored through Google's setup wizard? If not, is there a way to include it? Which part of Google's suite controls backups? The way I see it, if I'm going to retain some of Google on the device, I might as well get some of the features that seem most useful. Alternatively, if none of that is doable, is there a way to extract that data from Google and add it in after a clean flash? Perhaps with something like Titanium Backup?
[Android Apps and Games] kurtn:
Your most valuable piece of data stored on your Google account are contacts. That can easily be extracted as vcf file.

There is no universal method to restore app settings. Titanum Backup can help.

WhatsApp works fine without Google cloud messaging.

Keeping some Google apps is no good idea. In that case you can keep all.
[Android Apps and Games] updesh94:
Hmm

Have you checked using Magisk only or other apps also. Please try verifying safety net using some other apps. :fingers-crossed:
[Android Apps and Games] :
It seems the comment that was here earlier was deleted, but there was this guy seeingly decompiled the apk which was linked to, and it was snake oil, it just forced true values for cts profile and basic integrity, thus not acctually fixing the problem at hand.

But yes, checking with other apps aswell should produce same result, though using the bypass apk would just fool you thinking you acctually pass safetynet, when the reality is that its lying to your face.

Atleast thats what I recall from the removed comment. Im sure someone else here can verify it by decompiling the .apk, and sharing if this is the case, or not.

Edit: the comment was over at the nanodroid thread.

https://xdaforums.com/apps/magisk/module-nanomod-5-0-20170405-microg-t3584928/post80382929
[Android Apps and Games] updesh94:
Yes, its just a placebo as it just changes the strings ..

So, do we have a custom server set up for safety net as there is an option to use it..
[Android Apps and Games] :
There is a third party server option, but ot gives me a api error when checking in magisk..
[Android Apps and Games] Mynacol:
Hi there,

Regarding push notifications you need to know that microG perfectly replicates this feature by using Google's servers. Without it, you miss this functionality and it's up to the app if push messages work without this "system" service. WhatsApp works just fine, most email clients should too and by the userbase of the other apps you mentioned I would guess they can handle push messages without Google too.

Regarding the backup/restore topic, I recommend to get away from google. To extract contacts and calendar, but also ALL other data from your Google account, you can visit https://support.google.com/accounts/answer/3024190?hl=en . Alternatively, you can download your contacts and calendars directly from your account.

To retain your call log and messages, I have found the following app, without testing it myself: https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts

And apps and app settings are best managed with, you named it already, Titanium Backup. It also includes ways to backup/restore WiFi passwords, messages, call logs, contacts, calendars, and other accounts. Although I had problems restoring messages from a backup. Therefore I recommend some app like the linked, that can backup/restore call logs and messages.

If you want to stay with Google, you have to look and try yourself which Google system apps are responsible for synchronizing of app settings, call logs etc.

And always remember: You do not simply wipe Google off your life in a weekend. It is a process that takes months or years. With this in mind, it may be appropriate to use Push Messages through microG for now.

And you may think about your relation to other big tech companies like Facebook (WhatsApp and Instagram are both owned by the big blue), or maybe Microsoft (guess in the blue)
[Android Apps and Games] bertino:
Relying on apps to provide their own push service seems kinda impractical and having every app that wants to have push run a service in the background has an impact on battery life. I wonder if it would be possible to have a self hosted replacement for Google's gcm/fcm. Maybe we could have DNS redirect all requests from googles server to your server?
[Android Apps and Games] kurtn:
Cloud messaging will always be a centralised service. No chance for self hosters. I think
[Android Apps and Games] Mynacol:
We cannot substitute the Google servers, because the push messages originate from the app vendors. They send the push message to Google's servers which relays it to the specified smartphone. As the message gets sent from many different companies to Google, we would have to convince them to send the message to another server, based on user preference.

This seems unrealistic and would be still a centralized service, assuming the app vendors don't offer choices to specify which is his/her push server, as otherwise that would require automatic changes on the vendors side.
[Android Apps and Games] Enthused9801:
Help!

I just installed /e/ ROM, it includes microg by default. But can't seem to get notifications for Skype. How do you get this to work? I went to microg settings and passed the self test.

Google device registration is on, so is Google cloud messaging but it says current state is disconnected. I don't know what to try next. I'm running magisk for root could that be a problem? Safety check maybe failing?

I'm new to microg and magisk, bare with me.
[Android Apps and Games] kurtn:
I don't have skype. A general rule for cloud messaging: first enable gcm. Sometimes its necessary to dial in with *#*#2432546#*#*. Finally install skype or whatever. Don't restore the app from a backup

https://github.com/microg/android_packages_apps_GmsCore/wiki/Helpful-Information
[Android Apps and Games] Enthused9801:
Thanks! That did it. I just had to dial that code and it said connected for 15 seconds. I loaded Skype up and it said it was a registered app for cloud messaging. Woohoo! Trying to test it now. Thanks again, I was hoping to get this google free phone working with notifications once i found out about this project, awesome.

Though i wonder why is this information about dialing that code not front and centre in the instructions as the last step? I searched on YouTube and the op on how to setup microg and couldn't find it.
[Android Apps and Games] drnightshadow:
Hi!

Did someone try Android Auto with microg...

I cant make it work on LOS 15.1.. It stacked on logo.

I installed fdroid microg and nano repo... even tried with magisk modul. No luck. Same story, AA logo and nothing.

Any advice should be nice.
[Android Apps and Games] kurtn:
Not implemented

https://github.com/microg/android_packages_apps_GmsCore/wiki/Implementation-Status
[Android Apps and Games] drnightshadow:
Ohh crap... pfff gapps here I come ....grrrrr how I hate this :crying: :crying:
[Android Apps and Games] PoochyX:
Have you been able to get textnow to work with Micro G?

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] hypern0va:
Has development stopped again? Looking at commits on GitHub, it seems so
[Android Apps and Games] Master One:
Hopefully not, I would not know what to do without microG!
[Android Apps and Games] Setialpha:
There've just been new stubs and APIs for Games, Tap and Pay added a few days ago.
[Android Apps and Games] pokipokipxorn:
For those who need gapps for whatever reason, these are working for me after installing microG,

Whatsapp

Google Calendar

Google Contacts

Google Docs

Google Drive

Google Duo

Gmail

Google Keep

Google Lens (systemized)

Google Maps

Google Messages

Google News (systemized)

Google Photos (systemized)

Google Sheets

Google Translate

Using a custom install method described earlier

EDIT: Lens depend on Google App, which is iffy and both prone to crashes.
[Android Apps and Games] pawelnrg:
for my Google maps work perfectly OK ( remember microG setup). But at first start google maps giving suggestion something like: "install google play for better location". I ignoring that message. Don't see any problem, don't see any different to phone with google play.

>pokipokipxorn Can You please give post number where You write about "custom install method described earlier"
[Android Apps and Games] pokipokipxorn:
Should be this one, and the post below it

(I also got Google lens to work, but lens must be called from Google App > Update > Lens button, all must be working when on gapps mode, when switch to microG mode, the lens will continue to work, although Google app stop working)

Those facing issues with Play Store keep updating Play Libraries daily, try AFWall+ and block Play Store from using data, that's the only method I know so far.

https://xdaforums.com/android/apps-...ore-floss-play-services-t3217616/post80448779
[Android Apps and Games] thisisarjun:
Which is the custom install method ??

It will be really helpful if u can link it

Thank you...
[Android Apps and Games] pokipokipxorn:
https://xdaforums.com/mi-max-3/development/rom-aosip-derpfest-t3945455/post80448265
[Android Apps and Games] pokipokipxorn:
Some screenshots of microG with working Lens in split screen.

Activate Google APP by sliding left from Home screen.

Launch Lens from Google APP, Updates, Lens button

Mini guide in at post above
[Android Apps and Games] PoochyX:
Why you have micro battery optimized

([emoji3590]09-09-18[emoji3590])
[Android Apps and Games] pokipokipxorn:
Coz it saves battery without affecting my instant notifications like telegram or Whatsapp

microG heartbeat interval is also adjustable
[Android Apps and Games] espero0101:
Hello,

I use a custom ROM based on microG (a version from 2018) on a car navigation system / head unit (Android 4.4.4 Kitkat).

I would like to know if it is possible to update the microG of some kind, because I have problems with several integrated applications: the weather doesn't update, the web browser only works once, and it crashes if I want to open another page (then only works after a reboot of the system...) Hitting the Play Store button is just a black screen which is displayed, and so on.

Can you advise me something to do to be able to use all features of my system?

Thank you in advance.
[Android Apps and Games] guest4711:
MicroG is just a small set of services which may be included into a ROM, not a custom ROM itself. Updating this services may nit help you regarding your issued.

You better ask in your device thread for a good ROM for your device. And you should decide whether you need any Google services (and if, which incarnation), the free and open replacement for Google services (MicroG) or none of them...
[Android Apps and Games] espero0101:
In fact, I use the latest custom ROM available for my Head Unit, but it wasn't updated since more than one year... It has two versions: one with full Play Store access, and the other one which is based on microG (I use this one).

I wonder if the problem with some apps couldn't be related to the fact that the microG (and Xposed?) isn't up to date?

Could you please indicate me the procedure to make that update or indicate me some links and steps which need to be respected? Or there is any direct acces from the microG settings to an online update?
[Android Apps and Games] githyanki:
In the first post is a link for the fdroid repository. Add that to fdroid and update.
[Android Apps and Games] espero0101:
Thanks! I have to search for fdroid on my system, or I can update also by copying the needed apks on a SD card? (I'm not so familiar with Android...)

Is there any risk on my custom ROM's global functionality if I update the microG on the system?
[Android Apps and Games] amg314:
You can also download actual microG main components using following URL:

https://microg.org/download.html

As for risks - Nandroid Backup let you sleep calmly))
[Android Apps and Games] kurtn:
Did you try to add account in microG settings? Try to step in through settings/accounts.
[Android Apps and Games] Darione90:
hi, sorry for the newbie question, so i cant install microg if i have gapp alredy installed on my phone? (phone stock rom) i dont want change phone rom or doing root or staff like that
[Android Apps and Games] urgali:
Since microg is a gapps alternative there is no point in having both installed, I wouldn't have any new or useful function and probably you could have lot of issues
[Android Apps and Games] hypern0va:
You can install microG if you remove Gapps first. Nanodroid does that automatically if you don't want to uninstall them manually.
[Android Apps and Games] kurtn:
No good hint for someon, who doesn't even dare to root.
[Android Apps and Games] kurtn:
Updating gms core with f-droid breaks network location at the moment. Workaround: replace the app in /system if you wish to update.

https://github.com/microg/android_packages_apps_GmsCore/issues/961
[Android Apps and Games] Oswald Boelcke:
^^I confirm. I reverted to 0.28.17785, all good again.
[Android Apps and Games] patrickdrd:
how did you revert?

I'm desperate to revert to, I'm left without location at the moment :(

I tried to downgrade from f-droid and it failed :(
[Android Apps and Games] Setialpha:
Uninstall updates, like you can do for any system app.
[Android Apps and Games] patrickdrd:
I don't have such an option, maybe because microg wasn't bundled with my rom, but I installed it afterwards?

I think I've got a backup of the previous version created with titanium, but I've got it in an external disk at home,

I hope I will manage to rollback from that,

because I can't see any other option :(
[Android Apps and Games] kurtn:
Long press microG serrings icon push disable and enable again. I've seen your post in github. Please be more polite to a man that gives you free access to his project.
[Android Apps and Games] patrickdrd:
I think I managed it with this app:

https://play.google.com/store/apps/details?id=com.alessandro193a.appdowngrader&hl=en

anyway, I can't be polite with a man that renders my phone's chrome (the first time) and location (the second) useless, sorry,

I wish I had installed google play services :(
[Android Apps and Games] kurtn:
This is from wiki link in OP: "Project status

This is alpha-grade software and not yet ready for production use. Do not use if you don't know what you're doing."

Please install GApps.
[Android Apps and Games] patrickdrd:
no, I've fixed it now

---------- Post added at 14:10 ---------- Previous post was at 13:39 ----------

I would if it was an easy process, doing so requires to format and install everything from scratch,

which is a pain regarding many apps configuration, login, etc
[Android Apps and Games] :
No it isnt, just flash gapps zip of your liking and you're good to go. Easy as pie.
[Android Apps and Games] patrickdrd:
are you sure? [MENTION=3999488]MaR-V-iN[/MENTION] himself suggested that the best (and only one I guess) way to switch to gapps (and uninstall microg) is to

install after flashing rom,

if you want I can search for that post and I'll post it here,

if I find it I'll do so

edit: I've found this one:

https://github.com/microg/android_packages_apps_GmsCore/issues/345#issuecomment-290139329

I don't think it's the same to what I had found though, searching continues

edit2: even if this works, would my gms registrations/notifications remain intact?
[Android Apps and Games] oF2pks:
I have added microG internals rom detection, to my (fdroid) kalturaDeviceInfo : https://xdaforums.com/attachment.php?attachmentid=4853505&d=1571837592 ; so it could help LineageOS4microG users to get the qualcomm optimization vendorLocation, which gets tricky with microG. ( [MENTION=4316015]Simon94[/MENTION] I tried an rro overlay to override the config_(s), but couldn't get it works... for sure, config_comboNetworkLocationProvider is deprecated)

If they can't solve it, they can give a try to my all-in-one microG Treble Pie GSi.

[MENTION=3999488]MaR-V-iN[/MENTION] , same bug for latest GmsCore re-built, on my Treble GSi, with all pre-installed re-built components and all possible privileged tricks + targetSDK28 (instead of new gmscore 29); seems something get wrong after compilation between (?)

/unifiednlp-compat/src/current/java/com/android/location/provider/LocationProviderBase.java
/unifiednlp-base/src/main/java/org/microg/nlp/location/LocationProviderV2.java

Also https://github.com/microg/android_p...og/tools/selfcheck/NlpOsCompatChecks.java#L50 seems outdated (?)
[Android Apps and Games] :
Should work fine with either gapps or microG. Yeah, doing a clean flash is always best. As you start clean. Dirty flashing stuff cant really be recommended for optimal results, but for me, Ive never had any issues with it what so ever.

He may have encountered a bug. Atleast I havent had any issues with it myself.

Should be able to reregister on its own. With microG atleast, you'd have to manually reregistrer your apps. I had to do that from time to time if I for various reasons lost microG during vendor update, or something which should be unrelated..
[Android Apps and Games] patrickdrd:
ok, so how are you doing it?

uninstall microg related apps and immediately reboot in recovery and flash gapps?

I won't lose my google account that way or my apps registrations?
[Android Apps and Games] :
Yes, that should do it.

I belive it does remove your account when switching. It happened atleast when I had to recondifigure microG. So by that Id assume the same happens if you switch to gapps.

Apps should just reregister on its own, if not, just reinstall them.

I dont see why any of these two appear to be any issue at all. Ive set up my phone so many times now that I honesly dont care if I have to do it. Doesnt take that much time anyway IMO.
[Android Apps and Games] patrickdrd:
do you mean reinstall them over?

reinstalling some apps takes time for me, especially some for which titanium backup doesn't work,

like twitter, tapatalk (notifications don't work after restoring from titanium, you have to clear data, login and then restore data) and others
[Android Apps and Games] :
Uninstall, and install again, or restore from titanium backup after uninstall.

Yes, Im aware some apps dont work with restoring, its really annoying. But some bumps in the road is bound to happen when core components is altered. You may also be lucky to have all apps continuing to work after you switch. But when going over to microG, they wont, and you have to manually register them, or possibly reinstall. Most works just by reregistering, but not always.

Good luck.
[Android Apps and Games] githyanki:
Two commands that really help to remember:

If GCM shows disconnected, dial

*#*#2432546#*#*

May have to do it twice....

If your apps get deregistered by changing something:

find /data/data -type f -name '*gms.appid*.xml' -delete

As su in a terminal, then reboot. Apps will add themselves.
[Android Apps and Games] patrickdrd:
does this command require busybox? I think it does

anyway, here are some commands I had gathered in the past:

to reinstall all apps:

su
cd /data/app
ls | while read x; do pm install -r $ x / base.apk; done

or:

for a in `busybox find / data / app -iname '* .apk'`; do pm install -r $ a; done

Script for reconnecting Push notifications to applications. Busybox and SuperSU required!

su
busybox find /data/data / -name 'com.google.android.gms.appid.xml' -exec rm -f {} \;
reboot

but I tried both of these in the terminal and none worked,

can you or somebody correct them for me?

also, how do I run those commands?

I'm copying and pasting them in the terminal window, right?
[Android Apps and Games] githyanki:
It does require magisk, not sure about busybox. I use lineage with microg, it may come preinstalled. I use the terminal that congress with lineage (enabled in dev options), it doesn't let me paste. Cannot paste the dial string either.
[Android Apps and Games] guest4711:
Use a better terminal emulator like Terminal Emulator (Gerät in ein Computerterminal verwandeln) - https://f-droid.org/app/com.termoneplus