[Q] no push notifications on wifi with KK

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
I upgraded my phone to KK back in late december and have been on it ever since but one problem has plagued me since then and I'm hoping to get some insight here. heres the problem...

When im connected to wifi (and this is only with wifi, not MD) I don't get my push notifications (gmail,fb,words,hangouts,etc) when the screen is off.Often i turn my screen on and get a barrage of notifications that i should have gotten hours ago. Ive tried all the sleep modes and Ive tried turning off wifi optimization.Nothing works and I know for fact it did not do this on JB.

I DO get text messages and phone calls instantly though but nothing else will wake my phone up. While i do enjoy the deep sleep, i would like to get my notifications in a reasonable amount of time without having to turn the phone on to check them.

Has anyone else had this "problem"?
 

SteveMurphy

Recognized Contributor
Apr 22, 2012
1,656
2,702
153
Atlanta
Nope. Have you looked into what is and isn't checked in your Google Settings? There's a Play Games tab that allows you to mute certain games, essentially stopping their notifications. I don't suppose you've messed with that, have you?

It's strange, I've not really heard of this, especially since you're getting texts and such.
 
  • Like
Reactions: cyril279

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
Nope. Have you looked into what is and isn't checked in your Google Settings? There's a Play Games tab that allows you to mute certain games, essentially stopping their notifications. I don't suppose you've messed with that, have you?

It's strange, I've not really heard of this, especially since you're getting texts and such.
Yeah i know and I've googled it to death for a few months now. I'll check g settings but idk why that would stop gmail. It's like when I'm on Wi-Fi w/ the screen off its just a plain old dumb phone. I turn the screen on and the notifications just flood in.

Edit: nothing in g settings is muted. The only thing i can think of is i don't have app data synced in accounts.
 
Last edited:

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
I think i figured it out. I had "sync app data" unchecked in accounts. So far I've been getting notifications screen on and off. Now if someone will just play back to me on wwf...

EDIT: i may have spoke too soon. It still doesnt wake up without turning on my screen
 
Last edited:
  • Like
Reactions: SteveMurphy

cyril279

Senior Member
Jun 3, 2013
987
2,077
0
So you're wifi connected, and have actively turned mobile data off? I have never even tried that...

If, however, you mean that this happens only when you're connected to WiFi, then no, I have not experienced this issue.

The only other setting that I can think of that pertains to sync is in system settings > Data usage > settings > [ ] auto-sync data, but I don't think that would cause the awake-vs-sleep sync issues that you're describing.

I used to use Active display, I currently use AcDisplay, I'll likely go back to using the baked-in active display.

[...](and this is only with wifi, not MD) I don't get my push notifications (gmail,fb,words,hangouts,etc) when the screen is off.[...]
 

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
So you're wifi connected, and have actively turned mobile data off? I have never even tried that...

If, however, you mean that this happens only when you're connected to WiFi, then no, I have not experienced this issue.

The only other setting that I can think of that pertains to sync is in system settings > Data usage > settings > [ ] auto-sync data, but I don't think that would cause the awake-vs-sleep sync issues that you're describing.

I used to use Active display, I currently use AcDisplay, I'll likely go back to using the baked-in active display.
No i never turn mobile data off. I just meant that notifications come as expected when I'm on mobile data but on Wi-Fi, once the phone hits deep sleep (<a minute) i won't get notifications unless i turn the screen on.

I ask about active display because i remember when on resurrection ROM i was using it and getting notifications then and kind of forgot about it but I'm on PAC 4.4 now and it's doing it again. However i was using the init.d scripts they have baked in but have them all turned back off now to see if that fixes it.

It's the strangest thing I've seen. It's like when I'm on Wi-Fi and turn the screen off it just disconnects from all data even though i can plainly see that it is not. Angela has the same phone with the same settings as mine but on RR 5.0.5 and she gets notifications fine.
 

cyril279

Senior Member
Jun 3, 2013
987
2,077
0
That was actually one of the first active-display variants that I tried. It worked well, but there were a couple hiccups that kept me shopping. The add-on AD clones have great features, but they don't play well with the stock lockscreen, or they leave the [home] button active, or involve significant lag when evoking the notification. The baked-in clones operate fluidly, but without the cool-stuff. I haven't tried active notifications recently though, maybe the updates have smoothed things out. I'm definitely down to try it again.

