yashsingh1/xdaforums huggingface dataset:
[HD2 General] tgerbracht:
I ended up returning my phone and getting a new one despite having "mild" problems compared to most of you all (i.e. once or twice a week data connection error happened compared to 10x a day). I hope I got a good one and will give you all an update.
[HD2 General] rodrigofd:
cgrec92, i have one little idea we could try . I see you are heavily into this subject, and i am very eager to fix it too, before giving up entirely on HD2....

what we could try is to do a full-registry scan before and after internet connection drops, .. then compare both registries, and see altered values... i know how to do this fairly easy: seconds after checking conection works fine, open 'dotfred task manager' (a well known WM tool) , goto registry tab, right clic on root, 'export all', to SD card for example... when finished, keep navigating until it stops... then repeat the process but saving a different file name (.reg).

finally, we can compare both .reg dumps on the PC, with a good compare tool like Diffdog (altova diffdog)... that should give us more clues..

i don't have much time but if you can try it out'd be great... if not i'll do it later
[HD2 General] cgrec92:
i'm sorry what i wrote earlier must've been misleading. I know these values are written by the system so altering them would make no different, what i meant to say is that once we find whatever is changing them then that should solve it :)

i will indeed try this, i'll download both apps and give it a shot, if we both can then it should speed things up a little.

i am getting the htc desire in 2 days but i would still like to resolve this issue :o
[HD2 General] teddmf:
Sean, I disabled My Location in the registry but I still had the connection failure occur. I have also since disabled the location service thru the settings menu and trying this. This led me to thinking that I had updated Google Maps to 4.0 which provides the My Location service. Might the new version have issues? Anyone else using Google Maps 4.0 My Location service or still using the 3.x version?
[HD2 General] cgrec92:
i think we should in fact try this

i don't think i have used a stripped down ROM, every ROM includes google maps, maybe this is a problem as it includes GPS software?
[HD2 General] cgrec92:
Ok i'm installing XtraLight from Miri

if the connection still drops then there's something deep in the system (possibly hardware) which is at fault.

I will also try every radio combination with this ROM
[HD2 General] tgerbracht:
Awesome News~~~

My new (replaced) HD2 also had the connection drop issue. Interestingly, it only happens with a low signal which makes me think those times are fine, but I noticed it also happen geographically in the same area one time today also while driving home. Fortunately, it doesn't happen much to me.
[HD2 General] cgrec92:
Ok after using Miri Xtralite (no manila whatsoever) i still have the problem

This means that it is not an issue with GPS, weather service, e-mail etc

There must be a problem with the network settings or something wrong in the registry.
[HD2 General] regis.stration:
UPDATE:

Not as fixed as I thought! Wanted to run it a few days and tried some other things, but I am now still getting 1-2 drops during a day. My mortscript will still reconnect the data connection, so I assigned it to a button and at least am avoiding going thru the whole manilla menu to stop/start the data connection.

I also tried a script that detected the registry change, then put the variables back in. Couldn't tell if it worked, cause it was in an infinite loop checking the registry. Brought the phone to a standstill.

New Conclusion: My script may still be a temp fix for me. I need to figure how to run a program that can monitor reg entries without hogging cpu cycles and battery. Does anybody have any quick ideas? Anybody know if the 'sleep' funtion in mortscript use cpu to count time? If not, perhaps I can make my loop sleep every cycle for a set time, say 10 seconds.

DAMN! Just gave myself a new trial . . . I'll report back after I run that option a few days.

Regis
[HD2 General] Starfury:
Have you tried updating your HSPL to match your ROM version (ie HSPL1.66 - its part of the HSPL2 release)
[HD2 General] Scrtcwlvl:
Would it be possible to get something like connection state checker?

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

It seems like that would do exactly what we need.

In my experience, I haven't figure out how to stop it, but certainly how to slow down the drop of the connection.

Think it would be possible to take this program and have it reset these registry settings when it redoes the connection or would this work?

I plan on trying it tonight.

Since getting my HD2 I've disabled push-email and switched to polling every 30 minutes, because I've found push killed my connection too much.

