yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Cirra92:
Well I like your suggestion, as I have always hated the app, but all of my contacts use and care only about Viber so I even stopped using WhatsApp which isn't perfect but still more like-able than Viber, but it is what it is.

Ok thanks, so I am safe to use microG again on next clean flash.
[Android Apps and Games] Aarix:
I really need help:

I'm using microg for YouTube vanced, the issue is when trying to log into my account and after accept, it stays on "Just a sec.." sometimes it'll say "Sorry.." ONLY this account, works with other accounts I've used, ONLY on this device, tested on other devices. Tried every variation of microg that I could in conjunction with different variations of the YouTube app, Same issue even when trying to add it via setting accounts, I removed the email from account just in case there MIGHT be a conflict and I cleared catche via TWRP, all of that failing I restored the whole phone and that only provided a temporarily resolution before discovering I got signed out and the problem happened again upon rebooting. I can't figure out what I'm doing and I toggled both being installed on external and internal storage. I really need some assistance here. I tested this on other applications that use microg and that had the same result, even making microg a system app
[Android Apps and Games] LotR656:
Is there a way to fix microG bug with watch and search history in YouTube Vanced(beside merging accounts)? Guys that develop YouTube Vanced said it is microG bug.
[Android Apps and Games] Mawth:
How to add .patch to AOSP?

How do I add https://github.com/microg/android_p...aster/patches/android_frameworks_base-O.patch

to my stock AOSP build? After downloading the patch file, what is the code I need to execute to patch my AOSP source code?
[Android Apps and Games] d1n0x:
I would like to know this as well. Only the videos I watch on mobile show up in my history
[Android Apps and Games] elandroido:
'man patch' is a good starting point.
[Android Apps and Games] chris42too:
Or to be more constructive (as I know what a pain in the a** patch is, if you have no clue) ;):

copy the patch to frameworks/base

execute "patch -p1 < android_frameworks_base-O.patch" in that directory (adapt file name if you chose another)

remove all *.orig files from

frameworks/base/core/res/res/values/

frameworks/base/core/res/

frameworks/base/services/core/java/com/android/server/pm/

I have no clue when and how the .orig files are created. For me sometimes they are created, sometimes not, even though I execute the same commands via script....
[Android Apps and Games] Mawth:
Thank you. I will try that. I really appreciate the explicit instructions. Super helpful.
[Android Apps and Games] PURJUJU:
Hello, un F-Droid, I activated the option to get preview versions of my applications, I reload microG repo to make sure it's up to date but I can't receive the last preview version of MicroG. I'm still under 0.2.4-111

However I received the last version of droidguatd helper : 0.1.0-10

Thanks
[Android Apps and Games] ale5000:
Because they are the latest official versions as of now.

The others are

UN

official versions.
[Android Apps and Games] PURJUJU:
OK. Thank you. How to get the unofficial them?

---------- Post added at 11:52 PM ---------- Previous post was at 11:46 PM ----------

File not found...:(
[Android Apps and Games] kurtn:
From telegram... And it is a fork.
[Android Apps and Games] PURJUJU:
Thank you for the link :)

How come from telegram? How did you find the telegram chat? It's not mentioned anywhere.

Thank you :)
[Android Apps and Games] koniii:
Deleted
[Android Apps and Games] Oswald Boelcke:
The link to the telegram group is in the OP of this thread. Personally, I usually commence by studying the OPs.
[Android Apps and Games] ale5000:
To all: [MENTION=3999488]MaR-V-iN[/MENTION] [MENTION=7126506]Shadow53[/MENTION] [MENTION=4187311]Setialpha[/MENTION] and others.

I have made 2 fixes but I don't have time to compile and test them currently, if someone have time I would like some feedback:

1) Fix for NullPointerException on boot: https://github.com/microg/android_packages_apps_GmsCore/pull/561

2) Support for putting an app into temporary whitelist when an high-priority GCM message is received: https://github.com/ale5000-git/android_packages_apps_GmsCore (latest master in my fork)
[Android Apps and Games] marcdw:
Hmm, this is strange. My long running microG/AEX Nougat setup all of a sudden has no Google account. Any attempt at creating it is failing. "...problem communicating with Google servers".

