yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] kislyakoff:
As I understand, the phone looses connection with gtalk service. Internet connection available. The phone cann't recieve push notifications from gtalk, whatsapp, skype etc only. But internet connection is alive.
[Android Apps and Games] andQlimax:
The message in the monitor "NO NETWORK" it's related to no internet..It's common in many phone..You could install an app that advice you when the network is lost and when it is re-enstabilished, that happen while the screen is off
[Android Apps and Games] kislyakoff:
It happened when I switched off a WiFi network. After that a phone has switched to a 3G network (20:12:55)

20:12:57 established connection to a gtalk service

20:17:58 lost connection with gtalk service (but internet is on, I have continued to recieve messages from Viber for example)

20:23:15 I have pushed a button Connect in the Google Play Services

20:28:16 (after 5 minutes again) Lost connection with gtalk service (continued to recieve messages from Viber and could surf in browser)
[Android Apps and Games] Nevoet:
I'm hoping that android L fixes this issue. It's really weird, sometimes the delay is not present, I mean, sometimes the notification come instantly... sometimes it can take up to 30s, sometimes up to 60s. What I dont understand is why this delay doesnt occur on android 4.2.2 (notifications are INSTANTLY! :D). I've tried to mess with the wifi config and compared the one from the 4.2.2 with the one from the 4.4.4... it's mostly the same! [MENTION=2790445]andQlimax[/MENTION] I've readed your posts at google support forums... Did you have some insight about the files from the "prima" folder ? (WCNSS_cfg.dat, WCNSS_qcom_cfg.ini, WCNSS_qcom_wlan_nv.bin) Those are the files from the "wifi driver" ?. If so, lets say that the file WCNSS_qcom_wlam_nv.bin is the "main driver file", I can grab the one from the 4.2.2 and overwrite the one of the 4.4.4... I've tried that, but then, the wifi doesnt work!. I'm kindof tired of asking everywhere about this problem. I know for sure that this is not such a big deal... just the fact to know that in a early version of android this worked flawlessly mades me lose my mind :P .

So, there is a way I can "swap" between prima drivers? port the one from 4.2.2 to 4.4.4? If so, this would be of great help to all of those who are facing this issue :/

When testing (and I did that A LOT) when there is a delay, and then, the push notification get, well, "pushed" I check the google play services, in "event" tab I see this (for example):

23:23:32: 1: Flushed GCM com.google.android.gsf.gtalkservice

23:23:11: 1: Received org.telegram.messenger time=39

There I can see that the phone actually receive the "message" but it pushes the notification almost 20 sec later when there is a "flushed GCM" :confused::confused::confused:

Now that makes me understand LESS :P
[Android Apps and Games] therealmarv:
I've noticed (and I really hope I'm wrong) that GCM is still bad on Android 5.0. Are there any information if this fix still works in Android 5.0? Would be great to see that information also on the main page and/or FAQ. Thanks for this great app which really fixed my problems in Android 4.x
[Android Apps and Games] andQlimax:
What I know is that the hearbeatt has been updated by google and should be 8 minutes for wifi and mobile, so no more 15 and 28, this is already an improvement.

That said, I still don't have to much time to update PNF root, which currently does not work on Lollipop.
[Android Apps and Games] Phantec:
I need 4-5 min, can you make Push Notifications Fixer open source? Me or someone else might fix it for 5.0
[Android Apps and Games] stylobil:
Oh okay, that explains why I did not see any improvement with PNF on Lollipop...

Would be awesome to have PNF updated for L, but in any case, thank you so much for the work you've already done!
[Android Apps and Games] Droidphilev:
Hi,

New to this, thanks for this app.

