sssemil / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
1 stars 0 forks source link

Evo tethers great on 3G. On 4G only getting 3G speeds while tethering #510

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1) EVO
2) Froyo 2.2 (both stock rooted and Damagecontrol rom)
   Latest Wimax radio 26023
   Running earlier radio 1.36.00.04.02 because thats where I was getting best 3g speeds

3) 2.0.5.pre7

What steps will reproduce the problem?
Fire up 4G on phone.  Run speed test and get 6000kbps.
Start tether. Run speedtest on tethered device (both netbook and ipad). Get 3G 
speeds in the 600kbps range

What is the expected output? 
Sure would like to get 4G speeds.  This may be the same as 381

Please provide any additional information below.

Original issue reported on code.google.com by volwr...@gmail.com on 11 Aug 2010 at 2:54

GoogleCodeExporter commented 9 years ago
Note even when tethered I can get 4G speeds on phone, but only 3G on tethered 
device.  Thanks!

Original comment by volwr...@gmail.com on 11 Aug 2010 at 2:56

GoogleCodeExporter commented 9 years ago
Same problem here. Speeds are way below what i get on my phone. 4G gets about 
.50Mbps. Running 2.2 Stock rooted with Netarchy Kernal. Using pre7. will try 
pre8.

Original comment by ShaulEde...@gmail.com on 17 Aug 2010 at 3:33

GoogleCodeExporter commented 9 years ago
Same speeds for me on pre 8, still no 4g tether 

Original comment by volwr...@gmail.com on 24 Aug 2010 at 1:59

GoogleCodeExporter commented 9 years ago
Could you please try the following - connect to the phone via adb and delete a 
certain file in the wireless-tether script:

adb shell
su
rm /data/data/android.tether/bin/fixroute.sh

Does this make any difference?

Original comment by harald....@gmail.com on 30 Aug 2010 at 7:30

GoogleCodeExporter commented 9 years ago
Issue 545 has been merged into this issue.

Original comment by harald....@gmail.com on 30 Aug 2010 at 7:30

GoogleCodeExporter commented 9 years ago
My issue was fixed.  It appears the ipad speedtest was simply wrong and that I 
am indeed getting 4G speeds from a laptop speed test.

Thanks

Original comment by volwr...@gmail.com on 30 Aug 2010 at 2:50

GoogleCodeExporter commented 9 years ago
Oh ok. Could you please try to delete "fixroute.sh" like described above and 
let me know if it still works or not. Thanks.

Original comment by harald....@gmail.com on 30 Aug 2010 at 3:22

GoogleCodeExporter commented 9 years ago
I deleted the fixroute.sh and it killed tethering.  Devices would successfully 
connect to my evo but it couldnt get out to the net. I had to 
uninstall/reinstall and tethering was working after that.

Original comment by volwr...@gmail.com on 30 Aug 2010 at 11:39

GoogleCodeExporter commented 9 years ago
Oh, ok. Thanks for testing.

Original comment by harald....@gmail.com on 31 Aug 2010 at 7:28

GoogleCodeExporter commented 9 years ago
I have this issue too. I have tested various ROMs and Kernels, and still have 
not found a solution. Here are my tests and results.

I flashed 3 roms this weekend, with the included kernels. Here are my results:

1. Fresh 3.2 with included new stock HTC kernel. Getting 0.5mbps tethering 
download speeds on 4g.
2. Vaelpak 2.1 with Kings BFS9 kernel. Got ~1.3mbps tethering download speeds 
on 4g.
3. BurntDroid 1.1 with netarchy-toastmod kernel revision 4.1.9.1-cfs. Got 
2.4mbps tethering download speeds on 4g. But only 0.1mbps upload speeds. You 
might think this is acceptable, but I was getting 5.4mbps download and 0.8mbps 
upload directly on my phone, and I need the full speed for my use (HD video 
streaming ROKU = I need 3.5mbps)

What can I do to help? Any full solutions to this problem?

Original comment by jack.all...@gmail.com on 21 Sep 2010 at 11:57

GoogleCodeExporter commented 9 years ago
Also to clarify this issue:

