Default R: Google Talk disconnecting repeatedly, also affecting push notifications

Quote:
Originally Posted by mhdsanto85 View Post
is there a way to decreade this 15 minutes time?? to 5 for example??
I just found a way:

- install https://play.google.com/store/apps/d...ueller.dbadmin (need root)
- from the app open the file in /data/data/com.google.android.gsf/databases/gservices.db
- run this SQL query: update main set value=300000 where name like 'gtalk_%heartbeat_ping_interval_ms';
- commit the change

It basically set the heartbeat to 300000 ms, 5 minutes..to take effects u have to stop Google services framework in settings-> applications->all, be sure to stop it..after that sevice start again(disable and re enable wifi or 3g ) the gtalk heartbeat should be 5 minutes, and u shouldn't notice delay in push notifications ( from the dialer compose *#*#8255#*#* and see if the gtalk heartbeat interval is 5 minutes instead of 15)

Anyway that change is not persistent, when you reboot the device u need to reapply it if u want or create an init.d script that run it at boot..I'm thinking to write an app in the next days if that works

I tried it and seems to work atm, I'm not responsible for any damages u can cause anyway

EDIT: Here an app that does all those steps automatically https://play.google.com/store/apps/d...imax.pushfixer (need root)

Inviato dal mio Galaxy Nexus con Tapatalk 2
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