yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic Android Development] Amon_RA:
Posted the same in the Dream forum, but might be handy to know in this forum too :

People... the mentioned settings will only work if your network supports them!

Most important is the fact that they NEED to be set to the value that your network is currently supporting if you want to enjoy optimal speeds!!

ro.ril.hsxpa : inidcates hsxpa support of target network :

ro.ril.hsxpa=0 - UMTS r99
ro.ril.hsxpa=1 - HSDPA
ro.ril.hsxpa=2 - HSDPA/HSUPA

ro.ril.gprsclass : inidcates GPRS class of target network :

Class 2 : 3 slots : 8 - 12 kbps upload / 16 - 24 kbps download
Class 4 : 4 slots : 8 - 12 kbps upload / 24 - 36 kbps download
Class 6 : 4 slots : 24 - 36 kbps upload / 24 - 36 kbps download
Class 8 : 5 slots : 8 - 12 kbps upload / 32 - 40 kbps download
Class 10 : 5 slots : 16 - 24 kbps upload / 32 - 48 kbps download
Class 12 : 5 slots : 32 - 48 kbps upload / 32 - 48 kbps download

ro.ril.hsdpa.category :

Cat 1 = 1.2 Mbit/s
Cat 2 = 1.2 Mbit/s
Cat 3 = 1.8 Mbit/s
Cat 4 = 1.8 Mbit/s
Cat 5 = 3.6 Mbit/s
Cat 6 = 3.6 Mbit/s
Cat 7 = 7.2 Mbit/s
Cat 8 = 7.2 Mbit/s
Cat 9 = 10.1 Mbit/s
Cat 10 = 14.0 Mbit/s
Cat 11 = 0.9 Mbit/s
Cat 12 = 1.8 Mbit/s
Cat 13 = 17.6 Mbit/s
Cat 14 = 21.1 Mbit/s
Cat 15 = 23.4 Mbit/s
Cat 16 = 27.9 Mbit/s
Cat 19 = 35.3 Mbit/s
Cat 20 = 42.2 Mbit/s
Cat 21 = 23.4 Mbit/s
Cat 22 = 27.9 Mbit/s
Cat 23 = 35.3 Mbit/s
Cat 24 = 42.2 Mbit/s
Cat 25 = 46.8 Mbit/s
Cat 26 = 55.9 Mbit/s
Cat 27 = 70.6 Mbit/s
Cat 28 = 84.4 Mbit/s

ro.ril.hsupa.category :

Cat 1 = 0.73 Mbit/s
Cat 2 = 1.46 Mbit/s
Cat 3 = 1.46 Mbit/s
Cat 4 = 2.93 Mbit/s
Cat 5 = 2.00 Mbit/s
Cat 6 = 5.76 Mbit/s
Cat 7 = 11.5 Mbit/s

Not speed related, but still nice to have :

ro.ril.enable.3g.prefix : adds the 3G prefix to the operator name.

ro.ril.enable.dtm : Only set this to 1 if your network allows simultaneous transfer of Circuit switched (CS) voice and Packet switched (PS) data over the same radio channel (ARFCN).
[myTouch 3G, Magic Android Development] parrot5:
I tried configuring the rom I'm using by referencing the info you provided above. Seems like network congestion is the bottleneck here, but I'll definitely configure all the future roms I flash. Thanks for the info and patience dealing with us newbies/non-devs :)
[myTouch 3G, Magic Android Development] mandali09:
Signal Power increase

Hi all,

Is there a parameter that can adjust the radio signal power?

Thanks

Arash
[myTouch 3G, Magic Android Development] bonesy:
With ra's settings I get a major increase from 400 upload to over 1000!only thing that bothers me is using wifi I'm getting leas than half the speed I get on my computer?
[myTouch 3G, Magic Android Development] MontAlbert:
now just to find out all the details Amon_RA said need to be provider specific for 3 Australia... anyone? :D
[myTouch 3G, Magic Android Development] shadowfax1007:
Second.

I used Amon's settings and so far its going nicely.