It's not that tether is defaulting to the actual 3g connection, it is having 
problems processing the 4g connection. The 3g connection is not involved, 
because we can still make/receive phone calls while tethering. The problem is 
rooted in how the program is processing the 4g connection to the tethered 
device. We don't want to run Harald.mue on a wild goose chase.

Original comment by jack.all...@gmail.com on 23 Sep 2010 at 5:45

GoogleCodeExporter commented 9 years ago
I'm also getting this issue, but my tether speed use about 50% of phone speed. 
When tethering through easytether which is wired my speeds are 100%

Original comment by NathanAC...@gmail.com on 23 Sep 2010 at 11:05

GoogleCodeExporter commented 9 years ago
Same problem on my stock Evo Froyo. Wifi Tether speed indicator never goes past 
500kbps with a strong 4g signal in NYC.

Original comment by vwph...@gmail.com on 26 Sep 2010 at 2:38

GoogleCodeExporter commented 9 years ago
Same issue here, when I use pdanet and 4g, I get around 10mbps down, but with 
wifi tether it never goes above around 3mbps. 

stock evo 2.2

Original comment by CookehMo...@gmail.com on 27 Sep 2010 at 10:37

GoogleCodeExporter commented 9 years ago
My Evo 2.2 is rooted w/unrevoked 3.2 and not showing any wifi signal. 

Original comment by LGAT...@gmail.com on 28 Sep 2010 at 5:42

GoogleCodeExporter commented 9 years ago
I have this same issue...

Original comment by wmblalock@gmail.com on 5 Oct 2010 at 8:56

GoogleCodeExporter commented 9 years ago
harald.mue - this has fixed it. Thank you!

adb shell
su
rm /data/data/android.tether/bin/fixroute.sh

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 5:19

GoogleCodeExporter commented 9 years ago
To clarify, I removed file while wifi tether was not running

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 5:25

GoogleCodeExporter commented 9 years ago
Hey BigBlue, could you explain the whole 

adb shell
su
rm /data/data/android.tether/bin/fixroute.sh

thing? I have the sdk, but not really sure what to do. thanks !

Original comment by CookehMo...@gmail.com on 6 Oct 2010 at 5:28

GoogleCodeExporter commented 9 years ago
Mmmmh ... so deleting "fixroute.sh" did the trick? Comment #8 says no.
If the "speed-problems" can really be fixed that way it would be easy to 
implement.

Original comment by harald....@gmail.com on 6 Oct 2010 at 7:40

GoogleCodeExporter commented 9 years ago
Issue 627 has been merged into this issue.

Original comment by harald....@gmail.com on 6 Oct 2010 at 7:41

GoogleCodeExporter commented 9 years ago
Issue 628 has been merged into this issue.

Original comment by harald....@gmail.com on 6 Oct 2010 at 7:42

GoogleCodeExporter commented 9 years ago
Yes it did the trick for me.  It did not kill my tethering and also made my 
speeds max they could be. Maybe that other person had wifi tether running while 
trying to remove the file.  Cookeh, get terminal app on your phone. Then type 
su, then the next line

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 7:53

GoogleCodeExporter commented 9 years ago
Ok, will put a new apk together the next days ... stay tuned.

Original comment by harald....@gmail.com on 6 Oct 2010 at 9:38

GoogleCodeExporter commented 9 years ago
On a similar topic, the Epic 4g has the same slowness issue on 4g but 
"fixroute.sh" doesn't exist..I don't know if its related or not :/

Original comment by ask1ab...@yahoo.com on 6 Oct 2010 at 9:57

GoogleCodeExporter commented 9 years ago
@ask1about@yahoo.com:
"fixroute.sh" is a HTC-specific workaround. If you take a look into 
/data/data/android.tether/conf/tether.conf you will find a value called 
"tether.fix.route" and this is set to "false" for your device!

Original comment by harald....@gmail.com on 6 Oct 2010 at 10:06

GoogleCodeExporter commented 9 years ago
I had a comment on here after comment 8, that my slow speeds appear to be due 
to my ipad and that when tethered to a netbook, I could get a 2 mbps connection 
no the netbook when my phone gets a 4mbps connection.

@23 what is the difference of speeds between a phone speed test and a tether 
speed test. 

