Altering 3G MTU on Android, how ? - myTouch 3G, Magic Android Development

Hello,
I have noticed that a lot of sapphire roms (even the original one) have some problems on H3G and some other networks here (i.e. Vodafone Italy in my case), on my 32A magic.
Download stalls on 2G, uploads may be very slow on 3G. This is because mtu path discovery seems not working very well or maybe some servers block fragmentation request packets, etc etc.
I am wondering if it's enough to issue a "ifconfig rmnet0 mtu XXXX" as root to modify the MTU in android, and how to make this a permanent change in the system, so that it won't lose it for each bootup/interface up&down .
I have investigated this problem for weeks, thinking in the first place it was a problem with the build.prop kernel ril.parameters. Indeed setting this parameters to more conservative values fix that (ie gprs class 10 and not 12, hep disabled, etc), but it doesn't seem to be the main issue.
As I want to conduct some further testing I am wondering if someone knows how to set MTU in a permanent way on android for the remote (GPRS/3G) interfaces.
thanks a lot.

I would also like to know this, I have 3G and it does stall alot. While downloading from market it will go up to 99% then freeze

ziokendo said:
Hello,
I have noticed that a lot of sapphire roms (even the original one) have some problems on H3G and some other networks here (i.e. Vodafone Italy in my case), on my 32A magic.
Download stalls on 2G, uploads may be very slow on 3G. This is because mtu path discovery seems not working very well or maybe some servers block fragmentation request packets, etc etc.
I am wondering if it's enough to issue a "ifconfig rmnet0 mtu XXXX" as root to modify the MTU in android, and how to make this a permanent change in the system, so that it won't lose it for each bootup/interface up&down .
I have investigated this problem for weeks, thinking in the first place it was a problem with the build.prop kernel ril.parameters. Indeed setting this parameters to more conservative values fix that (ie gprs class 10 and not 12, hep disabled, etc), but it doesn't seem to be the main issue.
As I want to conduct some further testing I am wondering if someone knows how to set MTU in a permanent way on android for the remote (GPRS/3G) interfaces.
thanks a lot.
Click to expand...
Click to collapse
theres some method to use bettercut to lock the phone to only be in 3g not to connect to gprs or edge connections
lemme search for it and ill post the link

Zarboz said:
theres some method to use bettercut to lock the phone to only be in 3g not to connect to gprs or edge connections
Click to expand...
Click to collapse
In htc based roms there's the check "3G Only".
But I am just interested to know how to lower the mtu, because here in my flat I have only 2G coverage.
There's a paid app on the market that does exactly that if you're root (lowering the mtu), is called something like "3UK Fixer", so there should be a way.
(it's not like i don't want to pay 1£ btw for that app, is just that is for 3UK and installs a different APN.. i am just interested in applying the MTU fix)

Related

Att Fuse Problem

Hello Everyone,
I just received a ATT fuse and for the life of me I cannot seem to get the WIFI to work. I've had the tilt and the 8125 previously and I tried duplicating settings to no avail.
Are there known issues with the WIFI on this phone?
I can connect to my WEP enabled wireless router, but opera and IE fails to connect and just keeps giving me errors. This is what I have read and what I have tried:
Setting to "work" instead of "Internet"
I've tried the cab files posted in another thread to disable ATT proxy
I'm a little lost in what to check. I did follow everything I've read here that came up in "WIFI" search. I have not unlocked the phone nor flash a rom.
Could someone lend a hand?
Sign up for the att media program...its on the attwireless site
This is a bit drastic, but an easy potential fix is to flash another ROM (after flashing Hard-SPL of course). AT&T often adds a bunch of unnecessary crap to their ROMs, which may interfere with normal functions. You could always flash the AT&T ROM back if you'd like.
Hi Animexi80,
I already have a data plan. The problem isn't with Media net, it is with the phone's built in WIFI.
Trancecoder,
Really, that drastic of a step.. Do you know of a rom that fixed a WIFI problem?
Thanks
TweedyPepper said:
Do you know of a rom that fixed a WIFI problem?
Click to expand...
Click to collapse
Honestly, I never even gave the AT&T ROM a chance, so I was unaware of Wi-Fi issues. Pretty much any ROM should work. If you flash a Fuze-specific ROM, you may want to run the CAB that disables the hidden AT&T proxy. If you flash a generic Touch Pro ROM, you'll likely need to run a CAB that fixes the keyboard layout.
Ok, I suppose I will give it a go.
If I may ask, would you tell me which rom and radio you're running. It would help rule things out it it doesn't correct the problem.
thanks
you may want to run the CAB that disables the hidden AT&T proxy.
Click to expand...
Click to collapse
What is the "hidden AT&T proxy?"
I just got an AT&T Fuze and after enableing wifi using the wireless manager, had no trouble connecting to home wireless networks with various security configurations (WEP, WPA, hidden SSID, etc.). Of course if the access point has the MAC filter enabled, the Fuze MAC address must be added to the allowed list.
TweedyPepper said:
If I may ask, would you tell me which rom and radio you're running.
Click to expand...
Click to collapse
I'm running an older PROven ROM, version 1.03. I'll be upgrading soon, probably to NATF's ROM. My radio ROM is 1.08.25.20, but (1) the radio ROM doesn't control Wi-Fi, so it's moot, and (2) it has not had very good battery life, so I'll downgrade back to 1.02.25.28 tonight.
rlsmith999 said:
What is the "hidden AT&T proxy?"
Click to expand...
Click to collapse
It's a proxy setting, separate from the normal one under Connections, that is hidden. It's used to make things such as Cingular, er, Cellular Video work.
rlsmith999 said:
I just got an AT&T Fuze and after enableing wifi using the wireless manager, had no trouble connecting to home wireless networks with various security configurations (WEP, WPA, hidden SSID, etc.). Of course if the access point has the MAC filter enabled, the Fuze MAC address must be added to the allowed list.
Click to expand...
Click to collapse
This is a bit off-topic, but FYI, anything below WPA/WPA2 cannot be considered secure. WEP can be cracked in minutes, hidden SSIDs don't make APs invisible, and MAC filtering is useless (except with WPA/WPA2) as anyone sniffing traffic can see client MAC addresses in the clear.
I have found that sometimes when I have both a "data connection" and a "wi-fi" connection that they phone seems to not lock on the wi-fi but tries to use a weak data connection so try turning off the data connection and see if that fixes the problem. Also give a soft reset a try as well.
Surprised by how few ppl are having wi-fi issues. I've tried about 6 ROMs now and have the same problem with everyone (guessing this proves its more of a hardware vs software issue)
I can locate and connect to a wi-fi network but no data transfers. I have to continually disconnect/turn off/reconnect over and over and finally I will get a connection..but if unit goes into sleep for a few minutes...I have to repeat.
Very annoying...no one else is having wi-fi issues?
Hi Everyone,
Sorry I haven't reported back sooner. I wound up loading a different rom on the phone and away went the problem.
jank0023, I have no idea. I would flash the phone back to stock and return it for another if all else fails. In all my searching, here and elsewhere, there ahve been a handful of wifi problems I came across. It doesn't seem like that common of a problem afaik.
jank0023 said:
Surprised by how few ppl are having wi-fi issues. I've tried about 6 ROMs now and have the same problem with everyone (guessing this proves its more of a hardware vs software issue)
I can locate and connect to a wi-fi network but no data transfers. I have to continually disconnect/turn off/reconnect over and over and finally I will get a connection..but if unit goes into sleep for a few minutes...I have to repeat.
Very annoying...no one else is having wi-fi issues?
Click to expand...
Click to collapse
If its your router try another channel make sure its on a supported signal (a,b, g)... lastly ensure your router is excepting all devices. I know these are basic checklist items but sometimes these can get us. I had a laptop that would only work on channel 6 ;-).
gravesy56 said:
If its your router try another channel make sure its on a supported signal (a,b, g)... lastly ensure your router is excepting all devices. I know these are basic checklist items but sometimes these can get us. I had a laptop that would only work on channel 6 ;-).
Click to expand...
Click to collapse
Thanks guys for the suggestions...I don't think its related to my network setup as I have about 4 other devices able to obtain signals with no problems using DHCP.
Issues don't seem to be as severe on some of the most recent ROMs I've used but still not perfect.

Wi-Fi Supported Speeds

I've tried multiple ROM's on my Fuze and they all seem to give me a high Tx rate of 54Mbps but a low Rx rate of only 1Mbps. Has anyone else seen this behavior or have any ideas why I'm seeing this? I thought that Raphael had full support for WiFi at "g" speeds. This happens irrespective of "power save mode" setting. My network wireless router is configured to support both "g" and "b" speeds so not sure what's happening.
Thanks in advance.
Andrew
abs99 said:
I've tried multiple ROM's on my Fuze and they all seem to give me a high Tx rate of 54Mbps but a low Rx rate of only 1Mbps. Has anyone else seen this behavior or have any ideas why I'm seeing this? I thought that Raphael had full support for WiFi at "g" speeds. This happens irrespective of "power save mode" setting. My network wireless router is configured to support both "g" and "b" speeds so not sure what's happening.
Thanks in advance.
Andrew
Click to expand...
Click to collapse
I'm pretty sure 54Mbps is the top end of "G" speeds, not sure what you're asking?
Receive rate is what he is talking about 1Mb is what I see with various roms and settings for the wifi power, too.
the device connect as g
and can recieve 54Mbit/sec
but the cpu cant keep up with the wifi interface
same deal with fast sd cards really
It's never above 1Mb rx.
Funny that the radio can keep up with 4Mb downloads over H though.
Yes, the 1Mbps is what I was concerned about. Still not sure I'm fully understanding why the connection speed is limited. If the cpu is too slow, then the network interface should be able to leverage flow control or even error correction in TCP/IP stack to prevent data overflow conditions.
Does anyone know if other similar hardware (Diamond, Quartz) has the same limitations? Maybe we can improve network connection speeds with a different driver?
Andrew
Yes i have noticed the 1mbps rx speed also. When i connect it shows 10mpbs rx for a moment and then it drops at 1mbps. Copying files over resco 2008 is around 30kb per second and that is too slow, maybe is there some registry hack for this?
I will agree that wifi speeds aren't even all that great. Maybe we need to turn data off? I'll run a test here in a bit.
I hopped on another network that is UNENCRYPTED. It bounces from 1-12Mbs RX, but they are a weak signal.
My stuff is encrypted, so maybe that is the difference?
They are also on ch 1, I use ch 10.
Encryption is pretty processor intensive unless you have a hardware accelerator. Unfortunately I do not believe that is an option.
I will say that the iphone on the same encryption settings does things fast over wifi here. Is there a comparison between the cpus?
I'll have to have my friend with the tilt connect and do a speed test.
Yes, I've noticed that the speed seems slow when on wi-fi too and that's why I started looking into this issue. My last phone was a Treo 750 so didn't have wi-fi and I really don't know how the Tilt performed in this area. Having said that removing encryption on my wireless network is simply not an option . . .
Andrew
I agree, I would not recommend disabling encryption. You could disable it temporarily for a quick test to see if it makes a big difference. If it does, then you could try another type of encryption.
i've got tp wwe rom and same issue. wi-fi has speed problems. try streaming some xvid, it can't keep it up
I can't believe more ppl aren't kicking and screaming about this issue. I have the same issue, my RX is almost always 1mb. Also you can barely stream video or even complete a VoIP call over wifi. Doesn't make sense that it would be faster over 3G than over wifi..what gives?
jank0023 said:
I can't believe more ppl aren't kicking and screaming about this issue. I have the same issue, my RX is almost always 1mb. Also you can barely stream video or even complete a VoIP call over wifi. Doesn't make sense that it would be faster over 3G than over wifi..what gives?
Click to expand...
Click to collapse
if i didnt know better, i'd say that att is trying to scam us into using their data connection...

Wifi "signal strength" auto handover/switch?

Hi,
maybe not a Tattoo-specific issue, but as it is the one I have... here it goes:
I've got 2 Access Points at home, Wireless Bridged.
AP1 is routing-enabled, manages DHCP port forwarding, etc
AP2 is set to AP only.
When I use my tattoo at home (stock ROM, but already rooted) it connects just fine to any of the APs, but it doesn't seem to alternate between the 2 APs as I move from one side of the house to the other, on a "stronger signal" basis.
Is this possible at all? How? A sort of Wifi handover feature, based on signal strength...
Thanks in advance!
Same problem, same question.
Can't find any app with that function.
Anyone????????????????????????
am also looking for something that does this
way to dredge up an old thread but : I want this also!!

[TWEAK SPARK_W] How to optimize tethering for faster speeds (3G vs 1X) EASY!

The following applies only to SparkW (HTC Trophy on Verizon Wireless)!!
GSM/Euro Spark users can ignore doing this to their own phones!
In my quest to figure out why my damn phone stayed stuck in 1X mode while tethering, I may have found a solution to keep the speeds faster (which is important to me, since my tethering is my primary internet connection).
This is also part of my quest to build/find a wireless driver that gets rid of the "random" wi-fi mac address issue while still maintaining Internet Sharing.
It has to do with the OEM package HTC_8x50_OS_WIRELESS. This is the Wi-fi driver, but it may also be a driver for the radio interface of the phone.
The differences between this file on Spark_W, and Spark GSM are minimal at best. Spark GSM adds the policy to enable the wi-fi hotspot (mxipupdate_hotspotconfig_01.provxml), meanwhile the Verizon driver has mxipcold_Wireless_Spark_W.provxml and BCM4329B1_002.002.023.0589.0608.hcd.
The package ID is the same for both GSM Spark and Spark_W, {A2A5F44F-FE02-496e-8926-6EDDC8CF9B44}.. and in my cooking experience, you can straight use the GSM driver on Spark_W with no adverse effects that I can notice.. and in my custom cooked rom, I noticed that my tethering download speeds seemed much MUCH faster using the GSM driver!
So.. I wanted to figure out WHY that is.
The .rgu file between the Spark GSM and Spark_W are IDENTICAL. There are no differences what so ever! So I got to looking at what mxipcold_Wireless_Spark_W.provxml does.
Code:
<characteristic type="HKLM\Software\Widcomm\BtConfig\Platform\RadioInit">
<parm name="BRCMConfigFile" value="\Windows\BCM4329B1_002.002.023.0589.0608.hcd" datatype="string" />
Looking at this string, this seems to assign some kind of file that may have to do with radio initialization.
This overrides the default value set by the rgu, which is:
Code:
[HKEY_LOCAL_MACHINE\Software\Widcomm\BtConfig\Platform\RadioInit]
"BRCMConfigFile"="\\Windows\\BCM4329B1_002.002.023.0436.0438.hcd"
And when using the GSM Spark driver, BCM4329B1_002.002.023.0436.0438.hcd is used and tethering speed improves!
Here comes the fun part! If you want to try this faster tethering, there is no need to flash an entire rom, you simply need to open up the registry editor, navigate to HKLM\Software\Widcomm\BtConfig\Platform\RadioInit , and change the value BRCMConfigFile to BCM4329B1_002.002.023.0436.0438.hcd (setting it to BCM4329B1_002.002.023.0589.0608.hcd will change it back)! After that, save the value, reboot the phone, and va-la, tethering speed has improved!
I haven't tested this tweak with good reception to see if I can get past the "350KB/s" cap I keep hitting with tethering in great reception areas (I have pulled 900kb/s on those same spots using my mothers Galaxy Tab 7.1), so I'm not sure if this is the "secret" to unlocking this artificial speed lock or not.. but I doubt it can hurt. I've been running this for about a month, and its not like Verizon has yet to detect my tethering yet.. so... I'd like for people to run Speakeasy Speedtest both before and after trying this registry tweak, to see if anyone else is getting a huge speed bump.
In my fringe reception area, I am going from 15KB/s on 1X to 50-80KB/s on 3G!
I don't believe this should have an adverse effect on battery life when NOT using Internet Sharing, but if you're on battery while using this, the 3G speeds may suck more juice out of your battery.
I'm always charging while tethering, so this tweak really works well for me! I hope others can test this and give me feedback to see if this really helps in higher reception areas. I live out in a very rural area with low cellular usage, so anything to get faster speed is golden!
*note* For anyone wondering, I haven't downloaded any new OEM/Spark drivers/roms to try and extract their wireless driver yet to try and fix the mac address issue... I can't simply take the newest Verizon driver and add the hotspot policy in, as IS won't start. :/
Nice. Thanks for your work and glad to see you back after a few days. I don't know if I will do this as I don't use tethering that much, but good to have the option.
Well, the thing about trying it is... you can reverse it by putting back the Verizon value. I'm stuck on tethering since my other internet option is dial up for the time being.. but really I discovered this by accident trying to fix the mac address issue for the custom rom I am working on.

[Q] Won't reconnect manual network without SSID broadcast?

