yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] rien-ne-va-plus:
Actually unfortunately it was necessary to use adb - flashing the zip installed Phonesky.apk in /priv-app. This apparently meant that the app would not show up in the apps list to set permission through the "settings" dialogue. This was also new to me since before I had simply installed the microG .apks in Android and they thus where available to give permissions to. Weird behaviour but luckily easy to solve.

Cheers

rien
[Android Apps and Games] dugi9991:
Is everything ticked ok in the microG app? Have you enabled all the necessary stuff in it? After enabling all, have you restarted your device then afterwards installed all the apps that require GCM?
[Android Apps and Games] kurtn:
You can manage system app permissions in settings. Try my procedure.
[Android Apps and Games] rien-ne-va-plus:
Thanks guys for getting back to me, I think it's time to post some pictures to get create some clarity.

You can see the screens of my microG app here, everything is ticket but only WhatsApp (and earlier also the notification tester) managed to register:

View attachment 4409650View attachment 4409651View attachment 4409652

I'm pretty sure I tried to do exactly what you're suggesting because that's how I did it before, but these images show what I see now. In the permission list for signature spoofing the FakeStore is not listed and in the system app view it states "No permission requested" and the dialogue is greyed out. How would you proceed here?

View attachment 4409653

Thanks and cheers

rien
[Android Apps and Games] barturblits:
I did and rien ne va plus probably also, he also has a working setup in 7.1.2. I am curious about the differences in nanodroid and the native patch, seems nanodroid does something different.
[Android Apps and Games] kurtn:
Hit treedotmenu
[Android Apps and Games] rien-ne-va-plus:
Thanks! Learn something new every day. I suppose I was a bit dense or just thought I was already deep enough in the menu-tree :laugh:

Anyhow, as shown by the checkmarks everything is already set correctly, so this doesn't help my original problem, just good to know for the future.

As [MENTION=5932098]barturblits[/MENTION] mentioned it's really puzzling to me what created the issues since it worked before - and seems to be working for others?

Cheers

rien
[Android Apps and Games] kurtn:
I have not seen a report of WhatsApp getting GCM in Oreo with microG. But I can confirm WhatsApp works well without GCM.
[Android Apps and Games] barturblits:
I only tried telegram and push notification tester and the tester worked properly but it wasnt registered in microg settings. Telegram did not appear in the microg settings. So whatsapp probably uses its own push service then. Gonna test some more apps tonight.
[Android Apps and Games] kurtn:
Push notification tester does unregister after test. During test you can see the registered status.
[Android Apps and Games] dugi9991:
I can confirm there is no WhatsApp in the GCM section on 8.1 software.

Also, download both .zip files and check the difference - I know that NanoDroid works like a charm for me.

I meant this - https://github.com/microg/android_packages_apps_GmsCore/issues/471

It's not related to Oreo, but to the latest WA version - sorry for the wrong info by me.
[Android Apps and Games] kurtn:
WhatsApp 2.18.29 has GCM in Nougat
[Android Apps and Games] barturblits:
Ok so best bet is to just install whatsapp and telegram and probably whitelist them in battery optimization so they can use their own push service without system working against them. WA and Telegram are the only apps where I need real time notifications.
[Android Apps and Games] kurtn:
I use telegram from f-droid. That doesn't even try to GCM.
[Android Apps and Games] barturblits:
Even better!
[Android Apps and Games] barturblits:
Btw, did you disable gcm completely in microg?
[Android Apps and Games] kurtn:
Not in nougat
[Android Apps and Games] benstyle1:
Hi,

on my LG H850 stock-based ROM (7.0) i have issues with push notifications. They only arrive when i turn on the display.

I installed everything as described on github

- Signature spoofing works through xposed

- selfcheck shows gcm is working

- push notification tester does its job

however, everytime i activate my phone after half an hour or so i receive several messages from whatsapp and signal.

In the logs i found the following lines, maybe they have something to do with the problem.

If You need more information or log lines, let me know. I grep'ed these lines out because i didn't want to publish sensitive information here.

Thank You!

02-07 19:48:28.421 9500 9500 D GmsGcmMcsSvc: Connection is not enabled or dead.
02-07 19:48:28.422 9500 9500 D GmsGcmTrigger: Not connected to GCM but should be, asking the service to start up. Triggered by: Intent { act=org.microg.gms.gcm.mcs.RECONNECT flg=0x14 cmp=com.google.android.gms/org.microg.gms.gcm.TriggerReceiver (has extras) }
02-07 19:48:28.429 9500 11221 D GmsGcmMcsSvc: Connect initiated, reason: Intent { act=org.microg.gms.gcm.mcs.RECONNECT flg=0x14 cmp=com.google.android.gms/org.microg.gms.gcm.TriggerReceiver (has extras) }
02-07 19:48:28.431 9500 11221 D GmsGcmMcsSvc: Connection is not enabled or dead.
02-07 19:48:28.434 9500 11221 D GmsGcmMcsSvc: Starting MCS connection...
02-07 19:48:28.595 9500 11221 D GmsGcmMcsSvc: Connected to mtalk.google.com:5228
02-07 19:48:28.595 9500 11221 D GmsGcmMcsSvc: Activated SSL with mtalk.google.com:5228
02-07 19:48:28.638 9500 20826 D GmsGcmMcsSvc: Sending login request...
02-07 19:48:28.638 9500 11221 D GmsGcmMcsSvc: Scheduling heartbeat in 675 seconds...
02-07 19:48:28.643 9500 20826 D GmsGcmMcsOutput: Outgoing message: LoginRequest{id=android-24, domain=mcs.android.com, user=4510474608077585261, resource=4510474608077585261, auth_token=3151007156673677394, device_id=android-3e986cc22ee23b6d, setting=[Setting{name=new_vc, value=1}], received_persistent_id=[], adaptive_heartbeat=false, use_rmq2=true, auth_service=ANDROID_ID, network_type=1}
...
02-07 20:12:14.092 9500 9500 D GmsGcmTrigger: Ignoring Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x4000010 (has extras) }: service is running. schedule reconnect instead.
02-07 20:12:14.092 9500 9500 D GmsGcmMcsSvc: Scheduling reconnect in 5 seconds...
02-07 20:12:14.093 8059 8583 W NetworkIdentity: Active mobile network without subscriber!
02-07 20:12:14.098 8059 9265 W NetworkIdentity: Active mobile network without subscriber!
02-07 20:12:14.100 11367 11426 W MessageRetrievalService: Network requirement: true, active activities: 0, push pending: 0, gcm disabled: false
[Android Apps and Games] barturblits:
Did you disable battery optimization for gmscore?
[Android Apps and Games] benstyle1:
Yes, I did.

For whatever reason Push notification Tester stopped working at all. I found this in the logs:

22:38:22.970 1882 2999 W ActivityManager: Permission Denial: Accessing service ComponentInfo{com.google.android.gms/org.microg.gms.gcm.PushRegisterService} from pid=25893, uid=10176 requires com.google.android.c2dm.permission.RECEIVE

.... any ideas?

Thank You!
[Android Apps and Games] dugi9991:
Are all the permissions for microG enabled?
[Android Apps and Games] benstyle1:
Yes
[Android Apps and Games] Shadow53:
I would check:

- if the apps not receiving push notifications are registered with GCM

- what the heartbeat values for those are (perhaps microg configured it to be too high) - I believe that's under advanced settings in the GCM menu

- if you installed microg to /system, did you extract the libraries from the apk? I think that only affects showing a map for location purposes, but there may be something else there

- Do the apps not receiving notifications start receiving them if you manually whitelist them from being "battery optimized"?

Also note I am unfamiliar with the Xposed method of spoofing and have only used custom ROMs with the patch built in or applied with the NanoDroid patcher or Tingle. Is it possible there may be an error with the spoofing? If your system is deodexed, you might try patching it instead.

For Android Nougat and up, I usually suggest using a flashable installer for microG, as they tend to make sure everything is set up correctly as much as possible. I'm going to suggest mine from https://shadow53.com/android/downloads/microg/ but there are others people like to use too, like the aforementioned NanoDroid.
[Android Apps and Games] rich333:
Hi, not sure if this is the right place to ask, please redirect me if its not.

I got a Unihertz Jelly Pro, SU root & official xposed & microG.

The phone doesn't have a custom rom yet so I manually removed the GAPPS, everything is fine but most browsers (off F-Droid) crash. IceCat works, I tested and Chrome also works. I also use aptoide, the lite version crashes in the same way as the browsers, full version is fine. I'm guessing the more apps i use the more i'll find with this issue.

Did i delete something the browsers/app require to launch? Any help would be great! Thanks
[Android Apps and Games] n76:
A snippet from logcat showing the stack trace when one or more of those apps fail should help isolate the cause. Without that anything would be a guess.
[Android Apps and Games] Shadow53:
My guess is that you deleted whatever provides the Android Webview component on the stock system, causing all apps using the Webview to crash. Most F-Droid browsers (aside from Fennec and IceCat) use this Webview and I would not be surprised if Aptoide Lite did too.

