yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] andQlimax:
R: Google Talk disconnecting repeatedly, also affecting push notifications

Probably if awake u are using push notification in some ways (gtalk, gmail, whatsapp, etc) so u keep the connect alive

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] pedromarga:
runs yurponu

But aren't push notifications sent from Google to the phone? I mean, if Google's server receives an e-mail or instant message it is going to send to my phone, independently if it is sleeping or awake, right?

Sorry for so many questions I am trying to figure an way to solve this annoying problem.

Is possible to design an app that send useless packages trough this TCP connection when the phone is sleeping, just to keep it alive?
[Samsung Galaxy Nexus] andQlimax:
R: Google Talk disconnecting repeatedly, also affecting push notifications

Yes Google servers send the push notification to ur phone, but ur phone must be listening for it on an opened connection

Is not possible to keep alive a particular TCP connection with an app, unless u make an app that send useless push notifications, that would work, but also need a server part

there is already a default keep alive mechanism, but it happens every 15 minutes on wifi, that's why u get notifications delayed when the router close the unused connections after few minutes

What its possible, is to write an app that close the TCP connection (but I don't know how, I also opened a thread but no luck) , so that it should be renewed immediately from android itself because in this case the phone is aware that the push connection is broken

Probably the solution is to buy a good router that doesn't kill unused connections

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] pedromarga:
For you it might work, but I am losing the connection on 3G too, I can't buy a new carrier :D

Thanks for your explanation! Butt this is what I was thinking:

1 - Notifications come from Google.

2 - Google doesn't know if my phone is sleeping or awake, so it sends the notification when it "wants".

3 - So, why, when my phone is awake, does the TCP connection keep alive, if the thing that can keep it alive is Google sending data?
[Samsung Galaxy Nexus] mhdsanto85:
is there a way to decreade this 15 minutes time?? to 5 for example??
[Samsung Galaxy Nexus] andQlimax:
R: Google Talk disconnecting repeatedly, also affecting push notifications

I just found a way:

- install https://play.google.com/store/apps/details?id=oliver.ehrenmueller.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/details?id=com.andqlimax.pushfixer (need root)

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] mhdsanto85:
Mate.... thanks a lot!!!!.... it seens to be working here...!! .... the notifications are been received much faster now...

I dont know how to do a init.d script..... it would be really nice,,,

for now it fix my prblems....! thanks again!

EDIT: After some tests I`m sure u solved the issue..... just to know... the default value here is 28 minutes....... my carrier sucks....

maybe it increase the battery comsumption??
[Samsung Galaxy Nexus] andQlimax:
R: Google Talk disconnecting repeatedly, also affecting push notifications

In 3g is 28 minutes and in WiFi is 15 minutes, that's the default on android.. The problem is that as I said some routers, or in ur case ur carrier apply some policy to kill unused connection

I'm happy that it works, it should not have a big impact on the battery I think

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] pedromarga:
You are a genious! Looks like you solved this anoying problem! I Updated the SQLite file and Gtalk is on for hours!

Next step is make it persistent!
[Samsung Galaxy Nexus] Nefasto:
i'm trying...if it's works a will donate you something like my heart :D

so please...make it persistent :D

---------- Post added at 12:42 PM ---------- Previous post was at 11:58 AM ----------

works like a charm....really really thanks
[Samsung Galaxy Nexus] Nefasto:
Just rebooted the phone...but the heartbeat is still on 5 mins...is it possible?

Looks like allready persistent
[Samsung Galaxy Nexus] mconchet:
Same Here. Rebooted my HTC Desire, 5min still there :)
[Samsung Galaxy Nexus] mhdsanto85:
mine here reset the value every reboot.....
[Samsung Galaxy Nexus] Fabriciohss:
I'm buying the crap out of the app that you might eventually put out to fix this. I really mean it.

This is the type of issue that makes me (an android lover) feel like buying an iphone.

Either way, thank you for your work on this. ;)
[Samsung Galaxy Nexus] andQlimax:
Thanks guys, I'm happy too that it works :)

It was a problem that was getting me crazy too for about 3 years I think, then suddently answering to this thread I got the solution!

I'm writing a little app to set your preferred heartbeat interval at boot time! It seems to work already, just doing some test, I will probably publish it later or tomorrow

Ps: the app will be free, probably will add a little in-app purchase if someone want donate or something :)
[Samsung Galaxy Nexus] mhdsanto85:
it`ll be amazing man..!
[Samsung Galaxy Nexus] Nefasto:
FYI SQLlite can create a shortcut in home with the query...really confortable :)
[Samsung Galaxy Nexus] mhdsanto85:
Thanks man!!... You saved some minutes of life!!
[Samsung Galaxy Nexus] pedromarga:
Nice.

