Default [APP][2.2+][ROOT][17-FEB-2014] Push Notifications Fixer v4.5.2

Hi everyone,

Do you have delayed push notifications with GTalk/Hangouts, GMail, Whatsapp, Facebook, etc?
This app its for you! It's FREE and with NO banners, please consider a donation from the app.

ROOT is required. For non-root version check here: http://forum.xda-developers.com/show....php?t=2516849

This app ONLY change some NUMBERS inside GSF android database. Read below.
You will always receive instantly push notifications.

*** How to use?
Install, accepts superuser permissions, choose your intervals, press apply and enjoy. Mobile heartbeat must be bigger than the wifi one, once you applied the settings, the heartbeats are permanently changed and survive to reboots.

* The problem (read this for better understanding):
Apps like GTalk/Hangouts, GMail, Whatsapp (partially push), Facebook Messenger, etc, use google's push service (GCM) through a TCP shared connection on the port 5228 between your phone and google servers.
To keep this connection alive, android by default use a periodic heartbeat (a small network data packet) which is used to avoid the connection timeout. Unfortunately this heartbeat by default occurs only every 15 minutes on wifi and every 28 minutes on 3G.
What may happen for most users is that the wifi router or the mobile carrier can automatically close/terminate this connection after some SHORT time of inactivity, for example when you are not sending / receiving any push notification.
For how the push notifications works, your phone is not aware that this connection was externally closed, so this is the reason why you will have no push notifications until this connection get re-established by android, when the next HeartBeat is sent.

* The solution in my app:
This app ( PNF ) ONLY update this heartbeat interval (stored on the GSF database inside android data partition) to the value of your choice, in order to maintain the push service connection (GCM) alive.
The recommended value is 5 minutes since its should be enough short for every user. This value will allow you to always receive instantly notifications.
This app does NOT run in background.
Shortening the heartbeat interval to 5 minutes should not have a big impact on the battery life at all.

* GTalk Service Monitor
To check what I'm talking about open the dialer, and dial this code *#*#TALK#*#*, scroll down and search for the Heartbeat Interval. GTalk Service Monitor its a default tool integrated on android. It's part of GTalk, since push service use google talk protocols. If the previous don't work try *#*#426#*#* and search for initial heartbeat.

* Notice:
This app is provided with no warranty. You are responsible for what you are doing on your phone.

* How to restore the default heartbeat interval value
Before to uninstall PNF choose the setting "Restore default heartbeats" in the app.

Download here: PLAY STORE LINK (or get the attached APK in case not available on your country for some reason)

Please, if the are problems dont rate bad, send me an email ( ask.andqlimax@gmail.com ) or post the problem in this thread and I'll answer you as soon as possible.
Feedback are welcome!



Changelog:
See post Number 2

FAQ:
See post Number 3

Report to google here: https://productforums.google.com/for...es/fslYqYrULto

Download it from play store to receive future app updates
Attached Files
File Type: apk PushFixer_4.5.2.apk - [Click for QR Code] (547.7 KB, 963 views)
Google Nexus 5 | Stock Rom | Rooted | Xposed
Galaxy Nexus GSM GT-I9250 (maguro) | yakju | TWRP 2.4.1.0 | BOOTLOADER PRIMEMD04 | RADIO XXLJ1 | Stock JWR66Y 4.3 + Root
HTC Desire GSM A8181 (bravo) AMOLED| PVT1 | HBOOT 0.93.1000 S-OFF CM7r1 | 4EXT Touch Recovery | RADIO 32.56.00.32U_5.17.05.23 | CM 7 Nightly | A2SD 512MB EXT4
Nokia N70

Delayed Push Notifications? Push Notifications Fixer