For tonight and the next few days (if it lasts), I will switch back to push with this program.
[HD2 General] UncleBeer:
Are you sure this is true, or just that you notice the dropouts more because the connection was (theoretically...) always live?
[HD2 General] teddmf:
I would like to, but Telstra T9193 model is not supported yet.
[HD2 General] regis.stration:
I know it's only been 12 hours or so, but I wanted to share good results incase anyboby else may want to test in parallel.

OK, I modified my script to sleep 5 seconds each cycle of the loop checking the registry. When it finds the key has changed, it changes it back, then pops up a window to tell you it reconnected, and logs a timestamp in a log.txt file. Did this to track exactly when the connection drops

I tested it by manually changing the value, and saw that the script did change it back, logged the event and the connection did work again. I also turned off the data connection under the settings tab, and tested every app (stock, weather, IE) and each went online with no problems. When I went back to the 'wireless Controls' I saw that the data connection was back on!

Now have weather updates @ 15min, stock @ 5min, email @ 10min, location service on. Been running fine all night and thru 10am today. A quick check of my log file showed that there were no dropped connections yet, so I can't really claim the script did anything yet, just been lucky so far. Here are the scripts I made incase anybody wants to try as well. The 'Battery percentage' variable has nothing to do with the script; I just needed some variable to use to keep the 'while' loop true.

script: test.mscr

sleep ( 10000 )

while( batterypercentage() > 20)

if( RegRead( "HKLM", "Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}\HTTP-{3F31657F-90E2-4D6E-B5FD-16F825124C07}", "Enable") = 0)

RegWriteDWord ( "HKLM", "Comm\ConnMgr\Providers\{EF097F4C-DC4B-4c98-8FF6-AEF805DC0E8E}\HTTP-{3F31657F-90E2-4D6E-B5FD-16F825124C07}", "Enable", 1)

message( "Connected" )

# log execution of script

logtext = "re-connected"

CallScript("\storage card\sys config\log.mscr")

endif

sleep( 5000 )

endwhile

Script: log.mscr

# write current date & time and text passed in "logtext"

writefile ( "\storage card\sys config\log.txt", "^NL^" & FormatTime("Ymd H:i:s") & " " & logtext, 1 )

I have my fingers crossed and will be monitoring my log file to see if it works in real world conditions.

Regis
[HD2 General] cgrec92:
Sorry mate for me the above fix isn't working

I've tried everything and I've even looked into the registry, it seems we have different problems, for me that value is always set to Enabled=1 anyway.

I have freshly installed with a task 29 Miri XtraLite and I have downloaded every single radio available in this forum.

I will go through each single one and test if they drop.

Will keep you posted.

UPDATE

2.04.50_22_2 radio not working

2.05.51.05_2 radio not working

2.06.50.04 radio not working

2.06.50.23_3 radio not working

2.06.51.07 radio not working

2.07.50.27_2 radio not working

2.07.51.2_2 radio not working

2.07.51.05 radio not working

2.08.50.05 radio not working

2.08.50.08_2 radio not working

2.09.51.03.2 radio not working

What can I say, the radio makes no difference as to whether or not the connection drops or not.

Seeing that I am using XtraLite ROM which does not contain Manila it is not a problem with Sense or any of the services.

Many people and I have had the phone repaired + exchanged with no success so it's not the hardware.

Different SIM cards do not work in the HD2 and show the same problem.

Changing or removing storage cards has no effect on the issue.

From what I have gathered, it MUST be a problem with the operator, in my case T-Mobile.

I am almost certain that there is some sort of data limit or bandwidth seeing that the connection drops faster if you are performing data hungry tasks.

In fact if you disable HSDA/HSUPA support and use 3G only, the connection is more stable for a longer amount of time but the connection still drops. I think this is because HSDPA/HSUPA is about 8 times faster than 3G.

Any ideas/solutions?

Thank God I am getting the Desire on Monday..
[HD2 General] Scrtcwlvl:
Well, I ran through the night with push email and Connection State Checker, it fixed the connection 11 times. Connection stayed through the whole night while on charge.

Here is the kicker. I removed it from charge and within 5 mins the connection timed out.

Tried reestablishing through connection state checker, said it did but it failed. Checked the registry and everything seemed fine in the connections.

Killed the data and reconnected, it was fine. Let it sit for a while and data dropped again.

This is quite odd...

