yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Nosepull:
GCM push causes massive wakelocks.

I get strange wakelocks with certain apps as long as they are allowed to register with MicroG for GCM push. E.g. Yatse (a Kodi remote) and WeatherPro (but also other weather apps). I have no widgets active for these apps, there are no push notifications activated, and, according to the MicroG settings, they are registered, but don't ever have received a notification.

See the attached screenshots of BetterBatteryStats: There also seems to be something being mixed up: At first Yatse is the main culprit, after a refresh, WeatherPro. There was only one refresh between both screenshots, a matter of seconds!

But, reproducable with my apps, it's only with Yatse and WeatherPro (had the same problem with other weather apps, too). And the problem is gone as soon as I use MicroG settings to disallow push notifications for these two apps.

Any idea?
[Android Apps and Games] wis3m0nkey:
Glad to see u got it working again, in my case I just had to wait till Google fixed the issue then clear the app data for play store and try again.

BTW I'm guessing u already have play store as system app instead of user app if not you will need it to be system app
[Android Apps and Games] JanJabko:
Installed with success. In case someone has a similar setup and fails, here is what I did.

I have a Samsung S4 9505, running latest Resurrection Remix Nougat. Phone has never seen GApps after clean flash. My PC runs on Kubuntu Yakkety Yak, adb installed.