Maybe email 3's tech department? I'm not sure how nice they are, since I'm new to the network. I know when I was with Optus, once I got past all the tech support bull****, I got put through to an australia techie and we talked a bunch of Android stuff and he sent me all the optus manuals, data sheets, etc.
[myTouch 3G, Magic Android Development] daeron666:
Hi guys, I would like to know if, by this way, would be possible to navigate in wap mode, or to use the magic as pc-modem and not for sharing 3g connection....
[myTouch 3G, Magic Android Development] Amon_RA:
Euhmm... these ril settings are for the radio-interface-layer...

Wifi shouldn't be impacted by these, was the wifi speed higher before you tweaked the settings?
[myTouch 3G, Magic Android Development] bonesy:
No it just bothers me that i have a decent connection at home but i can get fast through my 3g/hsdpa settings. Can we edit anythign for wifi in the same way?
[myTouch 3G, Magic Android Development] ma678:
How can I read my current settings? Thanks.
[myTouch 3G, Magic Android Development] DionBurger:
just pull the file from your phone

"adb pull /system/build.prop ." (the file might also be called build.sapphire.prop)

you can then view it with a text editor

To put a new edited version back.

adb remount

adb push build.prop /system/build.prop
[myTouch 3G, Magic Android Development] phatmanxxl:
is there another way to run this through the terminal cause I used the commands from the link from the first page and all i got was a bunch of "not found". I don't have adb to push it. I tried several different ways and always got somekind of error. thanks
[myTouch 3G, Magic Android Development] DionBurger:
Sure... if you in the terminal just cat the file "cat /system/build.prop" to view it, else go for vi to edit it - there's lots of tutorials of vi on the net - just Google it. It is not conventional editor though - be warned...

Just remember to remount your /system partition to RW else you wont be able to save your new file (its mounted to RO by default). Do the remounting like this:

"mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system"

By the way - if you are gonna start hack/cracking/changing stuff, do yourself a favour and get you adb installed - just that mush easier
[myTouch 3G, Magic Android Development] phatmanxxl:
edited for pointless noob statement
[myTouch 3G, Magic Android Development] bonesy:
ro.ril.hsxpa=2

ro.ril.gprsclass=12

Seems to be the best settings for 3 Network UK wit 1150kbps upload?!
[myTouch 3G, Magic Android Development] jOrOdee:
faster

old down stream : 461kbit/s

new down stream: 594.5 kbit/s

much love:D
[myTouch 3G, Magic Android Development] sleepymatt:
Rogers

Before: 174kb/s / 41kb/s

After: 332kb/s / 116kb/s

:)
[myTouch 3G, Magic Android Development] nephron:
Alright i updated the OP, i know its been a while just been really busy. I made a 32A and 32B version with Amon_RA's edits! The 32A is untested but im pretty sure it will work! :D
[myTouch 3G, Magic Android Development] xxgg:
Using the Speedtest app.

My download have not changed much. (doing multiple test from same server one after another shows different results by large amount).

But what have improved dramatically is my upload.

Now it's anywhere from 2 to 3 times faster now. peaking around 120KB/s

Rogers Wireless
[myTouch 3G, Magic Android Development] wrxphantom:
i have a rooted rogers 32a sapphire. with the myhero 2.0.5 rom loaded in.

if i do this would it change my rom or appearance.

can anyone confirm this.

thanks a lot
[myTouch 3G, Magic Android Development] parrot5:
No, there won't be any changes that you can see with your eyes.
[myTouch 3G, Magic Android Development] maxisma:
I don't get the 3G prefix =(

But I can confirm 3G IS indeed faster.
[myTouch 3G, Magic Android Development] palexr:
Got to say I am confused about which file to use and how to apply it? Above, it says "

If you are using cyanogenmod, here is the instructions to install since it uses a different build.prob specially designed for MyTouch 3g (32B)", but "here" where? In the linked thread?

I am using CM4.2.8 on my uk vodafone magic, can I assume I can just use cloverdale's script listed in the Dream thread?
[myTouch 3G, Magic Android Development] wrxphantom:
Here are my stats using SpeedTest from market

Before

1,897 kbps = Download

345 kbps = Upload

After

1,604 kbps = Download

878 kbps = Upload
[myTouch 3G, Magic Android Development] nephron:
hahaha sorry about that. Ill make it more comprehendible in a bit. I was up till 4 last night when i wrote this real quick. Basically just download one of the scripts that coresponds to your phone and use adb to push it to system/app :D
[myTouch 3G, Magic Android Development] rizoh66:
Is there any other way to apply besides adb?
[myTouch 3G, Magic Android Development] nephron:
you can do it through terminal. Im not sure about the exact commands so dont hate me if they are wrong. I just use adb most of the time haha

su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /sdcard/build.sapphire.prop /system/build.sapphire.prop
[myTouch 3G, Magic Android Development] mt3g:
its on the first OP page instructions for termainal
[myTouch 3G, Magic Android Development] nephron:
lol i added it after he asked :D
[myTouch 3G, Magic Android Development] rizoh66:
Thanks for that. I thought that I missed something.
[myTouch 3G, Magic Android Development] sorin129:
?

I did not do this but my speeds are very good without it. I see all this speeds from everybody else and im wondering why mine are so fast. I doubt it can get any faster if i do this mod.

downloads over 3 mb

uploads over 1 mb
[myTouch 3G, Magic Android Development] dills84:
Do you live in philly by any chance? Tmobile is testing its HSPA+ 7.2Mbs 3g networks in philly right now. we should all be getting those speeds by 2010. Must be nice! (off topic: how are apps responding?)
[myTouch 3G, Magic Android Development] sorin129:
yes I do live in Philly :)

The apps work great. videos and radio works great on this speed
[myTouch 3G, Magic Android Development] shata:
Does this also work on the US tmobile mt3g?
[myTouch 3G, Magic Android Development] dmolition:
Lol yes it does, it says it on the first page xD.
[myTouch 3G, Magic Android Development] hikki2000:
How did you check the speed?

I noticed you are using CM ROM and speedtest.net.

Problem is the speedtest.net requires flash while the CM does not support, how did you do this?
[myTouch 3G, Magic Android Development] madetosink:
Soo...

Just out of curiosity, I am using the senseHero rom on my MT3G...I noticed that this was saying if you are using CyanogenMod's rom, that this would work, but will it work for any rom, or just Cyanogen's?

Thanks!
[myTouch 3G, Magic Android Development] themetatron:
speedtest.net app available in market

just thought this was kinda pointless for cm4.2.8.1, when i view the build.sapphire/trout.prop it already has hsxpa=2ro.ril.gprsclass=12 and i have not seen any increase in speed using the aforementioned app

edit:in the original thread cyanogen said he would be making the changes for his next build, being 4.2.8...but he did not include the categories hsdpa 8 and hsupa 7 being the highest for tmo us
[myTouch 3G, Magic Android Development] krown:
Did a lot of tests before applying:

1167/61

1498/58

556/125

690/80

275/17

1200/20

After applying:

2678/955

2055/352

1146/170

1687/168

1655/156

767/110

Edit; got one for 3004/24 and 201ms ping not bad!
[myTouch 3G, Magic Android Development] bonesy:
i checked and i have HSDPA in my area :) going to see what my maximum tweak is for upload
[myTouch 3G, Magic Android Development] njakobs:
4 times faster...

Ok I am with Vodafone in NZ and have been using cyanogen's mods of late. Saw this and though I would give it a go. These are the figures I got over multiple test with Speedtest.net app.

Down/up in kbps

Before

383/562

568/508

563/508

501/513

After

1127/910

1275/900

742/897

1957/896

I am totally stunned at the difference if you are in NZ give this a go!!!!.
[myTouch 3G, Magic Android Development] htk:
I am running the HoFo rom. I tried to use the terminal way as described in the OP. However I am getting an error saying that I cannot replace /system/build.prop.
[myTouch 3G, Magic Android Development] mandali09:
Radio parameters for AT&T and Rogers Wireless

Hi all

I was experimenting with the radio parameters on HTC Magic from Rogers Wireless on AT&T's network.. and found that the network thought put is much much better with the following parameters in /system/build.sapphire.prop. I am talking about 2467kbps Down and 878kbps Up.. and the WiFi device was turned off while doing the test..

Can some one else verify?

ro.ril.hsxpa=2

