yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] andreofgyn:
Gtalk Service Monitor empty

Like others on this topic, I'm suffering from the same problem: Now and then my Gtalk Service Monitor is empty/blank (only has the send heartbeat button that does nothing) and so, no push notifications AT ALL.

I have a rooted Galaxy Note 8 (Wifi only) running the stock 4.1.2 firmware (that problem occurs even before root).

When that problem happens (very randomly), I can "restart" the Gtalk Service (and so, the push notifications) by:

* downloading something from the market;

or

* reconnecting my Wifi->switching off/on on the tablet;

or

* rebooting the tablet.

When I do that, the "delayed" push notifications come ALL at once. If don't do that, my table can do anything, but receive push notifications.

I don't think it's a router/internet problem, since every if I disconnect the Wifi the Gtalk Service Monitor isn't empty immediately when it's working fine.

I discover some forms to stop/make the Gtalk Service Monitor empty manually, maybe it's related:

* Clicking on the "set heartbeat intervals now" button in pnf (although the heartbeat is set correctly, I have to reconnect my wifi to view something in the Gtalk Service Monitor again);

or

* End by the Galaxy task manager (long press home -> sweep) the Gtalk Service Info (this app can be downloaded from the market).

So, I'm very frustrated, maybe the problem is related to Samsung only. Can anyone confirm that clicking on "set heartbeat intervals now" button makes the Gtalk Service Monitor goes blank on your phone/tablet?

I think I can blame Google, for make a so important service that easy to kill.

At least I can rely on my iphone to receive reliable pushover notifications :rolleyes:
[Android Apps and Games] andreofgyn:
Won, just a heads up.

I just updated my note 8 to the 4.2.2 found here (I did not wipe, nothing, just update):

http://xdaforums.com/showthread.php?t=2462977

I need to do more tests, but now the push thing seems much, much better. I can do all the things described on my last post to manually close the Gtalk Service and still the push notification is coming thru and the Gtalk service is restarted automatically (I know it is restarting because the "time since service creation" in the Gtalk Service Monitor).

Now there isn't a countdown to send a heartbeat on the Gtalk Service Monitor.

So, if you have the problem described on my last post, 4.2.2 worth a shot.
[Android Apps and Games] andQlimax:
The gtalk service monitor is outdated.. And will disappear in future.. So if it's empty it's not a problem, just read pages behind on this thread.

The gtalk service monitor is being replaced by Google with the GCM monitor, dial *#*#426#*#* to open it.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] andreofgyn:
Hi, yeah, I read almost all the thread including the part you said.

On android 4.1.2, if my Gtalk Service Monitor goes empty, my push notification stop as well, I even made an "app" to test push (using pushover api) on my device to confirm this.

On 4.2.2, the Gtalk Service Monitor seems to never goes blank and If I kill it, it restarts and I don't miss any notification (till now).

I think that is specific to Samsung/Note 8, since I could test on my friend's phone (LG) running 4.1.2 and I couldn't kill the service like I can on my tablet.

To test, it's easy, just download GTalk Service Info from Market, open it, kill it and then reopen. If the log shows nothing (4.1.2) or the service is restarted (4.2.2), your phone/tablet behaviour like mine. With my friend's phone, I could kill it, but when I reopen, nothing is changed/restarted.
[Android Apps and Games] wkobaint:
Not working on my optimus VU P895. Using ICS 4.04 Stock Rom.

Please fix it.

Thanks,
[Android Apps and Games] andQlimax:
It does not fix everything, it fixes a connection timeout to Google servers by modifying the default android heartbeat intervals.

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] andQlimax:
As I said gtalk monitor has nothing to do about the problem. When you kill it (you kill Google services framework) the push connection its restarted. You have the same exact effect if you turn off and on your connection on the phone. If the effects it's not the same then your Google account have some problems (remove and readd it and stop killing system processes) or your rom as a bug (if a custom rom update the correct gapps or go stock again).

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] drituss:
Ok, so I can confirm that changing my mobile carrier solved the problem with delayed notification. I don't need this app anymore, but once again thank you very much!!
[Android Apps and Games] Afn5:
:D

Great work
[Android Apps and Games] hellkun:
It seems that the push problem is fixed, will test for a longer period.

Thx anyway.
[Android Apps and Games] 3lue:
Gmail app

I would like to thank you for youe great app as it fixed my whatsapp delay issue , but let me inform you that i do have a problem with gmail app as i can not receive any new emails .. one i resort the heartbeat to normal and uninstall the app and restart the device emails received normally :eek:

any advice :confused:
[Android Apps and Games] andQlimax:
It was a case.. Try reinstalling pnf, it has nothing to do with Gmail problems

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] 3lue:
ok i will and i'll feed you back

Edit : It's working without any problems.. thank you developer.
[Android Apps and Games] ymmelo:
Developer,

I've installed the apk, but my messeges on whatsapp still has a delay of 5 minutes approximately to receive. What can i do to fix it? Please help me, there's one year that i have this problem with delays on whats'app and i can't solve this... also don't have any batteries save apk installed hibernating my whatsapp.

When i'm with 3g the delay is less than when i'm connected with wifi on my house, but still happens.

My device is a Samsung Galaxy S4 (GT-i9505) and i'm rooted.

Thank you so much!
[Android Apps and Games] andQlimax:
The solution is hope that whatsapp developer introduce a keep alive for their connection or change operator and wifi router if you have problems on both.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] wkobaint:
Hi bro, thanks for your reply.

My only problem is I can't get push notification from facebook app and twitter app. Than I saw your app and try it. But its still not working yet for facebook and twitter.

Would you mind to help me solving this? I know you're the best one bro...
[Android Apps and Games] andQlimax:
The app make notifications arrive on time, if you don't get notifications at all from those app checks the settings, pnf won't help .. I don't use Facebook and on Twitter I have synch disabled.. I think you should get only a subset of notifications, like when someone reply to your tweets for example. This is something not related to this thread anyway

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] Blackman75:
With so many people having issues with this app I think we need to stop blaming it on other things.
[Android Apps and Games] andQlimax:
People don't have issues with this app.. People think that this app can fix everything.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] Blackman75:
When it goes from working well to suddenly not working, only working on WiFi or working sporadically, those ARE indeed issues.
[Android Apps and Games] andQlimax:
You still didn't got how it works. The app only change the heartbeats values. The heartbeats are always changed correctly.

When you say works sporadically, its your network or your phone acting differently.

If you are not happy make your own app or search something else. I could remove the app from the play store at any moment and use it only for my self, but there are about 500 five stars, and only less than 10 one stars of people that didn't understood what their problem is.

Please go away, you have an other problem that has nothing to do with the heartbeat.

I do this in my free times, I have work. Plus this app is free and didn't cost you anything, you tried if doesn't work search something else please.

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] Blackman75:
And we as users are trying to help you to make the app better by reporting our issues. You seem to care nothing about that apparently. I know you are doing this for free but the experience you gain by creating and fixing this app could make you serious money later. Sorry for trying to be honest and helpful.
[Android Apps and Games] fozzie:
Who's the "we"? _Your_ problems have nothing to do with the app. The app does exactly what it's supposed to do; it sets the heartbeat interval to whatever you want it to be. After that, you're on your own. If it improves your notifications then great but if not, tough. Your problems lie elsewhere. It's not rocket science!
[Android Apps and Games] Blackman75:
The "we" are the various people with similar issues in this thread. The app is not called "Heartbeat Interval Fixer" it is called "Push Notification Fixer". It doesn't always do what it is supposed to do, which is fix push notification issues.
[Android Apps and Games] fozzie:
It is supposed to allow the user to change the heartbeat interval and that is exactly what it does. Did you read the OP? Do you need it translating in to your native language?

The app fixed delayed notifications for a number of people. If it didn't for you then that's hard luck. Just accept it and move on instead of harping on about how hard done by you are.
[Android Apps and Games] Blackman75:
Do you mean my native language of English? Geez, no need to be a jerk about it. I am simply stating facts. This app doesn't fix push notifications for a number of people, not just me. You are just getting pissy and avoiding the issues people are having. No one is insulting the maker of the app, people are simply pointing out issues with push notifications that this app doesn't address. If the app is not fixed to address these issues then the name is misleading.
[Android Apps and Games] fozzie:
Let's try this one more time.