AcDisplay's development has been re-directed by Motorola. It's still my favorite of the clones, the beta version is boss, but it still isn't as fluid as the built-in boring-ol Omni AD.

@cyril279 I knnow this is off topic but have you tried this AD app? Its got some other features/customizations that aren't on the built in AD

https://play.google.com/store/apps/details?id=com.greatbytes.activenotifications
 
  • Like
Reactions: razen_kain

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
That was actually one of the first active-display variants that I tried. It worked well, but there were a couple hiccups that kept me shopping. The add-on AD clones have great features, but they don't play well with the stock lockscreen, or they leave the [home] button active, or involve significant lag when evoking the notification. The baked-in clones operate fluidly, but without the cool-stuff. I haven't tried active notifications recently though, maybe the updates have smoothed things out. I'm definitely down to try it again.

AcDisplay's development has been re-directed by Motorola. It's still my favorite of the clones, the beta version is boss, but it still isn't as fluid as the built-in boring-ol Omni AD.
Well all my testing so far has lead me no where with the exception of using that app. So far, I've not been able to reproduce the problem while using it. The question is,"what is it doing" to make it work....

EDIT: The app does not fix it....
 
Last edited:

RenderBroken

Recognized Developer
Sep 14, 2013
4,297
20,083
0
33
/home/renderbroken/android
just thinking out loud herebut, could this be a kernel issue? Im currently using PAC's kernel that comes packaged in the rom. Maybe I should try @RenderBroken 's kernel...?

Edit: Using RB's kernel breaks some of the PAC features and it did not fix my notification issue

https://code.google.com/p/android/issues/detail?id=42272
PAC uses a modified ramdisk compared to other CM derived roms. Are you only having issues trying to get PAC running on your phone? Is it KK or JB?
 

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
PAC uses a modified ramdisk compared to other CM derived roms. Are you only having issues trying to get PAC running on your phone? Is it KK or JB?
Its 4.4 and I have faced this issue on every rom Ive tried since switching to KK. Im starting to wonder if it's not an issue with my wifi. Im wondering if maybe my wifi is suspending my connection when my phone goes quiet.
 

razen_kain

Senior Member
Jan 28, 2013
2,563
2,484
0
Carthage
[SOLVED] Not Receiving Notifications on WiFi

My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!

The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.

For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.

Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
 
Last edited:

RenderBroken

Recognized Developer
Sep 14, 2013
4,297
20,083
0
33
/home/renderbroken/android
My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!

The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.

For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.

Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
Great news! Now you just need to install DD-wrt on your router and turn it from a $40 router to a $400. I know you like to tinker but check it out. ITs free and its just firmware for certain routers. It turned my old wrt54g into a baus
 

davidh44

New member
Mar 15, 2011
4
2
0
My suspicions have paid off!! I started suspecting my router was the culprit so i pulled out my old netgear2400 and hooked it up and low and behold my notifications starting lighting my phone up again!!

The problem was the Xfinity router that came from comcast. Apparently it was closing the "heartbeat" line to stay connected when the screen was off before the heartbeat would send again, if that makes sense.

For the time being I'm going to just use my netgear router BUT I was able to fix the problem with the Xfinity router by using an app called Push Notification Fixer. Just install it, follow the instructions, and set the WIFI/mobile data heartbeat to the recommended settings. If that don't work start shortening the heartbeat time. It'll make sense when you see the app.

Hope this helps someone else along the way. I went a LONG WAY down the google rabbit hole before I figured this one out.
I'm having the same issue with KitKat CM11 ROM on my HP Touchpad (which is WiFi only), and will have to try this. Notifications come in instantly on my iPhone/iPads, but my Touchpad gets some serious delays...sometimes right away, and sometimes delayed.

By the way, did "Sync App Data" setting for an account have anything to do with push notifications, or is that more for backup purposes?

---------- Post added at 02:32 PM ---------- Previous post was at 02:04 PM ----------

Oh darn, mine is still delayed even with the push notification fixer installed and WiFi heartbeat at 5min. Even after I've just rebooted my Touchpad, actively using it, and not even 5 minutes has passed. Delay was 8 minutes and then the notifications came streaming in.

With Android/KitKat, do you have to have the app open in the background for push notifications to go thru? Or run the app at least once after a reboot?
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone