best AT&T set up for download speed - Streak 5 Q&A, Help & Troubleshooting

any ideas guys? I had an xperia x10 loaner, running custom ROM+build.prop was seeing 3-4.5Mbps download on AT&T. Ive never been able to get more than 2.5 on my streak, Ive used stock; 1.6, 2.1, 2.2, 2.2.2, DJSteve builds 1.46-1.9, and now im using Simple Streak 1.2.
Any ideas? Would engineering baseband be better? I have the build.prop ro.ril tweaks, etc.
im on simplestreak 1.2 w/baseband 35411-US

Consider yourself lucky, all I'm getting is 1.9, 1.2 and 1 mostly. My gf's captivate gets 3-5 constantly. If any one has any ideas to fix this, please let us know.
Sent from my Dell Streak using XDA App

How to Increase AT&T 3G Speed on Android
Includes step by step to editing build.prop via ADB or Root Explorer.
After some testing, this is the best I could come up with:
SimpleStreak 1.2 with 353 AMS flashed
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=6
ro.ril.hsxpa=5
Place that at the end of your build.prop and make sure there is a blank line at the very end. Reboot twice and test.
I went from 439kbps - 900kbps down / 1079kbps up without these settings to 2978kbps down / 1104kbps up
Your mileage may vary.
My original post in this thread:
I flashed the 354 AMS for SimpleStreak 1.2 and found that I am getting around 500kbps d/l speeds on AT&T
I saw your post and was hoping to find some answers. I didn't know what the ro.ril tweaks were, so I googled. I assume you mean adding this to build.prop:
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=28
ro.ril.hsupa.category=9
ro.ril.hsxpa=3
I am going to flash the 353 baseband plus add the ro.ril tweaks and see if that helps.
::update:: Actual speed test result on 354 bb was 439kbps (man that is slow). After flashing 353 bb update, I'm getting 1033kbps down. Going to try some ro.ril tweaks and see if anything changes.
Click to expand...
Click to collapse

I seem to have posted ro.ril settings for a 4G Galaxy SII (really AT&T... just call HSPDA 4G... who'll know) from here: http://forum.xda-developers.com/showthread.php?t=1087729
Settings previously mentioned for Streak are here: http://forum.xda-developers.com/showthread.php?t=924440
Code:
ro.ril.hsxpa=2
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.hsupa.category = 5
The fastest d/l speed I've seen so far is 1197kbps (using the ro.ril from the SII post). This is really disappointing. The iPhone 4 hits 2.5MB consistently sitting right next to my Streak.
chrisrotolo said:
Ive never been able to get more than 2.5 on my streak,
Click to expand...
Click to collapse
I guess my question becomes, how in the world are you getting 2.5 mb down on your streak?

idk, I'm using same tweaks you posted on simple streak 1.2 with perfmod, but have always seen ~2.5 down, on any ROM.

Running Simple 1.2 with perfmod flashed, flashed 354 completely stock before, then 353 amss.mbn.
After build.prop edits, with about -95 to -99db signal strength:
1:
Download: 2483kbps
Upload: 735kbps
Ping: 240ms
2:
Download: 2557kbps
Upload: 751kbps
Ping: 256ms

How are you guys testing download speed? How do you monitor it? Never did that on a phone.

Speedtest.net I assume.
http://market.android.com/details?id=org.zwanoo.android.speedtest
You can access through the browser also if you set uastring to desktop.

nickshertzer said:
Speedtest.net I assume.
http://market.android.com/details?id=org.zwanoo.android.speedtest
You can access through the browser also if you set uastring to desktop.
Click to expand...
Click to collapse
You type that like everyone else just knows what you're talking about.
I'm going to show my age, but right now I'm hearing the Skipper after listening to the Professor explain something, "easy for you, difficult for me."
Where does one set this string and what does it do?

Speakeasy works in the stock browser without changing anything.
Apps:
speedtest.net
FCC Speedtest
Xtreme Labs Speedtest
CNLab Speedtest
Network Speed
Info from braodband.gov

Simplestreak 1.2 with perfmod and OC set to max of 1.19. No other mods.
2.4 download 750 upload on Speakeasy.
AT&T in North Carolina.

On a rooted 351 with stock kernel and with most Dell included bloatware, especially the Stage UI, removed: 2.26 Mbps down, .75Mbps up on AT&T's network.
I never changed over to 353 or 354. Glad I didn't either.

mid_life_crisis said:
Where does one set this string and what does it do?
Click to expand...
Click to collapse
In the stock browser address bar, type "about:debug" (no quotes). Then hit Menu \ More \ Settings. Scroll all the way to the bottom and find UAString (Stands for User Agent String) and select Desktop.
It forces web sites to show you the full version instead of the mobile version. Most third party browsers have this setting more easily accessible. (Miren, Dolphin, Firefox, etc)

From http://forum.xda-developers.com/showpost.php?p=5123531&postcount=46
Amon_RA said:
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 :
Code:
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 :
Code:
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 :
Code:
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 :
Code:
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).
Click to expand...
Click to collapse

More Settings to Test:
Code:
ro.ril.hep=1
ro.ril.enable.dtm=1
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask = 4294967295
ro.ril.htcmaskw1 = 14449
ro.ril.hsupa.category = 5
From what I've been reading, it is suggested to put a blank line at the end of the ro.ril statements in build.prop. Also, reboot twice after making changes before testing speed.
This gave me 831kbps Down / 1031kbps Up
2nd run: 849kbps / 1113kbps
Not seeing much in the way of results here.

@post 14:
How do you find out the correct settings for your particular network? At 2.4/.750, I'm guessing mine are probably close, but hey, if I can get more for my hard earned money, I'm all for it.

mid_life_crisis said:
@post 14:
How do you find out the correct settings for your particular network? At 2.4/.750, I'm guessing mine are probably close, but hey, if I can get more for my hard earned money, I'm all for it.
Click to expand...
Click to collapse
No idea... I thought that was what this thread was for...
FYI ro.ril stands for radio-interface-layer ::cue music:: 'The More You Know'

Well, maybe I found something here. I'm going to edit my first post on this thread with my current settings.
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=6
ro.ril.hsxpa=5
Place that at the end of your build.prop and make sure there is a blank line at the very end. Reboot twice and test.
I went from 439kbps - 900kbps down / 1079kbps up without these settings to 2978kbps down / 1104kbps up
Your mileage may vary.

nickshertzer said:
Well, maybe I found something here. I'm going to edit my first post on this thread with my current settings.
Code:
ro.ril.enable.dtm=1
ro.ril.gprsclass=12
ro.ril.hep=1
ro.ril.enable.3g.prefix=1
ro.ril.hsdpa.category=14
ro.ril.hsupa.category=6
ro.ril.hsxpa=5
Place that at the end of your build.prop and make sure there is a blank line at the very end. Reboot twice and test.
I went from 439kbps - 900kbps down / 1079kbps up without these settings to 2978kbps down / 1104kbps up
Your mileage may vary.
Click to expand...
Click to collapse
These edits made the following changes:
Before: ~2500 down / ~500 up
After: ~2000 down / ~1000 up
I like that it looks a bit more synchronous even though the download speeds are a bit slower. I'll see how this feels in RL.

I just ran two speed tests.
1) Speedtest installed to phone - 1.4 down / 1.1 up.
2) Speakeasy from website - 2.5 down / .85 up.
Yes, I disabled wifi first.
Back to back tests should not be that different.

Related

802.11n support?

