yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] crypta:
Background location works always?
[Android Apps and Games] kurtn:
On galaxy S5, yes. YMMV
[Android Apps and Games] crypta:
Thanks for the link. But this is sadly not the official microg.

So yes, microg can be adapted (like any software) to work in Q. Still, the official version doesn't do. The pull requests are waiting, but not merged.
[Android Apps and Games] dic1911:
Here's a simple guide for those who want to integrate microG to various ROMS

PS. I might not be as pro as some of you, if I missed something, please let me know.

https://gist.github.com/dic1911/407184ee427c50ad0066af643a20254f#file-build_rom_with_microg-md
[Android Apps and Games] crypta:
Great work.

I do have my problems understanding what your guide does?

Is it for building a complete rom or another part?

As 'advanced user' without having build a rom, it is a but confusing.
[Android Apps and Games] Namnodorel:
It's for ROM maintainers and users who want to build their own ROM.
[Android Apps and Games] crypta:
I know. Also I think this can be improved to address a wider audiance and make the steps and whys more clearly. As always, just my personal impression and thoughts hiw things could be improved.

If the microg maintainer would just merge the PRs everyone could save some time.
[Android Apps and Games] dic1911:
Exactly!

I'm not getting what you mean here, my guide is for those who are already know most basic procedure of ROM building, but wants to integrate microG to their build.

If you already know how to build a ROM from source and you can't understand my guide you can point it out so I can try to describe it more clearly,

but if you don't know how to build ROM yet, you should probably go read some ROM building guides first.
[Android Apps and Games] amn1987:
On a device with 2GB RAM, ROMs based on Pie and later proved to be a bit too much. With GApps installed, even the lightest ones like BitGApps the available RAM fell to a few hundred megabytes. microG has now made proper multitasking viable again. In addition idle drain is now as good as it had ever been. Very happy.
[Android Apps and Games] kurtn:
No progress for many years now.
[Android Apps and Games] elwhiteboy01:
I luv this microg! I have LOS 17 running magisk and I installed microg as a magisk module. I had trouble getting any gapps to work. The module doesn't come with a play store app. So I headed over to apk mirror and downloaded the latest one and installed it. I then made it a priv-app in the system. After a few hours it finally recognized my purchased apps. It wanted me to pay for them again at first lol. Its been running fine for a couple days with no hiccups! And no google play services ?
[Android Apps and Games] kurtn:
No signature spooling?
[Android Apps and Games] Namnodorel:
If you want to use Gapps, why not install them directly instead of installing them with microG? (tbh, I'm surprised that you got the normal playstore to work in this setup)
[Android Apps and Games] elwhiteboy01:
Like I said, I had trouble getting gapps to install. I don't think they have a working gapps for lineage 17 so far. I tried bitgapps and regular gapps. Couldn't flash in twrp. Did fresh installs of the los ROM and numerous attempts. All of which failed. I'm finding a lot of apps are not working without play services, so I'd rather use gapps. Until they get a working gapps, I'm stuck I guess.
[Android Apps and Games] cris2d2:
Can this method be used on a Huawei P40 Lite (unlockable bootloader, Android 10).
[Android Apps and Games] charlatan01:
I came here to post a question with some log-cat files, but you just answered it for me. I experience this issue with a few apps that I depend on out in the mountains - MTB project and Trailforks. I suppose I'll need to do some more research and see if there's any hope for these on the horizon.
[Android Apps and Games] kurtn:
There are many hiking apps in f-droid.
[Android Apps and Games] Tummanoc:
I use Huawei mate 30 pro and install 3 file

Core

Framework

Fakestore

Then restart the phone, many app force close immediately, and I can't login to map or youtube vanced.

PS. I use aurora,pure,huawei store but I can't access fake store after install.

How should I do for reinstall and can use app need gms.
[Android Apps and Games] kurtn:
Do you see microG settings icon? Tap the self check. I guess there are many unticked boxes.

Fakestore is no store. It's an empty app that should show other apps that official play store is installed. Needs signature spoofing for that.
[Android Apps and Games] Tummanoc:
This screenshot from setting

And I can't find "system grants signature spoofing permission"

What should I do next?
[Android Apps and Games] kurtn:
What android version? Are you willing and able to install a custom ROM? Is your phone rooted?
[Android Apps and Games] d1n0x:
His phone can't be unlocked so can't be rooted/ROM'd. He obviously has no idea what he is doing
[Android Apps and Games] Tummanoc:
Android 10. Huawei mate 30 can't install GMS so I find other way to have basic gms service to run some app that need.
[Android Apps and Games] d1n0x:
Huawei Mate 30 also can't be unlocked, rooted or install custom ROMs so there is no way for you to use MicroG, because it lacks the basic necessities like custom recovery or signature spoofing.

You should read before diving into a relatively complicated topic like MicroG, let alone unlocking or rooting.
[Android Apps and Games] drnightshadow:
I don't get it... Why buying unlockable bootloader phones ???? Spending money for something you can't use... like you are buying a house but you can't decorate it by yourself...wtf... Really stupid...

Sorry a little OT but I had to put it out.

Good luck.
[Android Apps and Games] amg314:
You should download SmaliPatcher on your PC then check 'Signature Spoofing', connect your device to PC via USB cable and run the program.

https://xdaforums.com/apps/magisk/module-smali-patcher-0-7-t3680053/post73948857
[Android Apps and Games] amn1987:
Earlier Funky Huawei? was selling unlock codes for Huawei/Honor phones I believe. That might be the last option.
[Android Apps and Games] amn1987:
Is there any need for GMS Doze module with microG installed?
[Android Apps and Games] Namnodorel:
microG already has much better performance than Gapps do due to its nature, so I'd say no.
[Android Apps and Games] d1n0x:
No
[Android Apps and Games] timea:
Hello, I installed MicroG on Huawei P9 Lite running Android 7.0 EMUI 5

I'm getting an error when I tap on play store, "Install core GMS packages to use Google Play Store"

All microg configurations are correct. What can I do to fix this?

Thanks
[Android Apps and Games] amg314:
microG need special Play Store (from F-Droid, Nanodroid, or patched version). Or you can use Aurora + FakeStore instead))
[Android Apps and Games] timea:
No, microG supports the official play store too. It worked on my old device and I've set it up in an emulator too. Anyway, I tested both original and patched. Same message.
[Android Apps and Games] amg314:
Store (Phonesky) is a frontend application providing access to the Google Play Store to download and update applications. Development is in early stage and there is no usable application yet.

