New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Pahn
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Oct 2006
Default Disconnect GPRS in standby

I know there are plenty of utilities/hacks to automatically disconnect GPRS after a certain time of inactivity. I don't want that. What I want is for GPRS to disconnect immediately when I put the phone in standby.

I've searched high and low for some tweak or hack that allows me to do this. I know it can be done, because I've done it before, but I'll be darned if I can remember how. Previously, I was using an HTC official ROM, but now I'm using the AT&T official ROM. Maybe that makes a difference, but I don't think so.

And yes, I know I can just hold the red button for a few seconds, but since I had this feature before, I want it back!
 
asofiker
Old
(Last edited by asofiker; 18th October 2008 at 08:06 PM.) Reason: ......
#2  
Member
Thanks Meter 0
Posts: 86
Join Date: Jun 2008
I read this somewhere, and just tried it. Works pretty slick. It does just what you want. It will automatically disconnect any data session when you put your phone in standby mode. Also it will automatically disconnect like 30sec-1minute after any program is done/not using it. To try it out, I started up Skyfire then pushed my power button to put it to sleep, when I woke it up the data was automatically reconnected since skyfire was still open. Oh and I too am using AT&T standard ROM.

Open up your REG editing software

Navigate to (HKLM>Comm>ConnMgr>Planner>Settings)

Click on (SuspendResume)

Change Value Data to: "GPRS_bye_if_device_off"
make sure to include the parenthesis.

Then click on (Cache Time)

Make it HEXADECIMAL

Change the Value Data to: 0000003C

Soft Reset

Hope this helps