There might not be many of us out there, but for those of us using unlocked and rooted mytouch on the ATT network I've found after some research a way to almost double my Edge speed. This information has been posted before in various pieces on various sites but not directly related to ATT/Edge only. Ive tested this on cyanogen 5.0.8 built will include instructions here that you can give this a shot depending on your rom. Prior to this tweak I ran three download tests, 63/38 84/41 81/41. After, I got 191/102, 133/114, 123/95.
Note that it seems that for me the speed increase takes about 10 seconds to kick in from sleep once the data connection is active.
Under the system directory, look for three files. Open each file and find a section called #GPRS class or #RIL settings. When you find the file containing this, this is the file to edit. Below I'm using system.prop. Also, when editing, do not use notepad or wordpad, I personally use EditPad Lite.
using the android sdk, and connecting your phone to pc ->
adb pull /system/build.prop build.prop
open build.prop with a unix compatible text editor
Change the following sections below:
# Default network type.
# 0 => WCDMA preferred.
ro.telephony.default_network=1
# RIL settings
ro.ril.gprsclass=32
ro.ril.hsxpa=0
ro.ril.hep=1
ro.ril.enable.dtm=1
eliminate all other lines that start with ro.ril if they exist.
then go back to your command prompt, and type
adb remount
adb push build.prop /system/build.prop
reboot phone twice after this.
The idea here is that these lines will force only searching for Edge networks, and improve the full use of multislot data/voice thoroughput on ATT Edge network. I would think technically that this would also maximize data thoroughput for those that want to save battery life from the sucking power of 3G.
I'm posting this because I'd like some feedback from ATT people that can try this. As I'm in metro Atlanta I'm not sure that these settings work for every area, and I've only tested in two spots here within a mile of each other in the three tests. I'm also at this point concerned about battery life outside of my one day testing and other areas.
I'll try this on two different G1's running on AT&T this next week and report back. Thanks
Update 8/31/10: Testing with Super D I see a difference. Was 0.07 mbps Down/ 0.08 mbps up. Now 0.18 mbps Down/ 0.16 mbps Up. Every little bit helps I guess. Thanks for posting this thread.
Which ROM are you using this on? I'll try this out on my phone at the end of the week. Also where did you find this exact same set up. I want to read more about it. I see other posts with different values but not with this same exact set up.
http://forum.xda-developers.com/showpost.php?p=5123531&postcount=46
As I mentioned I'm using Cyanogen 5.0.8. I didn't read where anyone is using this exact setup, I researched the values and put them together based on my best understanding of them.
As of now I'm seeing battery life unaffected to actually improved. Things like facebook and my MLB At Bat are majorly improved, takes much less time for the stats to populate so I'm spending less time in the apps and in turn I'm assuming that lends to battery life. I also used to drop a call in one particular spot and I'm not dropping that call so far. I've been in various parts of the city and the download speed is fairly consistent witht he 130-180k range.
Any word on this working with CM6? There only seems to be these in the RIL section:
ro.ril.hsxpa=1
ro.ril.gprsclass=10
Should the other two values be added?
SRDMizzou said:
Any word on this working with CM6? There only seems to be these in the RIL section:
ro.ril.hsxpa=1
ro.ril.gprsclass=10
Should the other two values be added?
Click to expand...
Click to collapse
As far as what should be added/removed, please more carefully read post one.
In answer to whether it works with CM6, these values directly support the gprs code of the phone so it should in theory work on any android based device.
I appreciate the time you've spent, thanks. I'm trying this asap. I have to test before and after, tho. I'll let you know. I never even considered looking into this, and what I see looks very promising. Thanks for the work.
BEFORE
Test 1: ping- i forgot to look
download- 79
upload-109
Test 2: ping-772
download- 90
upload-79
Test 3: break in between 2&3, for fun. it was asleep for a while.
ping- 767
download-51
upload-95
Test 4, another pretty long break
ping:927
download:23
upload:116
Test 5, no break
ping 16
download 44
upload 100
test 6, no break
ping 39
download 46
upload 111
AFTER
Same physical location, 2 reboots, cable unplugged as before.
Test 1: ping 551
download 33
upload 122
test 2 soon after
ping 541
download 27
upload 104
test 3 with an asleep break in between for a while
ping 428
download 47
upload 105
test 4 right after
ping 429
download 39
upload 102
Test 5 right after
ping 422
download 28
upload 116
Test 6, after a break with screen off/sleeping and a 30 second break with screen on before test
ping 430
download 26
upload 105
In conclusion, no it didn't make any benefit to me. In fact, there was a decrease in speed after applying the mods.
I used a nightly of cyanogenmod 6 from 2 days ago (right before rc3)
I will try donut soon. Eclair sucks. Note that cyanogenmod did not have the last two ro.ril lines, but it did have the telephony one. I added the necessary ones, of course.
i updated my post above.
Hi Jcarrz, thanks for the post. I think something is wrong with your location/configuration if you are getting 100% upload speed over download. It should be the reverse, but even before my config change I was getting double your download speed. Also, a ping time of <100 ms into an edge network is a bit unheard of as far as I know, what speedtest are you using? Did you delete the existing lines? the two most important lines to add are the dtm=1 lines and the grprsclass=32.
One thing about this is that not every city may support class 32 download. Also it may take some time for GPRS to establish 5 timeslots to get the full download speed. Another thing to follow up on my post, as I mentioned 10 seconds or so at least before starting the speedtest, but I've found that even 1-2 minutes after coming from sleep I'm occasionally getting 215k down in some places. But in your case there's definately something else going on....
hongkongpheoy74 said:
Hi Jcarrz, thanks for the post. I think something is wrong with your location/configuration if you are getting 100% upload speed over download. It should be the reverse, but even before my config change I was getting double your download speed. Also, a ping time of <100 ms into an edge network is a bit unheard of as far as I know, what speedtest are you using? Did you delete the existing lines? the two most important lines to add are the dtm=1 lines and the grprsclass=32.
One thing about this is that not every city may support class 32 download. Also it may take some time for GPRS to establish 5 timeslots to get the full download speed. Another thing to follow up on my post, as I mentioned 10 seconds or so at least before starting the speedtest, but I've found that even 1-2 minutes after coming from sleep I'm occasionally getting 215k down in some places. But in your case there's definately something else going on....
Click to expand...
Click to collapse
yea, that ping was pretty crazy. I live really close to los angeles, I don't think a crappy network is the problem. What do you mean by delete existing? i edited two that were there, and added two that weren't. I am using the ookla labs speedtest.net application. I have always had a higher upload than download. Everywhere. I waited for long periods of time between tests. And after waking up from sleep. The highest speed test I have seen is a 250, on htcclay's superfast 1.3.3. I'll have to take a look on the values in that rom.
Thanks for your help, prehaps you could upload the EXACT build.prop for, say, a cm6 build that I could use?
Jcarrz1
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.telephony.default_network = 0
I seem to get the best speeds i've seen with this config. Namely the hsxpa=2, because that one, when changed to 1 or 0, dents my speeds.
jcarrz1 said:
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.telephony.default_network = 0
I seem to get the best speeds i've seen with this config. Namely the hsxpa=2, because that one, when changed to 1 or 0, dents my speeds.
Click to expand...
Click to collapse
Thanks for reporting back. I think this shows that indeed the edge network in your location just isn't a class 32, or at least it is and is allocating more timelosts for upload than download. Here's how the classes should in theory work. Edge can alot 2-6 timeslots to transfer data. a class 10 or 12 is 5 slots data, 10 says that in theory up to 4 of those slots could be download and 2 could be upload, while 12 is up to 4 down 4 up (but only 5 max in any config). A class 32 can allocate 6 slots data, 32 also says that 5 could be download or 5 could be upload. Try setting the class at 30. This will give you a shot at 6 slots guarantee that no more than one timeslot can be set for upload (5 download 1 upload). If that doesn't work, in theory actually then moving to a class 10 setting may overall benefit you (4 download 2 upload).
hsxpa setting should technically do nothing for you on AT&T unless your phone supports HSPDA 850/1900, I set it on my magic 32B because it forces UTMS99 which is not implemented and therefore should in theory guarantee my radio never finds something to scan. I understand that turning on 2G only doesn't work in all roms, so I set that just in case.
Just so you know, the values in gprsclass can be 10,12,30,31,32,33,34.
I don´t think that ro.ril.hsxpa=0 deactivates 3G. AFAIK it just limits the phone to plain normal 3G (=UMTS) and ensures that it does not attempt to switch to 3.5G (HSDPA/HSUPA) connections.
From what I see in wikipedia, UMTS99 is nothing else than the first release of UMTS, therefore definately being supported.
Better set it to =2, just in case you travel to a country where you have 3G (and 3.5G, etc.) connectivity.
Hellek said:
I don´t think that ro.ril.hsxpa=0 deactivates 3G. AFAIK it just limits the phone to plain normal 3G (=UMTS) and ensures that it does not attempt to switch to 3.5G (HSDPA/HSUPA) connections.
From what I see in wikipedia, UMTS99 is nothing else than the first release of UMTS, therefore definately being supported.
Better set it to =2, just in case you travel to a country where you have 3G (and 3.5G, etc.) connectivity.
Click to expand...
Click to collapse
EDIT: Sorry I just looked up the specs on the phones again and I never noticed UMTS support, still in essense you still want to keep this at hsxpa=0, unless you want 3G on roaming coverage as mentioned. This article is about ATT users and more geared to only ATT bands, ATT does not offer HSDPA over the bands this phone supports so disabling it should keep it from scanning roaming networks for it. I'm removing the other ril values from the phone to keep the phone happy with the fastest edge connection it can get.
So I just tried updating the settings on Superfly TCBY Froyo 1.2. It didn't have the same exact setting lines so I just added the lines manually. All tests done on a fresh reboot, SpeedTest the only app open:
Before
Time of day: 1:10 PM
Run 1
Server: Los Angeles, CA
Latency: 829 ms
Download: 10.3 kB/s
Upload: 9.3 kB/s
Run 2
Server: Los Angeles, CA
Latency: 121 ms
Download: 14.7 kB/s
Upload: 12.1 kB/s
After (2 reboots):
Time: 1:25 PM
Run 1
Server: Los Angeles, CA
Latency: 423 ms
Download: 19.9 kB/s
Upload: 13.7 kB/s
Run 2
Server: Los Angeles, CA
Latency: 394 ms
Download: 18.3 kB/s
Upload: 14.6 kB/s
So it did improve speeds a little. How much is due to the settings is unsure. It could be related to the time of day and traffic during the time of day. I will keep the settings and see how they hold up.
I have been using the normal settings without modifications for Google Nav and it works perfectly fine. I will see how these settings hold. I'll attach my build.prop. Just remove the ".txt"
dawgpound, can you report what city you are in. I do agree that time of day and tower can play into this, this is why my before and after tests were done about 2-3 miles apart from each other. They were also done during daytime hours.
To update on my end, I'm still testing in various areas of atlanta and I'm finding that I actually connect "G" in some areas. I'm assuming UMTS99 since the phone only supports this. The download speeds were terrible, worse than edge for me though. I know this implementation is older and probably not omptimized.
Using Speedtest I'm still not getting any worse than 40k download anywhere in metro atlanta. But, one thing I've found is that in some cases I would get a upload speed greater than download, running Speedtest again even immediately after would produce much higher downlad and upload speeds and maintain these. I think this goes back to my theory that when you initiate the data transfer that it takes a while for the phone to build all the timeslots to the carrier when you enable them in some situations.
Sorry for responding so late. I'm doing the tests in LA. I went to Universal Studios the other day with the modified settings and my phone failed badly when using data. I was getting full signal on my phone with the EDGE sign but it wasn't sending or receiving data most of the day.
Unfortunately, I wasn't able to switch back and forth to see if it was just in the theme park or not. I've noticed in crowded areas, it lags pretty bad compared to the stock settings. I also was connecting to G speeds in some areas but only for a few seconds before switching back to EDGE. Right now, I'm back on stock settings to compare. I will say though, with the modified settings, download speeds increased by average 5 kB/s but upload speed was on avg 5 kB/s less than dl speeds. Stock settings, both download and upload speeds are close to each other.
Greetings!
I noticed on my other phones (Samsung Vibrant[original galaxy s], and Motorola Atrix 4g) that when I use bysybox's top, it shows my load avg (with screen off in adb shell over usb) at around 0.1-1.5 depending what might be runningin the background. It shows these same values if I run busybox uptime.
However on this phone busybox's top/uptime shows it consistently between 8-10 (yes 8 and 10, not 0.8 and 0.10) for 1min/5/15min times...
Anyone have any idea why it shows it so high? It supports smp and I'm using what I suppose is the newest or close enough to the newest version:
BusyBox v1.20.2-Stericson (2012-07-04 21:33:31 CDT) multi-call binary.
iostat shows 0.51tps and about 50blk reads a sec for the /sdcard partition, but nothing else really going on.... total for all partitions is:
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 1.24 89.85 9.84 2263044 247828
So not really crazy io that would cause a load over 1, its currently only using 1 cpu and load is at:
CPU0: 1.7% usr 1.3% sys 0.0% nic 96.8% idle 0.0% io 0.0% irq 0.0% sirq
Load average: 8.02 8.25 8.68 1/920 15024
Old phones(one for example as i'm late for work):
----------
CPU: 2.1% usr 3.3% sys 0.0% nic 94.3% idle 0.0% io 0.1% irq 0.0% sirq
Load average: 0.10 1.52 1.65 1/411 4925
IOSTAT:
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
mmcblk0 0.85 69.64 3.24 1348666 62695
stl9 0.38 30.53 0.05 591168 992
----------
So because this old phone has two different types of block devices you can see that added up they are very close, as is cpu usage. Yet load on old phone is maxing out at 2 under heavy load, but blaze is never less than 8, sometimes 9 or 10 even when screen is off and it doesnt appear to be doing anything (90%+ cpu idle and low io usage).
Actually now that I look..... /proc/loadavg says its that high too (just rebooted phone hence lower 5/15min avgs):
# cat /proc/loadavg
8.15 7.09 3.88 1/893 2550
So busybox is reporting what is see's there so its not busybox itself, but perhaps the kernel? I'm using the stock rooted kernel. Doesn anyone have a diff or changelog of the stock kernel so I can see what was changed to enable root?
I'd like to see if we can figure this out as the load is clearly not that high due to cpu or i/o load 24/7 but the numbers always are on this phone, even if you close everything.
Thanks for anyone who might have some information on why the load value would be so off (it is off in /proc/loadavg as well)
--thesh0ck
Hi Team,
Is there any way we can control the speed of GPRS Data Speed , let say some 2kbps like that ?
I know its funny as GPRS itself is slow and why am i wanted to reduce its speed even lower. I got some idea in my mind to reduce battery drain.
Using Tasker I have achieved to control per application 3G Mode (WCDMA only) when they are active, and rest all the time phone will be 2G Mode(GSM Only)(mainly when phone is in locked state). I know the chat application would do background connect and prob for new data, at this time, if I can control the data flowto its minimum, I feel it will reduce the batter drain little more.
is there any way to active this speed control on Android with some application or tweak ?
Cheers,
Kirankumar.
Phone : Samsung Galaxy S Plus ( GT-I9001 )
KiranNokia said:
Hi Team,
Is there any way we can control the speed of GPRS Data Speed , let say some 2kbps like that ?
I know its funny as GPRS itself is slow and why am i wanted to reduce its speed even lower. I got some idea in my mind to reduce battery drain.
Using Tasker I have achieved to control per application 3G Mode (WCDMA only) when they are active, and rest all the time phone will be 2G Mode(GSM Only)(mainly when phone is in locked state). I know the chat application would do background connect and prob for new data, at this time, if I can control the data flowto its minimum, I feel it will reduce the batter drain little more.
is there any way to active this speed control on Android with some application or tweak ?
Cheers,
Kirankumar.
Phone : Samsung Galaxy S Plus ( GT-I9001 )
Click to expand...
Click to collapse
What are the apps you are using? Some apps use GCM/C2DM (Google's push notification service) or store your chat messages online (Viber, Facebook Messenger, Whatsapp,...). As long as apps have this, you don't have to stay online to get messages.
If you still want to do that, IMO reducing speed isn't neccessary. Let's imagine, an apps send 100KB data in 10 seconds is better than in 200 seconds.
i am using 2g and need optimum
values for
max upload speed
max download speed
max outgoing connection
max incoming connections
local peer search
u can't expect mileage from a snail...do u??
Better get 3G or Broadband(for pc):thumbup:
for my mobile i get 25kbps its enough but i upload lots dta which reduce dwnld speed so just wanted suggestions
Solution
dude face same problem on my ***** tata docomo 2g internet....
i would keep and big download say upto 30 mbs os size at night and sleep ..on morning i wouls find it downloaded....
with torreents it was all another story...then few torrent apps were released from which i used aTorrent(pro)...I am satisfied with its usage... sometimes the content would download at 1kb/s wouls compete in 10 -30 minutes... for slightly bigger ones it would take a night or more days to download but it would complete..
remember data exceeding the size of 20mb would never be able to be downloaded on 2g speed is impossible(would take months)...
I was wondering if anybody knows how to manually prioritize network frequencies from the phone itself? My home network has 2 SSID's for each frequency, but I don't always have the luxury of changing the network settings. I find this phone is very aggressive in switching to the 5ghz frequency, which can result in momentary connection losses if the SSID is not split. I think this could be fixed by manually forcing the phone to either use 2.4 or 5ghz, but either Sony has taken that feature out of Android, or I can't find it.
If it's there, could somebody point me to it? And if not, my phone is rooted, is there any magisk mod or workaround that anybody knows of to do this?
I have never read of, or seen anything that can change the frequency on the phone itself. The Wi-Fi antennas will pick up either and most likely focus on either the strongest signal, or the newer of the two which is the 5ghz. You mention two SSID's for each frequency...so a total of 4 SSID"s??? I would pair that down to one per frequency. That may help. But the only way I know of to force the phone to connect to one frequency or the other is at the router. If you must keep all four SSID's then do not give the phone the password for the 5ghz frequency but give it one for the 2.4 only.
jaseman said:
I have never read of, or seen anything that can change the frequency on the phone itself. The Wi-Fi antennas will pick up either and most likely focus on either the strongest signal, or the newer of the two which is the 5ghz. You mention two SSID's for each frequency...so a total of 4 SSID"s??? I would pair that down to one per frequency. That may help. But the only way I know of to force the phone to connect to one frequency or the other is at the router. If you must keep all four SSID's then do not give the phone the password for the 5ghz frequency but give it one for the 2.4 only.
Click to expand...
Click to collapse
Sorry for the confusion, I meant 2 SSID's, 1 for each frequency. There is only 2. In stock Android, you can go to Settings > WiFi > 3 dots at the top right > advanced > wifi frequency. Usually it's set to automatic, but you have the option to force one or the other. Its actually a really cool feature, kinda sucks that you can't do it with this phone
Superfish86 said:
Sorry for the confusion, I meant 2 SSID's, 1 for each frequency. There is only 2. In stock Android, you can go to Settings > WiFi > 3 dots at the top right > advanced > wifi frequency. Usually it's set to automatic, but you have the option to force one or the other. Its actually a really cool feature, kinda sucks that you can't do it with this phone
Click to expand...
Click to collapse
Well, if what you say about stock Android is true...that you can pick and choose the Wi-Fi frequency in the phone....then I have learned something new.
But what I previously said still holds true...either you turn off 5ghz at the router, or just do not give your phone the password for that frequency.
This should force it to use the 2.4