Source: https://microg.org/
[Android Apps and Games] Oehrly:
The normal play store works. I'm using a version of the play store which I extracted from opengapps. And recently I simply updated it with the newest version from apkmirror.

Everything is working, including paid apps.
[Android Apps and Games] timea:
Yes, that's the expected behaviour. I don't know why everything is fine and yet I get that message that I need GMS packages.
[Android Apps and Games] Oehrly:
How did you install the play store?
[Android Apps and Games] timea:
I tried different methods.

I flashed a zip of playstore for microg from shadow53 which always worked.

I tried copying a new play store apk from opengapps package.

Are you using Huawei too?
[Android Apps and Games] Oehrly:
No, I don't use Huawei. Do you use a custom ROM? The play store should be a system app. The zip should take care of that. If you install it manually, you need to make sure to install it as a system app.
[Android Apps and Games] timea:
It's a EMUI 5 issue, not related to installation. Everything microG is system.
[Android Apps and Games] Oehrly:
I'm not quite familiar with EMUI, but that is the "stock" rom, right? So you removed the old google services?
[Android Apps and Games] timea:
I'm not doing it the first time. I've done it on lots of devices and quite experienced. Obviously, I cleaned all original google services.

Play store is not seeing microG.
[Android Apps and Games] Oehrly:
OK, I'm not sure though what EMUI could do about that if all old services are removed and signature spoofing works properly.

Somebody with a Huawei device should maybe know.
[Android Apps and Games] timea:
Found the cause of the bug.

This issue occurs if you delete "GoogleLoginService.apk" from /system/priv-app/

I tried a placeholder file but it didn't work.

Conclusion:

MicroG needs the original GoogleLoginService.apk for the play store to work on Huawei devices running EMUI.

Tested only on EMUI 5.0

Play store still logs in via MicroG sign in prompt but it needs the GoogleLoginService.apk to be present.

Hope this can be fixed.
[Android Apps and Games] hypern0va:
Just updated to LineageOS 17.1 (Android 10) and some apps which were previously, on Android 9, correctly making use of Mapbox, now show no map and the Google logo (not the Mapbox one) is visible on what should be the map view (which is empty), down on the left.

Apparently only some apps have this problem, others don't. However, I'm 100% sure the first ones worked fine on Android 9.

Is Mapbox not working on Android 10?
[Android Apps and Games] starbright_:
It seems no app is registerung for Cloud notification to my microG. My question is - what can be the reason for this. How can I exclude failures step by step. What I did so far:

- selfcheck of microG: all green - except cell base location

