Android 3G/H radio and downloadspeed - Touch CDMA Android Development

Hi,
i use an pola200 with incubus13 atm. My provider is Eplus.
I changed the radio from 1.65.38.14 (back) to 1.59.46.12.
To do a really clean install without leftovers i installed a orginal Windows htc rom. I saw the H for the first time in the top bar.
Under windows mobile over tethering i had ~1300kbit download speed
Now back under android im very surprised, using the app xtremelabs speedtest i got:
2115,8Kbit/s DOwn
163,2 Kbit/s Up
So this seems like Hsdpa speed to me? Android shows 3G in the topbar....
Im very surprised that the radio flash did a great boost. My reception wasnt bad but now i got full bars and this good results in my opinion.
Also the pictures in market are shown very fast..
Could somebody confirm this speeds? Maby someone had the same effect

I've gotten excellent speeds when very close to a tower 2-3k kbps, but I normally get about 800-1k

dertester123 said:
So this seems like Hsdpa speed to me? Android shows 3G in the topbar....
Click to expand...
Click to collapse
It seems our libhtcgeneric-ril.so assumes everthing that is not GRPS or EDGE to be UMTS (3G): http://androidhtc.git.sourceforge.n...3b1236d4171ce30216d;hb=refs/heads/donut#l1536
What we propably could do is to try to figure out which response counts for HSDPA and change the code.

dertester123 said:
Now back under android im very surprised, using the app xtremelabs speedtest i got:
2115,8Kbit/s DOwn
163,2 Kbit/s Up
Click to expand...
Click to collapse
I need your help with some logging. In a terminal type this:
$ su
# logcat -b radio | grep "+COPS: "
It will display lines looking something like this:
D/AT ( 131): AT< +COPS: 0,2,"24005",2
D/AT ( 131): AT< +COPS: 0,2,"24005",2
I'm interested in the last number, we know this:
0 = GPRS
2 = UMTS (3G)
3 = EDGE
These are the numbers I've seen so far on my Kaiser.
So if you get any other number that may by HDSPA
EDIT: I think I found some useful information:
0. GSM
1. Compact GSM
2. UTRAN
3. GSM with EGPRS
4. UTRAN with HSDPA
5. UTRAN with HSUPA
6. UTRAN with HSDPA and HSUPA
Click to expand...
Click to collapse
From: http://www.shapeshifter.se/2008/04/30/list-of-at-commands/

Try the attached androidupdate.tar. It contains a libhtcgeneric-ril.so where I've changed what I think may enable the "H" icon for HSDPA.
Propably only works on Froyo at the moment.

kallt_kaffe said:
Try the attached androidupdate.tar. It contains a libhtcgeneric-ril.so where I've changed what I think may enable the "H" icon for HSDPA.
Propably only works on Froyo at the moment.
Click to expand...
Click to collapse
Anybody got it working? it remains with the 3G icon, although its speed is typical of HSDPA.

After applying update on Fresh Froyo I now get a "1x" icon where it used to be "3G".
The logcat command that k_k posted gives me a "4" as the last character.
It's been a long time but when I last had WM on this Kaiser it would mostly show an "H" connection here at home, so I guess the update is working. Not sure what "1x" means though..

kallt_kaffe said:
I need your help with some logging. In a terminal type this:
$ su
# logcat -b radio | grep "+COPS: "
It will display lines looking something like this:
D/AT ( 131): AT< +COPS: 0,2,"24005",2
D/AT ( 131): AT< +COPS: 0,2,"24005",2
.....
Click to expand...
Click to collapse
Sry im in another City the next days and here it only looks like UMTS Speed. But like richard_s said its seems to work

I drove around while capturing logs and saw 0, 3, and 4.
On a Windows Mobile phone, I saw G, E, and H.
That seems to confirm what others have seen.
I have not loaded the experimental RIL.

"1x" means 1xRTT or CDMA
Others are "3G", "E", "G", "H".
Of course, the symbol we are looking for is "H".
The following was gleaned from Fresh Froyo sources:
frameworks/base/telephony/java/android/telephony/ServiceState.java
packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java
frameworks/base/services/java/com/android/server/status/StatusBarPolicy.java
and
hardware/ril/include/telephony/ril.h
UNKNOWN = 0; "G"
GPRS = 1; "G"
EDGE = 2; "E"
UMTS = 3; "3G"
IS95A = 4; "1x"
IS95B = 5; "1x"
1xRTT = 6; "1x"
EVDO_0 = 7; "3G"
EVDO_A = 8; "3G"
HSDPA = 9; "H" or "3G"
HSUPA = 10; "H" or "3G"
HSPA = 11; "H" or "3G"
where "H" or "3G" is displayed based on
com.android.internal.R.bool.config_hspa_data_distinguishable.
That parameter is in device/htc/vogue/overlay/frameworks/base/core/res/res/values/config.xml, at least in Fresh Froyo. It is set to FALSE, so change it to TRUE if you want to see "H".

n2rjt said:
That parameter is in device/htc/vogue/overlay/frameworks/base/core/res/res/values/config.xml, at least in Fresh Froyo. It is set to FALSE, so change it to TRUE if you want to see "H".
Click to expand...
Click to collapse
Nope, it isn't as simple as setting the value to true in config.xml (and editing htcgeneric-ril.c), I still see 3G instead of H.
I'm going to bed. Maybe someone else can take over for a while.

I'm confused if "1x" means CDMA - I thought the UK was GSM only.
For me, using the modified RIL resulted in poor data connectivity and location information that was wildly inaccurate. I've reverted and both those issues have disappeared. May be it's coincidental - I'll try the update again later.

n2rjt said:
"1x" means 1xRTT or CDMA
Others are "3G", "E", "G", "H".
Of course, the symbol we are looking for is "H".
The following was gleaned from Fresh Froyo sources:
frameworks/base/telephony/java/android/telephony/ServiceState.java
packages/apps/Phone/src/com/android/phone/PhoneInterfaceManager.java
frameworks/base/services/java/com/android/server/status/StatusBarPolicy.java
and
hardware/ril/include/telephony/ril.h
UNKNOWN = 0; "G"
GPRS = 1; "G"
EDGE = 2; "E"
UMTS = 3; "3G"
IS95A = 4; "1x"
IS95B = 5; "1x"
1xRTT = 6; "1x"
EVDO_0 = 7; "3G"
EVDO_A = 8; "3G"
HSDPA = 9; "H" or "3G"
HSUPA = 10; "H" or "3G"
HSPA = 11; "H" or "3G"
where "H" or "3G" is displayed based on
com.android.internal.R.bool.config_hspa_data_distinguishable.
That parameter is in device/htc/vogue/overlay/frameworks/base/core/res/res/values/config.xml, at least in Fresh Froyo. It is set to FALSE, so change it to TRUE if you want to see "H".
Click to expand...
Click to collapse
Now, this actually makes sense. You see, I just assumed that since 3 was 3G, 4 would be HSDPA. This is the code I used for this in the experimental libhtcgeneric-ril.c:
Code:
switch(response[3]) {
/* GSM/GSM Compact - aka GRPS */
case 0:
case 1:
response[3] = 1;
break;
/* EGPRS - aka EDGE */
case 3:
response[3] = 2;
break;
/* UTRAN - UMTS aka 3G */
case 2:
case 7:
response[3] = 3;
break;
/* UTRAN with HSDPA and/or HSUPA aka Turbo-3G*/
case 4:
case 5:
case 6:
response[3] = 4;
break;
}
So I'm going to change "response[3] = 4" to "response[3] = 9", we may also need the config change in the Android source that you found. Great work!

Here we go again... try this one.

I made a similar change, actually adding cases for every possible value. I haven't tried your update but for me I found that the ril.so alone left me with "3G".
To get an "H" I had to edit one of the config.xml files and recompile the world. It took all night on my slow computer, but it works.
I think showing HSDPA separate from 3G will need to be done per build, unless there is a runtime method of changing configuration values. I know embedded software development in general quite well, but am inexperienced with Android in particular.
Sent from my Full Android on Vogue using XDA App

Looks like maybe framework-res.apk holds the configuration?
I don't know, this attached is probably still specific to DZO's Fresh Froyo.
It goes in /system/framework/framework-res.apk.

Nice that it works. I can push the changes to the repos. Most ported builds like the CM ports propably have it enabled in their framework allready.

Related

HSDPA sign

On my Kaiser I only can see the 3g sign - but when I change into data traffic it differentiates between 3g und HSDPA.
My TYTN showed me before I went into the data connection if I`m in a 3g or H (SDPA) area - is there a tweak or something which I can do to change this =
Thanks
Peter
Is there someone who can help - someone with another device but WM6 and HSDPA ?
something like htweakc of pimp my black should do it.
Do a search for them if you like
HKLM\SOFTWARE\OEM\RIL and set EnableHSDPAIcon to 1
In General you will be always in 3G ( or R99 ) whenever you are iddle.
When you are connected or initiate a data session you will be always in HSDPA unless there is congestion and in few cases you will be pushed to down to 3G according to a specific algoritm

Connecting to UMTS/HSDPA using AT&T

I have noticed that when I am connected to the fast cellular internet the sign constantly switches between 3G to H. Like every 15 secondes.
It's not that the connection is dropping it's just it is always changes from 3G to H. I am on At&T and would like to know if it happenes to someone else.
As I read, At&T suppose to have an HSDPA and since I am in big cities like Chicago and Washington DC, if there is HSDPA it should exists in these cities.
So?? anyone using AT&T + KAISER knows what I am talking about?
should be worried?
i see this behavior all the time with my Kaiser, Trinity and Treo and never worry about it... most often the i'll see the "H" symbol when i'm tethering or downloading a file from a website or i'll see the "3G" or "E" if i'm in an area of town that doesn't have a strong signal... i don't worry about this behavior unless it affects what i'm doing, e.g., lose my internet sharing connection. just my 2 cents...
cortezzi said:
i see this behavior all the time with my Kaiser, Trinity and Treo and never worry about it... most often the i'll see the "H" symbol when i'm tethering or downloading a file from a website or i'll see the "3G" or "E" if i'm in an area of town that doesn't have a strong signal... i don't worry about this behavior unless it affects what i'm doing, e.g., lose my internet sharing connection. just my 2 cents...
Click to expand...
Click to collapse
Thank u for your fast reply. I know sometimes the signal changes to E or even G if there is no high speed connection around but it seems that the H and 3G just changes every 15-20 seconds in areas with high speed connection. does it also happen to you? or anybody else?
alonmalka1 said:
I have noticed that when I am connected to the fast cellular internet the sign constantly switches between 3G to H. Like every 15 secondes.
It's not that the connection is dropping it's just it is always changes from 3G to H. I am on At&T and would like to know if it happenes to someone else.
As I read, At&T suppose to have an HSDPA and since I am in big cities like Chicago and Washington DC, if there is HSDPA it should exists in these cities.
So?? anyone using AT&T + KAISER knows what I am talking about?
should be worried?
Click to expand...
Click to collapse
I actually consider you lucky. At work in Menlo Park, Ca. I rarely get a 3G or an H... But I spent a couple of weeks going to SF every day and there I saw behavior very much like you describe. For me it seemed to want to switch from 3G to H as I was doing some sort of access like e-mail read or a download. Though that is probably just anecdotal as I didn't really make a study of it; just something I noted.
Cheers.
i have the 3g/H switch happening constantly as well. could this connection issue have anything to do with the sms issues (issue being sms works randomly), or totally unrelated?
Yep...this happens to me too.
alonmalka1 said:
I have noticed that when I am connected to the fast cellular internet the sign constantly switches between 3G to H. Like every 15 secondes. It's not that the connection is dropping it's just it is always changes from 3G to H. I am on At&T and would like to know if it happenes to someone else...
Click to expand...
Click to collapse
I'm in the Chicago-North Suburb area and I see it change all the time too. I get a lot of HSDPA connections. From my understanding, this is a good thing!
Though I'm by no means an expert on HSDPA, 3G, UMTS or any of these, it's my understanding that HSDPA will give you data bursts of up to 5 times the connection speed of 3G/UMTS.
TEC
What it means on my 8525
Hi Guys,
Don't worry, you are not having signal quality or connection issues. On my 8525 (Hermes) the switch to H from 3G simply means the phone is using the data connection at the H (HSDPA) speeds. It shows 3G when data is not being transferred.
Yup. It's sort of like a combination power/hard drive light on a computer. When the "H" lights up, data is being read and written over the high speed network. The "3G" means the high speed network is available, your just not sending or recieving at the moment. At the slower EDGE speeds, the "E" is just a power light, showing the network is available, but no indication when you are sending a receiving data over it.
Someone correct me if I'm totally wrong, but here are my thoughts:
The H would be displayed when the device is accessing HSDPA or HSUPA. The D stands for download and the U stands for upload, right? But AT&T only has HSDPA right now, and not HSUPA. So when you're in an HSDPA area and browsing the web or sending and receiving emails, when the device is receiving information (downloading), it's on HSDPA and the "H" is displayed. But then when it needs to send information (uploading), since there is no HSUPA signal it switches to 3G and the "3G" is displayed. Hence the constant switching on the display as the device sends and receives data.
Someone please give me a gold star, or tell me I have no idea what I'm talking about!
Here's a GOLD STAR!!
KCMatt said:
The H would be displayed when the device is accessing HSDPA or HSUPA. The D stands for download and the U stands for upload, right? But AT&T only has HSDPA right now, and not HSUPA. So when you're in an HSDPA area and browsing the web or sending and receiving emails, when the device is receiving information (downloading), it's on HSDPA and the "H" is displayed. But then when it needs to send information (uploading), since there is no HSUPA signal it switches to 3G and the "3G" is displayed. Hence the constant switching on the display as the device sends and receives data. Someone please give me a gold star, or tell me I have no idea what I'm talking about!
Click to expand...
Click to collapse
Not that I'm an expert either but THIS WOULD EXPLAIN IT!
Thanks
TEC
If you see the H then you are using HSDPA, if you see the 3G icon then you are using UMTS. The difference is speed and the fact that if you see the H icon it means you can use voice and data at the same time.
I can stream live TV from my Media Center using WebGuide (free) and as long as I have the H icon I can talk on the phone at the same time I'm watching TV but if it switches to 3G I loose my data connection until I hang up the phone.
Mine mostly stays on H but swithces to 3G when the HSDPA signal is lost. HSDPA isn't avalible every where that 3G UTMS is.
Also HSDPA is 3.5G and UMTS is 3G. Meaning with UMTS you can get downloads of 384 kbps to 768 kbps and with HSDPA you can get from 768 kbps to 1mbps.
This is how it is supposed to work kids...
The H only shows up when you are using HSDPA. HSDPA would kill your battery in no time if it stayed connected all the time. your phone is smart enough to only use HSDPA when it is actually sending/receiving data. Think of it as a power saving feature.
I'm in cleveland and i just see an "H" all the time... FWIW...
Jason Lee said:
your phone is smart enough to only use HSDPA when it is actually sending/receiving data.
Click to expand...
Click to collapse
But it only uses HSDPA when it's RECEIVING data, not SENDING. That's what HSUPA would be for (if AT&T had it yet). Right?
High Speed DOWNLINK Packet Access
High Speed UPLINK Packet Acess
KCMatt said:
But it only uses HSDPA when it's RECEIVING data, not SENDING. That's what HSUPA would be for (if AT&T had it yet). Right?
High Speed DOWNLINK Packet Access
High Speed UPLINK Packet Acess
Click to expand...
Click to collapse
That is correct. HSUPA should be coming soon according to Engadget: HSUPA
KCMatt said:
Someone correct me if I'm totally wrong, but here are my thoughts:
The H would be displayed when the device is accessing HSDPA or HSUPA. The D stands for download and the U stands for upload, right? But AT&T only has HSDPA right now, and not HSUPA. So when you're in an HSDPA area and browsing the web or sending and receiving emails, when the device is receiving information (downloading), it's on HSDPA and the "H" is displayed. But then when it needs to send information (uploading), since there is no HSUPA signal it switches to 3G and the "3G" is displayed. Hence the constant switching on the display as the device sends and receives data.
Someone please give me a gold star, or tell me I have no idea what I'm talking about!
Click to expand...
Click to collapse
Perfect.!! Downlink = Downloading (HSDPA).. Upload data by 3G as AT&T is not supporting Uplink = Uploading (HSUPA)... smart one..
I'm not sure it is that simple...
I live in Jacksonville an i neverget an "H" except when i used shap's rom on my 8525; however, i get speeds from 600 to 980, so is this extremely fast UMTS, or is Cingular just inconsistant with their labels?
exzist78 said:
I live in Jacksonville an i neverget an "H" except when i used shap's rom on my 8525; however, i get speeds from 600 to 980, so is this extremely fast UMTS, or is Cingular just inconsistant with their labels?
Click to expand...
Click to collapse
I also live in Jacksonville and found with the Tilt that I was only seeing the
3G icon and never the H icon until I installed KaiserTweak and set the HSPA option to enabled. Now I get the H icon but only during the data connection being active (e.g., sending a URL request and receiving the page load). The icon then turns to 3G when the Tilt sits "inactive."
Also just because you don't see the H for HSDPA doesn't mean its not working unless the REGISTY has the correct setting you will not get the H icon. the place is HKLM>Drivers>RIL>EnableHSDPAIcon = 1 (sometimes default is 0 which means you won't see the H icon)
Since my last posts on this topic, I now have my Tilt!
I am confused- why would AT&T not enable the "H" icon? If you are using HSDPA (and soon HSUPA), wouldn't they want you to know it?
Maybe they are afraid it will confuse people. They just want to market "3G" and people to understand it and see that icon, whether they are on UMTS or HSDPA/HSUPA?

tmobile data categories question

Hi all.
I'm under the impression that umts = 3.6mb and hsdpa = 7.2mb and hsdpa+ = tmobiles sexy new 21mb service.
Am I right? I'm asking because my phone switches to hsdpa from umts only when I'm using data. Its always hovering on umts when I am on 3g.
Thanks!
With cm rom I also saw the fluctuation. 3g was umts and the h was hsdpa right?

Bit confused with GSM/WCDMA in Galaxy S

I am seeing GSM/WCDMA in the network mode on my Galaxy S. Is this different from UMTS? I think GSM-UMTS is the right wording? I am in India.
in simple human non tech terms
WCDMA = UMTS = 3G = Data
GSM = voice
ok... my telcom operator website says hspa is faster than wcdma ...so wanted to cross check... thanks
AllGamer said:
in simple human non tech terms
WCDMA = UMTS = 3G = Data
GSM = voice
Click to expand...
Click to collapse
Isn't it
WCDMA = UMTS = 3G Cell (voice + texts)
GSM = 2G Cell
HSPA = Data
I've had my phone connected as UMTS where I had no data but was sending and receiving texts. Although the most interesting of all is when instead of an H I had a G when Bell doesn't have a GSM network...
yes & no
you are right in some stuff, and that's how people gets confused by all the different techno terms
HSPA = 3.5G and it needs WCDMA for it to work
Text as in SMS doesn't need 3G, any GSM can do Text, but again that's complicating things
2G is better known as EDGE on marketing and Sales people talk, it's so uncommon to hear or see an advertisement say "blah blah blah and we offer 2G Data!" 0_o
there are more.... but anyways lets keep things simple

[Idle] HSPA info shows both 0, need help to change it to 1

Using I9000 australia (optus branded before) and I'm on Ficeto's JVH Base Rom
pda: I9000XWJVH
phone: I9000ZSJPG
csc: I9000XEEJV3
As the title say's when I input *#301279# and select [1] display hspa info it shows both 0. I tried to select [2] CHANGE HSPA REVISION ---> [3] RELEASE 6(HSDPA/HSUPA) appears "CHANGE_REL5 HASDPA ON, HSUPA ON" but if I tap on it nothing happens.
But I have an icon of H/3G near the signal bars and I can surf the net.
I want to change it to 1 because it is a requirement on CM7 before flashing.
Please help me. Thanks in advance
It is not a "requirement" before flashing, it is simply because you will not be able to turn it on once in cm7.
If you can see H next to your signal bars then HSPA is probably activated anyways.
The comment about activating it is just for people who may have deactivated it before and would want to activate it after flashing cm7. (since you would need to flash back to stock to do so)
If it always was at 0 and you didn't mind, then it probably doesn't matter.
Edit: also, please don't start a thread AND post the question in the cm7 Q&A, it's a bit redundant.
If you really want to change it to 1, then I can't help you (I don't have stock rom to test), so wait for someone else to answer.
Apology on posting a new thread and thanks
I just checked and my HSPA info is HSDPA: 0, HSUPA: 0
but like you I also get "3G" or "H" icon in status bar and have no problems with data connection. Sorry I couldn't be much help.
MrIwik said:
I just checked and my HSPA info is HSDPA: 0, HSUPA: 0
but like you I also get "3G" or "H" icon in status bar and have no problems with data connection. Sorry I couldn't be much help.
Click to expand...
Click to collapse
I just checked again after changing modems and it now is HSDPA: 1, HSUPA: 1

Categories

Resources