And no, wifi tethering was not running when I deleted fixroute.sh, although I 
am tempted to try it again to see what will happen.

Original comment by volwr...@gmail.com on 6 Oct 2010 at 1:48

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Phone speed test is where you run something like the speedtest.net APP on your 
phone, it downloads and uploads for you in the app on your phone.

Tethered speed test is you go on your tethered device (aka ipad) and actually 
go on the speedtest.net website on your ipad/laptop, running the test on there.

Volwrath, try removing the file again.  Also after you remove the file, turn 
tethering on, off, and on  within the application one complete time.  This 
usually fixes any connection bugs i've ever had.  I'm using 2.0.5 pre-9 by the 
way

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 2:56

GoogleCodeExporter commented 9 years ago
BBS -

I meant what are the speed differences when you tether vs when you run a speed 
test on your evo.  For example mine are roughly 50% as fast tethered as direct 
from phone  :)

I will try the file again but wll upgrade from pre8 to pre9 first

Original comment by volwr...@gmail.com on 6 Oct 2010 at 3:24

GoogleCodeExporter commented 9 years ago
Removed fixroute.sh and it broke tether once again.  It does not see the 
connected device, even though the other device reports its connected.  If you 
turn on access control it does not show anything connected, shows no mac 
address etc, and also does not assign an ip address.  Guess I need to 
uninstall/reinstall again :(

Original comment by volwr...@gmail.com on 6 Oct 2010 at 3:41

GoogleCodeExporter commented 9 years ago
I tried deleting fixroute.sh by doing:

adb shell
su
rm /data/data/android.tether/bin/fixroute.sh

It failed, saying that fixroute.sh does not exist so it couldn't delte it.
I tried it through terminal on my phone, and through the terminal on the pc.
I used the terminal to list (ls) the files in the "android.tether" folder and 
all it shows is one empty folder called "lib" and that is it! 
Why am I missing the "bin" folder, and what does this mean for me trying to fix 
my 4g tether problem??
Any suggestions??

Original comment by wmblalock@gmail.com on 6 Oct 2010 at 4:12

GoogleCodeExporter commented 9 years ago
Thats weird :/ not sure... i suppose just wait till he releases the new apk

And my tethered speeds are roughly same as my phone, not much different. At 
home i get around 8mbps down on phone as well as computer. Speeds obviously 
vary by area and how many people are connected to the wimax point your on

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 4:13

GoogleCodeExporter commented 9 years ago
Ok, here is 2.0.5-pre10.
http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_5-pre10.apk
Uninstall older versions first!

"fix_route.sh" should not be present on your devices and if you check (after 
you have started tethering) the "tether.conf"-file (located in 
/data/data/android.tether/conf) should hold a variable named "tether.fix.route" 
with a value "false".

Please check. 

Original comment by harald....@gmail.com on 6 Oct 2010 at 8:33

GoogleCodeExporter commented 9 years ago
Ok, I removed the old pre9 and installed the pre10, there is not fix_route.sh 
file, but my 4g tethering is still bad, actually slower than 3g, even though i 
can run a 10mbit speed test on my phone, my tethered device is only getting 
less than 1mbit of inconsistent speed

Original comment by wmblalock@gmail.com on 6 Oct 2010 at 8:51

GoogleCodeExporter commented 9 years ago
Did you clear data and cache? Reinstall binaries?

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 8:57

GoogleCodeExporter commented 9 years ago
I just went to manage applications in android, clicked clear data, then 
uninstall, then put the new apk on my flash card and installed that using a 
file manager, then ran tether which said it installed binaries correctly. Is 
there something else I was supposed to do?

Original comment by wmblalock@gmail.com on 6 Oct 2010 at 9:03

GoogleCodeExporter commented 9 years ago
Thats weird. Ill test pre 10 when i get home later and see what my results are. 
Only thing i can think of is when you out the phone down or turn the screen 
off, your kernel is set to lower cpu so much it effectd the speeds of the 4g 
radio.

Original comment by BigBlueS...@gmail.com on 6 Oct 2010 at 9:09

GoogleCodeExporter commented 9 years ago
Yeah, I know its weird.. and I made sure the phone screen didn't shut up so 
nothing would get idled down. Here is a comparison. I put the laptop and phone 
side by side and connected the laptop to the wifi tether. I then ran the speed 
test on the phone and got 8.65mbit down / .91mbit up, once done I went to the 
laptop and ran the identical speed test and get 1.86mbit down / .91mbit up. The 
upload speed seems the same, but download is drastically slower. I have 
repeated with different speed tests and different laptops and nothing changes, 
same situation.

Original comment by wmblalock@gmail.com on 6 Oct 2010 at 9:25

GoogleCodeExporter commented 9 years ago
pre10 doesnt work for me, still getting .8 down, while tethered with pdanet 
gets me 8.5

Original comment by CookehMo...@gmail.com on 6 Oct 2010 at 9:44

GoogleCodeExporter commented 9 years ago
BigBlueShock, you say yours is ok but others seem to have the same issue..so I 
have question..when you make the wifi connection is it a/b/g or n?

Original comment by ask1ab...@yahoo.com on 6 Oct 2010 at 11:00

GoogleCodeExporter commented 9 years ago
My laptop connects at 54mbps, so I assume it's on G

Original comment by BigBlueS...@gmail.com on 7 Oct 2010 at 1:25

GoogleCodeExporter commented 9 years ago
[URL=http://www.speedtest.net][IMG]http://www.speedtest.net/result/980912091.png
[/IMG][/URL] on channel 6.  I will test other channels to see if it makes a 
different

Original comment by BigBlueS...@gmail.com on 7 Oct 2010 at 1:36

GoogleCodeExporter commented 9 years ago
Channel 12 is very good, worked best for me.  Getting constant 54mbps to 
device.  Here is my benchmark on channel 12. 
http://www.speedtest.net/result/980921447.png
Just a little over 6mbps on my laptop. 
Channels 6 and 11 I couldn't get over 24mbps connection rate even if phones 
right next to laptop.

Original comment by BigBlueS...@gmail.com on 7 Oct 2010 at 1:51

GoogleCodeExporter commented 9 years ago
What I'm saying is maybe there is a possibility that N might be the 
problem...and G to be ok...but this is just a guess...

Original comment by ask1ab...@yahoo.com on 7 Oct 2010 at 2:09

GoogleCodeExporter commented 9 years ago
I dont even think n is enabled on wifi tether.

Original comment by BigBlueS...@gmail.com on 7 Oct 2010 at 2:48

GoogleCodeExporter commented 9 years ago
I tried the new apk (pre10) and set it to channel 12 (like BBS did) and I am 
getting a good 4-5mbps tethered download speed on my roku now via 4g, and about 
a 2.5mbps tethered download speed on my macbook pro. Why the discrepancy 
between the two? I have no idea, but I am happy for the increase in speed :) I 
used to be getting about 1mbps tethered download speed. Thanks Harald!

Original comment by jack.all...@gmail.com on 7 Oct 2010 at 5:43

GoogleCodeExporter commented 9 years ago
I've re-uploaded 2.0.5-pre10 due to a small bug (config and binary-files were 
copied on ever new startup). Please update.

Original comment by harald....@gmail.com on 7 Oct 2010 at 9:21

GoogleCodeExporter commented 9 years ago
I tried switching mine to channel 12 but it made no difference for me.
Tethered I just got 1.90mbit down / .41mbit up
On my phone it got 5.6mbit down / .91mbit up
Channel isn't the problem

Original comment by wmblalock@gmail.com on 7 Oct 2010 at 3:22

GoogleCodeExporter commented 9 years ago
This is fascinating how everyones results vary.  

On my EVO, running netarchy kernal 4.18 and DCRom, pre9 actually runs faster 
than pre10.  On Pre9 I can get ~2.5mbps on my laptop vs 5mbps on my phone.  On 
Pre10, my download speed worsened to about 1mbps on my laptop.  I switched 
between the two pre versions to attempt to establish a pattern, and believe 
that pre9 is faster on mine, although I still dont understand why there is a 
dropoff between phone and tethered device.  I know there should be SOME 
overhead, but shouldnt be enough to kill 50% of bandwidth.

Original comment by volwr...@gmail.com on 7 Oct 2010 at 3:39