yashsingh1/xdaforums huggingface dataset:
[G1 Android Development] PeeHoo:
hi you all!

I've HD2 MDJ's Android rom for daily use. I am quite happy about it but there is one feature which is, I think, depended on Android platform - not ROM.

My basic problem is that I do not have a strong cellular network coverage and it is really frustrating when phone is trying to get Hspda connection instead of staying 3G.

However I haven't found any solution to force phone NOT to try Hspda connection. Even old Nokia phones have option to avoid Hspda.

I am not sure but would this be possible? Came my mind after read this thread...
[G1 Android Development] RogerPodacter:
i think you are confused. not even old nokia phones can force to use 3G instead of HSDPA. no phone has ever been able to do that to my knowledge.

phones can only force to use 2G GSM, or stay on 3G/HSDPA. but 3g and hsdpa cannot be seperated apart, they are together as a technology and no phone has ever been able to block hsdpa but keep 3g UMTS that i'm aware of.
[G1 Android Development] PeeHoo:
Ok... but do I really remember wrong that WinMo phones has that option... I am quite sure there was...??!!
[G1 Android Development] RogerPodacter:
Oh maybe, I never used windows mobile. If so they prob were the only OS to do that to my knowledge. I don't think there's a way on android that I've heard.
[G1 Android Development] RogerPodacter:
Besides, what difference would there be to only using umts in a low signal situation? Hsdpa or umts, its still the same identical cell site, tower, and technology you'd be connecting too. Why would umts be somehow better?
[G1 Android Development] PeeHoo:
Only reason is that when phone is trying to get hspda connection "handshaking" and it takes always secs... and sometimes even more... this handshaking actually consumes lot of battery...

And I just check... f.e in winmo there is an option to disable hspda aka use only 2g & umts.
[G1 Android Development] R3N0V4D0:
heres my latest screenshot with my config :)

yes im using a G1 :D
[G1 Android Development] jpzzle:
whats' your configuration?
[G1 Android Development] R3N0V4D0:
ro.ril.hsxpa=3

ro.ril.gprsclass=32

ro.ril.hep=1

ro.ril.enable.dtm=1

ro.ril.hsdpa.category=14

ro.ril.enable.a53=1

ro.ril.enable.3g.prefix=1

ro.ril.htcmaskw1.bitmask=4294967295

ro.ril.htcmaskw1=14449

ro.ril.hsupa.category=8

ro.ril.def.agps.mode=1

ro.ril.def.agps.feature=1

ro.ril.enable.fd.plmn.prefix=23402,23410,23411

ro.ril.enable.sdr=1

ro.ril.enable.gea3=1

ro.ril.disable.power.collapse =0
[G1 Android Development] wild_eyes:
I have CM7 and I am newby do not understand the procedure.

could you please clarify how can I find and use terminator also

explain more how I can use Notepad++ to do change and to change what part from where?

thanks
[G1 Android Development] ivanmmj:
Changed

ro.ril.hsxpa=1

ro.ril.gprsclass=10

to

ro.ril.hsxpa=2

ro.ril.gprsclass=12

And I had a MASSIVE speed increase. From 300k with full bars to over 1mbps on ONE bar... (at work so there's barely any signal.) (the test that I took finished too fast so I wasn't able to see how fast it could get.) I'm going to try a different test.
[G1 Android Development] jubeh:
I think this was very related to an earlier thread where a guy claimed that KingKlik's roms were faster in 3g and were indeed running true HSDPA as opposed to basic UMTS.

I pointed out that with a hero rom (which was an european version) that I had hastily made I noticed the network change from E to 3G and then to H and back to 3G as I moved around my room.

I thought there'd be something to those values in build.prop but didn't know what to replace it with.

Is there a way we can get some other values for hsxpa and gprclass to see if we get additional modes other than the current values 1:10 and 2:12?
[G1 Android Development] prscott1:
I made the change on Eugene's eclair, my results don't reflect any improvements. I did three tests using speedtest.net app before and after with the phone in the exact position/location:

download / upload (kbps)

before change:

587 / 398

588 / 385

748 / 385

after change:

653 / 398

509 / 380

