yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
Just to clarify - phones that support HSPA (3.5G) will fall back to standard WCDMA (3G), then to EDGE (2.75G), then to GPRS (2.5G) for data depending on signal strength and carrier.

In an earlier post (lost with the DB crash), I surmised the problem might be a bug in switching between some of these rates. It could also be a problem switching WCDMA bands - most carriers use one band for inner city, and another band for fringe.

FYI, I'm on a 1900/900 network, so with Keatonm on 850/1900 network, we see that the problem occurs on both versions of the Galaxy S radio (900/1900/2100 and 850/1900/2100).

My phone has been frustratingly well-behaved for the past couple of days, so I've not been able to collect any relevant logs.

If anyone who has the problem frequently wants to help, the following version of my logcat script will work on stock handsets:

date=`/system/bin/date +%Y%m%d-%H%M%S`
if [ ! -d /sdcard/logs ] ; then
/system/bin/mkdir /sdcard/logs
fi
/system/bin/mkdir "/sdcard/logs/${date}"
for buffer in main radio events ; do
/system/bin/logcat -f "/sdcard/logs/${date}/${buffer}.log" -r 1024 -n 1024 -v long -b ${buffer} '*:V' &
done

You'll need to install and open ASE or SL4A, then just add a new 'Shell' script, and paste the above code in.

Run the script, and leave ASE/SL4A running in the background. You'll need to run the script every time your phone turns on (you can do this manually, or use Tasker with ASE if you have it).

The script will create a new directory in /sdcard/logs with the current date and time (the date/time might be in UTC, but that's okay), and write all the standard system logs to this directory.

When your phone goes into a coma and you reboot, we should be able to grab the last set of logs, and when we have a few log sets, make some correlations to see if there's some common set of events related to the coma.
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
how did you disable 2G ?

is that even possible? because we can't even disabled 3G without disabling data all together, on other phones people can switch between 2G or 3G, but not in SGS
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
Settings -> Wireless and network -> Mobile networks -> Network mode -> WCDMA only
[Galaxy S I9000 Q&A, Help & Troubleshooting] Keatonm:
so then, Spoidar, does HSPA run on a WCDMA band? And 3G connects on another? (Say, 850 band 3) I'm connected to it right now (H in the status bar) and my status says the same WCDMA 850 Band 5.

And as for "Settings -> Wireless and network -> Mobile networks -> Network mode -> WCDMA only"... I don't even have that option. Limited by the SIM I suppose? I can change my band selection with *#2263# though. Still have the H when WCDMA band only is selected.
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
3G == WCDMA, and as to how HSPA works - it's complicated (and it depends on which HSPA variant is implemented), but it is essentially just an extension to WCDMA that allows higher data throughput.

Yeah, either SIM or firmware...
[Galaxy S I9000 Q&A, Help & Troubleshooting] Modified_Grays:
what Apps do you have installed?

Gtasks

GPS Toolbox

Asphalt5

AnDrawing

Krazy Kart Racing

SGS Unlock

SNesoid Lite

AnDrawing PRO

LastPass

Facebook

Robo Defense

Google Earth

Google Listen

Advanced Task Killer

Angry Birds (Beta)

c:geo

Dolphin Browser

APN OnOff

which phone carrier?

Bell Canada

what APN settings?

APN = inet.bell.ca

Proxy = web.wireless.bell.ca

Port = 80

what type of SIM card?

The SIM card that Bell gave me. (This is my first Smartphone and SIM)

ROM firmware version?

JH2

Lag Fix, No Lag Fix?

No Lag Fix....never rooted the phone either.

Just turned APN back on and here is what the signal state is:

UMTS: HOME(CS+PS)

RRC State: IDLE

WCDMA 1900 Band 2

Reg PLMN 302-610, IsPCS? 1

FREQ DL:537

FREQ UL:137

CELL_ID:0x4b45afa

LAC:0x2bc4

PSC:1a8

RSCP:-106, ECIO:-8

As I was typing out the signal state, the CELL_ID disappeared several times and the FREQ UL: changed to 162

I'll leave the phone on in ServiceMode and see if it will freeze up.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Modified_Grays:
Managed to get the phone to go comatose, with the ServiceMode still on the screen. Here is what is shows:

Time of the coma: 12:01am

UMTS: HOME(CS+PS)

RRC State: DCH

WCDMA 1900 Band 2

Reg PLMN 302-610, IsPCS? 1

FREQ DL: 562

FREQ UL: 162

LAC: 0x2bc4

PSC:1a8

RSCP:-104, ECIO:-8

***********

For the last 40 minutes I've been experimenting in my basement with the ServiceMode on. While sitting in one spot, I can get 3 different CELL_ID's to show up, sometimes the CELL_ID isn't even listed on the screen, the phone will switch between "1900 band 2" and "850 Band 5", signal will range from no signal to full bars. Data connection will mostly show "H", sometimes will switch to "3", PSC switches between 1a8 & 1b2, RRC State switches between "idle" & "DCH" & one other that I wasn't able to write down.

My home is right at the city limits of Calgary, and it is at home where I have the biggest problem with comatose phone. Not sure why I get three different CELL_IDS....phone can't make up its mind which tower to use?
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
seems like we are on a nice track, it might be related to CELL_ID having trouble to lock on, causing the comatose problem?
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
same here, it doesn't show up on mine.

running JH2

maybe it's a froyo only thing? or related to SIM cards?
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
Maybe, I've been saying for a while it's likely radio-related. Just wish I could get my phone to coma so I can collect some logs :(

I'm on JM8, but pretty sure I had it on earlier firmware, so it may be sim-related. I don't think anyone who's experienced the problem has tried a 2.2 ROM yet to see if it's resolved...
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
Or not in Canada at all, but around the world. We were here too!
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
Phone Dialler enter *#*#4636#*#* > Phone Information, down the buttom you can force one network type. GSM/WCDMA for me (that is, default).

I seem to have a new problem after going to my APN, last twi times I plugged my phone into the charger it reset. Plain reset. Getting kinda sick of this.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Vertumus:
Up time 52h and counting without comma state. Apn off with quick settings apk, so its something related with mobile data
[Galaxy S I9000 Q&A, Help & Troubleshooting] PatcheZ:
open the dialer and enter the phone code:

*#*#197328640#*#* for service mode

and then navigate to the band selection menu

(1: debug, 8: phone control, 7:network control, 2:band selection)

select wcdma band (instead of automatic)

Or...

you can download SGS Tools-> Secret Codes->Service Mode, Debug, Netz, Audio, Common

Other secret codes (not sure why they're "secret" btw) can be found here
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
setting it to GSM only will still produce 3G/H

setting to WCDMA only will also keep it on 3G/H

i tried both

obviously i can't try CDMA only as this is not a CDMA phone
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
this works

this is the first time EVER! i've seen EDGE icon on my status bar, since i got my phone Wow!! :eek: :D

it's been a long while since i've seen that way back on my old phones

Blackberry always shows E, even though they have 3G capability
[Galaxy S I9000 Q&A, Help & Troubleshooting] PatcheZ:
lol, you win! i have NEVER seen it (with telus aka belus network);).

i was actually going really well with the disabled 2G/EDGE (3-4 days with no crashes), but it has happened a few times since installing the NoLED notification app. no idea if they're related.
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
i have NoLED installed as well, even though i don't really use it

it's handy to see pretty colours blinking on screen when i'm too lazy to click on the phone to see what i missed :p

i still have not had my first taste of the comatose problem yet, so i'll be keeping an eye on it for when it does happen, so that i can run several test on it
[Galaxy S I9000 Q&A, Help & Troubleshooting] border43:
So is this supposed to fix the coma problem?

Please tell me so haha
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
Well since I added the APN again it has not locked up but rebooted 2 times when plugged into the mains and just now while I was at the home screen, gone into a reboot loop again. Something that seems to only happen when APN enabled.

That is however also a problem I had with my Motorola Milestone on Android 2.1-update1 so I can not exactly blame Samsung.

If 2.2 does not resolve all this I am giving up on Android, and that is an unwanted scenario.
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
I was thinking of making a video this week to show exactly how I can get my phone to coma.. Since I got a new point and shoot today I thought it could be my way to test out the video capabilities haha.

I'm not giving up on Android.. I am going to give up on Samsung if they don't fix this problem. My buddy has the HTC Desire and he has no issues with that phone. I'm almost tempted to go that route if it doesn't get fixed.. but then I feel like I'm jumping backwards.. kind of like if I decide to go back to Blackberry. Worst case scenario maybe I can suck it up and wait for a Desire HD or something.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
http://xdaforums.com/showthread.php?t=676402

And I had similar with my Motorola Milestone...
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
If you can reproduce the problem reliably, please consider running my logging script and collecting a few sets of logs for the problem - I haven't been able to produce a coma for the last few days, so it may take weeks for me to collect 3-4 log sets for correlation.
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
I read your instructions for the script but it didn't really make much sense to me.. do I install SL4A on my phone and follow the instructions that way? I can just google SL4A download and install it on the phone OTA?
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
I was out with my buddy at Bell and our friend who is a Manager at one of the Bell stores last night and we were talking about the SGS..

For her store, they have been getting a way above average return rate for the phone due to numerous of reasons (She did mentione the random reboot and freezing issue were one of the most common reason). Her Samsung rep talked to her recently about this problem and he said that the new batches of SGSs that has been shipped to the stores has FIXED the issues.

So from the Rep's mouth, the DOA replacement I'm getting tomorrow should fix the issue, but I'll believe it when I see it.
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
what exactly did they fix? hardware? new firmware?
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
I didn't ask her the details.. but the Rep says it has fixed the issues in regards to the abundance of returns.

We'll see if it's true tomorrow.
[Galaxy S I9000 Q&A, Help & Troubleshooting] striker456:
I wonder if I should get mine swapped with a new one..
[Galaxy S I9000 Q&A, Help & Troubleshooting] MadWhips:
Probably wouldn't hurt if you are able to swap to a new one, striker456, esp as there's a chance that these new batches are 'fixed' as the Samsung rep claimed. I'm very curious to see if these new ones are JH2 or something else.

An update regarding my phone - I have been back in Ontario now 3 full days. APN has been ON the whole time, and no more comas. For me, the problem definitely has some correlation with being in Calgary. It does not freeze anymore.

As I feel this doesn't seem to have any connection with any additional non-standard apps, I have gone back on a frenzy of adding apps like crazy including betas (skyfire.) I have added about 30 apps over the past couple of days, and phone is running fine. My uptime widget currently shows 3 days, 19 hours, and 31 minutes since last reboot .. which was my last crash at ~4pm Calgary time on Sunday.

This was asked by others in this thread before, but I thought I'd bring it up again. Is there anyone who has this problem that has done a full-factory wipe / reset / deleted everything and then left the phone in out of the box state and then still subsequently seen same comatose behaviour?
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
Yep, me. Although by now I only remember it doing reboot loops before I relented and installed things again in despair. The frozen state I no longer remember.

I'd be pretty damn angry if I need to send this second handset in as this time I will get a refurbished unit.. Incidentally I am leaving APN on now but only on EDGE to see if that works out.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Vertumus:
But i really dont understand why u didnt simple asked is it softw or hardw...cmon
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
skyfire is my main browser, i simply can't find any other that can beat it.

back on topic, well it's really strange, so what is different on the towers over at Calgary, that causes the comatose phones?
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
No idea.. I'm going to try and do my DOA replacement today since I have to go into the office tomorrow for a couple of hours.. that way I can test it out to see if the new batch of phones is REALLY fixed..
[Galaxy S I9000 Q&A, Help & Troubleshooting] d7me:
try this

(applications)>> Google Mail>> press(options button)>> accounts>> press (options button) again>> Account settings

uncheck the first option which is (Background data) and hit OK

^^^^ i did this to my SGS and had no problem for 27 hours so far ,, :)
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
That's correct, it's here.

In other news, I had a coma yesterday, and I can confirm that this problem is a serious crash - I connected the phone via USB, and whilst USB had power, the kernel was not responding to negotiation.
[Galaxy S I9000 Q&A, Help & Troubleshooting] striker456:
i did the service mode selection for wcdma only and no coma yet, been about 24h.
[Galaxy S I9000 Q&A, Help & Troubleshooting] lgkahn:
Using sgs here in new Hampshire on at&t... allgamer got me the phone... I still have a euro sgs sitting in box. I wanted 850 3g. We do have areas with no 3g and the phone does go on edge here fine... no freeze issues. Only time euro model froze was when using set CPU and tried setting it to on demand instead of conservative mode.
[Galaxy S I9000 Q&A, Help & Troubleshooting] fade496:
Telus owns the towers in the west. Bell owns the towers in the east.

Not sure but the bell/telus tower share agreement might not be 100%. Maybe bell has more dead spots out west, while telus has more dead spots out east.

More low signal areas could mean an increase in the probability of comas.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Modified_Grays:
I installed SL4A, created a new shell script and pasted your code in.....now I've got questions/problems:

1) In your code, I assume that is a typo and the 4th line of code is meant to be an "if" statement and not "fi"