It would be great if someone know how to automate the Force Stop Google Services Framework.

Is there some terminal command to do that?

edit. I think I found it: am force-close com.google.android.gsf
[Samsung Galaxy Nexus] andQlimax:
R: Google Talk disconnecting repeatedly, also affecting push notifications

I'm about to finish my app that will do everything as soon as the phone boot, so u don't have to do anything

Inviato dal mio Galaxy Nexus con Tapatalk 2
[Samsung Galaxy Nexus] Nefasto:
it:stiamo tutti aspettando la tua app :)

eng: we're waitin' fot it...for the doation too :D
[Samsung Galaxy Nexus] stecas:
Romano: Daje :highfive:

Italiano: Complimenti!

English: Wow!

my first post is dedicated to you :laugh:

good job man
[Samsung Galaxy Nexus] andQlimax:
The app is pubblished guys.

Should be available soon here: https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer

I created a support thread on the gnex themes and apps section: http://xdaforums.com/showthread.php?p=37096146

Remember is the first version, it may look not cool but it works! ;)

EDIT: its available now, Someone tried the in-app Donate ? I'm not sure if really work, thats one thing which i couldn't test my self, it seems I can't donate to myself obviously lol
[Samsung Galaxy Nexus] Nefasto:
Fantastic!

The donation link work smoothly dircetly on the market ;)

thanks mate

PS IT

Non so se ti rendi conto di aver salvato tutti gli sfigati con la coppia android+h3g :D
[Samsung Galaxy Nexus] stecas:
Quote
[Samsung Galaxy Nexus] stecas:
I've installed the app.

When I reboot the phone, even though I selected the ON button, the value is 28 min.

This is because probably the start of the gtalk overwrites the update made ​​by your app.

For me, when the phone starts, your application should kill gtalk process, launch the update then start the process gtalk.

Italiano

Ho installato l'app.

Quando riavvio il telefono, anche se ho selezionato il bottone ON, il valore resta 28 min.

Questo perchè probabilmente l'avvio del processo di gtalk sovrascrive l'update fatta dalla tua app.

Per me, quando il telefono si avvia, la tua applicazione dovrebbe killare gtalk process, lanciare l'update quindi avviare il processo gtalk.
[Samsung Galaxy Nexus] andQlimax:
hi already response here http://xdaforums.com/showthread.php?p=37117881#post37117881

my app already kills gtalk

im not sure what is the problem, later tonight ill do some tests
[Samsung Galaxy Nexus] pedromarga:
I am facing a new problem. With no intervention, after a lot of time sleeping (like during the night), the heartbeat value is returning to 15 minutes and I can't figure why.

Do you know where the hell this 15 minutes come from when we restart the phone? it comes from the network or some ROM file?
[Samsung Galaxy Nexus] andQlimax:
Its the google services framework app that set that values with its logic, basing on events and network types
[Samsung Galaxy Nexus] pedromarga:
I see.

What do you think about adding an optional "timer" service on your app, performing the operation every X minutes (only if the screen if off, to avoid stopping GSF when using it)?
[Samsung Galaxy Nexus] andQlimax:
ya, im also thinking to something like that

the app could check every x minutes (configurable) if the heartbeat interval is the one you set and only if the value is different then update it with the correct value and stop gsf as usual, stopping it while you using ur phone is not a problem (its restart in few seconds and you dont loose anything)

otherwise an other solution, maybe better, its to check if the heartbeat has changed when the phone just connect to a network (wifi or 3g), while the phone is connected to a network the heartbeat shouldn't be changed
[Samsung Galaxy Nexus] pedromarga:
It would be great!
[Samsung Galaxy Nexus] andQlimax:
Just pushed new version that does that, if needed it set the heartbeat every time ur phone connect to wifi or 3g

please refer to this thread for much info http://xdaforums.com/showthread.php?t=2142503
[Android Q&A, Help & Troubleshooting] asamuel:
Hi

I have Samsung Chrage anroid from Verizon and I am looking to root the phone, where can i download the Odin tar file.?
[Android Q&A, Help & Troubleshooting] theizzardking:
#2 search on google....and thread is moved, awesome.

click here for root info

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

i advise to find your own roms as some of those look outdated
[Galaxy Ace S5830 General] busybox1:
iam new but always read a lot of threads here i want some help

i am trying to setup openvpn installer and settings in my coderom v2x2b

i tried to to install it without reading any guide first and installed it in

system/bin/openvpn

but now i read a guide somewhere like this

install openvpn installer and the binaries..

to install:

-run openvpn installer using file explorer

step:

- click install >choose /system/xbin/ > choose /system/xbin/bb

-check this directory if installation successfull: /system/xbin/openvpn

instal busybox

-open the application and click install.

-wait and check directory: /system/xbin/busybox or /system/bin/busybox <-- it(busybox) should be there.

now my problem is i dont knw about busybox but i searched it and its installed in

sbin/busybox <<< their is the file name busybox nowhere else

where it is required in system/xbin

and other i already installed openvpn in

system/bin/openvpn which also needs to be in system/xbin

i tried uninstalling openvpn but binary still remains their

can someone help me how should i fix all this paths and make openvpn working
[Galaxy Ace S5830 General] busybox1:
no one has any idea to make openvpn work ? :(
[Galaxy Ace S5830 General] busybox1:
noone had this prob ? can someone give me a guide to make openvpn work ? some places says linking the directory can work something like that but i dont have a clue how to do that ...........someone reply atleast lol
[Galaxy Ace S5830 General] busybox1:
bumppppppppppppppppppppp :(
[Xperia Play Q&A, Help & Troubleshooting] rambrody:
Hay i rekon someone sould make an app for the sony ericsson play were you can use the gamepad to text. Just like how you text when you write a message on the playstation 3. I find it a bit difficult to text using the touch screen sometimes

Thanks

Brody
[Xperia Play Q&A, Help & Troubleshooting] Rogue Leader:
It was being discussed here but I don't believe it was ever completed. That said, texting with the game pad is horrid on the PS3, I could only imagine it horrible on anything else as well.
[Xperia Play Q&A, Help & Troubleshooting] GetPatriotized:
Download swype. Best alternative to a Blackberry ;)
[Xperia Play Q&A, Help & Troubleshooting] Dany XP:
It's a hell in xbox360 and ps3. Believe me, you dont want that feature on xperia play...
[Xperia Play Q&A, Help & Troubleshooting] DanielEGVi:
And having to carry an 8inch bluetooth keyboard everywhere with your Xperia play... ah, Blackberries suck so hard when it comes to anything not related to chatting and business, I had one before buying an iPhone and it was like... it's just... You know what I mean... D'ah! Nevermind :rolleyes:
[Galaxy S II Q&A, Help & Troubleshooting] bartoloandre98:
So my htc desire got stolen and therefore i need a new phone.Basically my eyes went immediately on an sgs2. Should i buy a galaxy s 2 now or wait for an sgs3?Sgs2 is a beast with its screen ,soc etc.Thx, every opinion will help!!
[Galaxy S II Q&A, Help & Troubleshooting] Lennyz1988:
Why wait? If and when the SG3 comes out, you can then keep waiting for the SG4. If you like the phone buy it and don't wait.
[Galaxy S II Q&A, Help & Troubleshooting] cyph3rzer0:
If you keep waiting, you will never be able to buy anything...

I agree with Lennyz1988's suggestion, you should buy S2 now instead of waiting for S3. :)
[Galaxy S II Q&A, Help & Troubleshooting] bala_gamer:
go for it , you have made the right choice.
[Galaxy S II Q&A, Help & Troubleshooting] warrez:
agreed with above

there is tons of things u can do with sgs2 and its just one update from beating nexus that came out few months ago
[Streak 5 Q&A, Help & Troubleshooting] shazarul:
will anything happen to my dell if i restore a nandroid from another dell streak user???
[Verizon Droid Charge] shobon:
I'm working on a theme and I'm trying to customize the notification area font colors, but I'm unable to decompile SystemUI.apk!

I get the following error:

[kyle@thinkpad Downloads]$ ./apktool d SystemUI.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /home/kyle/apktool/framework/1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)

This happens in both vanilla apktool and in APK Manager.
[Verizon Droid Charge] dwitherell:
I'm in no way a themer, but my guess is you have to decompile with dependencies - most likely twframework.apk and framework-res.apk. I'm pretty sure this is an option in apk manager. That being said, I of course could be completely wrong on all of this.
[Verizon Droid Charge] shobon:
I decompiled with framework-res and it worked, thanks a lot!

Now to go hunting for what I want to change :D
[Verizon Droid Charge] Endless2232:
I know you got it to work but for future reference place the apktool jar and framework-res.apk in your C:Windows folder. Then open up command prompt, cd to the windows directory and type:

apktool if framework-res.apk

This will install the framework into an apktool folder for future projects. You should also repeat the process with twframework-res.apk in the rare case you work with a froyo ROM.
[Verizon Droid Charge] IN8skillz:
The .xml's you seek are not in the systemUI. They are in the FRAMEWORK.RES if I remember right.

Try FRAMEWORK-RES/DECOMPILED DIR/LAYOUT/STATUSBAR_LATEST_EVENT_CONTENT and there might be one more. Its been awhile....
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] HTC Chris:
I have not flashed a ROM yet, but when I do how would I go back to stock? I made a CWM backup of being stock rooted, but I want to know of another way to go back. When I had the AT&T Galaxy S2, all I had to do was flash the tar file in Odin. I searched the development section and only found modified KJ4(2.3.5) and KKA(2.3.6) ROMs. I have the Polish Note if that matters.

Edit: I think I may have found the right way to go back to stock KKA. Just by placing the stock zimage using Chanfires method ^_^

Edit2: Meh figured it out :)

Edit3: Need confirmation on correct way to return to stock, as others have the same question.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] ericyang:
Get the stock rom and reflash it.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] HTC Chris:
Yeah I definitely know that part, I'm more concerned about the way of doing it.

I heard that flashing through Odin would cause the yellow triangle as it would set off the flash counter... Can please you link me to the stock ROM that is flashable through Odin if this isn't the case? OR an alternative method besides the one I posted above.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] schaggo:
I do in fact have tha same questions. I even went off topic in a ROM release thread about it.

I'm a longtime HTC user and with long time i mean since like 2002ish. I have no fear to mess around with HTC stuff since I know my way around and know exactly how to brick it, if I really want to ;-)

Things look different with the Note thought. The recovery doesnt stick but is kernel dependant, Odin seems to be similar to HBOOT but shouldn't be used since it tells Sammy what one did to its device. Flashing can be done by this that or another way, it all looks so weird and chaotic to a HTC camper... lol.