The app allows you to change the heartbeat interval.

Where a delayed notification is caused by a broken network connection, shortening the heartbeat interval may improve things for you.

If the cause of the problem is something else, then this app will do nothing for you; not now or in the future, no matter how many times you throw a hissy fit or stamp your feet. You need to go elsewhere to look for other possible solutions.
[Android Apps and Games] wkobaint:
Alright, thanks for your enlightenment.
[Android Apps and Games] michalurban:
But what is the ACTIVATE checkbox doing? Is it a running service waiting to set values on wifi/mobile change - or is it just a one-time setting telling the system to do it automatically in the future?
[Android Apps and Games] andQlimax:
Hi,

In android there are system events called "android intents", when the connectivity change intent is triggered by android, the app is awakened and will do its work. So there isn't a running service or anything :)
[Android Apps and Games] markd0wn:
[MENTION=2790445]andQlimax[/MENTION], a question regarding root vs. non-root version:

If I understand correctly, the root version changes the GSF thing so Android itself reduces the heartbeat interval and sends a signal every X minutes instead of the default, while the free version doesn't touch GSF but launches a signal of its own every X minutes to keep the connection alive - is this correct? is there a difference in terms of battery/drain and so on?

Also, if root access is available, I assume the recommendation is to use the root version if possible? or does the non-root version have any advantages over the root version?
[Android Apps and Games] andQlimax:
All your assumption are correct :)

If you have root, choose the root one, it is more battery friendly since it has no alarm scheduled which is instead present in the non-root one to send the heartbeat every x minutes.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] markd0wn:
Great, thanks for the quick reply :)

Recently upgraded from Nexus 4 to 5 and was surprised to have the delayed notification thing again (even with PNF) using stock, even after it was seemingly fixed on the Nexus 4 after KitKat. This made me change to a custom ROM/kernel to see if it resolves, but it still happens occasionally. Mostly WhatsApp though, so I guess that's related to the way WhatsApp sends notifications which from what you said is different than most apps and doesn't rely entirely on push... even on Nexus 7 2013 (Wi-Fi only) it's not instant
[Android Apps and Games] Blackman75:
Thanks for taking any opportunity you can to insult a fellow forum member. Very classy.
[Android Apps and Games] jiggyk:
Hi,

*#*#TALK#*#* still works for me, and it shows heartbeat interval of 10.00 minutes. Has Google changed the interval?

This is without your app being installed.

JK

P.S.: *#*#GCM#*#* shows "disabled" on my device.
[Android Apps and Games] andQlimax:
Interesting, mine still unchanged.

That the mobile or wifi heartbeat?

Are you sure you didn't install pnf root and changed the heartbeat without restore the default ones?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] jiggyk:
It shows "cell" and 10.00 minutes on both wifi and mobile networks...

I had un-installed PNF some months ago because I didn't need it. Removed all other messaging apps including whatsapp and started using BBM for messaging and K-9 mail for email. With BBM the messages are always instant and K-9 mail has configurable IDLE IMAP settings, so the notifications are instant.

JK
[Android Apps and Games] aghilvr:
PNF Ineffective!

I'm still having issues with my push notifications even after using PNF. Is the app ineffective or is it something else? I don't receive any; for WhatsApp, Gmail, and the apps that use it.

Phone: Nexus 4, KitKat 4.4.2, rooted and rest everything stock.

Can somebody help me out here?
[Android Apps and Games] andQlimax:
Hi,

PNF help for delayed push notifications.

What you mean by "I don't receive any" ? Any notification at all? On wifi or on 3g?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] aghilvr:
I do get notifications, but only when the app is running in background or while opening it. It happens in both WiFi and 3G. Also I'm in roaming too, does it make a difference to push notifications?
[Android Apps and Games] andQlimax:
Once you choose your heartbeat (for example 5 minutes) and press set heartbeat, try to switch network off and on again on your phone or reboot it. Your push notifications like for Gmail should be instantly (which could be not true for whatsapp still).

If still you have delays, maybe unfortunately there is some other problems.

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] aghilvr:
I'll try once more and see. Thanks for you time dev.

If it still doesn't work, what other problem might be it? Can you just provide me the possibilities? I'm so annoyed because of this problem.
[Android Apps and Games] andQlimax:
The most common problem is the connection which completely drop in some cases. On the nexus 4 there was also a device specific problem related to the wifi going to sleep, maybe check the nexus 4 section if PNF doesn't solve your problems.

Thanks

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] aghilvr:
Sure! So thank you for time. :)
[Android Apps and Games] andQlimax:
New version with some optimization pushed to the play store.

Version 4.5, 2014/02/11:

- Removed workarounds to change heartbeats at wifi/mobile switch; no more needed.

- The app does not run in background anymore

- Mobile heartbeat must be bigger than the wifi one

- Heartbeats changes require toggle network/reboot on some devices

- Updated SU code

Give 5 stars to encourage further developing.
[Android Apps and Games] whyalwaysme:
Hi bro. Mine not *#*#gtalk#*#* anymore. Now *#*#gcm#*#*.

But, how to know that my heartbeat interval has changed when on gcm?

Last time on gtalk we can see the interval.

Another thing, is there any app/method to measure before/after push notification fix?

Sent from my Hammerhead
[Android Apps and Games] 7sen:
try now :eek:
[Android Apps and Games] andQlimax:
On *#*#gcm#*#* menu there is: Heartbeat: [TYPE] alarm ( [COUTNDOWN] initial: [YOUR VALUE] ) Last ping...

[YOUR VALUE should be the value in second that you set on PNF.
[Android Apps and Games] whyalwaysme:
Ok im on type 'cell' and 360sec. Now i restored the heartbeat and still getting value 360sec after reboot.

How to restore back to stock heartbeat?

How to measure the push notification fix?

Sent from my Hammerhead
[Android Apps and Games] 7sen:
:good:
[Android Apps and Games] andQlimax:
I just released a new version 4.5.1 on the play store to fix the restore, it wil be available soon as an update. Sorry for that.

To measure the delay of your push notifications you could send an email from your pc to your phone gmail, and see if it gets the email instantly or not, before to do that leave the phone for 10 minutes without it to receive other notifications (if you receive a notification, wait again 10 minutes, since a notification received does keep alive the connection as well like the heartbeat does)
[Android Apps and Games] frigidazzi:
Just out if curiosity. Why does the mobile heart beat have to be larger? I used to have 2 minutes on mobile and 5 on Wi-Fi with the last version working well.
[Android Apps and Games] andQlimax:
Hi,

Because it's how the heartbeat works in android by default.

In the previous version of PNF when the mobile heartbeat was not bigger than the wifi one, the app would change it everytime you switch network. But since to make the new heartbeat be effective at network change, the app had to kill a sytem processs (GCM) everytime. I decided to remove that workaround to avoid problems.

So now once you set the heartbeats, it's android that use the right heartbeat (mobile or wifi) and PNF doesn't run in background to change it (you can even uninstall PNF for example). This mechanism works only if the mobile heartbeat is bigger than the wifi one, so that's why I force you to choose it bigger.

I hope that I explained that in clear way :)
[Android Apps and Games] frigidazzi:
I see. Thanks for explaining it.
[Android Apps and Games] FuTChY:
Hi,

I've been using PNF too long ago before version 4.5

I think I started to have late notifications after updating to 4.5, I'm not sure if it's network connectivity or PNF issue.

I'm using same device, same rom, but I started to notice that since yesterday after updating to 4.5 and then to 4.5.1 :)

----------------------------------------------------------------------------

EDIT: The default value for 3g has been changed automatically to 6 min. I tried to set it back to 5 min. but I think changes don't save as after restart I open PNF again to find the 3g interval is 6 min. still
[Android Apps and Games] andQlimax:
Hi,

If you wanna change to 5 minutes for mobile, you have to put 4 minutes to wifi heartbeat. Mobile must be bigger than wifi. Then press apply.

Apart from that, the app didn't change much, I dont know.
[Android Apps and Games] FuTChY:
Thanks :)

Well, I'll try that and see how it goes ... sorry if it's my bad :)
[Android Apps and Games] Sir.Nry:
Hello,

Just wanted to say that I also noticed delayed notifications since upgrading to 4.5 (and 4.5.1) I used PNF for a long time now, it's the first time I have issue with notification. Not sure if it's PNF or not but, I'm using the same device on same ROM etc. Changed nothing ^^

Galaxy S4 i9505, Stock 4.3

Thanks for reading me
[Android Apps and Games] andQlimax:
The scope of PNF is to change the heartbeat, if you deal *#*#426#*#* (or #*#*8255#*#*) do you see the heartbeat value you set?

If it is the one you set, then PNF is still doing its work.
[Android Apps and Games] Sir.Nry:
Actually I can't make this dial working, when i dial it, it just dial it like for a call and my carrier say its not a correct number ^^"

Sorry for being nooby..
[Android Apps and Games] andQlimax:
no problem, well its seems not every phone can open that menu by dialing

I will reintroduce the option to open both menus :)
[Android Apps and Games] Sir.Nry:
All right, nice thanks !

By the way I forgot to say that my recent delayed notifications are only when connected to wifi ;)
[Android Apps and Games] polobunny:
Try with only one set of *#

So *#8255#* or *#426#*, sometimes that works.
[Android Apps and Games] Sir.Nry:
Thanks for you help, but unfortunately it doesn't work for me :/
[Android Apps and Games] polobunny:
Have you frozen GTalk service and do you have Google Play Services?

8255 is GTalk, 426 is Play Services. It would be strange that you didn't have those, unless they were purposely modified. You don't need to press call by the way, just need to dial the codes.
[Android Apps and Games] Sir.Nry:
I do have Google Play Services installed, and no I didn't freeze them.. I didn't touch to my stock system except of freezing KNOX security ^^
[Android Apps and Games] Saxtus:
Same situation here with a rooted stock 4.3 Galaxy S3.

Neither code works.
[Android Apps and Games] andQlimax:
An other way to look for the heartbeat values is to install SQLIte Debugger (root) from the play store.

Once start it:

- choose App

- select app Google Services Framework

- select database gservices.db

- tap on "overrides" table

- tap on run button (on top right)

and look if the values match the one you choose in PNF (values are in milliseconds)

Even the values are called gtalk etc, they are still used to trigger the heartbeat to keep alive the push connection.

That's all what PNF always did, change those numbers. :)

I should have called it "Heartbeat changer utility" :P
[Android Apps and Games] andQlimax:
[MENTION=5354388]Sir.Nry[/MENTION] and [MENTION=1467486]Saxtus[/MENTION] Can you try if the attached apk does open both monitors (gtalk and GCM) ?

It does on my device, but I want now if works also for you since on your phone dialing the code doesn't open the monitors.

If it is ok, I will push to the play store.

Thanks
[Android Apps and Games] Saxtus:
GTalk shows just a "Send Heartbeat to server button" and nothing else. Another software I tried, shows the same screen. This change happened after the 4.2 Sammy upgrade and onwards. Until 4.1 it did contain all the info if I recall correctly.

GCM shows detailed information and Wifi Heartbeat seems set at 300s correctly there.
[Android Apps and Games] FuMMoD:
I have issues with the skout app. I never get notifications on my Nexus 5 4.4.2 but I get them fine on my s2 running same version of kitkat.
[Android Apps and Games] andQlimax:
That's normal.

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] m3rgb:
Thanks for the great work
[Android Apps and Games] Sir.Nry:
Hi, it does open the GTalk Monitor and the Play Services, in the GTalk nothing happen when pressing Send hearbeat, but on the Play Service I can see various informations :)

Your update seems to open correctly the monitors for me !
[Android Apps and Games] moset:
I don't know if I'm in the right place here.

I'm running Motorola Razr XT912 on CM11. Google server connection as shown by color change of the signal icon is gone on kitcat. You only see it in the quick settings pull down.

If I understand correctly in the pull down orange means NOT connected to Google, therefore no push.

I see people taking about Gtalk. Is that the Google Talk that was replaced by Hangouts?

I am having the Google connection drop, as are others on CM11 for RAZR. It always restored with airplane toggle. I have installed the app and applied the fix but it seems my Google connection is worse.

Am I missing something?
[Android Apps and Games] andQlimax:
Since you said other people have it, that's probably an issue of cm11 for razr.. Not much to do

Inviato dal mio Nexus 5 utilizzando Tapatalk