You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android 7.1 - Test Notifications Never Arrived #226
On the PushNotificationTeser app, I'm stuck on "Notification arrived" (screen Step 3). Notifications do not arrive. I'm using AOSP (NDE63P / android-7.1.0_r4) patched for "signature spoofing" on a rooted PixelXL.
The microG 0.2.4-27-g279b35b solve the problem of the crash in "Settings -> Accounts -> Google" but it seems that there is still a small problem with CGM communication mechanisms. I didn't see something relevant in logcat during the execution of PushNotificationTeser.
GCM connections seem to be problematic on 7.0+. I guess Google changed something with broadcasts related to connectivity changes or just "battery optimized" stuff again.
Just to make sure, please check if the following is true for you (on 0.2.4-27+) when the message is not arriving:
In microG Settings -> Google Cloud Messaging it says "Current state: Disconnected" and for Push Notification Tester it says "Registered" in the bottom.
Open Dialer and call *#*#42678278#*#* (42678278 = gcmstart). The message should arrive shortly after that.
I have cellular connectivity limitations with my last AOSP compilation. (no 4G) (Is this important ?)
Anyway, I will try to fix the problem this week-end and check your procedure above to provide an accurate feedback.
Thank you
Ok ! Great it's working with *#*#42678278#*#*. All notifications now arrive and I can see in microG Settings :
"Current State : Connected since X minutes ago."
Thank you for this valuable assistance
Since 97f4c82 (0.2.4-28) the code should no longer be required (but is still there in case it is). If you are running Android 7.0+ it would be nice if you could check from time to time if the GCM client is connected when there is network access, to ensure this is all working now.
I was having the same problem with version 0.2.4-27, where forcing the gcmstart did the trick. Uninstalled microG, installed -28, rebooted and it worked on the first try. I'll monitor the GCM client connection and ping if there any issues. Thanks @mar-v-in 😃
Activity
s0rl0v commentedon Nov 17, 2016
Same here on patched cm14.1. Version 0.2.4-22 worked fine after reconnecting to mobile data/wifi AP.
ale5000-git commentedon Nov 17, 2016
@blaiserudaz: A logcat would be helpful.
@okeer: Try 0.2.4-27
s0rl0v commentedon Nov 17, 2016
Yeah, if it helps.
What is done:
s0rl0v commentedon Nov 17, 2016
I'm using 0.2.4-27 already
mar-v-in commentedon Nov 17, 2016
GCM connections seem to be problematic on 7.0+. I guess Google changed something with broadcasts related to connectivity changes or just "battery optimized" stuff again.
Just to make sure, please check if the following is true for you (on 0.2.4-27+) when the message is not arriving:
*#*#42678278#*#*(42678278 = gcmstart). The message should arrive shortly after that.blaiserudaz commentedon Nov 18, 2016
I have cellular connectivity limitations with my last AOSP compilation. (no 4G) (Is this important ?)
Anyway, I will try to fix the problem this week-end and check your procedure above to provide an accurate feedback.
Thank you
s0rl0v commentedon Nov 18, 2016
blaiserudaz commentedon Nov 19, 2016
For me the dialer call to
##42678278##produce the error message :"Connection problem or invalid MMI code."
logcatIssue#226.txt
and screenshots :



mar-v-in commentedon Nov 19, 2016
Sorry, The markdown thing removed the stars from my previous post, the correct code is
*#*#42678278#*#*.blaiserudaz commentedon Nov 19, 2016
Ok ! Great it's working with
*#*#42678278#*#*. All notifications now arrive and I can see in microG Settings :"Current State : Connected since X minutes ago."
Thank you for this valuable assistance
s0rl0v commentedon Nov 19, 2016
Yay! This magic works 😃 Thank you!
GCM improvements
mar-v-in commentedon Nov 20, 2016
Since 97f4c82 (0.2.4-28) the code should no longer be required (but is still there in case it is). If you are running Android 7.0+ it would be nice if you could check from time to time if the GCM client is connected when there is network access, to ensure this is all working now.
pabloportugues commentedon Nov 21, 2016
I was having the same problem with version 0.2.4-27, where forcing the
gcmstartdid the trick. Uninstalled microG, installed -28, rebooted and it worked on the first try. I'll monitor the GCM client connection and ping if there any issues. Thanks @mar-v-in 😃s0rl0v commentedon Nov 21, 2016
GCM now works without the magic code (version -28 on cm-14.1).
be-neth commentedon Nov 21, 2016
Same for me. (version -28 on cm 14.1)
Thanks @mar-v-in for fixing that !
mar-v-in commentedon Nov 22, 2016
I assume this fixed since -28.