I have a question (but couldn't find a real answer):

- i install PNF root

- i apply the fix

- uninstall the app

at this point the fix is still there, now:

- i reinstall

- i restore default settings

What will happen at this point? Does the app read default at install? Or are the default values thesame for all devices/roms and are they inside PNF apk?

When the app reads the defaults after it gets installed and user uninstall then a re-install would be enough to goto defaults i guess. In that case: does deleting gservices.db and rebooting will goto default?
[Android Apps and Games] andQlimax:
The Restore default does remove the fix. And you will have the values you always had for yuor device. Nothing is overwritten.

For a technical explanation, Google Services Framework has 2 tables: main and override. The values on the "override" table have priority over the "main" table. PNF insert the values only in "override". "Restore default" remove the values from "override" table, so that android will use "main" values (android default).
[Android Apps and Games] Droidphilev:
Perfect! Thanks for the explanation!

(Reason: i need it for a kiddie tablet and i don't want any apps other than games on it)
[Android Apps and Games] Painman1963:
Just downloaded. Hopefully it will fix my slow Facebook notifications on my S3.

Thanks for the App
[Android Apps and Games] asafgertler:
thank you very much

i don't know if there is a connection between the two but my sgs3 was lagging and really slow and after installing this app it seems to run faster. much much faster.

if someone understand why i'll be happy to hear about it...

thank you very much to the developer andQlimax. you solved me a real problem :)

cheers.
[Android Apps and Games] redguardsoldier:
As far as I remember, currently there's no Facebook app that support push notification, so this app won't help you.
[Android Apps and Games] catlog:
Downloaded and installed. Not having any noticeable problems with notifications, but since this only adjusts the heartbeat interval, would not hurt to try.
[Android Apps and Games] rekenaar00:
Hi :)

My problem: whatsapp between my phone (s3) and wife's phone (s5360) takes anything between few seconds to 10 even 15 minutes to deliver.

I set the heartbeat to 1 minute on both phones while testing.

Last night, it seemed that the problem was solved - never waited longer than a minute for the message.

This morning, I did another test, and waited 4 minutes for the notification. So at this stage it seems that we are better of, but still not perfect.
[Android Apps and Games] redguardsoldier:
You should check your GTalk service monitor to see how long each connection last. And what connection did you use :confused:? Normally, wifi works well with interval of 15 minutes. 3G can hold with 5-15 minutes (I don't know why Google sets default interval for 3G/2G at 28 minutes), depend on carriers. And don't hope your 2G (EDGE/GPRS) connection to last :silly:. I tested a lot, and now, when I don't have wifi, I must rely on the battery-hungry-but-stable 3G connection (UMTS/HSPA).

And did your Whatsapp report that the messages have been sent :p? I believe you know sent vs delivered :D.
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

I can say that whatsapp not always use push notifications, with quick system info it seems to use a normal connection on the port 443..

@redguardsoldier

I have the opposite problem, my mobile operator can hold 28 minutes, but my router only 5...so the situation is different for every user ;)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] redguardsoldier:
Well, it seems that Whatsapp use normal connection when you are using the app :D. And push notification via google service when else :good:.
[Android Apps and Games] BEBU1:
Just installed, hope this will fix my delayed Whatsapp Notifications on 3G
[Android Apps and Games] jiggyk:
For un-rooted original ROMs, do you think pinging with google servers every 1 to 5 minutes may solve the problem?
[Android Apps and Games] redguardsoldier:
anything that use the connection so it's can remain alive before it's killed by the router or the carrier will work :)
[Android Apps and Games] jiggyk:
Is it possible for anyone to make a program to do that, only for google servers? The ones available on Google play are generally unreliable and stop pinging when in the background.

This will solve the problem for un-rooted phones..!!

JK
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

Ping is not enough, since it will just open a new connection, so u will keep alive this connection, but not the push connection..

Before to realize this app, I tried doing that, sending a packet on the same port and server used by the push notifications, but is not going to work..u will have 2 connections on the same port and versus the same destination, but still 2 connections..so u will just going to keep alive an additional useless connection

Only who established the connection, Google services framework, can keep alive it, that's what happen currently, my app only modify the interval, but the keep alive is still sent by gsf

This is how TCP connections work, u can't put packet inside an already opened connection, someone correct me if I'm wrong

U can't even try to close that connection

Edit: what is possible for unrooted, is probably to make an app to kill Google services framework app every 5 minutes for example.. But still I'm not sure if without root, is really possible to stop it

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] rekenaar00:
Thanks for the reply.

Testing on 2G (battery problems on 3G).