- NO google account added

- google device registration: on (not sure whether it is needed)

- google cloud messaging: on

downloaded "push notification tester", but in step 1 "register for push notification failed" (others checked) ?!?

What can be the reason? Any help welcome. Thank you.
[Android Apps and Games] Oswald Boelcke:
No problem here; however, please be aware I'm only using it with two applications but the screenshot shows that one has received a notification just minutes ago.

My differences to your setup: I have a Google account added that I only use with Setalphia's modified Play Store. And all green including location.

Regarding Push Notification Tester: Already many months ago, I also got the described failure, and I'm simply no longer using it.
[Android Apps and Games] starbright_:
Thanks for sharing the view to the apps. In fact, although the mentioned push notification tester works at my old phone it doesn't here. But I tested NINA and it works.

Another question: is anyone here able to install microG via FDROID? The privileged extension doesn't work for me.
[Android Apps and Games] Oswald Boelcke:
I've to admit, I nevver tried that. I flashed the Nanodroid Fdroid-submodule via TWRP, and that installed the privileged extension without any problems.

#StayAtHome
[Android Apps and Games] kurtn:
Google account not necessary, but device registration. Sometimes cloud messaging works after dial *#*#checkin#*#*
[Android Apps and Games] starbright_:
The problem with Push is solved, but:

https://postimg.cc/k6vkfK6Y

Selfcheck reports this problem:

- system doesn't supportLocation service

- UnifiedNlp not registered

I don't get it. What is wrong here? I should install an exposed module ?!?

UnifiedNlp is installed by microG 0.2.10.19420 as 1.6.9 and as API 1.5.7

I did configure 2 backends.
[Android Apps and Games] amg314:
It seemed to me that vpn is enabled on your screenshot. It can be origin of your issue.
[Android Apps and Games] kurtn:
A location provider has to be a system app in modern android versions. That's why most people don't install microG as an app, but as an flashable zip like nanodroid.
[Android Apps and Games] amg314:
Flashable zip install microG to right place -- /system/priv-app/com.google.android.gms/base.apk

But one can move this folder from /data/app to /system/priv-app/ via file manager (Magisk Core on may be needed)
[Android Apps and Games] starbright_:
Originally I planned to install it manually, but that is not as easy and confusing with this layered filesystems. So I used indeed nanodroid.

[MENTION=8056188]amg314[/MENTION]:

That was first thing I checked, it is in /system/priv-app/GmsCore/GmsCore.apk (27.6MB,)

I installed SatStat for GPS and it gives me a position?!? What else is a location provider?
[Android Apps and Games] Oswald Boelcke:
Location provider has nothing to do with GPS. It supports to achieve a geoposition fix via networks, be it cell data or WiFi. The location provider acts as a middleware for various plugins aka backends, it does not provide any location lookup itself. The µG Readme has a bit more information: https://github.com/microg/android_packages_apps_UnifiedNlp/blob/HEAD/README.md

And here's a bit more of (already mature) reading:

https://xdaforums.com/android/apps-games/app-g-unifiednlp-floss-wi-fi-cell-tower-t2991544

https://xdaforums.com/showthread.php?t=1715375

The above two threads are by the developer of µG. And I believe you already know mine that also has a bit of regarding content:

https://xdaforums.com/android/general/gapps-free-samsung-galaxy-s3-lte-gt-t3553620

It's always worth to search for posts by [MENTION=6204913]n76[/MENTION] in conjunction with location provider. And this is his Github page: https://github.com/n76. F-droid contains some very good backends.
[Android Apps and Games] kurtn:
In satstat you should see two location circles on the map. Red for satellite based, blueish for network based.
[Android Apps and Games] starbright_:
Yep, blueish isn't there. Maybe this is a problem with my ROM? How can I know what causes trouble?

[MENTION=4719902]Oswald B[/MENTION]oelke:

Yes, I am using n76 cell tower database backend (Local GSM location).

A few days ago I tried the manual installtion and I remember that NINA app registers for push. But I didn't get howto install all other microG parts (fake store, proxy, maps-lib v1). That is why I repeatet with the wellknown nanodroid approch. I installed NINA again to check the push. But it seems not to register - it came back with an error:

Error while registering. Weird.

(Originally I want to use FDroid with privilege extension) to install microG. I thought that might be the most open source way of doing that - and update would work. But it cames out that privileged extension doesn't work on Q. (Either general or in my ROM - don't know). So you see, I am faced of a number of problems ;)
[Android Apps and Games] Oswald Boelcke:
Oh, I see. I've no experience with "Q". And I know for sure, I will never ever "upgrade" to "Q". I apologise that I'm of no assistance in this case.