I took all information and download links from the microG.org website (didn't look for this thread before).

I wanted to use Signal messenger, that is why I did this.

Patched Tingle for signature spoofing from PC, restart, Lanchon's spoofing checker says enabled. Fine!

Installing microG Services Core, Service Framework Proxy and Fakestore from F-Droid. Open microG settings, set required tickmarks, give all permissions, restart.

Easily done in 10 minutes if you know what to do (I had to do it several times).

Now came the problem. Both Signal and Push Notification test tell me, Google stuff needs updating and provide a button "Update" (haha).

I searched this thread and read some time back if "using older app version", but different context. So I installed the 1st old version of microG Services Core (64 somewhere in Name), and maybe restarted. I just clicked on the older version in F-Droid and did not uninstall the newer version before.

Tata, Signal and Push Notification test work. Right now I installed the latest microG Services Core version (76) and it seems to still work, at least I don't get error messages, fingers crossed.

To summarise, installation in Nougat is easy at least for the use of Signal, I did not test anything else, no Google account on phone.

---------- Post added at 09:23 AM ---------- Previous post was at 09:19 AM ----------

Same user, slightly different topic than above.

Some time back I was testing UnifiedNlp and had to push it to /system/app or /priv-app to get it working.

How can I do this now with UnifiedNlp packed into the Core Services? Copy the whole package to /system/...?

Just out of interest, I haven't used it anyway.
[Android Apps and Games] justmix4:
You should install Google Contact Sync and Google Backup Transport as system apps and then give it permissions to Contacts.
[Android Apps and Games] Shadow53:
Basically, yes. Roms that come patched with signature spoofing tend to also be patched to allow user apps to report locations, but otherwise location provider apps (like UNLP) need to be installed as system apps. Both [MENTION=5627087]ale5000[/MENTION] and I have made unofficial flashable zip files that install microG to /system.

[MENTION=5627087]ale5000[/MENTION]'s: https://xdaforums.com/android/development/microg-unofficial-installer-t3432360

Mine: https://shadow53.com/no-gapps/downloads
[Android Apps and Games] teemo:
My ROM is patched for spoofing, but not for locations, yet locations works. I have no system apps except play store. All else are installed from apk as user apps.

Just wondering why it works. The need to push to system, is that a Samsung-thing?

Do you have a link to the "location" patch?
[Android Apps and Games] Shadow53:
It's not a Samsung thing, as I'm using a Nexus 6 and have to push to /system. I don't have a link, and honestly it's possible that the signature spoofing patch also fixes the location issue, but I assumed that it was a separate patch.
[Android Apps and Games] rnd83:
The patch for signature spoofing you can find here, the location patch you can find here. The location patch is not included in the signature patch.
[Android Apps and Games] teemo:
You assumed correct. I forgot there was two patches originally, as I combined it to one for easier picking.

Thanks.

I use the patches from [MENTION=2980661]bigsupersquid[/MENTION], so yes, the location patch is included.
[Android Apps and Games] Hoogs:
I'm having the same problem as well. Did you find a solution?
[Android Apps and Games] ale5000:
New version: microG Services Core 0.2.4-79
[Android Apps and Games] blakegriplingph:
I tried your modded Store client with the latest microG GmsCore on my LeapFrog Epic, and while I can more or less browse the store with no problems, the My Apps list is empty and attempting to download any of them applications do not end up in any one of those apps being installed. And maybe I did something wrong, but I couldn't get Play Store to launch if I used your Blackberry framework. [MENTION=543591]RAMChYLD[/MENTION] and I got a null pointer exception on the app if we try to check in after registering.
[Android Apps and Games] gh0stzk:
Will be nice a changelog..
[Android Apps and Games] ale5000:
Yes, but F-Droid do not check continuously but every a certain amount of time.

You have to tap Update repositories to check instantly.
[Android Apps and Games] Shadow53:
So it looks like the unstable updates option doesn't make the updates appear, at least on my device. That particular piece of advice is incorrect and I apologize for that, since I'm most likely the source of that misinformation.

[MENTION=3999488]MaR-V-iN[/MENTION] could you tweak the way you do "beta" version releases so that F-Droid correctly recognizes the update? Even with unstable updates enabled, I get no indication of any update to microG. I'm guessing it it due to the use of (version)-(release) structure and F-Droid only checking the version number.

The RetroArch project has their own GitHub that releases nightly versions with the scheme (stable version #)_GIT and F-Droid manages to recognize the update every single day. I don't know if the "GIT" in the name does anything or if an option is set on the server to mark versions with the same version number as updates.
[Android Apps and Games] itazchu:
I just tried install microg 0.2.4-60 n droid guard in my Nexus 5 but didn't pass safetynet with or without magisk. Tested using magisk apps and the result is CTS profile mismatch while using safetynet helper checker apps the safetynet test was endless loading without result. It passes safetynet using my usual setup, dark rom + opengapps pico, blu spark kernel and magisk with magisk hide enabled.

Does the new microg services core fix safetynet?
[Android Apps and Games] bhanuprasad1981:
After success full installation of microg some apps are not installing with "not compatible" Error, tried with yalp store.
[Android Apps and Games] ale5000:
New microG Services Core fix endless loading.

Could you please retry with the latest?
[Android Apps and Games] rnd83:
If you open the app information in F-Droid it normally shows you a list of available versions. Tap the version you want to install.
[Android Apps and Games] ale5000:
[MENTION=4336485]alezardstar[/MENTION]: Well, maybe it is unusual but I always download it from a pc here.

I never had problems with Play Store so I don't know.
[Android Apps and Games] Shadow53:
It's not a matter of labeling the application. F-Droid differentiates apps by their package name, e.g. com.google.android.gms. This package name is the one for Google Play Services, UnifiedNLP (No GApps), *and* microG, as the latter two need to use the same name as Play Services in order to be properly recognized by the system. UnifiedNLP needs it because most ROMs only allow Google Play Services to be a network location provider, microG for the same reason as well as providing GCM and everything else.

Because UnifiedNLP and microG share the same package name, they are considered to be the same app and F-Droid displays app names in order of the repository it is first found in - you can see this by disabling the official F-Droid repository. Suddenly, UnifiedNLP changes to microG Services Core! This doesn't fix the update issue though, since the update still wasn't listed even after disabling F-Droid.
[Android Apps and Games] ale5000:
I'm not sure without a logcat but it is possible that they need MAPS API V1, microG Services Core only contain MAPS API V2.
[Android Apps and Games] bhanuprasad1981:
dear sir i saw flashable zip of maps api v1 here :- https://github.com/microg/android_frameworks_mapsv1/releases

do you think flashing it can solve my issue ? BTW its an banking application which is giving me error.
[Android Apps and Games] JanJabko:
You could as well enable unstable updates at the bottom in F-Droid, that should do the trick.

Edit: him, just read a few posts back that this is not working. I haven't tried it, as Signal Messenger is currently my only concern which now works without Google.
[Android Apps and Games] Primokorn:
I did a clean flash of 7.1.1 RR rom and I no longer have FCs with Play Store but the app doesn't recognize my installed apps. I'm unable to update them...

Any idea?
[Android Apps and Games] Primokorn:
Nope I started from scratch with another custom ROM.

EDIT [MENTION=7533503]Hoogs[/MENTION] you may use the custom ROM having the signature spoofing patch. Open the dev options and see if you have an option to enable the signature spoofing.
[Android Apps and Games] ale5000:
In some cases the problem is the missing maps api v1 but you must post a logcat to have more info.
[Android Apps and Games] _Kosmas_:
You can restore the playstore data from a (nandroid) backup. I'm using Titanium Backup. Don't forget to reboot.
[Android Apps and Games] Primokorn:
I never back up the Play Store data. It's just a system app stored into /system/priv-app/Phonesky.apk.
[Android Apps and Games] _Kosmas_:
But you have surely a nandroid backup of a rom with playstore installed. Do you use Titanium Backup? If yes you can find in TB menu a setting " Special Backup/Restore" and there "Extract from Nandroid backup". Just open a backup and choose Playstore "only data"......
[Android Apps and Games] Primokorn:
I only have a very recent nandroid backup and I also had issues with Play Store: https://framapic.org/JMlSD3uE00ca/1vLCRIhWLvQS.png
[Android Apps and Games] ale5000:
[MENTION=4958579]Primokorn[/MENTION]: You can just remove the data of Play Store then terminate and re-open it many times.

Usually it automatically pick apps.
[Android Apps and Games] itazchu:
newest microg fixes endless loading but it doesn't pass safetynet (cts

profile mismatch).
[Android Apps and Games] Primokorn:
It doesn't help either. 4 days that I install new roms, different microG versions... I'm down.

EDIT [MENTION=5627087]ale5000[/MENTION] [MENTION=6061988]_Kosmas_[/MENTION]

FYI it's a TiBu issue. I had TiBu v8.0.0 and after restoring the previous version (7.6.1) the Play Store detects my apps and I can update them.

EDIT2: it was a coincidence. Same issue after a new clean flash with TB 7.6.1. Not a microG issue so I stop OT.
[Android Apps and Games] ml11ML:
Hello,

i'm new to the microG so i might have missed something, but i'm getting this weird bug where it gets stuck on the "just a sec" screen when trying to add a google account.

In case this could cause any issues i'm running LineageOS patched for signature faking (after install, not before building from source) on a nexus 6P.

Should i just get some other custom rom or what? I did restart it a few times too and that didn't help.
[Android Apps and Games] Shadow53:
Which version of microG are you running? There's the stable release and the latest preview version. It's best to use the preview version to avoid issues. I'm guessing this is your problem.
[Android Apps and Games] ml11ML:
Yes! That was the problem.

I somehow managed to ignore the fact about there being more than one version that you can download... Now it works normally with the preview.

---------- Post added at 01:28 AM ---------- Previous post was at 01:19 AM ----------

Well...

Found another problem! Hangouts crashes instantly when launched. Youtube which is the only other google app i have works fine. Anything i could try to fix it?
[Android Apps and Games] ale5000:
[MENTION=3999488]MaR-V-iN[/MENTION]: I have looked at Transifex but it doesn't seem free or there is something that I missed?
[Android Apps and Games] MaurixMystic:
Smart lock does not appear to me, any ideas?
[Android Apps and Games] Shadow53:
AFAIK smart lock has not been implemented in microG (yet). You'll have to use another solution, perhaps built in to the ROM.
[Android Apps and Games] Draygon:
Hello,

What is the latest version of Play Store, that is working with (In-)App purchases?

Tried many now, but all of them crashed.
[Android Apps and Games] Shadow53:
How have you installed Play Store? Issues are common when it is installed somewhere other than /system/priv-app
[Android Apps and Games] Draygon:
My Play Store is installed to /system/priv-app

Only version 5.1.11 is working with purchases, but this version is outdated, slow and doesn't show the latest updates for some apps (maps was updated last on 05-25-2017 to version 9.26.

Is one of the newer play store versions really working with purchases?
[Android Apps and Games] 2phazt:
Afaik no.

And that's the only culprit with microg.
[Android Apps and Games] pok1yoyo:
Hi all.

I use microg latest version available from f-droid repository (0.2.4-79-g7f13738). I installed it on ResurrectionRemix ROM (Android version 7.1.1). I only need push notifications, don't care about other google stuff. I also installed FakeStore (v0.0.2) and Framework proxy (v0.1.0, but is probably not needed anyway). In microg settings everything seems OK (except there don't seem to be check mark at Play Store (Phonesky) has correct signature ), I have enabled device registration and GCM. GCM says ON / 0 registered apps (probably because all apps can't seem to find play services - see below).

So far I have two apps which use GCM / FCM (Slack and one which I develop). Both will remind me that they need Google Play services which they claim are not supported on my device (see github.com/microg/android_packages_apps_GmsCore/issues/271).

Now for my two questions:

- I didn't see this under wiki installation, but do I have to set up google account to receive pushes?

- Does Play Store (Phonesky) has correct signature without check mark mean anything? I don't think this is affecting services (at least it doesn't seem so according to issue #217). So should I just ignore it?

Slack's log says

03-05 10:41:54.007 24151 24151 W GooglePlayServicesUtil: Google Play Store signature invalid.
03-05 10:41:54.009 24151 24151 E GoogleApiAvailability: Google Play services is invalid. Cannot recover.
03-05 10:41:54.052 24151 24151 E null : Google Play Services disabled, out of date, or missing
[Android Apps and Games] Bludwurst:
- Dunno. Wouldn't hurt to try in any case.

- It actually means a lot, and likely is the source of your troubles: a lot of apps (for whatever reason?) use the presence of the PlayStore as guarantee that the phone has the GPlay Services installed. This begs the question: you *did* give FakeStore the signature spoofing permission, right? (You didn't mention it). Also, remember to reboot once all is set up (you didn't mention having done this either).
[Android Apps and Games] pok1yoyo:
Hi,

Thanks for reply.

Do you happen to know how do I do that? Is there microg option anywhere or just use Android's "Add account"?

I didn't give FakeStore permission (it didn't request any). I briefly remember having an app named "Market" with white bag icon, although I am not sure whether it was BlankStore or FakeStore. Once I removed everything and reinstalled it was gone. In apps permissions it says FakeStore doesn't require any permissions and it didn't ask for any either. It doesn't seem to be running and I don't know how to run it either.