590 / 383

I'll try it on a donut ROM next.
[G1 Android Development] Geniusdog254:
This should be universal. I have AT&T 3G new in my area so it isn't like it is a massively overloaded network. I usually get about 1500-2000kbps down & 200-300 kbps up so I will try this & test it.

Also, it all comes down to if you have HSUPA or not. 3G is UMTS, ~350kbps down/up max. Then there is 3.5G, which is HSDPA & HSUPA. HSDPA allows the 3200kbps down that is the typical theoretical max in North America but most European networks use 7200kbps down max. HSUPA does the same thing but for upload speeds only.

I believe that in most places where you have AT&T HSDPA you have HSUPA also. Just my $.02...
[G1 Android Development] c2tmdsn:
before:

880 / 171

after:

779 / 144
[G1 Android Development] jubeh:
And there's a map for that! :D
[G1 Android Development] Stimpoff:
New theory:

maybe

1 mean HSDPA 3,2/UMTS

2 mean HSDPA 7,2/HSUPA

in some US some of new sites are 7,2mbit capable some older not. Therefore some users has improvement some not.

HSUPA is different technology not all networks has that feature.

Our small network in our small country is 14,4 Mbit HSDPA/5,7Mbit HSUPA :-))
[G1 Android Development] Muse.Invincible:
On Vodafone Australia:

Without mod -

Download: 2394kbps

Upload: 399kbps

With mod -

Download: 2864kbps

Upload: 406kbps

Had to do mod test twice. First time was same speed, second time is what I got above.
[G1 Android Development] ohgood:
it beats edge !

i was on att, with edge. so this is fantastic stuff. i'm faster with 3g than with att dsl.

OUCH
[G1 Android Development] daewond3r:
Results using speedtest.net app:

Before

DL: 484 kbps

UL: 217 kbps

After

DL: 1493 kbps

UL: 200 kbps
[G1 Android Development] Christopher3712:
I didn't test before, so i'm not quite sure what it was. I ran 3 tests AFTER and got these results:

1779kbps/350kbps

1830kbps/381kbps

1841kbps/306kbps

Seems pretty quick to me.
[G1 Android Development] fenixnr:
We don't have 3g here so I tested it on edge:

Before mod:

90.7/49.2

After mod:

100.0/40.8
[G1 Android Development] Proxin:
I thought Cyanogenmod started off as a collection of the best modifications.

Now everyone is coming out with better modifications to Cyanogenmod files. And they're not included in the newest CM releases.

What's up with that?
[G1 Android Development] archangelugp:
Changed the lines needed in build.prop

Tested with XtremeLabs Speedtest

Before:

down 401.8

up 135.6

After:

down 605.7

up 139.3

Two bars, T-Mobile LA area.

EDIT: This is on Eugene's ASOP19 rom.
[G1 Android Development] phorkz:
used the script, SF bay area on ATT 3g with 2 bars, Rogers HTC Dream with CM 4.2.7.1

before(avg 3 test)

down: 1566

up: 335

after

down: 1855

up: 336
[G1 Android Development] Stimpoff:
This was discovered yesterday you can't expect that it will be in last version of cyanogen mod. It should be tested for some time anyway. That is purpose of this thread.

Important question is if changing of radio setting has some negative impact to US users. I really don't know why TMO US ROM has different setting than EU ROM setting.

Up to now I see improvement or same but NO degradation and that is very promising...

keep testing...I am waiting for EU users results
[G1 Android Development] jubeh:
Perhaps unrelated, but the last few days I've seen my network speed degraded (downloading at about 400 kbps) on 3g. I've used 1 GB so far this month, so it might be some kind of network throttling. I normally download at around 1600 kbps on 3g. This didn't change that, so maybe when next month starts (10 days)
[G1 Android Development] jad011:
so this only works with at&t?
[G1 Android Development] Archont:
I gave it a try at my parent's house, I guess there is no HSUPA here so I had 1800/150kbit before and after the mod.

Tomorrow I will be back in my own flat, and I guess we have HSUPA there, I will check and report here.

Greetings from Austria (Europe).
[G1 Android Development] Geniusdog254:
Do people read anymore? IT IS UNIVERSAL BUT NOT EVERYONE IS GUARANTEED RESULTS!!
[G1 Android Development] Sirus20x6:
before: 164 down, 80 kbs up

after: 235 kbs down, 80 kbs up

average of twice each time
[G1 Android Development] jklong03:
T-Mo throttles?

That is an interesting idea. I have the unlimited G-1 Plan but even with 4 bars and 3G coverage, I only see about 350K as the best download speed both with and without the patched build.trout.prop. :(

Could they be lowering d/l rate due to my high Internet usage on my phone? :confused:
[G1 Android Development] amirnew:
what about hero roms?

Amir
[G1 Android Development] jubeh:
found another property inside hero's build.prop:

ro.ril.hsupa.category=5 (it's set that way)

so maybe we can manually specify hsdpa and hsupa as opposed to hsxpa, I wonder about the 5 though
[G1 Android Development] vikings1928:
Jklong03,

I just found out through T=Mobile that there unlimited plan is not unlimited. They have a 10gb cap limit on there plans. i had found this ouy because i went over and I got a text from them saying i will not be charged any overage but my speeds will be lowered from 3g to edge. It sucks but Verizon and Sprint have a 5gb limit snd they charge overages.
[G1 Android Development] coolbho3000:
How can you be using AT&T 3G on an ADP1?
[G1 Android Development] shagge68:
I won't speculate on theory to why Cyanogen isn't respectfully reaching out to improve but I will say that if you want to use an amazing ROM that is truly pushing what your device will do start looking at @wesgarner's HERE. He is doing some great work that is extremely stable and blazing fast.

Build 8 will include a similar if not the same enhancement.
[G1 Android Development] Geniusdog254:
Lol ignore my signature I used to have an ADP1 but when AT&T put in 3G here I couldn't live without it so I got a Rogers Dream unlocked. Maybe I should update my signature seeing how it still has ADP1 & JF v1.4 :rolleyes:
[G1 Android Development] pinetreehater:
My question exactly. We just got AT&T 3G here and I am so hating not having access on my ADP1.....
[G1 Android Development] vigan8:
download 1747.7

upload 382.9

download 2911.3

upload 159
[G1 Android Development] brian_v3ntura:
how do u install using terminal? i could nvr get ADB working on my computer.

EDIT: i used http://xdaforums.com/showpost.php?p=5081309&postcount=7036 but isnt this just to back up ? well anyways

BEFORE: (using speedtest.net app)

976 kbps download

381 kbps upload
[G1 Android Development] cl2eep:
I'm not to familiar with how towers work in relation to the phones, beyond what bands have what speeds, so forgive me if this is ignorant, but I do know that in many areas, T-Mobile's towers are already HSDPA, they just haven't officially announced it. Could this somehow be exploiting that, at least in the US? I'm pretty confident that this gave me improved speeds. I ran my speed tests simultaneously my buddy's G1 and mine several times, and each time mine beat his. It was in my apartment, which gets two bar 3G. Averaging out of 3 tests:

Me:

900 down

200 up

Him:

500 down

128 up

Mine actually hit 1200 several times, and I never saw his go above 560. I'm going to do more tests tomorrow when I'm in Orlando with maximum coverage.
[G1 Android Development] chevycowboyusa:
Interesting

I wasnt able to speed test, but I'm pretty sure it just boosted my signal strength. I just got a phone call in a building that I never get reception in!?!?!?!?!
[G1 Android Development] lordofsilence:
I manually changed this two files build.sapphire.prop and build.trout.prop using SU File Manager & Terminal,after that I restarted the G1 and run a speedtest.

TMobile-US and enomther´s v.2.2.1

Before:

560 down

270 up

888 down

870 up

So seems like this doing the trick.You can also unzip the rom and change the values on the files or you can extract those two files you can even change the values with wordpad and put them back on the device with the mentioned file manager.

Thanks for sharing this Stimpoff.
[G1 Android Development] NPS_CA:
Backhaul

T-Mobile on their 3G network is primarily all HSDPA now - it was mainly an infrastructure upgrade path. The backhaul to most cell sites - irregardless of the network are typically T1's. This will provide about a 1MB to 5MB depending on how many T1's are deployed - so in some cases even if HSDPA was added to local sites the backhaul may not be upgraded and hence speeds may not increase. Some networks for 3G+ are deploying faster circuits through various other technologies - T-Mobile has in some key markets where they have deployed new backhaul providers.

This is an old release but it did show some previous agreements. Other providers (including AT&T provide backhaul for T-Mobile).... Really you get stuck with the incumbent local telco carrier if a valid 3rd party hasn't built out a reliable data network in the region. http://www.t-mobile.com/company/Pre...ackhaul Agreements for Six Major U.S. Markets
[G1 Android Development] cl2eep:
Well there you go. I'm in Orlando, which is specifically mentioned in that release as using Bright House to backhaul. BH is actually the fasted ISP in town, so that's probably a good thing.
[G1 Android Development] daveid:
Well, just to report, I am here in the US (Baltimore, MD), and I thought I'd chime in.. I applied this out of curiosity, and my build # changed, but my speeds are exactly what they were before. A little under 1Mbps down, and about .35Mbps up.
[G1 Android Development] brian_v3ntura:
okay i decided to start from scratch..i took cyans newest rom. extracted the build.trout.prop and edited it myself. used ROOT EXPLORER to replace the new edited build.trot.prop and rebooted

all speed test were in one location in my room...right beside my window.

BEFORE: (using speedtest.net app)

976 kbps download

381 kbps upload

i got consistent speed results

AFTER: (using speedtest.net app)

~ struggles to get to 900kbps download and i do mean struggles after numerous test

~ struggles between 250-320 kbps upload...

soo question..why are my result sucking now
[G1 Android Development] maxawesome:
Here's my info:

Location:

About 15 miles outside of Seattle

Signal Strength:

3G with 3 bars

Method:

XtremeLabs Speedtest app

Phone:

T-Mobile G1 (HTC Dream)

ROM:

CyanogenMod 4.2.7.1 (latest)

Before mod:

Max speed:

277.4 Kbits/s down

132.1 Kbits/s up

After mod:

Max speed:

967.8 Kbits/s down

166.4 Kbits/s up

So, I gained almost 700 Kbits/s download speed and 34 Kbits/s up.

****ing rad. Can't wait to see what kinds of speeds I get in downtown Seattle with full signal.

Looks like Cyanogen might want to include this in his next build...
[G1 Android Development] Estyle:
Before modification:

283/252

448/274

230/228

458/147

After modification:

760/355

762/317

833/351
[G1 Android Development] oreoOozZz:
Before:

640 Down

134 Up

After:

756 Down

318 Up

I unzipped the files then did the command in terminal, Barely any difference downloading but upload took a good jump, thanks. =)
[G1 Android Development] Magnusprime:
Location:

Puerto Rico

Signal Strength:

2G with 3 bars

Method:

XtremeLabs Speedtest app

Phone:

T-Mobile MyTouch3G

ROM:

CyanogenMod 4.2.7.1 (latest)

Before mod:

Max speed:

34 Kbits/s down

87 Kbits/s up

After mod:

Max speed:

165 Kbits/s down

102 Kbits/s up
[G1 Android Development] andonnguyen:
Tested in 4 cities from San Diego, Oceanside, Temecula to Riverside in California (covers about 125 miles of distance).

There was +/- 10Kb/sec in upload/download speeds, running at 3G, 4 trials each city (2 with modification, 2 without modification).

The modification to trout had no discernible effect on the data throughput in my tests.

*note: Rebooting my phone reset it's connection to the tower it was connected to. This may have had a positive effect on data throughput. (sometimes I see it jump from 300 Down and 140 up, to 1200 down and 450 up; by just resetting the phone with the old trout, so that it what some people may be experiencing. Placebo effect maybe?)
[G1 Android Development] elreason4:
Chicago experience also had no discernible effect.

speedtest.net android prog: .99 d/l .33 u/l before and after:(

what ever happened to the tmobile claim that the US network is going from 1 to 7.2 mb/sec HSPA in 2009 starting with Chicago and New York.....its December and still nothing has changed in Chicago tmobile 3G since I got the G1 14 months ago.
[G1 Android Development] MattKilla:
ALERT:

This breaks the USB tether in CyanogenMod.
[G1 Android Development] nephron:
made this work on MT3G 32B :D

Download and run the following command

If file is on Desktop

cd desktop
adb remount
adb push build.sapphire.prop /system/build.sapphire.prop
adb shell reboot

enjoy!
[G1 Android Development] nephron:
no it doesnt. Just tested it and it works fine :D
[G1 Android Development] TMANEDD:
Small improvement

V small increase in both up and download speed here, though in my home the T-mobile Reception has gotten better in the last week or so due to upgrade work in the area apparently!
[G1 Android Development] jorobochi:
Works for me too

before:

down: 642 kbps

up : 300 kbps

after

down: 677 kbps

up : 370 kbps

little more but work :)
[G1 Android Development] r00ktard:
LOL i agree... modifying the build.prop shouldn't have any effect on the data speeds.
[G1 Android Development] maxisma:
It has an effect on it.
[G1 Android Development] Morrolan:
Before mod: 1482.9 down/153.8 up

After mod: 1961.2 down/152.5 up

Reset back to original: 1613.1 down/154.1 up

Tried mod again: 1605.2 down/156.6 up

All from the exact same place

I agree with Mr. r00ktard and Mr. andonnguyen. Myth busted.
[G1 Android Development] hartyshow:
Hi,

My location is Lausanne.

Tested with Speedtest.net Server : Zurich

I moved this two lines in build.prop

ro.ril.hsxpa=2

ro.ril.gprsclass=12

Before:

1382/389

1295/394

After:

1682/565

1655/642
[G1 Android Development] Stimpoff:
Please try reboot twice on original and than measure
[G1 Android Development] xenio2000:
No change for me :(

Provider Tre (Three) 3G UMTS Italy on TheOfficial Rom
[G1 Android Development] traspler:
Country: Switzerland

Location: Zuerich

Network: Sunrise

Test: Speedtest.net App (Server: Zurich)

Strength: 3G with 2bars

Before

Down: 552 kbps

Up: 348 kbps

Ping: 179 ms

After

Down: 681 kbps

Up: 352 kbps

Ping: 163 ms

The down speed is very fluctuate. It varies between ~600 - ~1100 kbps.

At least: It's definitely faster!
[G1 Android Development] draga:
Is there a way to know if I'm connected in UMTS or HSDPA or HSUPA or so? I can always see the "3G" icon. (Dwang 1.13)
[G1 Android Development] Stimpoff:
it should be visible in fieldtest menu. But it is quite hard to read technical numbers there...
[G1 Android Development] markimar:
I'm in Orlando and it nearly tripled my speed!

Thanks for such a great find!

Ps I'm on enoms aosp

Ps. Ps I found that only changing the first value from 1 to 2 and not changing the second. Worked much better. When I switched to 12 on the second value it lowered the speed!
[G1 Android Development] mbiza:
Phone: Htc G1 Dream Tim

App: Speedtest.net

Server: Rome, Italy

Strength: 3G with 4 bars

Before

down: 2236 Kbps

up: 434 Kbps

ping: 249 ms

After

down: 1559 Kbps

up: 332 Kbps

ping: 332 ms

Back to original settings

down: 1557 Kbps

up: 946 Kbps

ping: 107 ms

All in the SAME place...

:confused:
[G1 Android Development] badaphooko01:
Can someone give the commands to be installed through terminal? Thanks!
[G1 Android Development] tee aiy emm:
su
mount -o remount,rw /system
cp /system/build.trout.prop /sdcard/build.trout.prop
edit with notepad++ (or other unix format capable editor)
cp /sdcard/build.trout.prop /system/build.trout.prop
reboot
[G1 Android Development] tee aiy emm:
For people placing results on here, make sure you do multiple tests to avoid fluctuations and uncertainties. We want real data.
[G1 Android Development] uansari1:
So why don't we need to update the build.sapphire.prop as well? It has both values as well... (I edited both and replaced them via Terminal)

Edit: So after repeated testing with both configurations, I can say that my first impression was more of a placebo than anything. It turns out that the original configuration and a reboot got me the same numbers as I thought I was getting after the change to the prop files.
[G1 Android Development] .A.J.:
There is an app in the market called 3gtest. I don't know how accurate it is but I remember it tells you a lot of information including the type of network your phone runs on.

On topic: I ran 10 tests with this change and ten with the stock cyan setting and this made no difference for me. I hope it works for others.
[G1 Android Development] uansari1:
What part of the country are you in? Perhaps T-mo has enabled some cities, but not others?
[G1 Android Development] .A.J.:
I'm in South Florida. The only time I got an increase was when testing after a reboot but this happened with both the stock and modded files.
[G1 Android Development] cyanogen:
This change will be in CM-4.2.8.. I've just been using the default ADP1 configuration. The HTC RIL has a TON of different knobs you can change and none of it is documented :(

ril.prefer.network.select-type
ril.band.select-mode
ril.cbm.mode
ril.cbm.mids
ril.cbm.dcss
ril.pscall.authentication
ril.clip
ro.ril.def.pscall.authen
ro.ril.def.preferred.network
ro.ril.oem.ecclist
ro.ril.enable.dtm
ro.ril.gprsclass
ro.ril.hsdpa.category
ro.ril.hsupa.category
ro.ril.hsxpa
ro.ril.agps.mode
ro.ril.enable.nitz
ro.ril.enable.network_identify
ro.ril.qos.maxpdps
ro.ril.qos.traffic.class
ro.ril.qos.max.ul
ro.ril.qos.max.dl
ro.ril.qos.guarantee.ul
ro.ril.qos.guarantee.dl
ro.ril.qos.delivery.order
ro.ril.qos.max.sdu
ro.ril.qos.delivery.err.sdu
ro.ril.qos.transfer.delay
ro.ril.qos.traffic.priority
ro.ril.always.laccid
ro.ril.fast.dormancy.rule
ro.ril.fast.dormancy.timeout
ro.ril.fast.dormancy.plmn
ro.ril.enable.3g.prefix
ro.ril.3g.long.name
ro.ril.htcmaskw1.bitmask
ro.ril.htcmaskw1
ro.ril.enable.vt
ro.ril.enable.hsdpaind
ro.ril.enable.a52
ro.ril.enable.a53
ro.ril.enable.dcm.feature
ro.ril.enhance.htcdis
ro.ril.enable.regucid
ro.ril.enable.hsupaind
ro.ril.search.first.pnn
ro.ril.enable.ncell.ind
ro.ril.enable.enhance.nws
ro.ril.hep
ro.ril.mosms.service
ro.ril.enable.cnap
[G1 Android Development] uansari1:
I edited my posts... I'm in the same boat as you. A reboot got me higher speeds as well. No change regardless of the configuration.

There's no real evidence this works yet Cy... may want to hold off.
[G1 Android Development] umaro:
Well, perhaps it doesn't work for some people based on their carrier and/or location (and variations on current 3G/EDGE network congestion, etc).

If there's a setting that says "Go faster", as these settings seem to, then I don't see any drawbacks.

It improved my upload bandwidth.. I'll post the figures later, after I re-test.

Just my 2c.
[G1 Android Development] lotherius:
Testing it here myself... I know what speeds I get VERY well, as I do regular tests with speedtest.net app and have pretty stable speeds normally.

I'm not so sure this is a clear-cut increase in speed. Yes, my speeds are on the higher side of what I normally get. But they're still not higher than the highest I've ever gotten before, so I can't say for sure there has been any increase. Certainly no DECREASE, so if nobody knows what this should be normally, and it works better for some on this setting than the other, then I don't see why not change it, especially if some versions of the Dream come with this setting.
[G1 Android Development] Stimpoff:
if somebody likes experimenting try this:

reflash .26I radio and after first boot you should have improved speed like with my "mod". After next reboot everything will be like before.

There isn't any practical use of it. It is just interesting behavior which I can't explain.:confused:
[G1 Android Development] scrappyabs2:
Are you saying that your mod doesn't actually do anything?