ninenizil / android-wired-tether

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

Doesn't work on EVO with new Froyo 2.2 OTA update #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install HTC Froyo/2.2 update
2. Start wired-tether
3. Linux machine does not see any rndis devices

What is the expected output? What do you see instead?
Running 'dmesg' on my Linux box should show that an RNDIS devices was found, 
but instead, nothing is shown.

What version of the product are you using? On what operating system?
1.2 on Evo with OTA Froyo update
Trying to tether with a Linux machine

Please provide any additional information below.
When I first start wired-tether, I get an error about an unsupported kernel.  
According to the FAQ, I need the following config options on the android kernel 
CONFIG_NETFILTER/CONFIG_IP_NF_IPTABLES and/or RNDIS.  I have verified that all 
of those config options exist, however my Linux box doesn't see any RNDIS host 
when wired-tether is started.  If I switch the phone into native tethering 
mode, my Linux box DOES see an RNDIS connection.

I looked at the source code, and noticed several checks:
/proc/net/netfilter - This does exist on my phone
/sys/devices/virtual/net/usb0/enable - The usb0 exists, but no the 'enable'
/sys/devices/virtual/usb_composite/rndis/enable - The 'rndis' directory does 
not exist

Please note that this DID work just fine with the original 2.1 firmware that 
came with the phone.  Just not with the latest 2.2 OTA update that just came 
out.

Original issue reported on code.google.com by mspie...@gmail.com on 2 Aug 2010 at 8:29

GoogleCodeExporter commented 8 years ago
I have just installed a Fresh 3.1.0.1 ROM for Froyo 2.2 and my wired tether is 
not working as well.  I also have the Evo and tried installing the custom build 
wired-tether attached on the xda site.  I receive the same unsupported kernel 
message.

Original comment by jjwalke...@gmail.com on 3 Aug 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Temporary solution found.  I'm using netarchy's "final" rooted OTA froyo update 
along with his kernel designed for 2.2.  Wired tether is now working again. 
(supposedly, wireless tether should work too).

Original comment by mspie...@gmail.com on 3 Aug 2010 at 8:03

GoogleCodeExporter commented 8 years ago
I installed netarchy's final rooted OTA kernel as well, but it's still not 
working. Ubuntu (well network manager) doesn't see it at all.

Original comment by ingen...@gmail.com on 5 Aug 2010 at 1:42

GoogleCodeExporter commented 8 years ago
Ditto to what jjwalker77 said...  Not working with fresh or the stock htc 
provided version of froyo...  Haven't tried any other roms.

Original comment by cool...@gmail.com on 5 Aug 2010 at 2:04

GoogleCodeExporter commented 8 years ago
I love wired tether, and really rely on it sometimes, but not working with new 
froyo update. Wireless tether has been updated to 2.05pre7 and now works 
without using netarchys custom kernel. That kernel breaks 8mp camera down to 
3mp, I don't wanna use it. I don't know who the dev for this is, but any chance 
of this being updated to work with stock Evo 2.2 kernel? Would gladly donate, 
if that makes any difference. Only been one day, and I already miss it and may 
flash back to 1.47. Thanks in advance to anyone lookin into this. 

Original comment by sparling...@gmail.com on 7 Aug 2010 at 10:18

GoogleCodeExporter commented 8 years ago
Wired tether on my EVO with 2.1 worked very good, but is now not working at all 
with a rooted 2.2 and that was my only Internet. Sure I tried the wireless 
version, but it is unreliable, meaning it eventually stops transferring so I 
have to restart the wireless tether. I loved wired tether so much I am 
SERIOUSLY thinking of downgrading to 2.1

Original comment by RFeuerl...@gmail.com on 9 Aug 2010 at 1:09

GoogleCodeExporter commented 8 years ago
A fix for this would be awesome. I get a kernel not supported error when trying 
to run any of these versions. 

Original comment by zit...@gmail.com on 15 Aug 2010 at 1:33

GoogleCodeExporter commented 8 years ago
@ingenium - Did you try the following trick on your phone before starting the 
wired tether?