2) When I run the script....it runs and then a few seconds later it exits. This doesn't seem correct...I would expect that it would run continously in the background.

3) When I run your code....no directory of log files is created on my SD card. However in the /sdcard/sl4a/ directory, there are two log files: "Logcat.sh.log" and "null.log". (I named the script "Logcat")

What am I doing wrong? Am I missing some code, or is my feeble brain unable to follow your directions?
[Galaxy S I9000 Q&A, Help & Troubleshooting] Modified_Grays:
Which Bell Store in Calgary have you been dealing with? Mine has been freezing continously lately....so if I got to return it I would like to deal with a store that is familiar with the problem. Note: that freezing issue isn't there when I turn APN off.

Also, does anybody know where it is written that Samsung/Bell have extended the DOA policy for the SGS from 30 days to 60 days?
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
Hey, yeah we have the same problem then. with APN off my phone is money.

I'm dealing with the Bell Store in Shawnessy and the Bell Store in Southcentre. The Southcentre store has been getting LOTS of returns based on the problems that's probably talked about in XDA. But our problem is definitely a common issue and reason for return.

I didn't know anything about the 60 days DOA until I read it on Hofo. Then I asked my Bell friends and they said that is indeed the case. It is now 60 days for replacement DOA.

I didn't have time to do my replacement today, so I'm going in tomorrow to do an exchange.
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
Please report which firmware/modem you get - if people are exeriencing the problem on the same versions (and the problem is resolved for you by the new handset), then we can pretty safely assume it's hardware, and all go and get replacements.
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
Will do!
[Galaxy S I9000 Q&A, Help & Troubleshooting] striker456:
I went to get a new phone today. All out until next week. The guy said sammy has had a hold on shipments for the past couple weeks.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Vertumus:
Please update. Did u expirienced comma still or everything is ok now after all?
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
Hey guys, I just did my DOA.. pretty much walked in, my buddy called a number, gave them the new ESN and it was done. Took maybe 20 minutes to have everything transferred over to the new phone.

Unfortunately I'm not at the office today so I can't truly test if the coma issue is gone.. I'll find out on Monday for sure. But I will try to coma the phone this weekend to see if the issue's been fixed.

Here is the info on the new phone out of the box.

Baseband Version - UGJH2

Kernel Version - 2.6.29, Darae.ahn@sep-20 #2

Build Number - Eclair.UGJH2

I don't remember what the kernel version on my old phone was. Can someone verify to see if it was the same?
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
Looks like that kernel was built only a few weeks ago!

Mine is Baseband I9000xxJM1

Kernel 2.6.29 root@SE-S603 #2

Build ECLAIR.XWJM2
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
Well that is a good sign.

I've been playing around with it to see if I can find faults to it.. so far I haven't been able to coma the phone.. but like I said, I won't know FOR CERTAIN until I get into the office on Monday.. but so far, I haven't had any problems.

Will keep everyone posted if something is up.
[Galaxy S I9000 Q&A, Help & Troubleshooting] charsplat:
It should be "fi" not "if" on that fourth line. If you changed that I expect that might be why it quits on you there.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
I really hope its ultimately software. Though that sounds quite unrealistic given the small subset who seem to be having problems.
[Galaxy S I9000 Q&A, Help & Troubleshooting] border43:
I really hope it is software as well. If it not software, then I really hope that my warranty is actually extended to 60 days, because my 30 days just ended. If it is hardware, and I can not get my phone replaced, I will be super pissed off.
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
It is extended to 60 days. Bell reps have to call another department or whatever once it went past the 30 days.. but like I said, there were no issues with the exchange. So if your phone is acting up and it's before the 60 days, get the Bell guys to know you're looking for an exchange.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
You guys get really screwed in the US huh? I got a year on warrantee with the shop, then a second with Manu. Europe has to be good for something I suppose :P
[Galaxy S I9000 Q&A, Help & Troubleshooting] brunes:
So, I was having this problem constantly. But the other day I flashed the backlight notification kernel with VooDoo integrated. Since I did that, my problem has vanished. Makes me wonder if it all has to do with the 2.6.29, Darae.ahn@sep-20 #2 kernel that ships in JH2. I was having this problem constantly before, now not at all.
[Galaxy S I9000 Q&A, Help & Troubleshooting] MrPhoneMan:
Frustrated ... called for phone replacemnt

Well... bought my phone from best Buy, called them today and they are referring people to Bell for replacement...called Bell and they said it's Best Buys responsibility...LOL talk about a run around...anyway...they both acknowledged there is a problem with the phones shutting off. Called Best Buy back and spoke to manager who owns the same phone...he said he has the problem too and the only solution is the new upgrade. He said he has replaced phones for people but they just returned those again...so there is no sense in replacing the phones. So, Best Buy are telling customers about the issue prior to them buying any more of these phones...kudos to Best Buy. So I decided to call Samsung support this evening and they acknowledged the problem too, and said I have to wait for the new firmware, expected to be released now in the next 2 weeks according to the Samsung rep...funny also the Bell tech support are still suggesting I send my phone back to Samsung for repair and get a loaner for $25...LOL wow...a new phone only a month old and I have to send it to Samsung for 6 weeks...not going to happen!! :mad::eek:
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
see, that explains the phone SGS shortage in Canada

everyone returning for a new one, meanwhile the rest are stuck in Repair Center
[Galaxy S I9000 Q&A, Help & Troubleshooting] d7me:
sadly .... it didn't work :(

it went to comma in the next day
[Galaxy S I9000 Q&A, Help & Troubleshooting] renerz:
Similar story. I went to get the DOA exchange today (Launch day customers like me only have a few days left, even with the 60 days). I went to Northland Mall (Calgary) and the bell guy knew exactly what I was talking about. Alas, no phones available. Took my name.

When I went out to my car I called most of the other Bell stores in Calgary. All out of stock. As soon as I asked the guy who answered the phone at Chinook if they had any SGS' he asked if it was for a DOA exchange. Heh.

The only interesting bit is you need to EXCHANGE before 60 days, not just "be on the wait list"..... so my time might run out. Hopefully the firmware patch will fix it. Ugg.
[Galaxy S I9000 Q&A, Help & Troubleshooting] nailerr:
This is what I was hoping to hear because the support line for Samsung in the UK has mostly been... Not technical support. Perhaps I am expecting too much from people who are not the actual engineers, I dunno, but they say they are unaware of any such issue and its broken, send it back, again, at my expense. Again.

All I wanted to hear was "wait for an update" to stop my teeth being ground down.
[Galaxy S I9000 Q&A, Help & Troubleshooting] MadWhips:
Is it confirmed then that coma problem disappears completely with this kernal change?

Has anyone else attempted this fix and also got positive result?

(This would confirm to everyone its software flaw that can also be fixed by Samsung with firmware update)
[Galaxy S I9000 Q&A, Help & Troubleshooting] bestbeancounter:
Where do I go about getting this "VooDoo" fix? I can try and install it tonight so I can fully test the phone in the dead zone (aka my office) tomorrow.

Edit: is it the Voodoo Lagfix in the Android Dev forum? once it's confirmed I'll install it and test it tomorrow.
[Galaxy S I9000 Q&A, Help & Troubleshooting] spoidar:
Nope - 'fi' is the terminator for an 'if' clause in POSIX.

The script spawns three logcat instances that run in the background, then exits. The only reason you need to keep SL4A running is that I think if you close it, it will kill all the child processes.

Hmm, that's odd - the directory created should be /sdcard/logs... is there anything in the Logcat.sh.log or null.log?
[Galaxy S I9000 Q&A, Help & Troubleshooting] BiAlH:
Task manager