Perhaps snapdragon is enabling some deeper level of sleep which is letting the connection time out, has anyone seen this on a device like the LG expo?

edit: Did a search and found nothing saying owners of the LG Expo experienced something similar.

So I really have no idea. All I know is on charge, connection stayed. Nearly the second it was off, it tanked.

settings:

Advanced Network : HSDPA only

Network Type : WCDMA

Band Freq : GSM(1900+850)+UMTS(1900+850)

Telstra HD2 in Provo Utah

I've never experienced this before on any of my devices and it is certainly annoying but livable.
[HD2 General] rodrigofd:
I really don't think it's the operator AT ALL.... remember, as you said, we are from all around the world, with exact same issue.. i suffer the exact same as you , and i am from Argentina. If i put my sim card to another 3g phone (e.g. HTC Fuze).. connection works flawlessly, up to 2 mbps, regularly, without drops... so, IT-IS-HD2.

As regards registry and ROMs, it COULD BE something deep on ROM configuration, said a registry setting, drivers, or something like that.

remember that all roms you tried, share a common base, even the Lite one. There are several packages that all chefs leave, like OEMDrivers, OperatorPkg, or one or two more.

Sadly, aside from you i won't get an Android replacement.. but i am minutes away of throwing my Hd2 to the basket, or crush it to the groud to break it as much as possible :mad: ... unless some englightened one finally gets the solution...
[HD2 General] cgrec92:
If I recall the HTC Fuze does not support HSDPA/HSUPA (this is where the problems mostly occur). I have also done this in my brother's G1 and the internet works because it is only reaching 3G speeds.

I agree with you there that it is in fact the phone, but I disagree that the operator is not all to blame.

FOR EXAMPLE:

T-mobile supports both 3G and HSDPA, when you connect to the Internet and request data, T-Mobile puts you on their fast connection (HSDPA) in order to download the data and as soon as you are done it puts you back on the slower connection (3G) until data is requested again. I doubt it is only T-Mobile who uses these methods, and perhaps the HD2's radio isn't built for this constant switching. Has anyone from networks such as O2 posted this bug? I don't recall.

I agree that it could be the ROM which is the issue, but I started with the T-Mobile stock 1.43 same issue, went to the HTC 1.66 stock same issue, tried the TMO 2.10 base stock same issue, tried several custom ROMs including CleanEX, Artemis, Laurentius, Miri, TouchX, Energy, Dutty to name a few. So this excludes the ROM base.

I have used every SPL there is (1.43, 1.66 and 2.08) and this seems to make no difference for me.

Althout the OperatorPkg does sound interesting.

For now there doesn't seem to be a real solution, only work-arounds possible, the best we can hope for is an application that can revive a dead connection almost instantly which I don't see happening.
[HD2 General] Scrtcwlvl:
The HTC Fuze does support HSDPA however, it is disabled by default and easily checked on. All custom roms come with this configuration. I ran it on my fuze and my Tilt2 certainly had it as well and neither EVER had an issue like this.

Networks are excluded people, it is something on the device and it doesn't seem to be hardware.
[HD2 General] rodrigofd:
Okay just to clarify some points....

1) Fuze does have HSPDA/HSUPA, besides i omitted to say i tested on other HSPDA/HSUPA devices (omniaII, nokia N95, etc...) ... AND I GET FULL HSDPA speed.

2) 'H' switchover, as you detail, is something normal of UMTS/HSPA standards, not the operator. It SHOULD behave that way.

3) Maybe i wasn't clear on the base rom thing. all roms you stated, said stock or cooked, share a LOT of components that are left untouched, provided by HTC engineers. Many of them, the tweaks and tune-ups they did to WM to supposedly improve the HD2... or in this case, screw it..

EDIT. PLEASE READ. What do most of you think ? Is it worth it we work altogether and send a shared petition or something like that, to HTC, clearly detailing and proving the issue, noting all different users which are suffering it? so they can take such thing on consideration? ...
[HD2 General] cgrec92:
Networks are not excluded it's always the same networks that are posted on this thread. I don't think the HD2's antenna was built to support the constant switching between H and 3G which certain operators use. Other phones such as the Fuze may be better suited to this.

I think there's some sort of incompatibility between the HD2 and some operators.