ro.ril.enable.dtm=1

ro.ril.gprsclass=12

ro.ril.hsdpa.category=7

ro.ril.hsupa.category=4

ro.ril.enable.dtm=1

Thanks.

PS

The following are the parameters that I see in existing roms today.

ro.ril.hsdpa.category=8

ro.ril.hsupa.category=5
[myTouch 3G, Magic Android Development] BoomBoomPOW:
So I saw that the ro.ril.hsxpa on mines was 2 (HSDPA/HSUPA) but I checked my settings/status, my mobile network type was UMTS. So I changed it from ro.ril.hsxpa=2 to ro.ril.hsxpa=0. And it made a difference, speed is now averaging back to normal speeds before mod change, to 850kbits/s.

I want the speeds that you guys are getting, 1300-1500kbps. What else can I tweak for optimal settings? Any help is much appreciated. Thanks!
[myTouch 3G, Magic Android Development] rylake:
Try getting rid of the dtm values. I just deleted them all together. I will post what I am using later on today:
[myTouch 3G, Magic Android Development] BoomBoomPOW:
How do I revert back to my default settings before the mod change? Can I just do a wipe and reflash a new rom and the mod change will go back to my default settings?
[myTouch 3G, Magic Android Development] :
i don't believe you'd have to wipe.... (i hate having to wipe) usually you can just reflash your ROM and run fix_permissions or use amon ra's option in the recovery "fix apk uid mismatches" n it should be back to normal and running smooth.

also, know its late, but wanted to thank poster n guy who originally did this.
[myTouch 3G, Magic Android Development] stian230:
Sweet I trying now ..:D

thanks ..
[myTouch 3G, Magic Android Development] BlackElvis79:
Interesting...

Not too bad eh? What's the average DL and UL 3g speed to compare this with?
[myTouch 3G, Magic Android Development] foxfire235:
guys pardon my complete newbness but I can't seem to type numbers when I'm using the terminal commands on the phone. How else can I do this?
[myTouch 3G, Magic Android Development] :
find a copy of better terminal emulator. i had same problem, only other way is to use adb. i'd give you a link to isntalling adb, but i lost all my bookmarks and it was pretty hard for me to find a guide i understood, lol.
[myTouch 3G, Magic Android Development] kingskidd268:
my god thids works i live in the us... thank you for this treat....
[myTouch 3G, Magic Android Development] gdskp:
Can I use it in CursorSense 0.9.1?
[myTouch 3G, Magic Android Development] oshizzle1991:
so i will have to keep re applying this mod everytime i flash to cyanogen from another rom right?
[myTouch 3G, Magic Android Development] nephron:
sort of. Cyanogen already incorperated the minimal part of the mod so it will work for everyone. This mod contains a lot more changes that Amon_RA provided. So yes, if u want faster then what you have on the latest cyanogen mod, then you are going to have to push this every time... :(
[myTouch 3G, Magic Android Development] scorpionredblack:
Test Wind Italy after modify!!
[myTouch 3G, Magic Android Development] morepr:
question??

i know people always say google it or search blah blah i just wanna know how to install this file into my mt3g 32b cus im trying all this codes nothing its working do i need a software to intall it or directly form cmd or what?? can some one help plz
[myTouch 3G, Magic Android Development] BoomBoomPOW:
Extract zip file

>open folder

>copy prop file

>paste onto root sd card

>download Terminal Emulator at the Market

>open Terminal Emulator

>Hold Menu key to show keyboard

>type "su"

>superuser window pops up;choose Always Allow

>then type the commands;hitting enter/return key after each line

>reboot phone

>check lockscreen and notification bar for the added "3G" T-Mobile title

>Congratz!
[myTouch 3G, Magic Android Development] RtOaNn:
Woohoo, managed to boost my upload speed from 50+kbps to 971kbps.

Didn't modify the settings for download since I'm bottlenecked by my 1.5Mbit 3G network.
[myTouch 3G, Magic Android Development] tonyriceroni:
i think it works, i averaged 600-700 before the mod and now im getting 800 - 900. Thanks alot!
[myTouch 3G, Magic Android Development] deb82swearingen:
I

Hello there,

Have you been able to get an answer. I noticed my mobile network is T-Mobile so I am not getting very much speed
[myTouch 3G, Magic Android Development] crypticc:
You can get uplink class for hsupa from wiki

http://en.m.wikipedia.org/wiki/List_of_Deployed_HSUPA_networks
[myTouch 3G, Magic Android Development] deb82swearingen:
I am show T-Mobile listed as a network. What should I do from here
[myTouch 3G, Magic Android Development] Joeya7x:
Before:

After:
[myTouch 3G, Magic Android Development] rickytenzer:
Just got a data plan today and this is the first thing I did when I got home. After 5 100 kb test averages, I noticed an increase of 60 kbps!
[myTouch 3G, Magic Android Development] alaw:
Hello,

Is this only for those running CyanogenMod? I'm using SenseHero 1.4 and it doesnt seem to have worked after enter the commands in the terminal and rebooted.
[myTouch 3G, Magic Android Development] punkskaguy:
Tried this on a rooted vodafone android 1.6 rom. So this works not only on CyanogenMod.

Before:

483 kbit/s downstream

507 kbit/s upstream

After:

545 kbit/s downstream

565 kbit/s upstream

This was tested using the exact same position of the phone on my desk ;)

All in all it got slightly faster.

EDIT:

Forgot to mention that this was tested on Vodafone Germany.

THX
[myTouch 3G, Magic Android Development] GreenEnvy:
Before

Down: 2393.4

Up: 156.6

After

Down: 3041.4

Up: 153.6

I am runnning MarsDroid 1.8 on a Rogers magic 32A.

Ran tests about 10 minutes apart, phone in same location.

I used the settings Amon posted in the second or 3rd page.
[myTouch 3G, Magic Android Development] Gazorninplat:
Anyone know if it matters if you have the "new" magic radio or not for this build prop?
[myTouch 3G, Magic Android Development] Rytt55:
Amazing. Simply Amazing.

I just did the hack (page 2 download file, used root explorer to copy it into /system)

I tested it twice with speedtest app and got avg 950 kb/sec. After hack, I'm getting avg. 2800 kb/sec. Loading websites on Cyanogen 4.2.9.1 on Rogers Magic in U.S (ATT) is AMAZING!

Thanks all!
[myTouch 3G, Magic Android Development] vincentkosasih:
su

mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

cp /sdcard/build.sapphire.prop /system/build.sapphire.prop

could somebody tell me step by step

i do type "su" n enter to enable superuser permissions

after that what should i type?

when i type "mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system" its limited character there...

thx
[myTouch 3G, Magic Android Development] crisvillani:
Will this work with cursorsense on the new radio

Would like to try it out !

: )
[myTouch 3G, Magic Android Development] eagle_007:
I tried this on my 32B Vodafone Magic UK, running NexusSuper D rom v1.9.2.

hboot-1.33.0004 (SAPP10000)

CPLD-10

RADIO-2.22.19.261

checked with speednet app and the result:

No difference at all for me! :(

am i doint anything wrong? well i pushed the file from Magic one.

EDIT: tried it again and bingo! speed over 3g with one signal bar 1706 kbps / 371 kbps ping 290ms from 490 kbps download speed. Im a happy man! Thank you guys :)
[myTouch 3G, Magic Android Development] rohazam:
Before

Sorry.. forgot to test :p

After

Down: 590.8 Kbit/s

Up: 57.4 Kbit/s

I am runnning MarsDroid 1.8 on a htc magic 32A.

and it does feel the speed is faster now... thx :)
[myTouch 3G, Magic Android Development] stratux:
Just applied to rogers marsdroid 1.8 bumped up speeds thanks
[myTouch 3G, Magic Android Development] Gazorninplat:
I tried it on my Magic with Cursorsense and it didn't make a difference. Any way to tell if I did it correctly?
[myTouch 3G, Magic Android Development] dial100:
Hello, Will it be possible on 32B vodafone uk magic on 3UK network? Any advice on what to change etc. Thanks.