Sent from my GT-N7000
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] HTC Chris:
Hopefully we can get some clarification on the right method. :)
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Goodm7sn:
i think this thing is being worked on , all above is from this thread http://xdaforums.com/showthread.php?t=1329360
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] HTC Chris:
Yeah he did update it. That's where I got the idea about just using Chainfire's Initial Root Flasher and placing the zImage in that folder. On the bottom of the OP, he put

Now How I can revert back to Stock ROM/Unroot (In case of replacemet may i need)

I you have Just rooted only but not added CWM - Just Download this Extract - Execute - Rum Me unroot.bat

If You have Root + CWM - then first find out original stock kernel (zImage file)

Now place this file in zImage folder, n repeat procedure(Initial CFRoot Flasher), which you have done at time of pushing CWM by selecting I am rooted already

Now unroot with above said unrooting tool.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] Goodm7sn:
i have afew questions about that ,

where and how can i find the specific zimage for my device ? i understood that its in a compressed file extracted with 7-zip , but how can i get that compressed file ?

also , what if i had another type of ROM installed (NON stock) , how can i flash the original stock rom back (since i will not be be rooted, wont be able to restore NAND backups)??!

in HTC devices (i had Desire HD) , reverting to stock rom is simplified by flashing the "RUU" files , which were found in a dedicated thread.

This whole samsung diferences is really confusing me :confused:

thanks alot for any help.

cheers.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] HTC Chris:
This is my ass-umption as I am still waiting for other responses as well.

In order to revert to stock you have to download the Initial Flasher.zip from Chainfire.

Then download your Kernel from the first page. http://xdaforums.com/showthread.php?t=1331784 The zImage is taken from extracting your Kernel, whether it be KK1, KJ4, KKA, etc...

You place that zImage in the files folder and click "already-rooted.bat" *if you are coming from another ROM.*

Once that is done, you run the unrooting tool from Doomlord.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] schaggo:
This method may work if you are able to access your device. As in your Android OS is up and running. What about a bootloop on a ROM/Kernel without a custom recovery built in (:confused:). How would you go on from here?

On a part-bricked or bootlooping or otherwise fukkered HTC I would fire up my (bien sure as first thing) flashed ENG HBOOT, put it in FASTBOOT mode and simply a) fastboot boot c:\path\to\file\recovery.img or b) fastboot flash recovery c:\path\to\file\recovery.img and done. No brick from here, bc I a) always can restore a nandroid from here or b) always have a ROM ready on the SD or I could put it there using the mount usb option in the recovery, or heck, even by ADB PUSH. But on a Samsung... :confused:
[Windows Phone 7 Q&A, Help & Troubleshooting] dayyanj:
I'm about to leave Japan for Singapore and am hoping to use my Toshiba IS12T on the networks there.

One thing I can't seem to find it how I can remove the carrier SIM lock.

I paid for an unlock code from www.unlockallphones.com but they responded moments later saying they can't find my phone, and will refund me within 72 hours... hmmm.

Anyway, if anyone know how to remove the SIM lock, I would be very greatful (don't mind if I have to pay)

そろそろシンガポールへ引っ越しする事になりますが、日本で買ったIS12Tをシンガポールで使えるようにしたのです。　しかし、どんなに検索してもSIMロックの解除方法を見つかりません。

www.unlockallphones.comからアンロックコードを買いましたが払い終わった直後に「アンロックコードは見つかりませんでした。72時間以内に返金します。」...本当かな？

ま、とにかくSIMロック解除したいので、やり方を分かりましたら教えて下さい。有料でもOK。

宜しくお願い致します
[Windows Phone 7 Q&A, Help & Troubleshooting] dayyanj:
gutted. After weeks of fruitless searches, hypersim purchases and forum posts im am still left with nothing more than a glorified wifi only windows phone :(.

Sigh. Still i am keeping an eye on this thread so if any of my genius friends in japan can figure it out, please let me know