I have tried everything imaginable and I can rule out it's not a software issue.

POSSIBLY there's something deep in the registry but our registry is the exact same as others and they don't have this problem.

What's the difference between our HD2's and others? THE OPERATOR.
[HD2 General] cgrec92:
I agree with your number 1 read my post above

This is not a normal thing it is only normal on some operators, T-Mobile is known for this because it's servers get too full so they only give fast access to those who need it. Other operators such as o2 don't do this.

The problem was there before cooked ROMs. I have even had a brand new exchange with the exact same issue!

2 brand new HD2s, different SIMs different storage cards, what is the ONE thing they have in common? THE OPERATOR.
[HD2 General] Scrtcwlvl:
Really? because I would say they also have the kernel, drivers and overall hardware in common. Strange...

Sim card - no bearing - as it works JUST FINE in other devices on the SAME operator

Storage Card - seriously?

Then why are people on all operators experiencing this?

:S
[HD2 General] cgrec92:
Since when did this turn into an argument?

We're trying to help each other so un less you have anything constructive to say then don't.

As I've said twice now, I have used all the different drivers which use different kernels. You're blaming the hardware? So why isn't everyone experiencing this problem? if it is the hardware then it must be the antenna, and what uses the antenna? The operator and Wi-Fi. Yet Wi-Fi works with no problem, strange don't you think?

I've mentioned the storage card as a sort of lamens terms, mostly for you, just to add that the storage card has no effect on this issue.

When did I blame the SIM card? i simply mentioned that different sim cards on my phone have the same problem but the same sim cards on other phones work. My theory is that the antenna doesn't fully support how some operators work (as I posted above about the constant switching). I am aware that it is not the fault of the SIM card.

According to your theory a flash from a 1.43 ROM to a 1.66 ROM will fix the issue which is NOT the case.
[HD2 General] Scrtcwlvl:
False on all counts, according to my theory it is something driver / kernel / software bound and none of the currently available roms have yet to fix it. Or if that is not the case, it is more sadly a hardware issue. (which I doubt)

So far - many things have been tested yet it cannot seem to be narrowed down

All the Radios

All currently available roms - cooked and OEM

Certain things seem to slow it down (crack less often) (seem as in unproven)

-disabling push

-setting to just HSDPA

-setting to wcdma and proper bands

-charging (def uncertain)

When the connection dies, the registry keys

HKLM\System\State\Connections\Cellular

often get buggered up

If you read through not only this thread, but the many others you will find

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

Users all over Europe, the US and Australia, with different devices, different roms, different SPLs, and different carriers, all with the same issue.

Lets test theories instead and base what we know on what others have actually tested.
[HD2 General] cgrec92:
You've failed to understand again.

So you think it is a problem with drivers/software/kernel when I have now stated three times that it is not the case. Or maybe 5 different driver versions are all corrupt for specific people who experience this issue. Flashing from 1.43 to 1.66 changes drivers, software etc.

All of what you've mentioned above has been posted by me and other the users during the course of this thread. But we are looking for the cause of the dropouts not a work around.

I'm not surprised it affects all users around the world, basing still on my operator theory, T-Mobile is in the UK, Germany etc and others are too. I just don't see what we all have in common

I propose we make a list so we can compare what we have in common because if it is truly nothing then we have all been dealt faulty handsets. But even this would be tricky as I have tested all ROM bases, radios etc so I'm almost certain it's not a firmware issue.

Also the ROM i'm running does not run Sense meaning it's not a HTC problem. It must be either something deep in the registry, Windows Mobile related, operator related, or a faulty antenna. I don't see how it could be anything else. And if it is a faulty antenna, then most HD2's are faulty considering many people here have had their handset completely exchanged with no success - INCLUDING ME -

In conclusion I believe that it is either the operator, or Windows Mobile OS which is at fault.
[HD2 General] rodrigofd:
Cgrec, though i don't mean to increase the tone here, as i also think like you that we should keep cordiality among us because we share a common goal, i need to correct you in some points you do are missed, no offense meant.

I wrote you several times regarding ROM base related issue, and other user just told something related, but you keep answering that that is not the case because you tried several OEM ROM versions, 1.66, etc.

That is not the case. To be more clear:

Microsoft offers a basic core of the WinMobile OS, which in turn, is built upon a modified edition of the Windows CE platform. That is the 'WM' build.

Then, the OEM (HTC) build their ROMs, on this OS base, including drivers package, oem apps, OS tweaks, etc. Then they release the ROM.

When they release ROM updates, they basically tweaks one, two or a little more components, but almost all the core part (drivers, etc) remain the same, among ALL ROM versions... that is regarding stock ROMs.

if it is cooked, the chef tweaks such packages to their wish, but they RARELY mess with the core packages (drivers, htc-hd2 specific registry settings).

So , if some configuration they did for the HD2, has a flaw, which is producing this issue, it MOST LIKELY was dragged among all ROM versions.., which , of course, are the raw material of ALL cooked ROMs..

So , it still is a valid, and very plausible, theory, that the issue is deeply on the ROM OS part.

And i still don't think the operator has to do about this, all the different users experiencing this use very different operators, T-Mobile is just one of hundreds... myself, i've tried all operators in my country, with same issues...
[HD2 General] cgrec92:
I appreciate the clarification but I forgot to mention.

If you search for this issue you will see that this issue extends to the year 2002 where people were having this problem. This is with WM 5 or something like that.

The issue seems to not have been fixed and based on this it seems to be a core Windows error and I fail to see how HTC are creating the problem. I also don't see how it can only affect some and not others.

ROM chefs frequently post that they have updated drivers etc this is what i meant. There is a change between 1.43, 1.66, 2.1 etc

So if i installed for example WM 6.1 this would change some drivers? Perhaps this should be tried?

I appreciate the post.
[HD2 General] rodrigofd:
Well, for the issue on WM going back several years, i can give you a valuable example: i am used , for years now, to flash NRG's EnergyRom roms to my HTC phones... he actually releases similar versions to many phones at the same time...

i have latest EnergyROMs versions flashed to both HD2 and HTC Fuze, which are very, very similar, except obviously for the ROM base (drivers, htc registry settings etc)..

Fuze works with data OK, HD2 does not... you can see that, either it is a hardware failure (i also have a feeling that is not the case, but we can't be sure), OR, the issue is on the HD2-specific rom base, which differs on both EnergyROM roms.. (by the way, the WM os core base, is identical on both phones).
[HD2 General] cgrec92:
That makes perfect sense. I can tell you now that myself and others have had several exchanges of the phone and none work so I doubt it's a hardware problem.

But if it's a ROM base problem how is it possible that it can affect my phone, but someone else right next to me with the exact same phone and settings etc is unaffected?
[HD2 General] rodrigofd:
If you DO have someone with another HD2 next to you, and he really doesn't suffer the problem, were almost set! Just do a full registry dump to his phone and yours, and compare both dumps... We SHOULd be able to spot the difference... i believe there is a 80% chance the issue is on the registry... if you want, send me both dumps and i'll check them
[HD2 General] cgrec92:
Thought I had a solution but it didn't work, silly me
[HD2 General] Starfury:
Its a problem with Windows socket resources.
[HD2 General] cgrec92:
I've looked everywhere on Google no one has fixed this issue for the last 8 years
[HD2 General] rodrigofd:
Cgrec, you didn't reply my question.. do you have access to another HD2 that doesn't have the issue? can you make a registry dump on it and on yours? that could really be helpful....

my last hope is WP 7 is released, and with such new release, this issue is gone...
[HD2 General] cgrec92:
I don't really know the person who has the HD2 but he's in my department. I know he doesn't have the problem but then again he's on O2 meaning his ROM is different etc.
[HD2 General] rodrigofd:
Well, if by any chance you can manage to do what i said (get his registry) we might have a lead. i know might be awkward to get it, but it only demands 30 seconds...
[HD2 General] cgrec92:
Would it not be the same to ask of someone here in the UK on T-Mobile who's internet is working for a registry dump?
[HD2 General] rodrigofd:
Well if you do find one, could you ask him?? ..

Just use DotFred Task Manager, goto Registry tab, select root, right click, export all... and save to storage card.. that's it
[HD2 General] smittynotts:
Same

Same here, I'm in the UK Running Artemis 9.0 ROM. Drops connection all the time I have to reset at least 3 times a day.

Annoying as hell.