I do not know how to check GTalk service monitor. a quick google revealed a code (*#*#8255#*#*) which does not work on S3. Do you know perhaps about another way?

Message shows as sent on one phone. Then after delay, it shows as delivered about same time as the other phone starts to make some noise.
[Android Apps and Games] jiggyk:
All day today, I have been trying to ping to "mtalk.google.com" continuously with various free ping applications. Some applications close while in the background, some stop pinging after 5 minutes or so. One or two ping for a longer time, but stop on their own, nevertheless. But, while these are pinging in the background, I do get push notifications instantaneously, at least on GTalk. However, it is too early to tell...

JK
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

Before this app, I did an app that exactly do that, send packets to mtalk.google.com on the port 5228..but it was not going g to work..it will open a new connection

Is much simple probably, do an app that send a push notification every 5 minutes.. This will work, but require a server part, not only the apk part

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] jiggyk:
Maybe the server can be one's pc at home? Can that be done??
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

It need a public IP

Anyway I will look if there is a simple way to send push notifications without a remote server, so this solution could be integrated in my app to be enabled for unrooted users

Edit: not sure how battery friendly it would be Hehe

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] jiggyk:
Please do, it will solve a big problem..

Thanks,

JK
[Android Apps and Games] Painman1963:
This would be way above my technical comprehension. I'm simply responding to the description the OP put in post 1 where he specifically mentions Facebook. If this won't help, I might as well remove it then!!
[Android Apps and Games] BigLisy:
I've had 5 min wifi and 6 min 3g on my KitKat Nexus 5 for a while. Now come Lollipop it kept 5 mins (as shown by google play services monitor) and even restoring settings in PNF doesn't change that.

How can I change the heartbeat to default manually? Like, any line to change or something, I don't know.
[Android Apps and Games] andQlimax:
The problem is that PNF root not work on lollipop. I have to update it to works with lollipop root permissions. I will do in the next days.

Sorry for the inconvenience.
[Android Apps and Games] SoftWord:
Hi, thanks for the app ! I think that is solve my sync problem on lollipop, but I'v noticed that using sql debugger, the table overrides is empty......is because we must wait that fix on lollipop?
[Android Apps and Games] andQlimax:
Hi all,

Just had some free time and I updated PNF root for lollipop!!!

Enjoy the apk attached on first post. Consider it as a beta, even if it is pretty stable and working. Tested on nexus 5 with Android 5.0.1.

Please also test it on kitkat, I hope it is still working fine (it should).

Next days will do some adjustment to support x86 and mips devices as well (it should already works in this version), and some improvement for better errors detecting.

And if I get more time will also try to update it to the new material design :)
[Android Apps and Games] andQlimax:
[MENTION=5737334]BigLisy[/MENTION] and [MENTION=2046858]SoftWord[/MENTION] check PNF root 4.6 I attached in previous post. It should work on Lollipop!
[Android Apps and Games] BigLisy:
It worked, thanks!
[Android Apps and Games] agayabag:
Doesn't seems to work for me. I'm using CM 12, Android 5.0.2, Galaxy Nexus.
[Android Apps and Games] andQlimax:
Does it shows an error message or from Google play services monitor you are seeing the heartbeat value is not updated?

If in Google play services monitor you see the value near the countdown updated, then it is working as expected.
[Android Apps and Games] agayabag:
It shows the error message from the app itself, and when I checked at the monitor, the heart beat is still 900 secs, which is android default. Sorry I couldn't upload the pictures, or I just email you if you don't mind.
[Android Apps and Games] andQlimax:
If you could send a logcat it would be great. You can use CatLog app, reproduce the error and attach the logs here or via mail at ask.andqlimax@gmail.com

I will have a look later. Thanks
[Android Apps and Games] agayabag:
Sent. Please check.
[Android Apps and Games] MoDefyer:
Hi

Hope you can help me. I have rooted Nexus 5 on Android 4.4.2 and I have a problem with push notifications. Came across your application but it didn't help, more correctly changing heartbeat interval didn't help. BUT... When I entered into "Play services monitor" section just to see what is it this fixes the notification problem. What I see is that I usually have wifi and mobile data tiles in quck setting in orange color and I found out that this indicates that I don't have a connection to GCM service. When I enter into "Play services monitor" section the tiles bocome white so GCM connection is established.