BTW: Just got your post by accident, as the "mention" went to somebody else.
[Android Apps and Games] starbright_:
I am not keen on Q, but you know: devs found bugfixing and security updates for P boring - so I don't get updates for this ... :(

What is your reason not to go for Q? Sorry with the @ ... not shure how it works with Blank inbetween, maybe with @'Oswald Boelke'
[Android Apps and Games] kurtn:
What device? Main problem with android 10: new location permissions not fully supported by microG.
[Android Apps and Games] crypta:
Pull requests 1004 should address this.

Is the maintainer still active?
[Android Apps and Games] starbright_:
PR of what?

I am wondering whether Magisk Version can make a difference. My first attempt was with 20.3, now it is 20.4. This and the installation method (manual/Nanodroid) are the difference for my trials.
[Android Apps and Games] yakup75:
micro g
[Android Apps and Games] crypta:
Pull requests of official microg github.

Location under android 10 can't be fixed by anything else than updating the permission requests to api 29.

And maybe individual customization of rom cooks. Which is a bit insane as it would be rom dependant. Adapting microg would be a more clean and more important broader solution.

The fixes are there as far as I am able to judge. But the are nit merged. Currently and in my eyes the microg repos seems 'away' - no one there to approve and merge the PRs.
[Android Apps and Games] textmarker007:
Hey guys,

for anybody who is struggling installing microg on Android 10 or LineageOS17.1: minmicrog worked for me.

Just download the NoGoolag Edition and install via TWRP.

Enjoy
[Android Apps and Games] rpgdev:
microG 0.2.6.17455 is crashing on system startup under Oreo. For reference, Vanced seems to still be logged in but it's annoying and suggests that something is obviously wrong. Any way to debug this?
[Android Apps and Games] kurtn:
This is not microG for YouTube vanced.
[Android Apps and Games] attila84:
Someone know if this microG work on newest Smartphone, like Huawei Goggle Banned? :)
[Android Apps and Games] kurtn:
Huawei? Where even unlocking bootloader is a drama? Better not!
[Android Apps and Games] rpgdev:
Wait what? Sorry, thought it was it. So where can I find the thread for that one?
[Android Apps and Games] Oswald Boelcke:
I don't use it but just searched. Maybe it's this: https://xdaforums.com/android/apps-games/app-youtube-vanced-edition-t3758757, but as said I don't know.
[Android Apps and Games] bre75:
Hi,

Hope it's the right place for asking ...

Following this information