Yes, I rebooted. I did follow the installation instructions fine, I think.
[Android Apps and Games] Bludwurst:
Yeah, just add a Google account as you normally do.

I'm not sure how RR handles it; but try going to Apps>Gear Icon>App Permisions>Spoof package signature.

FakeStore should be there. And microG core should, naturally, also be there — and already granted permission.

BlankStore is the one with the blank shopping bag; FakeStore has a generic android robot icon and cannot be run (it's basically just a dummy app). If you wish to use the PlayStore (i.e. download apps from there) you must install the original PlayStore instead; or use Yalp Store.
[Android Apps and Games] pok1yoyo:
Going to App Permissions > Spoof package signature did it. It works fine now. Many thanks Bludwurst.
[Android Apps and Games] Nosepull:
Don`t usw PlayStore at all, use Yalp from Fdroid. Works fine for me, even with paid apps (buy from the web interface).
[Android Apps and Games] bhanuprasad1981:
I have tried microg but had to remove it since many apps which I use where refusing to run without play services and some of my paid apps were getting license verification error or stating message as illegal copies hope someday this issue may resolve and I can install microg again
[Android Apps and Games] xk0niR:
If you have microG + Play Store setup correctly (and logged into your google Account) apps will accept your payment/license.
[Android Apps and Games] 2phazt:
License keys have to be installed again after microg has been setup properly.
[Android Apps and Games] bhanuprasad1981:
I will let know some of my issues

1. Some banking apps just won't install

2. Some substratum themes just show messages as illegal copies

3 . I tried installing play store but it just won't open may be I installed wrong version?

4.sync.me app don't want to run as it says some components missing
[Android Apps and Games] justmix4:
Ad. 2. I think you have this themes from illegal sources.

Ad. 3. Rember to set up Play Store as system app (do this also with sync apps), give it permissions to contacts and storage.
[Android Apps and Games] bhanuprasad1981:
Nope that theme was swift dark theme wrote to developer too but no reply

BTW I am running nougat 7.1.1 any extra steps which are required other than those mentioned in op possibly causing some errors
[Android Apps and Games] moriel5:
To say the truth, I have a Substratum theme which is free on the Play Store, and I can't use it, due to not having a license, as I run a GAPPS-free setup, without even microG.

When I'll have the time, I'll ask the author to release an "XDA Labs" version, or at least one without signature verification outside the Play Store.

Of course, it would be much better if it would arrive on F-Droid, however that's up to the developer (especially since it would require him/her to release the source code).
[Android Apps and Games] bhanuprasad1981:
I think its dna dark theme I too tried it after my paid theme refused to apply lol
[Android Apps and Games] Shadow53:
Re: Play Store

I use the version of the Play Store from the latest OpenGapps package without any issues, version 7.5.08.M-all. Paid apps download and licenses validate fine. I have not encountered any issues required going back to the old Play Store version. This is even with all permissions to Play Store being denied in App Ops. I created my own flashable zip to install the Play Store, which you can find here: https://shadow53.com/no-gapps/downloads/

Regarding Yalp Store vs the Play Store, Yalp can download paid apps but it cannot validate their licenses. Some paid apps may assume that the license is valid if you are using the app - I believe Tasker does this - and some use a separate unlock key app, which should work with Yalp as well.

---------- Post added at 08:28 PM ---------- Previous post was at 08:17 PM ----------

Since you've installed FakeStore and not the Play Store, that unchecked mark seems fine. I didn't have any issues that I recall with I was using FakeStore. Your issue is most likely one of two things:

1. Google has released a newer version of GMS that microG needs to spoof the version number for (i.e. it is spoofing a version older than the apps "require")

2. You somehow installed the apps requiring GCM before installing microG and enabling GCM

FWIW, I am using Slack on my device with microG version 0.2.4-64, so -79 should be working too. EDIT: microG reports version -64, but I actually have -79 installed, so it *definitely* should be working.

The license issue was probably because you didn't have the official Play Store installed or installed it incorrectly. All I can say, since you didn't give any indication of what you did, is that the issue is probably on your end, since plenty of people have microG working fine. Did you configure microG before installing all of your apps? Did you install normally or with Titanium Backup? Both of those could be factors in why it didn't work.
[Android Apps and Games] pok1yoyo:
Yes, it works fine now. I didn't know I had to (or rather how to) give FakeStore spoofing permission.
[Android Apps and Games] isko01:
They are many application disabled from Play Store to my country. Will this application enable it?
[Android Apps and Games] bhanuprasad1981:
I had those apps installed before installing microg may be that is issue, will try fresh installation again
[Android Apps and Games] moriel5:
Actually, it's DNA's Pixel theme.

I personally am not a fan of dark themes.

You were close enough though, since it makes sense that DNA would use the same licensing system in all of his Substratum themes.
[Android Apps and Games] Primokorn:
Nah that's not the goal of microG project.
[Android Apps and Games] Koloses:
Well, in microG there is a place for network & country codes in the code as far as I reckon.If we had setting to change it for ourselves it could work this way. Am I right [MENTION=3999488]MaR-V-iN[/MENTION] ?
[Android Apps and Games] MaR-V-iN:
Yes, Issue #90
[Android Apps and Games] bhanuprasad1981:
After fresh install and play store installation using zip I can license verify apps but some apps fail to install with error code 507
[Android Apps and Games] justmix4:
What do you think about Yalp Store guys? Is it really safe and can we trust this app and developer?
[Android Apps and Games] Mynacol:
Yes, the app is open-source. the F-Droid "version" is built only from sources and I trust these guys :highfive:
[Android Apps and Games] adobrakic:
Any thoughts on using it with your Play Store account? I want access to my paid apps, but worried about getting account banned
[Android Apps and Games] xk0niR:
Well I just tried it today.

I downloaded a substratun theme (which I bought) with it. It installed fine but in Substratum it said "this copy is not licensed" or so.

You can use official play store to access them.
[Android Apps and Games] Bludwurst:
well, that's a risk.

i use my normal google account. i dont worry too much.
[Android Apps and Games] adobrakic:
I do worry though lol, I have lots of apps I've paid for. How long have you used Yalp Store without being banned?
[Android Apps and Games] Bludwurst:
since i started using microg. like a month or so?

you could go the safe route and not use yalp store but stick with the original play store; i don't care too much because the only paid app i own i got through a promo code lol

so i don't have much to lose.
[Android Apps and Games] Koloses:
If you are afraid something could happen to your normal account you could always make a new one and use it with things like microg and yalp store ;)