Curious, I go to another device running microG (Bootleggers Oreo). Play Store will not connect, at all. If it's not just a blank window it'll just churn and churn.

Have cleared cache & data of Store and Core (having to reconfigure) to no avail.

MicroG Settings are good, all boxes checked. Not sure what's going on. Both ROMs have been running fine for months.

ROMs with gapps have no issues so it's not a standard connectivity problem.

Gotta grab some logs and start perusing.

About to set up another microG ROM for comparison.

ZTE Axon 7 A2017U, AospExtended v4.6 ROM, microG (NoGapps), Multiboot, Tapatalk 4.9.5
[Android Apps and Games] ale5000:
It work correctly for me (official LineageOS + my installer).

Are you using unofficial or patched apk of microG and/or PlayStore?
[Android Apps and Games] Nosepull:
Why are the official MicroG packages no longer updated, if only a version number has to be bumped? That's what I interpret as a bad sign for the maintenance status of MicroG :( .
[Android Apps and Games] marcdw:
Both ROMs used Shadow53's installers. Running fine for months. No unofficial or patched items that weren't originally installed. In the case of AospExtended I have no idea why the Google account disappeared. I swapped out the core with -118 unofficial to see if that would help but nope.

Just installed another ROM, FireHound, with microG and all was good.

Guess this is my excuse to start fresh anyway if nothing changes later (both phones taking a break and recharging).

LG G3 D851, PAC-MAN LP ROM, MultiROM, Tapatalk 4.9.5
[Android Apps and Games] Setialpha:
I'll test it and report back.

Edit: you should add

tools:ignore="ProtectedPermissions"

to the whitelist permission. Else lint will give an error and thus the build fails, without any lint override.

Edit 2: find a precompiled version, here: https://www.nanolx.org/apk/GmsCore.apk (0.2.4-123; signed with my apk key).
[Android Apps and Games] SaGaR_:
How do you have the "new version, current version in apk installer?
[Android Apps and Games] PURJUJU:
Hello! I tried to install it : package conflict with another package with same name. What should I do? I can't remove MicroG
[Android Apps and Games] elandroido:
Hey all,

I am lurking in here since some time and I am using microG, too. All the discussions here inspired me to write down some things now. All of this is IMHO an not based by a in-detail company analysis of Google or whatever.

Nevertheless I guess I can call myself a experienced developer in various areas. Since I am not only developing for my money but also am into open source for many year (and into Android custom ROMs since Froyo) I made some observations.

I do not think, that theer are pure technical reasons (like features or battery runtime) that would justify an installation of microG. If you are only concerned about the technical possibilities you can achieve, you are probably better off with original gapps / google play services. Results may vary, but I think this is a statement that safely can be made.

So why microG?

To understand, one should take a look at Googles Android development strategie.

In the earlier times, Android development by Google was a process that was really focussed on improving the operating system and providing what the customers want. Not because of a purely altruistic approach, simply because they wanted to rule the market with a great mobilde os. The role off Google play services was always a bit ambigous, but originaly it was more a framework to support Google Play Store and provide some features that should not be open sourced.

Somewhere around Lollipop / Marshmallow, the fouces changed. Android OS was quite "complete" no big gaps anymore. That also can be seen as a reason, nothing big was changed / added with Nougat / Oreo.

But mainly another thing came Google. Google seems to have gotten more and more unsatisfied with the limitations they are imposed by the GPL of the linux kernel. That is why they are also heavily putting effort into the Fuchsia thing, which would get them out of GPL.

The latest "new big things" from Google are clearly not specified by developers / technicians. All those device certification / saftey net / play services upgrade paths thing only have one purpose. Vendor lock in. They want to control the manufacturs, users and developers and circumvent the GPL limitations as far as possible. So new cool stuff should go to Google Play Services and not to Android when possible.

Google Play Services is a huge monster and nobody knows exactly whats all in it.

For those who do not trust Google too much and to not want to load like 100MG of coding on their device, microG makes an offer. (wtf is in all those code, some location services and stuff should not eat up that much space).

A very great offer imho.

But please bear in mind that switching from gapps to microg is primarily a pirvacy / political decision, it cannot be based purely on technical merits.
[Android Apps and Games] :
Will there be no more developments?
[Android Apps and Games] ryosenka:
google photo sync

Hi all, how to make Google photos sync?

Asus zenfone 2 ze551ml

resurrection remix 5.5.9 lp

micro g 0.2.4-111 gf1cdb48
[Android Apps and Games] The Solutor:
Just delete the old apk using a root filemanager or from the recovery, then copy the new one in place and set the correct permissions.

On newer android flavours you have to reboot to get everything working
[Android Apps and Games] Nosepull:
I'm looking for an answer to that question, too. The original packages seem to be no longer updated.
[Android Apps and Games] PURJUJU:
I suggest you to have a look into eelo.io :)
[Android Apps and Games] kmem:
Bravo! Kudos to you sir. This is very well said and it echos many of my own thoughts regarding the evolution of Google/Android OS. I wish the current state was prolonged a few more major revisions but Google is giving users who value their privacy little recourse. By keeping this behemoth (play services) closed they are shrouding themselves from data collection scrutiny. I fear that MicroG's userbase will eventually reach a critical volume and a cat and mouse game is likely to ensue. Hopefully by then users will have a robust alternative.
[Android Apps and Games] Oswald Boelcke:
Just by principle not using any Google application (but if I were I'd simply stay with GApps...) therefore no own experiences.

However, did you grant all required permissions?

And the available latest microG services core (the one you mentioned) might not be up-to-speed for Google apps. Did you try the one ("MicroG_GMS_Core-v0.2.4-118.apk") - made available by @kurtn here?
[Android Apps and Games] kurtn:
There is nothin in eelo that can convince me.
[Android Apps and Games] ryosenka:
Hi, i think youre right, and i come back to gapps.

Aniway on lollypop i dont know were grant permissions to apps and i dont try last update of micro g (118)
[Android Apps and Games] Exabyter:
Another project that has almost no product or track record yet, looking for donations.

Given how many such things fail before getting off the ground, I will wait and see. (Especially since they seem to be targeting Chinese-market devices at first, which won't do anything for me.)
[Android Apps and Games] Oswald Boelcke:
LL long time ago for me, and I don't remember. But I know for sure I used the Xposed module "AppOpsXposed".
[Android Apps and Games] guest4711:
See

http://xdaforums.com/showthread.php?t=2569194 or Launch App Ops (Show a hidden screen) - https://f-droid.org/app/com.adstrosoftware.launchappops
[Android Apps and Games] b.roid:
what is the best way to download this these days? little confused by all the different updates and forks.

is f droid repo a good place to install from still?
[Android Apps and Games] kurtn:
F-droid is OK but

- manually make a system app from it

- safetynet fails

- some apps complain about outdated play services.

Best choice today: nanodroid
[Android Apps and Games] PURJUJU:
Why they don't put the last version of microG (118) available in the preview channel of the repo? Is that complicated?
[Android Apps and Games] d1n0x:
It's not official
[Android Apps and Games] Shadow53:
Here's what I know:

NanoDroid is an app pack that contains, among other things, MicroG. It also replaces system apps and is compatible with Magisk overlays. It is configured with a text file that can be generated using a zip installer with Aroma. It is currently using [MENTION=4187311]Setialpha[/MENTION]'s fork of microG. There are also basic subset packs for just MicroG or just system app replacements. It comes with a patched version of Play Store that allows for IAP, but can also install FakeStore.

[MENTION=5627087]ale5000[/MENTION]'s zip I think was the first of the unofficial zips and AFAIK just installs official MicroG and related dependencies, as well as removing conflicting apps (important for location services), which NanoDroid does as well. I'm not following the thread for this zip for some reason, and probably should find it so I can follow it. AFAIK, there is no simple configuration for this zip.

My zips are built by downloading the latest MicroG apps by parsing the F-Droid repo's index file for URLs and thus only follows official releases. There are separate zips for installing with FakeStore, official Play Store, and the NanoDroid patched Play Store. There are also separate NoGapps packs that mirror OpenGapps but with apps from F-Droid (and no MicroG, as that's in a separate installer). Configuration is done at build time, but I provide my build tool and build recipes for easy modification.

The NoGoolag installer I think is most similar to NanoDroid in that it installs its own fork of MicroG as well as F-Droid system app replacements. I'm least familiar with it, but it's in pretty active development, for what that's worth. I don't know much more about it than that, though.

All of the above zips AFAIK will ensure best compatibility with your device by uninstalling system apps that will interfere, e.g. with location services; extracting libraries from apps that get installed to /system (Android generally can't find the libraries otherwise); and similar things. This tends to provide a better/easier experience than installing straight from F-Droid, though that is still a valid option. Also, if you use an installer that uses the official MicroG, you can get updates from that F-Droid repo.

TL;DR: Which installer you use will depend on what you're looking for from it. I will almost always recommend mine, but I am opinionated on the subject. It may be worth you looking deeper into what each does and does not provide and if you need that thing, then make a decision. I would highly recommend using one of the zip installers though, even if it's not mine.
[Android Apps and Games] Oswald Boelcke:
@Shadow53: Superb, comprehensive synopsis! :good:I guess your post will be quoted quite often in future - unless everybody uses the powerful search engine.:rolleyes:
[Android Apps and Games] Exabyter:
Thanks for your post.

Does this apply to those of us running straight LineageOS? (Perhaps with Magisk)

I always assumed that the pre-integrated version of LineageOS for microG would be the least problematic, unless one preferred eg the patched Play store rather than Yalp/F-droid.. no?
[Android Apps and Games] Dobsgw:
If your device has official LOS then you'll see builds on the microg LOS website.

If you wanted to add any other system apps I recommend shadow53s zips as he does bundles and stand alone zips for each apk like the play store. Never had issues with his zips.

As he said though any zip installer would be good
[Android Apps and Games] Nosepull:
Thanks for the description of the different forks. Is there a reason there are no more official updates? Will there be, or is it time to switch?

And is there a migration path from official MicroG to one of the forks? I tried NanoDroid, but after installing it push apps won't register, so I assume that the NanoDroid fork differs from the original enough to force a clean reinstall?!
[Android Apps and Games] Setialpha:
There will be official updates. The forks are just the result if the fact, that the last official release does not pass Safety Net and most apps require a newer Play Services version as it does.

Nope, push notifications are broken on Oreo onwards with microG for most apps. This is caused by the transistion from GCM (which is supported) to FCM (which currently isn't). If in doubt you can try to uninstall and reinstall a given app to force registration and see if it works then.
[Android Apps and Games] Nosepull:
I also can't get push notifications to work for Nougat roms if I try to switch to another MicroG version. Well, back to the Nandroid backup.
[Android Apps and Games] Shadow53:
I forgot about Lineage for MicroG - if you want to use the official release of MicroG, then using the versions bundled with the Lineage release is the best idea as OTA updates should include updates for the MicroG apps. If you use a zip installer with proper OTA survival on top of that, the zip will end up overwriting the new version of the system app with its old version.

So, if you want the patched (or official) Play Store on Lineage for MicroG, I'd recommend using my standalone zip, as it does not contain MicroG and will not overwrite the builtin versions: https://shadow53.com/android/downloads/microg/#google-play-store-standalone
[Android Apps and Games] abacate123:
I'm using Nougat, with NanoDroid Microg package installed, and GCM is working flawlessly for me, I'm receiving push notifications. Unless there are some issues that I didn't notice yet, which I doubt.
[Android Apps and Games] abacate123:
As a Magisk module. But it works fine for me either way.

Read the full documentation here, it has everything you should know about NanoDroid (also the installation/configuration guide).
[Android Apps and Games] d1n0x:
Yes, just replace it. I also run LOS for MicroG and have no issues with the unofficial release.
[Android Apps and Games] chris42too:
Compile Error AOSP

Hi there,

I am trying to compile GmsCore during my AOSP ROM Compile. This works mostly, I just have one error left I can't figure out.

When starting, I get the following error

build packages/apps/GmsCore/play...pk/release/play-services-core-release-unsigned.apkninja: error: mkdir(packages/apps/GmsCore/play-services-core/build/outputs): No such file or directory

Checking, then "packages/apps/GmsCore/play-services-core/build" is actually a link to "out/target/common/obj/APPS/GmsCore_intermediates". All this seems to be ok, as it is specified like this in the Android.mk file.

However the link target folder "out/target/common/obj/APPS/GmsCore_intermediates" is not existent. Creating it and restarting the build then works and everything compiles fine.

As I understand the Android.mk file, first the directory is created and then the link is placed, hence this should work. Am I missing something?

Regards

Chris
[Android Apps and Games] Nosepull:
I try to switch from original MicroG to the fork contained in NanoDroid. In theory this should only replace one apk with another one, albeit signed differently.

However, PushNotificationTester cannot register for GCM push anymore afterwards.

(And, for whatever reason, Tasker constantly crashes with the new MicroG.)

Therefore I fear that a switch to other MicroG version requires a clean new setup - system and apps.

I just wonder why the official repos are no longer updated even if simple fixes for the current problems are already available. Nobody seems to be able to clarify this.
[Android Apps and Games] abacate123:
Well, I'm using the microg apk Setialpha sent here some messages ago, possibly the one you mentioned from nanodroid's repo and I just installed it on top of the other one from nanodroid microg package. It seems to be all fine for me and my apps are being registered for GCM (I don't use Tasker though).

Maybe it has something to do with Oreo?
[Android Apps and Games] taesden:
app not running, wants to update Google Play services

Hi, I´m running Omni 8.1 stable on a O+ 3T. I never had installed GAPS, I have installed microG throug TWRP. Signature spoofing is on, microG self check is showing that everything is checked so I imagine that it is well installed.

I´m install new apps with Yelp, which is working well.

One app called MyRide is not working.

After doing a ride I can´t save the track. I´ve got the message:

MyRide won´t run unless you updated Google Play services.

Same message cames up with Garmin Smartphone Link app:

Cannot Connected to the Market. Your Market software may be out of date. You may continue using this application, but you cannot make purchases.

Is there any way to fix this both app issues? Most important from my end for me is MyRide, I would like to use this app.

Thanx for each help!
[Android Apps and Games] d1n0x:
Try one of the new, unofficial versions.
[Android Apps and Games] taesden:
Hi d1n0x, thank you very much for your help. To prevent from missunderstandings and errors: New unofficial versions are not available from F-Droid Repor, isn´t it? If so, where can I download the versions you are referring?
[Android Apps and Games] Oswald Boelcke:
The search engine on XDA is really powerful...

Anyhow, it was made available about 3 - 4 pages earlier e.g. I mentioned it in my post here. Credits go to @kurtn.
[Android Apps and Games] taesden:
Hi Oswald Boelcke, thank you for referring the link, I will check the fork.
[Android Apps and Games] Exabyter:
Ugh, I was afraid of that, I believe I posted here or in the Lineage for microG thread about it. ?

So much for the touted simplicity of being able to do a simple Nougat to Oreo upgrade with that fork. GCM has been for me the least problematic element of microG, and critical for many of my apps.

I hope my fear of FCM forcing even an OSS workalike framework to shove things like Firebase Analytics down our throats as the price of app-integrated push messaging doesn't turn out to be true. But this is precisely the kind of sneaky hostility Google has increasingly demonstrated towards any attempts to circumvent its all-consuming drive to collect every tiny bit of personal data about everyone, whether they like it or not.
[Android Apps and Games] chris42too:
You can try to install older versions with GCM registration and then update. This works for some applications. However it is hard to know when each app switched. Whatsapp did so already last year (Now the app prevents registration if it is not the latest version, determined by date).
[Android Apps and Games] Skrifoxx:
Hello.. This package works for lineage os 15.1 ?
[Android Apps and Games] kurtn:
Yes, but I highly recommend 14.1

Or is your device officially supported by LOS? Then change to lineage4microG.
[Android Apps and Games] skeve:
Guys, do you know if anyone's working on implementing FCM? So far it's been a real pain in the ass to use my new phone without gapps: push notifications don't work, messages get delayed, etc. Is there any hope on the horizon? Or should I just give up and install google framework? To be honest, this isn't something I'm willing to do.

I'm not a developer myself, so the only thing I can do is donate a few bucks to the team working on FCM. Is there such a team? I checked github, and it doesn't look like the microg project is being actively worked on. Or maybe I just looked in the wrong place?
[Android Apps and Games] d1n0x:
Apps using FCM work fine after excluding them from battery optimization. No delays.