echo 0 > /sys/devices/platform/msm_hsusb/usb_function_switch

This will only work if you are using an older kernel with 2.2 (like netarchy's)

Original comment by mspie...@gmail.com on 15 Aug 2010 at 2:55

GoogleCodeExporter commented 8 years ago
I just wanted to toss this out there to say that USB tethering is definitely 
possible with the stock FroYo Evo kernel, as I'm on it right now.

I wasn't able to do it easily (by just clicking the start tethering button), 
but I think I'm on the right track now at least.  I have some investigating to 
do when I have time (hopefully tomorrow), but hopefully I can make some 
progress soon.

Stay tuned!

Original comment by dligh...@gmail.com on 17 Aug 2010 at 4:50

GoogleCodeExporter commented 8 years ago
I've narrowed down what needs to occur to make this work on the FroYo Evo 
kernel, so I'm now working with Harald to get a change patched in.  Update 
should be forthcoming.

Original comment by dligh...@gmail.com on 17 Aug 2010 at 2:42

GoogleCodeExporter commented 8 years ago
We're currently testing a fix for this, which should arrive soon (some may have 
it in an experimental stage currently -- check issue 24 for more information as 
well).

Original comment by dligh...@gmail.com on 17 Aug 2010 at 11:25

GoogleCodeExporter commented 8 years ago
So glad to hear it. Thank you sooo much. About to test 1.3. Thank you. 

Original comment by sparling...@gmail.com on 19 Aug 2010 at 11:05

GoogleCodeExporter commented 8 years ago
Just tried to install 1.4 wired on a 2.2 ROM, the app starts up without 
complaining, however running it with usb debugging off doesn't allow my 
computer to see it.  Anyone having any luck getting this to work? I've tried 
the echo 0 > and tried it without enabling that, neither work.

Original comment by brhellman@gmail.com on 21 Aug 2010 at 11:37

GoogleCodeExporter commented 8 years ago
brhellman, which 2.2 ROM are you using -- stock, Fresh, or another?  You 
shouldn't need to do the echo 0 part -- echo 0 is equivalent to turning off all 
the usb functions (ADB, Disk Drive, Tether, etc.), 1 is Disk Drive, 2 is ADB, 3 
is Disk Drive + ADB, and 4 is Tether [you can't tether and use ADB/Disk Drive 
at the same time] -- the correct version of this is built-in with 1.3 and 1.4.  
However, there is a patch or two you need to apply through a custom recovery to 
fix things: 
http://code.google.com/p/android-wired-tether/issues/detail?id=24#c37

Original comment by dligh...@gmail.com on 22 Aug 2010 at 12:40

GoogleCodeExporter commented 8 years ago
dlightle, This is on Franken ROM, a modified EVO ROM, using the HydraKernel, 
the dev says all the features required are in it as it's just a modified stock 
kernel. http://hydrakernel.cz.cc/

Thanks for the help. 

Original comment by brhellman@gmail.com on 25 Aug 2010 at 4:11

GoogleCodeExporter commented 8 years ago
brhellman, can you contact me by email?  I'll try to have you do some checking 
for your specific ROM and kernel.  Both that ROM and kernel are ones I haven't 
seen others using or reporting on, so there's a chance something is different, 
though I don't know for sure what it would be since you said they're both based 
on stock at least.

Original comment by dligh...@gmail.com on 25 Aug 2010 at 4:59

GoogleCodeExporter commented 8 years ago
I have read just about every post in multiple forums, I still cant get 
android-wired-tether to work on the latest Fresh 2.2 ROM. I am about to give 
up, is there a definite answer/method for getting it to work??? (with all the 
necessary info in one location/post)
Signed, Frustrated JJ

Original comment by jjwalke...@gmail.com on 16 Sep 2010 at 4:51

GoogleCodeExporter commented 8 years ago
I am having the same problem, pcs error 67 on stock EVO 2.2 Rom, rooted.

Original comment by ryegu...@gmail.com on 9 Jun 2011 at 2:07