PS: Its running Sense Hero 1.4 http://xdaforums.com/showthread.php?t=574526
[myTouch 3G, Magic Android Development] tepic:
Fantastic mod.
[myTouch 3G, Magic Android Development] stratux:
does this have to be done everytime you flash a new rom
[myTouch 3G, Magic Android Development] aaraya1516:
Yes, Unless you incorporate into the .prop files of your desired ROM and then autosign to flash.
[myTouch 3G, Magic Android Development] iWannaBeAdored:
Will this work for Super D 1.9.3?
[myTouch 3G, Magic Android Development] RtOaNn:
Yes, it will.

The safer way is to pull out the original build.prop, insert the necessary ro.ril.*** options from the downloaded build.prop and then push it back. This was how I did it.
[myTouch 3G, Magic Android Development] lorijuan1024:
i would love to do this but im a major newb
[myTouch 3G, Magic Android Development] Super Jamie:
Applied this to HTC Magic 32B on Vodafone Australia running Dwang 1.17.1. I've been using radio 2.22.23.02 for a while now. It still does show the change from H to U.

Just changing ro.ril.hsxpa=2 and ro.ril.gprsclass=12 did nothing for me, however editing in the entire section from the attached Magic build.prop made a huge difference to my uploads:

Before

1800kb down

180kb up

After

1800kb down

900kb up

(I ran each test 3 times and these are rounded consistent results)

Obviously this is uploads going over HSUPA now. I don't really think there is much point forcing HSDPA Category to 8, as the attached build.prop does, as the 32B radio is only a Category 5 device anyway.

Either way, rad :D
[myTouch 3G, Magic Android Development] novat:
Would you mind posting your build.prop contents? I am on 3 Australia and would like to see what settings you used? Would greatly appreciate it!
[myTouch 3G, Magic Android Development] Super Jamie:
Sure, I just pulled the relevant parts from the Magic file attached to the OP of this thread. This is taken directly from my phone now:

ro.ril.hep=1
ro.ril.hsxpa=2
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=0
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5

My girlfriend has a stock Vodafone AU Magic (never rooted, provider DRC92 image) which has this in build.prop:

ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.enable.a53=1

So it looks like this is turned on by Vodafone in Australia at least. I wonder what enable.a53 does?

Three use Optus towers don't they? I'm a network engineer during the day, my work deploys 3G connections in Cisco routers which run on an Optus reseller network. We noticed a huge difference in speed going from WCDMA to HSPA, which is what's happening here.

It seems the source of this mod's success is the fact that most ROMs are based off American provider images (or maybe the AOSP/HTC "safe" defaults?) which don't turn on HSPA. How ironic that so many people out there must be running rooted phones which aren't performing anywhere near their full 3G potential.
[myTouch 3G, Magic Android Development] sepipe-l0:
will this work on enclair Roms with old SPL and Radio? I have a nordic magic (provider 3)
[myTouch 3G, Magic Android Development] TenzinChonyi:
data connection unstable!!

Hey I did this hack and the speed didnt really change much, but what i noticed sometimes was that after i did this hack my data connection is not there at all even if the signal bar says i have a full signal?? idk whats up?? How can I undo this hack?? can someone help??
[myTouch 3G, Magic Android Development] kentlee79:
It works!!!!

Before

-------

651/15

894/14

629/23

After

--------

744/30

1583/375

2688/313
[myTouch 3G, Magic Android Development] nacron:
I was going to try this mod on my KiNgxKxlicK AOSP 2.1 v1.8.1 but it seems he has already included the mod in the firmware.
[myTouch 3G, Magic Android Development] looktall:
stupid question, but i notice in some roms i can connect at HSDPA (H symbol), whereas with other roms i only connect at UMTS (3G symbol).

does this mod enable HSDPA in a rom that normally only connects at UMTS?

or have i misunderstood?
[myTouch 3G, Magic Android Development] crypysmoker:
That is because some roms only have the 3g symbol and other most likely Hero roms have the H symbol. They are both 3g... depending on country.
[myTouch 3G, Magic Android Development] looktall:
that's what i used to think, but in my current rom it changes between them depending on my signal strength.

if i go to settings-->about phone-->status and look at mobile network strength it also changes between UMTS and HSDPA.

my current rom is a 32b port of an official vodafone rom based on the htc framework.