Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
The Solutor
Old
(Last edited by The Solutor; 2nd June 2012 at 04:54 PM.)
#1  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Lightbulb Working USB tethering for Froyo and Eclair Stones [update 02-06-2012]

Update 02-06-2012


Dead download links removed, new mirror added.

Update 31-03-2011



Sources added. (usbt.7z)

Update 16-12-2010

Added new C version suitable both for Froyo and Eclair (2.1)stones.

No need to upgrade the older B version, nothing changes for froyo users.

To avoid confusion the IP needed to get the tethering are the same of froyo.

The SW is untested on eclair 2.0.x



------------------------------------------------------------------------
Usb tether is working natively on the latest Cyanogen ROMs from kabaldan, Froyo mod from 89luca89, and derivatives, but is still not 100% reliable and is not so handy to use, so an updated release of my app still makes sense.

So, as usual, install the app, put the phone in portal mode and configure manually (one time only operation) the IP on the PC side as the screenshot: (beware the IPs are changed from the previous release)




Then just tap to the icon.


The same IPs is needed to use the native froyo function

The application doesn't rely on the MS compatible NDIS lan (called usb0 on froyo milestones) but on the motorola usb networking (called usb0 on eclair and lan0 on froyo) so you must have the usual Motorola drivers installed on the PC. (I suggest to keep them handy on the Milestone's SD card).



The application is based on my previous release for eclair, which in turn is based on the well known android wired tether 1.1 application.

The app doesn't works on eclair milestones, nor on any other brand android phones.

AFAIK isn't working (yet) on Linux or macos due to lack of driver.

You must unisnstall android wired theter (if you have it installed) and any older release of this app before install this SW.

The program should live side by side with the native app, w/o any problem

Unlike the native function you can disconnect and reconnect the cable w/o the need of restart the function.

Unlike the native function you will have a speedometer and a session data counter.

So I hope you appreciate this little effort.



latest APK "C" version download


for sources see the attachement below
Attached Files
File Type: 7z usbt.7z - [Click for QR Code] (489.8 KB, 501 views)
The Following 2 Users Say Thank You to The Solutor For This Useful Post: [ Click to Expand ]
 
The Solutor
Old
(Last edited by The Solutor; 21st November 2010 at 05:41 PM.)
#2  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Due to the changes in the latest release of cyanogen (0.04-10.11.20), this sw is broken on that rom.

I'll wait to a kabaldan's reply, before recompile the sw.
 
The Solutor
Old
(Last edited by The Solutor; 22nd November 2010 at 09:42 AM.)
#3  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
For Cyano build 0.04 (and later) you can use the native usb tether function.

You have just to configure manually your lan as above, but with differnt IPs


IP 192.168.42.1

GW and DNS 192.168.42.129

As above the phone must be in portal mode before enabling the native usb tether.
 
hahaboy
Old
#4  
Senior Member
Thanks Meter 2
Posts: 278
Join Date: Apr 2008
Quote:
Originally Posted by The Solutor View Post
For Cyano build 0.04 (and later) you can use the native usb tether function.

You have just to configure manually your lan as above, but with differnt IPs


IP 192.168.42.1

GW and DNS 192.168.42.129

As above the phone must be in portal mode before enabling the native usb tether.
tried change to portal mode n enable the usb tether mode, but nothing on my laptop.
 
The Solutor
Old
(Last edited by The Solutor; 22nd November 2010 at 01:02 PM.)
#5  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Quote:
Originally Posted by hahaboy View Post
tried change to portal mode n enable the usb tether mode, but nothing on my laptop.
What do you mean ? That it works even w/o the manually configured IPs or that it isn't working even following the my instructions ?
 
hahaboy
Old
#6  
Senior Member
Thanks Meter 2
Posts: 278
Join Date: Apr 2008
Quote:
Originally Posted by The Solutor View Post
What do you mean ? Tath it works even w/o the manually configured IPs or that it isn't working even following the my instructions ?
when i connect usb with my laptop my laptop cant detect any modem
 
The Solutor
Old
(Last edited by The Solutor; 22nd November 2010 at 01:02 PM.)
#7  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Quote:
Originally Posted by hahaboy View Post
when i connect usb with my laptop my laptop cant detect any modem
There isn't any modem to detect or to use, there must be a new lan card.

You must have the Motorola drivers installed.

The new flavor of native tethering works exactly like my SW: it uses the Motorola networking drivers rather than the microsoft rndis driver.

The latter is already present on win seven/vista/linux, the former must be installed manually.
 
The Solutor
Old
#8  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Updated release.

Now compatible with the latest milestone ROM
 
kabaldan
Old
#9  
kabaldan's Avatar
Recognized Developer
Thanks Meter 2508
Posts: 991
Join Date: Dec 2009
Location: Prague

 
DONATE TO ME
Thanks for the update!
http://android.doshaska.net
^ a coffee, wine or beer is welcome
>>Copyright Slavery<<
 
The Solutor
Old
#10  
The Solutor's Avatar
Senior Member - OP
Thanks Meter 68
Posts: 792
Join Date: Dec 2006
Location: Turin
Quote:
Originally Posted by kabaldan View Post
Thanks for the update!
Thanks to you for your work.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Flash Custom ROM and Recovery to Samsung Galaxy S 4

After reading about Dan Rosenberg’s bootloader exploit for the Samsung Galaxy S 4,I … more

Windows-Based Multi-Tool for the Sony Xperia U

If you are a flashaholic and an owner of the Sony Xperia U, you may be interested in the … more

XDA University: Crafting Recovery-Flashable Packages

Those of us who use Linux on a day to day basis don’t think twice about sinking … more