Now the question is how I establish (and keep) GCM connection without entering your application.
[Android Apps and Games] dimm0k:
[MENTION=2790445]andQlimax[/MENTION] just updated to 4.6 and when I press the "Apply settings" button, I get the message "Cannot update heartbeats, something went wrong". The previous version, 4.5.2, did not give this message and from the looks of it the settings look to have been applied despite the message?
[Android Apps and Games] andQlimax:
I'm sorry for that, I will have a look in the next days.. If you could attach the logs (you can use CatLog app) and specify android version and device it would be great.
[Android Apps and Games] dimm0k:
here's the requested CatLog. device is thr Samsung Galaxy S5 using stock 4.4.2.
[Android Apps and Games] marnec:
New Version: Error message "cannot update heartbeats, something went wrong"

I get the same error message since yesterday!

On Galaxy Note 4, 4.4.2 Rooted
[Android Apps and Games] andQlimax:
Tomorrow will release a fix.
[Android Apps and Games] Mastermind1915:
Negative countdown values

Hi,

First of all thanks for the update for Lollipop. I noticed yesterday, that after I set the desired heartbeat interval, the timer displays negative second values after reaching 0:00. (see screenshots)

Moreover the reconnection manager is often displayed with negative countdown values, even if gtalk server is connected.

Could that be related to the changes made by PNFroot?

My device is Nexus 5 running 5.0.1.

Thanks for the help.
[Android Apps and Games] andQlimax:
That's pretty weird, but do not depend from PNF. Try increasing your heartbeat value and reboot the phone
[Android Apps and Games] andQlimax:
[MENTION=4847359]agayabag[/MENTION] [MENTION=5687667]dimm0k[/MENTION] [MENTION=1088073]marnec[/MENTION] try the attached 4.6.2 and tell me if work or post a screenshot of the error (which should appear in the app popup)

thanks

EDIT: attached 4.6.3 in first post that will arrive on playstore soon
[Android Apps and Games] Mastermind1915:
Thx for your quick feedback.

I rebooted the phone. Countdown still going to negative values without sending heartbeat after reaching 0:00.

After that i reflashed the stock Android 5.0.1. Problem persists, so i guess it's an Android issue.

Does anyone have the same problems on 5.0.1?

I will now continue to use PNFnoroot, as it prevents the countdown from going down to 0:00.
[Android Apps and Games] andQlimax:
It could be Google is changing some configuration (all the play services settings, like the heartbeat are remotely configured per user account).

If you install Sql lite debugger app you can see directly the values. In the app select Google services framework, and choose the database gservices.db, by tapping over the "override" table you should see only the pnf values (which are 6 rows) instead in the table "main" where the default Google settings are you can filter for "gtalk" and "gms" like in the screenshots and compare your values against my values
[Android Apps and Games] dimm0k:
just tried the attached update... looks like it works, however now the two monitor tools do not work to check the values. pressing them do not do anything.
[Android Apps and Games] andQlimax:
Good that now it works. About the monitors, was a mistake.

Attached the final apk 4.6.3 in the first post that I will push to the play store.

Thank you
[Android Apps and Games] dimm0k:
thanks for the quick fixes! everything is working fine now.
[Android Apps and Games] Mastermind1915:
I did as you suggested and the important values all seem to be the same, apart from the different heartbeat intervals (see screenshots).

I have no idea where those negative countdowns come from....
[Android Apps and Games] agayabag:
all good now, man. thanks for your hard work. :)
[Android Apps and Games] myliyifei:
hi, could you explain that how to read "play services monitor" whole infomation? such as streamID = x/y ; packets=xx/yy; connected: time1/time2 .

what does the prior num/latter num mean?
[Android Apps and Games] Jur1nator:
first let me say thanks for making this app :)

but i do have a little question, i switched to the new CM12 lollipop nightlys and flash a fresh rom everyday.

do i have to reapply the settings after every new flash? probably yes right?
[Android Apps and Games] andQlimax:
Hi,