In the file tiwlan.ini located in /system/etc I have the lines:
Code:
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
I think we can enable BurstMode and 802.11n (if driver allow it) support.
I cannot try, my access point isn't "n" (only "g" at 2.4GHz), but If you have an "n" wi-fi access point....
did a little digging.
looks like the wlan controller for the x10 mini pro is:
texas instrument wL1271a
http://focus.ti.com/general/docs/wt...ntId=29993&navigationId=12762&templateId=6123
TQM679002A from TriQuint
http://www.triquint.com/prodserv/more_info/proddisp.aspx?prod_id=TQM679002A
source: http://www.phonewreck.com/2010/08/05/823/
which means that the x10 mini pro is indeed b/g/n compatible. but only over 2.4Ghz band.
I'll do some more investigation tonight when I get back home.
Wonder what kind of throughputs I'll net.
Ok thanks! I'm using burst and n settings to 1..
Ok it works but I do not know my speed....
Sent from my U20i using XDA App
I'm here again.
I discovered how set up n in my router at 2.4Ghz (was n at 5Ghz) AND IT WORKS !!!!!
NOW I'M AT 65MBITS! router is at 1st floor and I'm at 2nd floor, but speed is > 54
So our mini pro IS n !
UPDATE: I've just tried close the access point.. 65mbit... Ok, 65 is greater than 54.. I think firmware - driver limits "n" speed.
oversim said:
I'm here again.
I discovered how set up n in my router at 2.4Ghz (was n at 5Ghz) AND IT WORKS !!!!!
NOW I'M AT 65MBITS! router is at 1st floor and I'm at 2nd floor, but speed is > 54
So our mini pro IS n !
UPDATE: I've just tried close the access point.. 65mbit... Ok, 65 is greater than 54.. I think firmware - driver limits "n" speed.
Click to expand...
Click to collapse
How you discovered this? Wich software?
I'm trying.....
Thank You!!
dettofatto said:
How you discovered this? Wich software?
I'm trying.....
Thank You!!
Click to expand...
Click to collapse
No software, simple: while examining configuration files..
That's great news guys! How about the battery life? does switching to n affect battery life significantly?
TIA
Absolutely no... Battery behaviour is the same using 65 or 54mbit...
Sent from my U20i using XDA App
oversim said:
Absolutely no... Battery behaviour is the same using 65 or 54mbit...
Sent from my U20i using XDA App
Click to expand...
Click to collapse
Perfect! 65 mbit!
802.11n should improve reception and by the way may preserve battery life at the oposite of 802.11g.
What information have you changed?
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
To:
?
HT_Enable=1 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
ok, thanks! i will try at home.
Hi,
I change the file tiwlan.ini as in the 1st post, but I didn't measure any difference.
I use wireshark in my laptop with wireless card (ipw4965 - module ipwagn) in monitor mode to check the traffic between my e10i (X10 mini, not pro) and my router (Linksys WAG325N).
In any instant the baudrate was greater that 54Mbps, but my laptop connects with a maximum of 130Mbps.
My X10 mini show 65mbps without any modification, the values are 0. Hmm...this could be from my router (asus wl500 gp, oleg firmware.) I will try the modified values
how are u guys editing it ??
NashXDA said:
how are u guys editing it ??
Click to expand...
Click to collapse
You need root access to your device and to mount the system folder with write permissions.
Copy your original tiwlan.ini to the sdcard, edit the file in the PC, and copy again to the original location.
I'm using root explorer to edit this file..
phoxy84 said:
What information have you changed?
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
To:
?
Click to expand...
Click to collapse
Both 1, enabled.
rubensun said:
did a little digging.
looks like the wlan controller for the x10 mini pro is:
texas instrument wL1271a
http://focus.ti.com/general/docs/wt...ntId=29993&navigationId=12762&templateId=6123
TQM679002A from TriQuint
http://www.triquint.com/prodserv/more_info/proddisp.aspx?prod_id=TQM679002A
source: http://www.phonewreck.com/2010/08/05/823/
which means that the x10 mini pro is indeed b/g/n compatible. but only over 2.4Ghz band.
I'll do some more investigation tonight when I get back home.
Wonder what kind of throughputs I'll net.
Click to expand...
Click to collapse
If you would have read everything, you would have read this:
Supports the soon-to be ratified WiFi Directâ„¢ and Soft AP mode capabilities, extensible to support additional protocols
Click to expand...
Click to collapse
This hints that it is draft-n, not final-n which is a result of the 65 speed only (which burstmode actually gives over a 802.11g connection as burstmode simply sends data from one device to another without waiting for the other device to say "I have recieved it"
http://en.wikipedia.org/wiki/Burst_mode_(computing)
)
In order to enable final 802.11n, the chip would have to have its firmware updated. On my Intel 4965, this same issue occured: I had a draft router and a draft card (The Intel 4965). The speeds were I believe 104 or something less. Now, with both of them on the final spec with their firmwares updated, Im hitting 130.

[MOD] Faster WIFI for X8 - N standard enabling

