DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 5 123 ... LastLast
Results 1 to 10 of 43
Like Tree1Likes

Thread: Solution: Windows XP SP2 (and lower) problem with USB tethering

  1. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #1

    Solution: Windows XP SP2 (and lower) problem with USB tethering

    This is the product of about 20 hours of accumulated testing and research but I'm going to do my best to keep it brief and leave out all the garbage you don't care about.

    If you have Windows XP SP2 (or a lower service pack or no service pack) chances are good that the native USB tethering in Froyo isn't going to work for you (on that machine) without some help.

    Initially the problem manifests itself as the XP machine asking for drivers when the Tether option is enabled on the connected phone. The answer to that has been documented (PDF archive) already -- use tetherxp.inf (alternate link) to tell XP how to use the driver files (that it already has) for the tether. The problem is - unless you've installed a device at some point whose drivers included an updated set of Remote NDIS (RNDIS) drivers, this will fail on XP SP2 and lower. It will appear to work up until the end of the driver installation whereupon the New Hardware Wizard will report "The device cannot start. (Code 10)".

    The reason SP3 does not have this problem (unless something has overwritten the RNDIS drivers with old ones) is that the drivers that are built into SP3 are updated and support the functionality/device.

    The 4 files involved are (note that the first two files start with the letter R followed by the letter N -- but with some fonts it looks like a lower case M):

    rndismp.sys
    rndismpx.sys
    usb8023.sys
    usb8023x.sys

    Windows XP SP2 comes with version 5.1.2600.2180 of these files.

    There are three primary ways to fix this -- which you choose depends upon your particular situation. Note that after each method I give you the version number of the files it will install. The version number doesn't really matter -- they all work -- I just give you the version number so you have a way to see if your system has the expected files (if you care).

    "Upgrade" your XP to SP3:
    I say "upgrade" because if I recall correctly Microsoft made a bunch of changes between SP2 and SP3 that caused many folks problems and were generally not well received. If you don't have an aversion to installing SP3 this should solve the problem and get you a bunch of other hotfixes in the process. If you have already done the tetherxp.inf process (above) and it failed with "device cannot start", you shouldn't have to do anything else after installing SP3 -- it should just work. I have not installed SP3 to test this so that is conjecture based upon my understanding of what's going on here and the other tests I've done.

    The above gives you version 5.1.2600.5512 of the RNDIS files.

    - OR -

    Install Microsoft Hotfix KB959765:
    This hotfix is intended to fix a problem that has nothing whatsoever to do with our problem other than that the RNDIS drivers are involved. I hunted high and low for a Microsoft hotfix that replaced only the RNDIS drivers (and nothing else), was compatible with XP SP2, and that contained drivers which were new enough to support the device. This alone took several hours and I was rewarded for my diligence. I wanted an official hotfix so people would have the comfort of it being something from Microsoft rather than just "here, put these files in". Unlike some hotfixes, you have to "request" this one by clicking on the "View and request hotfix downloads" link at the top of this page. You provide your email address and you have the hotfix in your inbox in less than a minute.

    In case Microsoft ever stops giving it out, I have also uploaded the file to RapidShare. Since it is an EXE I would expect most folks will want to get it directly from MicroSoft so they can be assured of it's integrity. The file is digitally signed, so you can see that it is a genuine Microsoft file, but if you get it directly from them then there no doubt.

    On both machines I installed this on a reboot was required (suggested) by the installer at the end. Also, I looked in the C:\windows\$NtUninstallKB959765$ directory and confirmed that the only files that are replaced are the 4 ".sys" files listed above. Can't get much more targeted than that.

    If you've previously done the tetherxp.inf process (above) and it failed with "device cannot start", you shouldn't have to do anything else after installing this hotfix (other than reboot).

    This option is the method I ultimately used (after backing out all of the other test methods that I used up to this point) to fix my laptop to be able to tether.

    The above gives you version 5.1.2600.3483 of the RNDIS files.

    - OR -

    Use a Custom Compiled RNDIS Driver Set:
    Anthony2oo5 over at xda-developers.com was apparently working on this same problem quite some time back and compiled his own RNDIS drivers for XP from newer code (link1 link2). His drivers do work and do solve the problem, but depending upon what you've already done to your machine along the way, the procedure for implementing them must be followed precisely or it will not work. Also he has only created the rndismpx.sys and usb8023x.sys files and not the rndismp.sys and usb8023.sys files (which are normally the exact same size but have different contents when you do a binary compare). Whether or not having a "matched set" is important I do not know. For those who want to go this route, the procedure below should work for you -- it did for me (although ultimately I backed it out and went with KB959765 once I found it).

    1. Download Remote_NDIS_based_Internet_Sharing_Device.zip from one of the links above and save to your XP machine.
    2. Unzip the files somewhere you can find them easily when you need them.
    3. Attach your phone to your computer. The “Add New Hardware” wizard will start and tell you it is going to help you find software for a “Motorola A855” (in the case of a Droid by Motorola).
    4. Choose “Install from a list or specific location (Advanced)”.
    5. On the “Installation Options” screen, choose “Don’t search. I will choose the driver to install.”
    6. In the “Hardware Type” dialog, it doesn’t really matter what you choose. If “Android Phone” or "Network Adapter" is in the list, then go ahead and choose it. Just to see if it mattered I chose “Batteries” and it still worked just fine. All you want is to get to a “Have Disk” button. Click Next after choosing the type.
    7. In the “Select a device driver you want to install for this hardware” dialog it should be telling you “(Unable to find any drivers for this device)”. Even if it is telling you it found one, don’t choose it. Just click “Have Disk”.
    8. In the “Install from Disk” dialog, click “Browse” and browse to the folder where you expanded the Remote_NDIS_based_Internet_Sharing_Device.zip file.
    9. Choose the “netrndis.inf” file and click “Open”.
    10. In the “Select a device driver you want to install for this hardware” dialog you should have a single choice – “Remote NDIS based Internet Sharing Device”. Ensure that is selected and click “Next”.
    11. You will be warned that the software you are installing has not passed Windows Logo testing. Click “Continue Anyway”.
    12. The “Completing the Found New Hardware Wizard” dialog should appear telling you that it has “finished installing the software for: Remote NDIS based Internet Sharing Device”. If it says it installed software for anything other than that you probably messed up a step. If it does say that, your tether is already active and your computer has probably already picked up an IP address by the time you have finished reading this step.

    The above gives you version 6.0.6001.18000 of only rndismpx.sys and usb8023x.sys. I'm sure that version number was the version number of the build that the source was taken from when he compiled them.

    That should do it. So much for keeping it brief. If anybody is struggling with this, and the above doesn't fix it - let me know. I did a lot of beating on this and may be able to help.
    Last edited by MotoCache1; 08-08-2010 at 07:24 PM. Reason: Updated link2 target to be file local to droidforums.net.
  2.  
     
     
     
  3. Master Droid
    Sal R.'s Avatar
    Member #
    9133
    Join Date
    Nov 2009
    Posts
    423
    Liked
    25 times
    Phone
    Note 2
    #2
    The hotfix worked on my xp sp2 machine.

    Thanks!
  4. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #3
    Quote Originally Posted by Sal R. View Post
    The hotfix worked on my xp sp2 machine.

    Thanks!
    You're welcome. I fixed both of my XP SP2 machines with it as well, so I'm comfortable this is a good fix. I'm going to see if I can get them to update the page that suggests the tetherxp.inf solution.
  5. 579
    579 is offline
    Junior Droid
    579's Avatar
    Member #
    51127
    Join Date
    Mar 2010
    Location
    Motor City
    Posts
    20
    Phone
    BIONIC
    #4
    when i try to unzip the downloded file from "link1" i get a no archives found error!
  6. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #5
    Quote Originally Posted by 579 View Post
    when i try to unzip the downloded file from "link1" i get a no archives found error!
    I just downloaded it (and verified the zip) with no trouble on my PC. Note that it is a RapidShare link, so don't right-click/save-as the link -- just regular click it and go through the prompts. I just noticed that the second link (link2) requires you to be a member of xda-developers, so I've just attached the file directly to this post since it is small.

    I'm going to edit the OP and change link2 to be the link to this attached file.

    Edited to add: Heck, I'm going to go ahead and attach all the linked files here just in case they disappear off RapidShare some day. I had to zip tetherxp.inf and WindowsXP-KB959765-x86-ENU.exe because .inf and .exe aren't allowed attachment types. This should solve any sort of file availability issues for the future. If you can get them from RapidShare you should. It will reduce bandwidth requirements for the forum site and keep the RapidShare files active so they don't get purged.
    Attached Files
    Last edited by MotoCache1; 08-08-2010 at 07:35 PM.
  7. 579
    579 is offline
    Junior Droid
    579's Avatar
    Member #
    51127
    Join Date
    Mar 2010
    Location
    Motor City
    Posts
    20
    Phone
    BIONIC
    #6
    i cannot extract any of those three files with winrar or 7 zip. i get the no archive found error every time!
  8. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #7
    Quote Originally Posted by 579 View Post
    i cannot extract any of those three files with winrar or 7 zip. i get the no archive found error every time!
    I had this exact same issue just a couple minutes ago downloading a zip from another topic here. No error after the zip download but it wouldn't unzip. I looked at it and the file size was only like 178K and it should have been like 677K. Downloaded it again and verified the file size matched what the forum says it is and then it unzipped fine.

    I downloaded all 3 attachments above and they all unzipped fine for me. They were originally zipped with WinRAR, so shouldn't be anything odd about them. Anybody else having trouble?
  9. Senior Droid
    rjsurfer's Avatar
    Member #
    33
    Join Date
    Oct 2009
    Location
    NC
    Posts
    239
    Liked
    4 times
    #8
    This fix would eliminate the need for PDaNET?

    Got it to work but it bounces me to the Verizon "pay me some more money" page.

    Ron W.
    Last edited by rjsurfer; 08-11-2010 at 02:22 PM.
  10. Chief Droid Scientist
    MotoCache1's Avatar
    Member #
    83203
    Join Date
    Jun 2010
    Posts
    530
    Liked
    6 times
    Phone
    A855 / MB810
    #9
    Quote Originally Posted by rjsurfer View Post
    Got it to work but it bounces me to the Verizon "pay me some more money" page.
    If you use the "built in" tethering it will -- apparently they coded it that way. If you grab wireless tether for root users and wired tether for root users you'll be all set.
  11. Master Droid
    ChugIt's Avatar
    Member #
    87940
    Join Date
    Jul 2010
    Location
    Indianapolis, IN.
    Posts
    475
    Phone
    2 Motorola Droids
    #10
    Quote Originally Posted by motocache1 View Post
    +1,000,000
    Android keeps going, and going.....
Page 1 of 5 123 ... LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. HELPPPP...Big Tethering Problem
    By zornguy in forum Android Tech Support
    Replies: 15
    Last Post: 12-05-2010, 12:24 PM
  2. usb tethering on windows 7
    By masprague in forum Koush
    Replies: 2
    Last Post: 06-14-2010, 06:36 PM
  3. Windows 7 Mount Problem - Workaround
    By dhuism2 in forum Android Tech Support
    Replies: 18
    Last Post: 05-30-2010, 10:45 AM
  4. Windows 7 and SDK problem
    By ashkev843 in forum Android Hacks and Help
    Replies: 6
    Last Post: 01-12-2010, 10:44 AM
  5. Looking for a solution to my problem
    By stanrc in forum Android General Discussions
    Replies: 6
    Last Post: 12-23-2009, 09:53 AM

Search tags for this page

kb959765
,

rndis driver windows xp

,

rndis driver xp

,
rndis driver xp download
,
tetherxp
,

tetherxp.inf

,
tetherxp.inf download
,
tetherxp.inf not working
,
usb tethering windows xp
,
usb tethering with windows xp
Click on a term to search our site for related topics.

Tags for this Thread

Find us on Google+