Materialized LeanDroid Fights Your Poor Battery Life

Battery life has always been one of the biggest problems facing most Android devices. … more

Bump! Workaround for the LG G3 Locked Bootloader – XDA TV

The LG G3 is a power house device. It’s been a favorite of many people. … more

Enable Call Recording on Xperia Z2 and Z3

Call recording, while not legal in every part of the world, is quite handy in certain situations. … more

Google Play Store Payments Available in China

Google has taken a big step to make its services accessible globally. Since the introduction of … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[USB-Tethering] Wired Tether for Root Users

OP harry_m

7th November 2009, 02:56 AM   |  #1  
harry_m's Avatar
OP Senior Member
Thanks Meter: 19
 
185 posts
Join Date:Joined: Feb 2009
Hi!

I've put an app together (99% based on "Wireless Tether for Root Users") which allows tethering via USB. Clients need to support RNDIS - works fine with Microsoft Windows (tested with XP and 7) and Linux (OpenSuSE 11.1).

Zinx Verituse has ported the essential parts of the hero-kernel and cyanogen has introduced this feature in his latest rom. So, thanks Zinx for the patches and cyanogen for publishing on github.

Patches can be found here:
http://github.com/cyanogen/cm-kernel...0ec9b39a819112
http://github.com/cyanogen/cm-kernel...2f3485a6652483

I've decided to create this app to give all rom-cooks the ability to use this feature without modifying system-services and/or system-apks.

What a cook needs to do: Patch your kernel and recompile - all other stuff is done by the app.

Download:
http://code.google.com/p/android-wired-tether/

Features:
* Tethering makes use of the mobile-data-connection (HSDPA/EDGE/GPRS) or WiFi-connection
* Uses correct domainname-servers - provided by your carrier or which are configured on the wifi-access-point you connect (even if the network changes => switch from 3g to wifi and vice versa)
* Allows to change the local-network (network/subnetmask)

Supported ROMs:
* CyanogenMod 4.2.3.1+
* Android Dev Phone 1
=> my kernel-update needs to be applied: http://code.google.com/p/android-wir.../list?q=Kernel
* ?

Have fun!

Harry
The Following 2 Users Say Thank You to harry_m For This Useful Post: [ View ]
7th November 2009, 05:43 PM   |  #2  
Member
Thanks Meter: 2
 
43 posts
Join Date:Joined: Jan 2007
THX a lot for this app

sudo dhclient usb0 and there you go
9th November 2009, 02:07 AM   |  #3  
jashsu's Avatar
Senior Member
Thanks Meter: 14
 
1,853 posts
Join Date:Joined: Nov 2008
Good work.
10th November 2009, 06:25 PM   |  #4  
Member
Thanks Meter: 0
 
84 posts
Join Date:Joined: Mar 2008
Alot of the hero roms were finally able to get wireless tethering for root working on, well, hero roms. i installed, but cant get it working. What patch should i use, im using Sense Hero1.3.3
16th November 2009, 09:49 PM   |  #5  
kmartburrito's Avatar
Senior Member
Flag Denver, CO
Thanks Meter: 48
 
718 posts
Join Date:Joined: Mar 2006
More
Hi Harry,

I'm visiting from the CDMA Hero forum, in the hopes that you might have some pointers on how to get this to work on the rooted CDMA Hero?

When I looked at this project over at code.google.com, it seems like this requires 1.6, where the CDMA hero is running 1.5. Will this fact doom us to ever run wired tether at this point?

From what I can tell on my Hero, everything seems to run fine until after I allow root access for the app. It then gives me a FC when accessing the system settings (as it's the one referenced in the FC.)

Can I apply your kernel safely to my ROM? Thanks in advance for your help!!
17th November 2009, 12:29 AM   |  #6  
Senior Member
Thanks Meter: 1
 
372 posts
Join Date:Joined: May 2009
doesnt seem to work with macs
17th November 2009, 02:26 AM   |  #7  
Senior Member
Flag Boynton Beach, FL
Thanks Meter: 30
 
1,752 posts
Join Date:Joined: Jun 2009
More
Quote:
Originally Posted by kmartburrito

Hi Harry,

I'm visiting from the CDMA Hero forum, in the hopes that you might have some pointers on how to get this to work on the rooted CDMA Hero?

When I looked at this project over at code.google.com, it seems like this requires 1.6, where the CDMA hero is running 1.5. Will this fact doom us to ever run wired tether at this point?

From what I can tell on my Hero, everything seems to run fine until after I allow root access for the app. It then gives me a FC when accessing the system settings (as it's the one referenced in the FC.)

Can I apply your kernel safely to my ROM? Thanks in advance for your help!!

Did you try http://forum.xda-developers.com/show....php?t=443025?
17th November 2009, 05:37 AM   |  #8  
jashsu's Avatar
Senior Member
Thanks Meter: 14
 
1,853 posts
Join Date:Joined: Nov 2008
I've been using the wired tether for the past week and have experienced some issues. Mainly, if the tether app isn't in the foreground, the process seems to randomly get restarted. This manifests as brief hiccups in internet access for the connected computer. Didn't experience this problem using WT4R (in bluetooth mode).

HW: Dream
App: wired-tether-1.0.apk
Kernel: adp 1.6 usbtether-r3
OS: Vista SP2

If I remember to, i'll post a log later tonight.
17th November 2009, 09:30 AM   |  #9  
Proxin's Avatar
Senior Member
Pallet Town
Thanks Meter: 12
 
469 posts
Join Date:Joined: Feb 2009
More
Could you please explain (or put in the first post) why use this while the current tether in Network Settings (CM4.2.x) works just fine?
17th November 2009, 12:40 PM   |  #10  
harry_m's Avatar
OP Senior Member
Thanks Meter: 19
 
185 posts
Join Date:Joined: Feb 2009
Quote:
Originally Posted by Proxin

Could you please explain (or put in the first post) why use this while the current tether in Network Settings (CM4.2.x) works just fine?

If usb-tethering with cyanogenmod is working fine for you there is no reason why you should use this app. I've implemented just a few enhancements (using the correct domainname-servers, changing lan-config) - I don't know how cyanogen is doing this stuff (I don't use it).

The main-idea of this app was to bring usb-tethering to other roms (where system-settings can't be modified or roms which a pretty close to stock roms and heavily modified parts are not welcome). All you need for this is a modified kernel which can be easily done.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes