yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Barbaduk:
Hello! I have couple of questions about heartbeat intervals

1. Why are HB interval is different for some wifi networks? (right screen on picture)

My home wifi network is 1440sec and sometimes I recive push notifications after couple hours (even with this app...). Almost all other networks I use is 550sec and I have no problems with push there.

2. Why my GSF database doesn't have 2 of Override lines from this app? (bottom screen) I guess this could be the reason question №3 exists.

3. Why even after applying PNF settings and rebooting phone my home wifi HB interval is still 24min?! Therfore Mobile HB interval is changer to 300sec and works great!

I don't know what to do, I already reset my router to default settings, updated router fw and cleared phone WiFi settings, it still shows 1440000 HB interval and i can't change it with this app... Please help!

---

Phone: Xiaomi Mi5

FW: 9.1.4.0(NAACNEI) stable (MIUI 9; Android 7.0)
[Android Apps and Games] PetoBB:
I have same problem. Preferred Wi-Fi heartbeat interval set to 5 minutes, but heartbeat alarm showing alarm (9:16 initial:550s). Preferred Mobile heartbeat interval set to 4 minutes, and alarm showing true interval (240sec) and works great!

I use this setup:

AospExtended-v4.6-mido-20171118-1356-OFFICIAL

mido-7.8.24-firmware.zipmi

open_gapps-arm64-7.1-nano-20180311

Magisk v16

Where is problem? Thx for your support.
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

I never used the Facebook app, since it was and still is crap

That said, I know Facebook messenger for sure use push..about Facebook app I though it use push, and I had report it worked for it also..but searching around it seems don't use push, but I don't know

Let me know

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] Painman1963:
I've done some searching around too but the evidence seems inconclusive. I'll keep searching for a fix for Facebook but this won't hurt running as well. Thanks
[Android Apps and Games] Soyuz 3:
Thanks a lot, since I switched operator I had lots of delayed WhatsApp and Gmail notification. The problem seems to be gone now :)
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

I'm glad that it works!

By the way over 4000 downloads, 5 starts on play store, and only a dozen of people donated..come on guys lol :D

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] Sprint82:
AW: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

I think that it's not working on Sensation ViperS 1.6.3.
[Android Apps and Games] andQlimax:
Open GTalk service monitor from the app, scroll down and see if the heartbeat interval is set to the right value
[Android Apps and Games] trepamuros:
A couple of questions:

Many people are suffering this delayed notifications problem only since 4.2.2, not when in 4.2.1. Did Google change the hearbeat value to 15/28 in 4.2.2 ? What was the heartbeat value in 4.2.1 and previous android versions?

Besides to gain root, do you think could be another way to change heartbeat value for non-rooted phones?

I hope Google could fix this in 4.2.2-bugfix or 4.2.3. It seems to be easily fixable, but do you think Google assumes this is not its fault since the key seems to be on the router or the carrier, not the system itself?
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][22-FEB-2013] Push Notifications Fixer v2.3

The heartbeat value as I remember has always been the same

I don't think people on 4.2.2 have more problems then before... Probably the 4.2 seems to have some WiFi disconnection problems when screen is off (this is not fixable with this app)

I can't know if Google will fix this..sometimes my though is that the Google engineers think to live in a perfect world, with perfect routers and carriers, but its not like that for the average user..

If Google want to fix this, they can do remotely, in fact those heartbeat values (together to other settings), are downloaded and set every 12 hours through the gsf checkin,that's why my app have to run at boot and check if those values are the one u set in the app

Anyway probably for google set a short value for the heartbeat for a billion of users will probably stress to much they servers.. I don't know

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] andQlimax:
By the way, some days ago I opened a discussion on google here:

https://productforums.google.com/d/topic/mobile/X0j2BgCVQjI/discussion

but as usual no response from google!

Everyone is free to comment there, to keep the discusion alive, and maybe someday someone will notice that discussion..

Also, later will come a new version that will allow to set 2 hearbeat values, one for 3g and one for wifi (since some users requested it)
[Android Apps and Games] mak381:
Will the heartbeat interval be reset to default when uninstalling this app?
[Android Apps and Games] andQlimax:
yes it will..

uninstall and reboot the device, after some time it will go to the default value
[Android Apps and Games] andQlimax:
New version on the play store (will be available in one hour or so)

Version 3.0, 2013/02/25 :

- NEW: Possibility to set mobile hearbeat and wifi hearbeat

- Added link to report the problem to the google discussion forum
[Android Apps and Games] pedromarga:
Great idea, if the 5000 people who download your app post a message on the forum, it would put a great pressure to Google fix it.
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Yes :D

For sure will get some attention

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] jiggyk:
Hi,

Any luck on developing something for some of us with unrooted phones?

JK
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Not yet..an app that send push notifications is to much tricky, I'm looking for something else

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] jiggyk:
Sorry if it sounds too noobie, but how about an app that automatically sends a heartbeat/signal/ping using the same connection at a preset interval? This app should also keep running in the background.

JK

P.S.: And yes, you were right about the pinging with mtalk.gmail.com. I experienced delayed notifications with whatsapp despite the ping running in the background.
[Android Apps and Games] Phantec:
You could write an app (or find) that send an email to your gmail every 5min to keep connection alive, then filter this email to skip inbox.

That doesn't require rooted device, it's not as good as changing heartbeat but it should work :)
[Android Apps and Games] MstrBubbles:
AW: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

I have a problem. Used your app a der days but it didn't seem to improve my push notifications much and also my wifi disconnected sometimes or didn't automatically reconnect after isp reset. So I've uninstalled it last night and also deleted the Google framework you mentioned in your OP.

Now, I get no notifications at all. No Facebook, no Twitter, no Games no nothing :(

I am using a Samsung Galaxy S2 with the Spanish original Jelly Bean 4.1.2 Rom (couldn't wait for the German release) and Siyah Kernel.

I hope you know a solution

Thanks in advance

MstrBubbles

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

This app does NOT resolve WiFi disconnection problem..u didn't read the first post!

I mentioned to clear data (and only that) for Google services framework in case something is wrong, but was not necessary in ur case...

Anyway simply remove ur Google account, and readd it again..u don't loose anything

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] MstrBubbles:
AW: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Thank you for the quick reply!

I'll try it with the Google account.

I've read the OP but maybe to quickly.

To the wifi thing:

this problem just started a day or two after using this app and seems to work properly again after un installing it.

I'll check back in if the account thing worked or not.

thanks

MstrBubbles

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] andQlimax:
I dont think this app can cause wifi disconnection at all..probably because u rebooted the phone the wifi problem temporanely solved...

let me say this thing again for some other users: this app does only ONE thing, change the android default heartbeat number to an other number.
[Android Apps and Games] WattB006:
I have been using this app for the past few days and I have seen a difference with how quickly my notifications are coming in. Great job and like the update where I can change the WiFi heartbeat separately.
[Android Apps and Games] MstrBubbles:
AW: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Well I don't know, if you say it isn't related to the app, I belive you.

So, still no notifications. After I unconnected the Google account I've gotten a twitter one which said "you have new tweets!" but after that nothing at all.

A friend of mine send me a tweet, dm and Facebook message – no notifications even after 15 mind or so.

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] andQlimax:
thanks

Meanwhile in the google forum https://productforums.google.com/forum/#!category-topic/mobile/android-devices/X0j2BgCVQjI

"Thanks for the reports everyone. We are aware of this issue and investigating."

At least they know the problem :)
[Android Apps and Games] MstrBubbles:
AW: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

I guess the easiest way for me to solve my problem is to reinstall the ROM, since the Google account reconnect didn't work. Am I right?

Gesendet von meinem GT-I9100 mit Tapatalk 2
[Android Apps and Games] andQlimax:
if you removed and added the google account back, everything should be normal..did you tried opening the play store and log in on gtalk? its work?

Did you tried rebooting your phone?

its all you need to do..if everything work, i dont know what else is wrong on your phone...this is unrelated to my app anyway
[Android Apps and Games] MstrBubbles:
Everything works fine except that I don't get Notifications anymore since I uninstalled your App.

I have rebooted my phone.
[Android Apps and Games] andQlimax:
what does mean you don't get notifications? if u receive a whatsapp/gtalk/gmail message you dont receive a notification for it?

sorry I dont have idea
[Android Apps and Games] MstrBubbles:
As I've said before I don't get any Twitter, Facebook or any kind of App notifications anymore.
[Android Apps and Games] andQlimax:
try reinstalling those apps, at worst do a factory reset (use titanium backup to backup all "user apps" first), but this just odd..im sure its a temporanely problem with ur google account..
[Android Apps and Games] MstrBubbles:
Okay I'll try that.
[Android Apps and Games] backitude:
Would I benefit as a Facebook Messenger app user? I am not aware of any issues with current functionality but I am intrigued by the app if something could be better I am not aware of.
[Android Apps and Games] andQlimax:
if you already have instantly push notifications without delays, then you don't need this app
[Android Apps and Games] MstrBubbles:
cemtaju seven

Okay, it looks like it works again after reinstalling those apps.

Thanks for your help and keep up your good work:)

MstrBubbles
[Android Apps and Games] ronmq:
Thank you very much for this app, seems very hopefully.

I will report my experiences here.
[Android Apps and Games] mierda1:
I have done no test with the app but it seems great!

Anyway I have found some thing a litle strange... before installing the app I checked that when connected to 3G in Google Talk Service Monitor it says cell in "heartbeat type" abd wifi when I'm connected to wifi (and saw 15min for wifi and 28min for cell).

BUT after installing the app I can only see cell in heartbeat type, no matter I'm connected to 3G or wifi. Even so when I change the time for wifi (for example) to 4 I can see the 4 in time update even if it says cell.

Its seems only a typo bug or something like that, nothing important (I think).

Regards!
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Its a bug of the gtalk service monitor, it write type WiFi only if u set an heartbeat of 15 minutes.. The type is not set from my app

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] mierda1:
Oh, I understand... thanks for the info! :good:
[Android Apps and Games] gambe89:
After 10 days of test i'm back on this thread to thank the developer. This app has solved my delayed issues with whatsapp.
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Good to hear ;)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] alberto888zz:
My problem:

"When the phone is in sleep mode (screen off) I get push notifications late.

I noticed that almost every time I unlock the device from standby, the data connection icon turns gray for a few seconds before returning to blue. After the icon is back in blue getting all the pending notifications (Gmail, Facebook, Whatsapp).

It happens both with stock rom (JDQ39 4.2.2) that with the latest Cyanogenmod 10.1 (March 4). My operator is H3G Italy.

With the operator TIM Italy does not happen!"

Thank you man! With this app I solved the problem! :good:
[Android Apps and Games] cmlx:
@andQlimax, could you please shorten the app's name? "Push Notifications Fixer" is too long and my Nova Launcher cannot show it all, just "Push Notification...", seems a little ugly. Maybe Push Notif Fixer or Notification Saver?
[Android Apps and Games] njfoses:
Seriously?
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

With nova you can rename your home screen shortcuts, if that really matter for you

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] vjales:
Could be possible a way to fix the push notifications without root? I never made root on my GS2, only on my Galaxy 5. My s2 is on Android 4.1.2 Nordic Countries - official samsung. Thanks!
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

There isn't any good way to fix the delay without root..I'm sorry

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] FuTChY:
Thanks :)

but I have set it to 1 min over 3g and wifi, but whatsapp notifications still take the same time.

fyi: I'm using 2G connection most of the time

any suggestion ??
[Android Apps and Games] Soundigy:
Thanks for this app andQlimax!

Very usefull.. BTW, I found this app unintentionally ;)
[Android Apps and Games] jiggyk:
Have you given up on trying to find a solution for this problem on un-rooted phones??? :(
[Android Apps and Games] Phantec:
Odp: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

I suggest to root your phone, because even the best non root solution will be a lot worse than root way.
[Android Apps and Games] cmlx:
@andQlimax, I delete this app, and after several times reboot my Gtalk heartbeat is still set to 5min :confused:
[Android Apps and Games] andQlimax:
I think it get reset every 12 hours..anyway if you dont want to wait, from the phone dial this code *#*#checkin*#*# (by default happen every 12 hours) it re-download all the google services values, default hearbeat included
[Android Apps and Games] andQlimax:
well ya..all the solutions seems so bad and VERY battery hungry, is not the same as the hearbeat packet

don't forget that here https://productforums.google.com/forum/#!msg/mobile/X0j2BgCVQjI/jkpUW0aI3uIJ google said that they are investigating about the problem

they can change the hearbeat remotely if they want

first you should not set it to 1 minute..

4 minutes should be ok...note that it does NOT mean that you get notification every 4 minutes, as some users think..it means only that the push service connection is checked every 4 minutes..

whatsapp unfortunally partially use push notifications..so little delays sometimes can be normal
[Android Apps and Games] FuTChY:
Got it :)

Thank you so much :) :highfive:

I reverted back to 5 Min. fearing it would drain the battery, and since it's only some sort of check then it's ok :) :good:
[Android Apps and Games] jiggyk:
I would have surely rooted my phone

just for your app

if it was simpler, but for the Sony Xperia S, it is nothing short of learning to walk on your hands!!

JK

P.S.: I have put in my comments on your post on the Google forum.
[Android Apps and Games] Phantec:
I have also Sony Xperia S and rooting it is very simple (even without unlocking bootloader, but with Sony you can also do this easly)

I used this tutorial, it's the easiest rooting ever...

https://www.youtube.com/watch?v=7EpkrCq1gfM
[Android Apps and Games] cmlx:
It is so strange, I tried *#*#2432546#*#* and got "checkin succeeded", then reboot device, but the heartbeat interval is still 05:00 and heartbeat type is cell, which actually I used is wifi.:confused:
[Android Apps and Games] andQlimax:
are you sure you unistalled my app? if you have it installed, then disable the run at boot check if you want the default hearbeat

if still doesn't change, you can remove your google account from your phone and add it back..but that strange..
[Android Apps and Games] cmlx:
Yes it is so weird, actually I disabled the "run at boot" first but could not get default back, then uninstalled it, same problem, then you told me type checkin but no lucky. Just now I re-established my account the 05:00 was still there.

So I think maybe a certain db on my device is locked, I want to delete it or sqlite3 re-write it, could you please tell me where is the heartbeat value stored?
[Android Apps and Games] andQlimax:
to restore the values manually do those steps:

- install SQLite Debugger app https://play.google.com/store/apps/details?id=oliver.ehrenmueller.dbadmin

- from the app open the file /data/data/com.google.android.gsf/databases/gservices.db

- write this sql: update main set value=1680000 where name like 'gtalk%heartbeat%ms'

- run it and commit the changes; it should update 4 rows

- write this sql: update main set value=900000 where name like 'gtalk%max%time'

- run it and commit the changes; it should update 1 row

- reboot the phone

those are the default values..28 minutes on 3g and 15 minutes on wifi..to check the values dial *#*#talk#*#* (otherwise if you install my app, the values are overwritten again)

anyway just for info, what device and android version you have? with the google checkin mechanism and/or removing and add back you google account the database should be recreated with default values, which is strange that doesn't happen to you
[Android Apps and Games] cmlx:
Thank you very much for so many steps in detail, since this value is stored in com.google.android.gsf (Google Services Framework), I will clear its data first to check the result

I'm using an official 4.0.3 ICS rom w/ root, maybe some odex or modification by myself make this so weird.
[Android Apps and Games] Haomuch:
Re: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

That is cool! You know so many developers report bugs to google and demand for fix but most time they failed because the fix may involve much man power and complicated measures. But I believe this one will be fixed by them this time! Even at that time we may not need your app anymore. You are a real game changer!
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

I hope so :)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] drituss:
Hi! What a nice job! But I’m still having delayed push notifications even with this app installed. I’ve chosen the heartbeat every 4 minutes and without problems at the beginning. After a while it stops from working and I receive the notifications with a delay (sometimes it takes more than half an hour to receive them). After looking the Gtalk Service, I realized that some of the heartbeats are “timeout” or “connection failed” (see the images attached). Any idea why is this happening and how to solve it? Thank you very much!!
[Android Apps and Games] andQlimax:
R: [ APP ][2.2+][ ROOT ][ FREE ][25-FEB-2013] Push Notifications Fixer v3.0

Hi,

Connection failed mean that during that time the connection was not available, its like ur phone drop the connection when the screen is off.. This is a major problem that can't be solved even with this app

Heartbeat timeout mean that you need a lower heartbeat value, but let me say that ur mobile service provider is really crap if does kill an unused connection after so short time..u can try 3 minutes in those cases, but going lower can impact ur battery life (even if the battery life is already impacted by ur operator, since android have to re-enstabilish the push service connection to much often, when the timeout occurs )

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Android Apps and Games] jiggyk:
I have downgraded the ROM on my phone (i.e. flashed a rootable one) and then rooted it just to use your app!! ;)

Fed up with waiting for Google to mend this, they don't seem too concerned about push notifications not being 'pushed'.

Two hours now and seems to be working fine on the mobile network, while testing it with GTalk. Will keep you posted on results with Whatsapp, etc.

Many Thanks,

JK
[Android Apps and Games] jafnh:
Really fixed and helped a lot.
[Android Apps and Games] drituss:
I've tried by putting a lower value, but same results... I think that something is wrong with my phone, because I've flashed the stock rom and it still happens. Anyway, thank you for your time ;)
[Android Apps and Games] carlosmg2:
After trying the app for a week on my Nexus 4 I can say I didn't noticed any improvement. It worked and changed the heartbeat, but still received the notifications delayed on wifi.

I hope Google fixes the problem :(
[Android Apps and Games] jiggyk:
The Gtalk notifications are now instantaneous, but Whatsapp notifications still come in delayed. Any idea why this should happen?

This is on the mobile network, all notifications for me were instantaneous on wifi.

JK
[Android Apps and Games] andQlimax:
yes, whatsapp seems not always use push notifications lately

when you are using it, it use a normal chat communications, when for long time u dont use it, it use push service to know when a new message is received
[Android Apps and Games] heathcliff06:
Can you tell me why it's not good to set the heartbeat to 1 minute?
[Android Apps and Games] andQlimax:
because its very drastic for the battery I think..every minute android will send a little network packet..and also because its not possible that your operator or your router have a so short tcp timeout.. I recommend it to 3/4/5 minutes

please note that setting the hearbeat to 4 minute for example, does NOT mean that you receive notifications every 4 minute, its mean that the hearbeat is sent every 4 minutes...your push notification will always be instantly, if the connection to the push service is stable (no network drops)

the hearbeat sending mechanism is to mantain stable the connection between your phone and the google servers..sending it every 4 minute should be enough
[Android Apps and Games] jiggyk:
Many Thanks for this app. After many days of using it, I can safely say that Facebook Messenger, Facebook Notifications and GTalk notifications are instant. The only difference with whatsapp is now the delay has reduced to 3 minutes compared to the 20 minutes delay I used to get before I used your app. This obviously points to a problem with Whatsapp.