So the S3 has known WiFi issues, but mine seems to have none of the issues I've read about thus far. It does have one irritating thing that has been driving me crazy for the longest time. If I ever move outside of the range of my network, reboot, or etc such that the WiFi has to be reestablished, it will decide that my network is "out of range" even though the signal is well within an acceptable minimum (it's a tad bit weak, but, once established it holds extremely steady pretty much no matter what I'm doing.) If I remove and re-add the network settings it works perfectly, again with a stable signal and perfect speeds until the next time I move out of range or reboot.
For now I've reenabled SSID broadcast, but I really liked the idea of having it off as it's a ridiculously simple yet strikingly effective security mechanism (I like the "security through obscurity" methods when I can -- especially since I'm having to use the old WEP encryption protocol to support some older devices, though I'm just about ready just to give up on them at this point. Even the best hacker in the world couldn't get into my network if (s)he never actually made any attempt to do so in the first place.) With SSID enabled, it has no troubles picking up my network every time, it just won't automatically pick it up without it.
Is this just an issue with the software itself or something? Anything that can be fixed from the user side, or is it something that can only be fixed by an update to the OS or related software itself? (But then with 4.1 coming soon supposedly I'm kind of hoping that if it is an issue with the software that would fix it. Still, that's a while away at least and this is assuming their plans aren't messed up with this whole lawsuit business causing them so many problems right now.)
If you have SSID broadcast disabled, how do you expect your phone to recognize the network? I can see how it would work if you enable SSID, connect to your network then disable it again, but it's not going magically reconnect with SSID disabled, its not logical seeing your SSID is what makes it possible for your phone to find your network.
Sent from my SCH-I535 using xda app-developers app
Wep sucks ofcourse but how about just setting up a mac addy auth to give another layer of security and enable ur ssid
Sent from my SCH-I535
I do use MAC address filtering if that's what you mean. While it might stop a script kiddie, I don't have a huge amount of confidence in it. MAC address spoofing is so pitifully easy than with computer equipment at least you usually are even presented with a configuration option that lets you specifically change the MAC address to anything you want. I'm definitely sticking with it because, well, there's absolutely no reason not to, but I actually have less confidence in MAC address filtering to stop anyone than disabled SSID broadcasting because anyone actually actively trying to break in should pretty much immediately bypass that particular mechanism right off.
Shibby87 said:
If you have SSID broadcast disabled, how do you expect your phone to recognize the network? I can see how it would work if you enable SSID, connect to your network then disable it again, but it's not going magically reconnect with SSID disabled, its not logical seeing your SSID is what makes it possible for your phone to find your network.
Click to expand...
Click to collapse
ALL other devices are smart enough to search for a manually configured network if they actually know the SSID to search for. My Roku, my Android 2.2 "Internet Tablet" (basically a PDA) by Archos, my Nintendo DS (this is the main thing holding me back at WEP, and as ancient and pitiful as its networking is, even IT can connect on its own without making me manually recreate the settings every time!) and my EeePC running Windows XP without any software to manage the WiFi settings except the built-in Windows thing.
Nazo said:
So the S3 has known WiFi issues, but mine seems to have none of the issues I've read about thus far. It does have one irritating thing that has been driving me crazy for the longest time. If I ever move outside of the range of my network, reboot, or etc such that the WiFi has to be reestablished, it will decide that my network is "out of range" even though the signal is well within an acceptable minimum (it's a tad bit weak, but, once established it holds extremely steady pretty much no matter what I'm doing.) If I remove and re-add the network settings it works perfectly, again with a stable signal and perfect speeds until the next time I move out of range or reboot.
For now I've reenabled SSID broadcast, but I really liked the idea of having it off as it's a ridiculously simple yet strikingly effective security mechanism (I like the "security through obscurity" methods when I can -- especially since I'm having to use the old WEP encryption protocol to support some older devices, though I'm just about ready just to give up on them at this point. Even the best hacker in the world couldn't get into my network if (s)he never actually made any attempt to do so in the first place.) With SSID enabled, it has no troubles picking up my network every time, it just won't automatically pick it up without it.
Is this just an issue with the software itself or something? Anything that can be fixed from the user side, or is it something that can only be fixed by an update to the OS or related software itself? (But then with 4.1 coming soon supposedly I'm kind of hoping that if it is an issue with the software that would fix it. Still, that's a while away at least and this is assuming their plans aren't messed up with this whole lawsuit business causing them so many problems right now.)
Click to expand...
Click to collapse
hidden ssid enabler will solve this problem. it works great for me. follow the directions in comments of play store though.
You know, I do believe that did actually solve the problem. I guess more testing is needed, but in my initial test it seems to have worked just fine with the SSID broadcast set to hidden again (I even rebooted the router and phone both just to be sure the settings fully took.)
It still strikes me as being a bit dumb that my ancient Nintendo DS that can't even handle WPA can handle a non-broadcast SSID and my previous Android PDA could as well, yet this Android phone couldn't out of the box...

Categories

Resources