Hi folks!
The modification I present here comes from this thread.
So far tested on: miniCM RC1, CM7 RC4
To work!
1. We go to /system/etc/firmaware directory and find files named:
Code:
/etc/firmware/fm_rx_init_1273.2.bts
/etc/firmware/fm_tx_init_1273.2.bts
/etc/firmware/fmc_init_1273.2.bts
2. Are they there? Good, don't touch them. Are they not there? Well, it's a pity, you won't get 5GHz band
3. Go back to /system/etc and find a file named tiwlan.ini
NOTE: In CM7 based ROMs the path may be /system/etc/wifi
4. Look for the following lines:
Code:
HT_Enable=0 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 0 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 0
and change them into:
Code:
HT_Enable=1 #0=diable 802.11n support / 1=Enable
BurstModeEnable = 1 # 0 - Disabled 1 - Enabled
WiFiAdhoc = 1
5. This stage is for people who have files from step 1!
Look for the line:
Code:
Single_Dual_Band_Solution = 0
and change it into
Code:
Single_Dual_Band_Solution = 1
6. Save, reboot.
Troubleshooting: If after enabling your wifi keeps disconnecting, or you get the "connecting" bug, go to settings->networks->wifi, erase all remembered networks and reboot.
Disclamer: if you crush your wifi or brick your phone, I'm not responsible for it.
5GHz band and AdHoc features need testing to prove they work, N standard 100% working.
Also, I've been told that each ROM has different tiwlan file - if it's so, then we need custom zip for each ROM available. I'm not familiar with how it's done, so if someone could prepare them I'll attach them to the first post
Enjoy, X8 users!
Thanx for this when i got home i will test on my mini pro with 5gHz if it works i will include it as standart in my rom (mini and mini pro roms)
Sent from my U20i using XDA Premium App
Ok, we've got tests from polish android board and it's confirmed - X8 connects in n standard!
Graveir said:
Ok, we've got tests from polish android board and it's confirmed - X8 connects in n standard!
Click to expand...
Click to collapse
wow, thats just great but dont you think its drain more the battery?
Well, I've installed it something like half an hour ago, so I can't say for sure. There are two possibilities:
1. Since we already had more aerials in our phones, only they were unused, the battery drain with enabled wifi will stay as it was.
2. The additional aerials for n standard were inactive (I don't know if it's possible if they're on one chip, though) and after enabling them the battery drain will increase.
What can I say - check it yourself
aerosmith1 said:
wow, thats just great but dont you think its drain more the battery?
Click to expand...
Click to collapse
Guys often talk about drain battery.
Generally, better performance and better functionality it is more battery eating. If you want max battery saving, then never do not use bluetooth, wi-fi, GSM, 2G, 3G, set min brightness etc.. Everybody have choose.
i noticed no defference !!!!!!!
asn-mat said:
i noticed no defference !!!!!!!
Click to expand...
Click to collapse
Check stuff like connection speed or distance that you can now have from you router. Mayhaps you simply have a good router hardware and the difference is hard to spot - I feel an improvement personally
But if you feel you don't need it - switch it off, why risk a higher battery drain if nothing really changes
Can anyone confirm by checking connected devices in your routers status?
192.168.0.1
192.168.1.1
and username and password is often:
Code:
admin
admin
or
Code:
admin
1234
EDIT: If anyone can confirm this I will add this to the next MiniCM.
TESTS:
http://forum.android.com.pl/f257/mo...i-802-11n-dla-x8-60185/index4.html#post541352
What I'm posting is a translation of the linked post:
I'm currently using Sense CM7RC3 ROM. In my tiwlan.ini file (which in my case was in /system/etc/wifi) I changed only the lines:
HT_Enable=1
BurstModeEnable = 1
After a restart the phone established connection with Dlink Dir-615 router with firmware dd-wrt without any problem. In order to make sure if the phone is working in n standard I switched the router into N-only mode and it works, while my other phone without this improvement lost connection.
As I use FTP server in my phone on daily basis I made some speed tests.
In G mode I get average of 700kBps.
In N mode I get slightly more - 800kBps.
This means that the phone cannot even fully use the functionality of B standard. Let's add that during saving files on 4 class SD card via USB I get about 1500 kBps.
During tests I was using channel 1, however, there is another network in my range working on the same channel, so I switched my router in channel 13 and the connection speed dropped below 100 kBps.
The Single_Dual_Band_Solution = 1 issue:
I need more tests, but it seems that it does not unlock 5GHz band, but rather extends 2,4Ghz one. In the 2.4 there are 14 channels defined, but you cannot use any above the 9th, this setting allows to use 10-14 channels.
I also tasted range, and there is a considerable improvement here. In the room where G standard was working unstably and slower, N works flawlessly.
Click to expand...
Click to collapse
Hope it's enough
Well... I dont find tiwlan.ini in CM7 RC4 Rom... Where is it?
Edit: got it
Graveir said:
....Dlink Dir-615 router...
Click to expand...
Click to collapse
As i know, this router supports only 2.4GHz freq., isn't it?
What'd you know, you're right... I'll post it on polish board then and ask for more tests However, this still means that n standard works, and that 5GHz band might be operational!
I use CM7 and Dlink DIR-620 and can confirm what n standart works
I just post this information about 802.11n unlock in our 4pda forum to find testers, who can confirm 5GHz support. I hope...
ojojojworld said:
I use CM7 and Dlink DIR-620 and can confirm what n standart works
Click to expand...
Click to collapse
This router, as previous, supports only 2.4GHz...
I mean n standart not 5Ghz
Find variable:
Code:
WiFiAdhoc = 0
Change it to:
Code:
WiFiAdhoc = 1
Now you can connect to Ad|hoc (computer<>computer networks)
Thank you for this! I'm gonna write in into the first post.
Could you by any means verify if it works?
Graveir said:
Thank you for this! I'm gonna write in into the first post.
Could you by any means verify if it works?
Click to expand...
Click to collapse
I will test it soon and post results...
Tested on racht's v0.15 Floyo. Wifi connected to my TP-Link WR740N. Was set as 11n only. But after 10-15 secs phone couldn't find any network. Restart of wifi doesn't work.

Connection (data) problem woes

I have a couple services running on my home computer that I like to access while on the road. Plex and VNC to be exact. Ports are forwarded correctly in my router. MyPlex shows my server is online and I can connect with VNC from another computer with no problem. I can sometimes connect with my streak, but mostly I cannot. I have had luck with changing some APN settings (I'm on AT&T), but I can't pinpoint which setting helps, as it's not always the same tweak that works. Any ideas? Could this be a dying sim card? I am running DSC 0.61b, but reverted back to 354 to see if it was a gingerbread problem. When I reverted back, I flashed a stock rom first, so that rules out low level firmwares. I never use to have a problem accessing this.
Is that other pc inside or outside the network?
Have you fully ruled out port forwarding issues and everything?
The other PC is outside the network. I'm fairly convinced that port forwarding issues are ruled out since it works on the other PC and occasionally works with the phone. I've also used some websites to check on the status of the ports and they always test out fine. I'm at a lost and a dying sim card is all I can think of, mainly because I don't know the symptoms of a dying sim card and this one is a couple years old. For whatever reason, when I bought my Streak, the guy at Best Buy used my existing sim card. I thought they always gave a new one...could be wrong.
I usually start with:
Terminal emulator.
Ping host
Ping known host (8.8.8.8)
Telnet host port
Traceroute host
--
But it works on 354 firmware... ltrifonov is currenly working on rebasing ROM to 2.3.7, there's a chance that newer Gingerbread version will help.
Anyway, i'm quite good at analyzing code of any source, but reading Android code, for example, WiFiService.java, make me twitching
Well, I did some more testing on the way home. My commute is almost 50 miles, so I had a chance to go through several cell towers (at least that's part of my theory). It seems it was only while I was at work that I couldn't connect. Once I got closer to home, I seemed to be able to connect, even after reverting to default APN settings. So my theory is that my problem is with AT&T's service and that maybe when connected to a particular cell tower, the ports are being blocked whether on purpose or not. Me playing with APN settings and reboots had the side effect of connecting to a different tower. Does this sound feasible? How can I get the ID of the tower I'm connected to? If I'm right, and I can narrow it down, I'll contact AT&T with my findings.
edit: I found a ton of apps to id cell towers in the market. I have no idea why I didn't look there first.
_n0p_ said:
I usually start with:
Terminal emulator.
Ping host
Ping known host (8.8.8.8)
Telnet host port
Traceroute host
--
But it works on 354 firmware... ltrifonov is currenly working on rebasing ROM to 2.3.7, there's a chance that newer Gingerbread version will help.
Anyway, i'm quite good at analyzing code of any source, but reading Android code, for example, WiFiService.java, make me twitching
Click to expand...
Click to collapse
Thanks for the reply _n0p_. It doesn't work on 354 either. So I don't think gingerbread is to blame...this time.
This is the traceroute from a laptop on the Verizon network. As you can see, it goes through no problem:
Tracing route to cpe-72-185-17-101.tampabay.res.rr.com [72.185.17.101]
over a maximum of 30 hops:
1 81 ms 76 ms 58 ms 64.sub-66-174-168.myvzw.com [66.174.168.64]
2 85 ms 102 ms 89 ms 191.sub-66-174-175.myvzw.com [66.174.175.191]
3 103 ms 92 ms 103 ms 201.sub-69-83-57.myvzw.com [69.83.57.201]
4 81 ms 84 ms 122 ms 18.sub-69-83-56.myvzw.com [69.83.56.18]
5 130 ms 102 ms 107 ms 70.sub-69-83-33.myvzw.com [69.83.33.70]
6 102 ms 84 ms 105 ms 67.sub-69-83-33.myvzw.com [69.83.33.67]
7 107 ms 110 ms 131 ms 207.138.128.13
8 90 ms 92 ms 91 ms po5-20G.ar1.ATL2.gblx.net [67.16.143.125]
9 92 ms 92 ms 112 ms TWC-COMM-LLCAtlanta.TenGigabitEthernet9-2.ar1.AT
L2.gblx.net [64.212.108.70]
10 87 ms 84 ms 87 ms ae-2-0.cr1.atl20.tbone.rr.com [66.109.6.176]
11 125 ms 125 ms 123 ms 66.109.10.15
12 115 ms 152 ms 125 ms 72-31-220-2.net.bhntampa.com [72.31.220.2]
13 154 ms 132 ms 111 ms 72-31-208-100.net.bhntampa.com [72.31.208.100]
14 134 ms 110 ms 114 ms te0-8-0-0.tpafl27-car2.bhntampa.com [71.44.3.11]
15 110 ms 110 ms 112 ms 72-31-208-251.net.bhntampa.com [72.31.208.251]
16 106 ms 127 ms 125 ms gig1-0-0.tampfl47-10k1.tampabay.rr.com [65.32.25
.77]
17 149 ms 153 ms 161 ms cpe-72-185-17-101.tampabay.res.rr.com [72.185.17
.101]
Trace complete.
This is the traceroute from my phone on the AT&T network. It does not go through.
sh-4.1# traceroute 72.185.17.101
traceroute 72.185.17.101
traceroute to 72.185.17.101 (72.185.17.101), 30 hops max, 38 byte packets
1 * * *
2 172.26.248.2 (172.26.248.2) 170.502 ms 171.845 ms 209.655 ms
3 172.18.166.82 (172.18.166.82) 210.266 ms 201.232 ms 249.572 ms
4 172.18.194.78 (172.18.194.78) 210.236 ms 201.232 ms 209.442 ms
5 172.18.194.2 (172.18.194.2) 209.900 ms 172.150 ms 209.686 ms
6 172.18.194.225 (172.18.194.225) 219.848 ms 181.763 ms 209.686 ms
7 209.183.38.226 (209.183.38.226) 210.601 ms 175.873 ms 209.625 ms
8 172.18.213.1 (172.18.213.1) 249.755 ms 184.662 ms 229.705 ms
9 12.88.97.9 (12.88.97.9) 219.818 ms 206.024 ms 209.869 ms
10 12.123.22.6 (12.123.22.6) 309.631 ms 12.123.22.130 (12.123.22.130) 236.48
1 ms 241.699 ms
11 12.122.80.185 (12.122.80.185) 209.717 ms 12.122.80.221 (12.122.80.221) 17
2.211 ms 12.122.80.185 (12.122.80.185) 180.878 ms
12 192.205.36.86 (192.205.36.86) 186.920 ms 182.312 ms 251.251 ms
13 216.156.108.58 (216.156.108.58) 218.232 ms 216.156.108.66 (216.156.108.66)
167.969 ms 216.156.108.86 (216.156.108.86) 184.967 ms
14 66.109.6.176 (66.109.6.176) 169.006 ms 107.14.19.12 (107.14.19.12) 189.48
3 ms 66.109.6.176 (66.109.6.176) 184.052 ms
15 66.109.6.105 (66.109.6.105) 179.016 ms 66.109.10.15 (66.109.10.15) 198.18
1 ms 66.109.6.105 (66.109.6.105) 179.993 ms
16 72.31.220.2 (72.31.220.2) 251.892 ms 274.719 ms 299.775 ms
17 72.31.208.106 (72.31.208.106) 329.803 ms 72.31.208.100 (72.31.208.100) 25
9.338 ms 268.921 ms
18 71.44.2.38 (71.44.2.38) 299.714 ms 72.31.208.136 (72.31.208.136) 245.514
ms 256.683 ms
19 72.31.208.251 (72.31.208.251) 289.703 ms 72.31.208.253 (72.31.208.253) 29
2.572 ms 72.31.208.251 (72.31.208.251) 247.406 ms
20 65.32.25.77 (65.32.25.77) 232.300 ms 193.787 ms 65.32.25.81 (65.32.25.81)
241.089 ms
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
sh-4.1#
My question is, where does the problem lie? The first hop times out; Would that be my phone itself? Line 21, which is where the timeouts start at the end, should be my home router, judging by what I see on the other traceroute. Is my router blocking the traffic from my phone specifically? Any idea why? I am at a loss here. There seems to be no rhyme or reason to this as far as I can tell and at this point I don't know who to complain to, AT&T, RoadRunner, or me...
Edit: So, I got my IP address for my phone from whatismyip.com and I can't ping that from the phone either. Problem??? or not...
Edit 2: Connected via a local wifi hotspot and traceroute connects on through.
Second trace stops at
-------
OrgName: Road Runner HoldCo LLC
OrgId: RRSW
Address: 13820 Sunrise Valley Drive
City: Herndon
StateProv: VA
PostalCode: 20171
Country: US
RegDate:
Updated: 2011-07-06
Comment: Allocations for this OrgID serve Road Runner residential custome rs out of the Austin, TX and Tampa Bay, FL RDCs.
Ref: http://whois.arin.net/rest/org/RRSW
------
First route goes through Road Runner without problems, so i may suggest NEXT op is the problem and it's AT&T, i suppose.
------
There's a probable interoperability problem either on last point, OR AT&T doesn't support ICMP packets on their routers.
Will think more about it
So I talked to AT&T this morning and basically all they told me was the APN settings and that I'd i could get to a website then their service was working fine. I'm betting they are blocking it somehow.
Sent from my Dell Streak using xda premium
I know this thread hasn't gotten much attention, but I'm posting my results here in case anyone runs into the same problem. If I use baseband 305 or 351, everything is fine. I'm going to try others and see if they work.

Tweaking tcp buffer settings

I'd like to tweak the tcp.rmem settings that come stock. The maximum buffer size (110208 bytes) is quite low for a high speed connection.
I've tried build.prop, init.rc, and init.local.rc. I checked the results with "sysctl -a | grep tcp".
/system/build.prop - no effect (is everybody around the web enjoying placebo?)
net.tcp.buffersize.default=4096,87380,524288,4096,16384,110208
net.tcp.buffersize.wifi=4096,87380,524288,4096,16384,110208
/system/etc/init.local.rc - doesn't seem to be used by the OS?
setprop net.tcp.buffersize.default 4096,87380,524288,4096,16384,110208;
setprop net.tcp.buffersize.wifi 4096,87380,524288,4096,16384,110208;
/init.rc - is seemingly recreated on each boot with some predefined numbers
setprop net.tcp.buffersize.default 4096,87380,524288,4096,16384,110208;
setprop net.tcp.buffersize.wifi 4096,87380,524288,4096,16384,110208;
[in these values the first three #s are receive (min,start,max), second three are send (min,start,max)]. TCP auto adjusts between min and max.
issuing the setprop commands by terminal works but that isn't really ideal.
Are these the default values? What optimized values should we set from the terminal?
You could try smanager to run a script that changes the values.
Sent from my BNTV250 using XDA
defaults are (init.rc):
setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
the first 110208 in these is the max allowed tcp receive buffer size and it really isn't ideal for say a 10+ mbps connection. A value of 262144 would be more appropriate. Even 524288 perhaps for 20-30 mbps though a 63mbps wifi connection is probably too slow for this to be beneficial.
good idea on just using a custom script.....
I have successfully set up V6 Supercharger Script on CM9 so I would assume it should work on CM7 if that's what you are running. If you want to go that route. May be placebo effect but it seemed to make an improvement in many areas.
Sent from my CM9 Nook Tablet using Tapatalk
swaaye said:
defaults are (init.rc):
setprop net.tcp.buffersize.default 4096,87380,110208,4096,16384,110208
setprop net.tcp.buffersize.wifi 4095,87380,110208,4096,16384,110208
the first 110208 in these is the max allowed tcp receive buffer size and it really isn't ideal for say a 10+ mbps connection. A value of 262144 would be more appropriate. Even 524288 perhaps for 20-30 mbps though a 63mbps wifi connection is probably too slow for this to be beneficial.
good idea on just using a custom script.....
Click to expand...
Click to collapse
I believe (and this is not a 100% sure guarantee) that the stock values are set in the source, in the driver code for the linux networking stack. If that's the case, the easiest way is to run the aforementioned script to just set it to different values on boot.
Can you get values through, say,
Code:
cat /proc/sys/net/ipv4/tcp_mem
?
The default allocated memory is based on system ram. But, if you're on a ~10mbps connection, you're not going to notice much of a pickup over stock with 26kb of tcp buffer. I mean, on a 10MBPS connection you should have low latency (well under 100ms), increasing the buffer won't 'speed it up'.
However, this site recommends setting it to 12MB (12582912), to increase performance on higher-latency connections (essentially, not local connections). Try that?

Wifi speed - Redmi Note 4X

Hi. I want to know how max wifi speed has Redmi Note 4X. I have internet 100Mb/s in home but phone in tests shows only about 40Mb/s (max 45). When I download some files it shows max 4MB/s. It's strange because phone has a/b/g/n standard, so it should show 100Mb/s.
Redmi Note 4X Tapatalk
I get 80-90Mbs download speed via 5G wifi from a Xiaomi Mini router, which has a max ethernet speed of 100Mbs.
So no problem with wifi speed.
I have a Redmi Note 4 sd 3/32 global version.
Hello, I also have only 40mbs at 5g channel on 300mbs link. Where to look for best wifi settings?
Guys I discovered how to speed up wifi speed. Go to /data/misc/wifi and open "WCNSS_qcom_cfg.ini" file. Find "gChannelBondingMode5GHz=1" line. Under this add "gChannelBondingMode24GHz=1" line. Next find "WmmIsEnabled=0" and change 0 to 1. Next reboot. My wifi speed up from 40Mb/s to 80.
Hi, guys!
I see you've managed to enable the 2.4 GHz channel bonding, but, does anyone know the maximum speed that mido support? I'm using mine on a 5 GHz wifi network and it can't go above 150mbps of link speed. It's the same on both frequencies (2.4 and 5 GHz). I have other Android phones that are connected with a link of 433mbps.
I tried a lot of tweaks and none of them worked.
Thanks!
FMAranda said:
Hi, guys!
I see you've managed to enable the 2.4 GHz channel bonding, but, does anyone know the maximum speed that mido support? I'm using mine on a 5 GHz wifi network and it can't go above 150mbps of link speed. It's the same on both frequencies (2.4 and 5 GHz). I have other Android phones that are connected with a link of 433mbps.
I tried a lot of tweaks and none of them worked.
Thanks!
Click to expand...
Click to collapse
The SoC in the phone theoretically can support 802.11ac (2 x 2 : 1)
but the actual SoC in the phone does not support it, it's not built in (it's in WCN3680b) - only 802.11n.
The phone's SoC has a WCN3660B and it has no 802.11ac (in WCN3680B there is).
This is what the phone can do fo you 802.11n:
- 1x1:1 antenna config and thus
. ^ ^ ^
. | | |
. | | '-- 1 possible data stream
. | '-- 1 RX antenna
. '-- 1 TX antenna,
- so one antenna, the antenna has a Tx/Rx integrated switch
thus (with one antenna) there's no possibility for MIMO, nor beamforming (not even physically possible)
but that's a 802.11ac feature anyway (and as I mentioned the chip inside does not support it).
(Note: BT is using the same antenna!
You can easily experience the slowdown of Wifi connection
along with an active and traffic forwarding BT connection
because the internal switch has to switch to BT TX/RX too.)
- Long or Short GI (800ns | 400ns)
- Channel bandwidth: 20 or 40MHz (HT20 | HT40)
TL;DR - this phone's capabilities are:
Code:
..Wifi...| Freq.....|.Channel..|.Guard....|.Max. conn.speed
."type"..|..........|.bandw....|.Interval.|.(1 stream)
---------+----------+----------+----------+----------------
.802.11g.|.2.4GHz...|..20MHz...|..800ns...|....54Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..800ns...|....65Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..400ns...|....72Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..800ns...|....135Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..400ns...|....150Mbps
So all your tweaks should be supported on both the phone and the AP (wireless router, AP, whatever) side as well.
Telegra.ph article - where I explained all a bit more.
https://telegra.ph/Xiaomi-Redmi-Note-4X-Snapdragon---Wifi-along-with-Bluetooth--bad-network-experience-and-sporadical-Bluetooth-connection-issues-05-26
All my Telegra.ph articles: http://telegra.ph/Telegraph-posts-by-crok-05-28
crok.bic said:
The SoC in the phone theoretically can support 802.11ac-t is (2 x 2 : 1)
but the actual SoC in the phone this is not built in - only 802.11n.
The phone's SoC has a WCN3660B and it has no 802.11ac (in WCN3680B there is).
This is what the phone can do fo you 802.11n:
- 1x1:1 antenna config and thus
. ^ ^ ^
. | | |
. | | '-- 1 possible data stream
. | '-- 1 RX antenna
. '-- 1 TX antenna,
- so one antenna, the antenna has a Tx/Rx integrated switch
thus (with one antenna) there's no MIMO-ra, nor beamforming (not even physically can do it)
but that's a 802.11ac feature anyway (but as I mentioned the chip inside does not support it).
(Note: BT is using the same antenna.
You can easily experience the slowdown of Wifi connection
along with an active and traffic forwarding BT connection
because the internal switch has to switch to BT TX/RX too.)
- Long or Short GI (800ns | 400ns)
- Channel bandwidth: 20 or 40MHz (HT20 | HT40)
TL;DR - this phone's capabilities are:
Code:
..Wifi...| Freq.....|.Channel..|.Guard....|.Max. conn.speed
."type"..|..........|.bandw....|.Interval.|.(1 stream)
---------+----------+----------+----------+----------------
.802.11g.|.2.4GHz...|..20MHz...|..800ns...|....54Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..800ns...|....65Mbps
.802.11n.|.2.4/5GHz.|..20MHz...|..400ns...|....72Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..800ns...|....135Mbps
.802.11n.|.2.4/5GHz.|..40MHz...|..400ns...|....150Mbps
So all your tweaks should be supported on both the phone and the AP (wireless router, AP, whatever) side as well.
Click to expand...
Click to collapse
Wow, thank you for sharing your knowledge with us. I'm actually ok now that I know that mido is physically not capable to go any further. That's something I'll look into on my next phone. I think I'll PM you with a question regarding the wireless network I have setup on my home. I'll be glad if you reply me.
Thanks again!
Zgadnijcie said:
Guys I discovered how to speed up wifi speed. Go to /data/misc/wifi and open "WCNSS_qcom_cfg.ini" file. Find "gChannelBondingMode5GHz=1" line. Under this add "gChannelBondingMode24GHz=1" line. Next find "WmmIsEnabled=0" and change 0 to 1. Next reboot. My wifi speed up from 40Mb/s to 80.
Click to expand...
Click to collapse
Anyone else have tried this?
Yes, works.
jctmobz26 said:
Anyone else have tried this?
Click to expand...
Click to collapse
crok.bic said:
Yes, works.
Click to expand...
Click to collapse
Sadly I can't find those indicated in the post.
I explained in #6 what the phone can do, even posted a table with possible settings.
jctmobz26 said:
Anyone else have tried this?
Click to expand...
Click to collapse
Crap my bad it's in the vendor file not in the /data. I changed the "WmmIsEnabled" to 1 already just gonna test if something has changed

Categories

Resources