(https://www.vice.com/en_us/article/dygbmj/how-google-coronavirus-contact-tracing-feature-update)

does it mean that if we're on a Rom using MicroG, as LineageOs or OmniRom, we're "safe" and won't get this tracking update from Google ?

Thx for any answers helping my understanding
[Android Apps and Games] kurtn:
Yes. You are safe from google updating the play services without asking. xxxxx
[Android Apps and Games] bre75:
Thanks for your answer.

I thought it was the case but i wanted to make it sure. xxxxxx
[Android Apps and Games] bre75:
Hi,

Another question this time about location.

When I'm using Device Only location (plane mode/wifi off) I don't succeed to get any position.

If i'm using High Accuracy (plane mode), i'm getting a position about 100/200m from my actual position.

Tested on OnePlus X with LineageOS for microG 14.1 (microG V 0.2.10.19420)

Location backends : Mozilla, Déjà VU, RadioCells.org

---------- Post added at 05:52 PM ---------- Previous post was at 05:52 PM ----------

Hi,

Another question this time about location.

When I'm using Device Only location (plane mode/wifi off) I don't succeed to get any position.

If i'm using High Accuracy (plane mode), i'm getting a position about 100/200m from my actual position.

Tested on OnePlus X with LineageOS for microG 14.1 (microG V 0.2.10.19420)

Location backends : Mozilla, Déjà VU, RadioCells.org
[Android Apps and Games] crypta:
Without radiocell and wifi no locations from tgere.

Gps should work.

Adress resolution only if offline database is installed.
[Android Apps and Games] bre75:
Sorry but what means "tgere" ?

On my other device (OP6 Oxygen OS) GPS works while plane mode on and wifi off.

So it should also works on these device even if using microG.
[Android Apps and Games] crypta:
There
[Android Apps and Games] kurtn:
[MENTION=8376648]bre75[/MENTION] GPS hardware defect? Check with SatStat

---------- Post added at 09:41 PM ---------- Previous post was at 09:38 PM ----------

[/COLOR [MENTION=8376648]bre75[/MENTION] GPS hardware defect? Check with SatStat[/QUOTE]
[Android Apps and Games] bre75:
[/QUOTE]

I tried.

It found 2 satellites on 28 but was not able to display the location on the map
[Android Apps and Games] kurtn:
I tried.

It found 2 satellites on 28 but was not able to display the location on the map[/QUOTE]

2 is bad. Go outside, wait longer, reload agps data, disassemble your phone tweak the antennas, scrap your phone, buy a Samsung S5
[Android Apps and Games] bre75:
Forunatelly I have a newer device (OnePlus 6).

It's just I'm doing test on the Onyx one before switching my OP6 on OmniRom with microG.

I'm travelling often I just want to make sure GPS still working well and accurate with microG.
[Android Apps and Games] bre75:
2 is bad. Go outside, wait longer, reload agps data, disassemble your phone tweak the antennas, scrap your phone, buy a Samsung S5[/QUOTE]

So i went out did again the test.

It found 5 satellites, show the right GPS coordinates but still not able To show the position on a map(tried 4 apps without success)
[Android Apps and Games] kurtn:
It will.
[Android Apps and Games] crypta:
On Android 10 GPS is the only reliable location until fixes are merged ?.
[Android Apps and Games] bre75:
Good to know.

I mostly use GPS while abroad.

But..i red there's issue for location rendering on maps on Android 10 because of a "maps v2 api" something.

It's exactly the issue i have on my old Onyx device.

---------- Post added at 06:59 PM ---------- Previous post was at 06:51 PM ----------

https://www.reddit.com/r/MicroG/comments/fxuqeu/no_maps_on_android_10/
[Android Apps and Games] crypta:
I use OSM and gmaps only occasionally in browser as last resort.
[Android Apps and Games] kurtn:
Oh, you tried with apps that don't bring their own map, but rely on Google maps. Install GApps.
[Android Apps and Games] bre75:
I tried with OsmAnd, Transportr and Maps.

I don't want to install Gapps.

It's why i'm looking at OmniRom with microG to be the most Google free i can.
[Android Apps and Games] kurtn:
I can't imagine, why satstat gets location, but osmand does not.
[Android Apps and Games] bre75:
Osmand got the location.

But doesn't succeed To display it on the map.

The same for Transportr.

It displayed correctly my coordinates but couldn't display It on the map
[Android Apps and Games] guest4711:
No problem here using local wifi and local gsm database on android 10.
[Android Apps and Games] crypta:
And how about location provider permissions in background for micro g?
[Android Apps and Games] kurtn:
Get superiorOS. Accepts microG as user app. No permission issues.
[Android Apps and Games] bre75:
Which rom do you use ?
[Android Apps and Games] crypta:
Yeah, nowadays I regret the update to Q. Android 9 is more a user os than 10. After thus experience I won't go for 11.

Sadly downgrading is not an easy part. The setup alone is always a pain in the.. Neck.
[Android Apps and Games] guest4711:
As can been seen in 3rd screenshot, aosp-extended for klte; https://xdaforums.com/galaxy-s5/unified-development/rom-aospextended-rom-v7-0-t4081903/post82268843
[Android Apps and Games] bre75:
Thanks to all of you for your different answers/feedback.

I really want to try the OmniRom with microG.

I'm just not feeling safe yet as I didn't find feedback about it and also I'm not used too flash with A/B partitions.

Sadly there's no step by steps method for OmniRom on their website.
[Android Apps and Games] kurtn:
https://xdaforums.com/oneplus-6/development/rom-omnirom-oneplus6-t3841813/post77607115 sounds like you should have a fallback strategy.
[Android Apps and Games] bre75:
Yes i saw.

But the rom is still active on their website.

From what i understood the thread was closed because of "peoples arguing/issues".

About the alternative I'm short ...Lineage for microG looks dead too.
[Android Apps and Games] Master One:
How comes? I'm using LOS 16 for microG on a OP5 and OP6, the OP5 ROM just had an update last week, the latest OP6 ROM is from March 24.
[Android Apps and Games] bre75:
March 24. Almost a month ago. It's supposed to be weekly.

I also saw people speaking about it on Reddit that it seems dead.
[Android Apps and Games] kurtn:
Yes, the official 16.0 devices still get builds. There is an automatic build server running. In their github I see mainly self-builders.
[Android Apps and Games] Master One:
I really hope that LOS for microG is NOT coming to an end ever, because I can see no (other out-of-the-box) alternative.