The fix is applied in /data folder, if you flash without wipe data you don't have to reapply the fix.
[Android Apps and Games] Jur1nator:
Cool, even better :)
[Android Apps and Games] WOP_Drive:
Issues on Moto X 2014 Pure Edition (XT1095)

First, thanks for all of you hard work building this app!

So I read the recent news article on XDA where this app was mentioned. It inspired me to install on my rooted, stock, Moto X 2014 Pure Edition (XT1095) running Android 5.0.

Once installed, I changed to the recommended heartbeat settings and restarted my device.

Thereafter, I was not getting push notifications. I changed back to default, and the "no push notifications" persisted.

The only fix for me (to get everything back to normal) was to factory reset (I didn't yet have a Nandroid backup, which is okay). Restoring everything was easy (using Titanium Backup).

Now the phone works as advertised, and I'm satisfied with the push notification. . . I'm just not using your app.

I just wanted to provide some feedback for anyone who has my device and is on Android 5.0.
[Android Apps and Games] andQlimax:
Hi,

I'm sorry to hear that.

PNF should not cause any problem since it only update a number in android. There is no problem related to android 5.0, since I use it on my nexus 5 with android 5.0.

My guess is that there was something else that caused it. Or it was something temporary. How did you saw there was no push notifications?

Just a note, instead of a factory reset, you could only remove the google account (since it reset the google data modified by PNF), and add it back.
[Android Apps and Games] WOP_Drive:
Thanks! So I noticed that I wasn't getting push notifications because my tablet (which uses the same Google account) was receiving Hangouts IM's, Gmail notifications, and Words with Friends notifications and my phone was not.

Thanks for the note on how to avoid a factory reset in the future!

One thing of note, I did notice that the WiFi Heartbeat remained at 900s (15 minutes) even after I set it to your recommended setting (and performed a reboot).
[Android Apps and Games] Tqpolo:
I got this installed in my Nexus 6 running on 5.0.2 two days ago. I was plagued with Hangouts message receive delay since I got the N6. So far I think it works great but this morning I got a Hangouts message that was sent last night. It came in when I left the out and disconnect from WiFi while another new Hangouts message came in. Should I lower my WiFi heartbeat to below 5 mins?
[Android Apps and Games] andQlimax:
PNF helps with delays of 15-30 minutes. Every other major delay is caused by the phone loosing the network. If the device have no network, push messages can't come.
[Android Apps and Games] Acrono:
Forgive me if this has been already asked, but what's the difference between the root vs. non-root version? Why does the rooted version require root in the first place if the non-root version works?
[Android Apps and Games] andQlimax:
The root one is a clean solution to update once the heartbeat inerval permanently on the system. While the non root one is less reliable and bit more battery draining since it has to run in background to trigger the sending of the heartbeat every x minutes (since it can't update the interval without root).
[Android Apps and Games] Acrono:
Ah, thanks for the explanation.

One additional question: does the "Restore default heartbeats" simply set the mobile heartbeat interval to 28 minutes and Wi-Fi heartbeat interval to 15 minutes? In other words, is it the same thing as doing that yourself?
[Android Apps and Games] andQlimax:
Not exactly, on the app it shows that, but currently the restore default does remove the override of the default values (which can be different from 15, 28 ). So with restore default you will for sure get back the default values for your phone / account.
[Android Apps and Games] Acrono:
And one last question: it'd be awesome if your root app could read the current interval settings, and thus, if you were to try and apply already applied settings, you'd get a message saying that the values have already been applied.
[Android Apps and Games] andQlimax:
Yes I planned to show the current values, but i will do when have some free time.

In the while you can already see what are your actual values, in the google play service monitor there is a countdown and the initial value of he countdown in seconds, you can see the different values when you are connected via wifi or via mobile data.
[Android Apps and Games] cAase:
I can't seem to get the default values. Normally over 8h I get 40 alarms in bbs from the heart beat. Now even when uninstalled, pressed restore values, rebooted phone and connection I get around 150. Any tips?
[Android Apps and Games] andQlimax:
Just check on play services monitor to see what is the actual heartbeat countdown. For me the default is 8 minutes.
[Android Apps and Games] cAase:
When I press it, it says "monitor not found".