Still, that's just a guess. A logcat would go a long way to figuring out if that's what it actually is.
[Android Apps and Games] rich333:
installed android webview from Yalp and works again. thanks for your help! Now I can setup and start using this tiny phone!
[Android Apps and Games] ale5000:
This is a permission problem, you should install the apps "after" microG.

Re-install/update the app should fix the problem.
[Android Apps and Games] chris42too:
You can also install an older version of Whattsapp to register GCM and then upgrade. Works for my Whattsapp without problems.
[Android Apps and Games] benstyle1:
Thanks, that did the trick for push tester.

Unfortunately, messages still arrive with some delay. I reinstalled Signal, granted permission for push notifications, everything looks fine, but it doesn't work as it should.

Do you have another hint for me? If not, i guess I'll have to setup my whole phone again, maybe that helps.

Thanks
[Android Apps and Games] Bludwurst:
I believe that can be changed in the advanced settings.
[Android Apps and Games] ale5000:
You have to ignore battery optimizations also for Signal (and every GCM app where you need instant notifications, it is caused by a feature currently not implemented by microG).
[Android Apps and Games] benstyle1:
Oh, I didn't know that. Thanks, I'll try and report back
[Android Apps and Games] AnonVendetta:
I'm having an issue with "UnifiedNLP is registered in system", the box isn't checked even after multiple reboots.

Info:

Axon 7 USA version (A2017U)

Bootloader unlocked, rooted with Magisk 15.3

AOSP Extended v8.1.0 Oreo

I'm using the latest MicroG preview APK from F-Droid, it is installed in a subfolder in /system/priv-app/ and permissions are correct, ARM64 lib file is also extracted and installed as /system/priv-app/GMS/lib/arm64/libvtm-jni.so, the APK is in the root of the GMS folder.

My ROM has signature spoofing built in, even though all files in /system/framework are odexed. I just have to check a box so that MicroG is granted the spoofing permission. No need to do manual patching or use FakeGApps.

All other boxes under Self-Check are checked, including " System supports location provider". All other functions of MicroG work fine, including GCM (Play Store and a few other apps are registered).

Is this an issue with Oreo in general, the ROM, or MicroG? Any fix?

Another thing, Play Store appears to mostly work fine at first but crashes when trying to update an app (clicking on the app name causes PS to crash, even before it has tried to start downloading).

Thanks!
[Android Apps and Games] Shadow53:
1) You probably have an app bundled with your rom that is bound as a location provider and is preventing UnifiedNlp from binding. The app 'com.qualcomm.location' is a common culprit of this.

2) Is your Play Store also installed under priv-app? If not, put it there. It gets fussy otherwise.
[Android Apps and Games] kurtn:
I've had the same issue on AEX Oreo redmi2. Fixed it with an xposed module. Now changed to aokp. It really is rom's fault.
[Android Apps and Games] barturblits:
Do you have to unpack the lib from the apk when installed in /system/priv-app? Never did that and did not notice something strange. Btw what tool do you use for unpacking the lib?
[Android Apps and Games] Shadow53:
It only affects the location-map-layer-thing, as that is the only library in the app AFAIK. An apk is basically a special zip file, so you can just unzip the libraries from it from your favorite archive manager (may or may not have to rename to .zip first).
[Android Apps and Games] mad1mystic:
I'm getting push notification for some apps but for some I'm not getting push notification, in gcm advance setting I have allowed apps to wake up and tried to remove apps from battery optimisation. The apps shows registered to gcm.
[Android Apps and Games] Bludwurst:
A massive problem on my ECS TR10RS1 KitKat 4.4.4 tablet.

I cannot add accounts. I can get just fine to the "MicroG Services Core: an app is trying to access your Google credentials" screen... but the sign-in button doesn't work. Nor does cancel. No matter how hard I smash my finger on the screen it doesn't react! Tried an external hardware keyboard and a mouse; nope, doesn't do a thing.

This is more than a little troubling ?

Any tips? :(

Everything is installed properly; I've had similar issues with other apps and I believe it might have to do with failing to adapt properly to the tablet's much bigger screen (elements being too small/with stupidly precise "hitboxes" etc).

Although it looks fine, if a bit ugly…

Maybe it's a different problem?

Turns out it is a known issue. Sorry :v

Although I kinda got around it by using MicroG Core 0.24 and adding the account with that.

...but FBReader doesn't work anyway (Google Authentication Failure), even in the latest version.
[Android Apps and Games] ale5000:
First add the account with the olf microG then update microG as a normal apps.
[Android Apps and Games] transporterman:
Xposed download
[Android Apps and Games] kurtn:
? Works
[Android Apps and Games] transporterman:
No. Sorry bro
[Android Apps and Games] Bludwurst:
I did do that (I mentioned it).

FBReader still fails; when trying to access your online library it should show some dialog to allow syncing with your Google Drive, but it shows nothing and then goes all "Google Authentication failed".

Digging around GitHub shows a similar issue (number 423) ?

And I was excited to *not* use GApps in my reading tablet ?
[Android Apps and Games] kurtn:
Just updated xprivacyLua. What do you want to download?
[Android Apps and Games] freskile:
I get the following error during Account Setup process of Authy application:

https://play.google.com/store/apps/details?id=com.authy.authy

Error

API: SmsRetriever.API is not availble on this device.

I actually get the SMS just after the error message appears, but cannot use the code as the app does not let me manually write it with the error box on. I was able to complete the account setup via phone call option, but wonder if the issue is related to microG.

I use microG Services Core, version 0.2.4-108. Android 7.1.2, LG Optimus G.
[Android Apps and Games] skeve:
Does anyone know if there's a way to make Viber (a messaging app) work with MicroG's GCM? It used to work on my previous phone with Lineage OS 14.1, but not anymore with my new phone with OmniROM (Android 8.1). Unfortunately, I couldn't Android 7.1 based firmware for my phone. I turned the battery saving mode off for both MicroG and Viber apps.

A few other apps work OK with MicroG, including Push Notification Tester, so I believe the MicroG app was installed correctly, its version is 0.2.4-108
[Android Apps and Games] Setialpha:
Some apps use firebase instead of GCM, thus they don't properly work. For some apps it helps to first install an old version, which uses GCM, and then update, the than updated app will continue to use GCM.

Else we'll have to wait for Firebase support in microG.
[Android Apps and Games] moriel5:
I have a question.

What if a rooted user uses an app such as "SD Maid" to disable the Firebase activities?

Do you think that it will change anything?
[Android Apps and Games] skeve:
Thank you! I tried to install the app from 2016 and it worked for a while, but when I upgraded it to the current version it stopped :(

I read somewhere that Firebase support isn't planned yet. Do you know if it's true?
[Android Apps and Games] Cirra92:
Viber not getting messages through MicroG

Straightforward problem, Viber does not receive any messages 'till I open the app. The app was registered through MicroG, it shows up in settings, however it says "No messages received so far" although I've been using it for 3 days which is really strange, and even more of the weird stuff, there are no alarms issued by the app, there has usually been "Keep_alive_receiver" alarm every 6 min or so, now it doesn't show up in BBS Alarms section.

Has anyone got a problem like this?

I'll try reinstalling and re-register app again, but I'm not sure that'll help.

For the record, running Carbon android 7.1.2, patched with NanoDroid and flashed MicroG also with NanoDroid, all permissions granted, not optimizing battery use. Thanks.
[Android Apps and Games] Setialpha:
As you can see from the previous posts, apps are starting to use APIs not supported by microG.

If the application is listed, though, you may try disabling battery optimization for that app and see if it fixes the issue.

For me it did for a few apps which did receive messages during WiFi, but not on 3G/LTE. Also check the ping intervall (microG > GCM > Advanced), sometimes it's set to strange values.
[Android Apps and Games] Cirra92:
Yes, I've done some reading after that post, so I understand that app devs have drifted away from GCM, as it seems that it didn't provide the functionality Google had been hoping for. In my personal experience the introduction of Doze made a mess everywhere and GCM didn't serve as a good enough solution (the idea is good, but the execution seems not that good).

Anyway, reinstalled Viber so it got it's own ping interval on point now, as the alarm in BBS is present, but it's still showing "no messages received" although the app works as intended. Battery optimization was off form the first day.

Now the FB messenger keeps going into idle mode and reconnecting upon opening the app, although a s*** ton of alarms are being fired and the connection has been kept alive. But that's a problem due to stupid Doze which I can't seem to completely disable.
[Android Apps and Games] Lazar93:
Perfectly works for running apps that require play services on LOS 15.1... don't know about cloud messaging etc, don't use it.

Thanks!
[Android Apps and Games] omar2005:
Google now feed is not working
[Android Apps and Games] guest4711:
If you want to share your activities, contacts and most of your life with google, stay on using g-apps.
[Android Apps and Games] kecodoc:
My phone Xiaomi 5s android 7.0 Miui9

Please help me how to remove all gapps from my device i need install Microg but do not know remove gapps [MENTION=3999488]MaR-V-iN[/MENTION]

Thank a lot
[Android Apps and Games] kurtn:
Nanodroid is a systemless solution. So you can still get miui updates.
[Android Apps and Games] kecodoc:
I need remove all google gapps and install microg.

Can you help me how to remove all google gapps ?
[Android Apps and Games] kurtn:
I think ale5000 has a flashable zip that does the work.
[Android Apps and Games] d1n0x:
Why don't you flash a custom ROM?
[Android Apps and Games] the.D:
Is anyone else having issues getting microG working on Android 8.1? All custom ROMs I try GmsCore services stops working shortly after booting.
[Android Apps and Games] d1n0x:
I am using LineageOS 15.1 patched via xposed module and everything works as expected. Everything is checked in the self check.
[Android Apps and Games] the.D:
Which Xposed module are you using?
[Android Apps and Games] d1n0x:
FakeGApps
[Android Apps and Games] kecodoc:
Any custom ROM for Xiaomi 5s no stable

I try test any custom ROM for Xiaomi 5s battery and CPU temp not good.

After a long time use aosp and lineageos custom rom I decided to return to stock rom :D
[Android Apps and Games] ale5000:
This will do it automatically.
[Android Apps and Games] kecodoc:
Thank you for reply.

My devices use stock rom no remove old gapps from my phone install your mod link working ?
[Android Apps and Games] Floppy-77:
Try this https://xdaforums.com/android/software-hacking/aroma-google-services-debloater-t3668456
[Android Apps and Games] kecodoc:
Ok thank you :good:
[Android Apps and Games] OSheden:
I guess that's the reason why Today Weather doesn't work.

Here is what I found in my logs:

03-04 18:12:21.449 4322 4341 W FirebaseInstanceId: No response
03-04 18:12:21.450 4322 4341 E FirebaseInstanceId: Token retrieval failed: TIMEOUT

I have attached the full log when trying to use Today Weather. It may help to support firebase.
[Android Apps and Games] ale5000:
Yes, my installer automatically remove the main components of GApps and install microG.
[Android Apps and Games] Timmmmaaahh!:
Good day all you wonderful people!

I don't know if this is a known issue or even if I'm posting in the right section but I'm sure I'll be struck down appropriately if I should've looked better.

I searched for "history" and "youtube" but couldn't really find anything relevant so here goes nothing...

As you probably may know, the non-root variant of the highly popular iYTBP mod (a.k.a. YouTube Vanced Edition) depends fully on microG for all account operations. That works great for the most part (kudos!) but one essential feature seems to behave erratically when specific conditions are met: watch history.

When multiple YouTube sub-accounts (different channels) are linked to a single Google account, only the primary account 'remembers' what has been played in the watch history. The secondary and subsequent accounts fail to do this.

I've been trying to logcat this but in both situations GmsAuthManagerSvc (if that's even what I'm supposed to be looking at) behaves the exact same.

When logging unfiltered, it feels like looking for a needle in a haystack and I can't even find the word "history" anywhere.

If I can do something else to better pinpoint the issue here, just gimme a shout :)

Thank you for your attention and have a superb day!
[Android Apps and Games] Poesini:
Hello,

I am on a 925T (S6 Edge, T-Mo variant) and I am running 8.1.0 NexusOS and while using GAPPS, Uber app does not behave wrong, with microG it does... like maps don't show well and can't even select points on the map and stuff... Maps works correctly though (With some minor precision problems)

As a side note, which of the nlp providers is the best for accuracy? I live in Colombia
[Android Apps and Games] Gonfebo:
With latest microG on RR 6.0, i cant login into chrome, for any reason, it send me to the google login (the accounts are already added) and dont show the accounts added yet

Im tried to install it as user app, in priv-app, also checked the permissions but nothing, any idea about that?

Also unifiednlp, with 6 backends configured, shows in self-test that dont have location to test geocoder, same with know location

Enviado desde mi LEX720 mediante Tapatalk
[Android Apps and Games] kurtn:
To test NLP you have to switch location to energy saving and open an app that requests location.
[Android Apps and Games] Gonfebo:
Already triend, and doenst seem to be working nlp, in energy saving mode, maps cant adquire location, same with any app

Its strange[emoji848] i have installed and setted correctly the backends

Enviado desde mi LEX720 mediante Tapatalk
[Android Apps and Games] kurtn:
Maybe you should make microg a system app. Simply use one of the flashable installers here in XDA.