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

Discussion in 'Android Tech Support' started by MotoCache1, Aug 4, 2010.

  1. MotoCache1
    Offline

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    0
    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: Aug 8, 2010
  2. Sal R.
    Offline

    Sal R. Member

    Joined:
    Nov 26, 2009
    Messages:
    421
    Likes Received:
    15
    Trophy Points:
    18
    The hotfix worked on my xp sp2 machine.

    Thanks!
  3. MotoCache1
    Offline

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    0
    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.
  4. 579
    Offline

    579 New Member

    Joined:
    Mar 25, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Motor City
    when i try to unzip the downloded file from "link1" i get a no archives found error!
  5. MotoCache1
    Offline

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    0
    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.
    Last edited: Aug 8, 2010
  6. 579
    Offline

    579 New Member

    Joined:
    Mar 25, 2010
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Motor City
    i cannot extract any of those three files with winrar or 7 zip. i get the no archive found error every time!
  7. MotoCache1
    Offline

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    0
    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?
  8. rjsurfer
    Offline

    rjsurfer New Member

    Joined:
    Oct 28, 2009
    Messages:
    239
    Likes Received:
    1
    Trophy Points:
    0
    Location:
    NC
    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: Aug 11, 2010
  9. MotoCache1
    Offline

    MotoCache1 Chief Droid Scientist

    Joined:
    Jun 30, 2010
    Messages:
    530
    Likes Received:
    1
    Trophy Points:
    0
  10. ChugIt
    Offline

    ChugIt New Member

    Joined:
    Jul 14, 2010
    Messages:
    475
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Indianapolis, IN.
  11. jbrier87
    Offline

    jbrier87 New Member

    Joined:
    Sep 12, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    motocache1, So I've tried the hotfix, the xda (found that first actually), and the tetherxp, nothing is working for me. Everytime I try to install any driver for the droid it says the file doesnt contain information for my device. Any ideas? I'm overly irritated with it haha
  12. teddyearp
    Offline

    teddyearp New Member

    Joined:
    Jan 13, 2010
    Messages:
    1,800
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Randle, WA
    Again MotoCache1, my hat is in my hand and off to you. I was wondering why I kept getting the error you describe in this guide on my WinXP SP2 box, but not on my Win7 laptop. I just figured it was a classic case of YMMV, especially since USB tether works on my other laptop running the 'good' old corp version of XP pro that has been hacked up to SP2; go figure. You Da Man!

    Anyways, for the readers, first I disabled my current NIC then I followed the instructions for the "tetherxp.inf" file with the phone plugged into my pc ending with the 'cannot start device' error. Rebooted my pc, then installed the "WindowsXP-KB959765-x86-ENU.exe" without the phone plugged in and rebooted my pc again (as MC1 already stated). Again, I made sure my current NIC was disabled (I even unplugged the cable), plugged in my phone, selected USB tether "on" and next thing ya know I was on. The only funny thing is that when I went to speedtest.net, it still showed me on Centurytel holdings (?) which is why I tried it again with all cables unplugged. Oh well, I LIKE IT!
  13. idforboard
    Offline

    idforboard New Member

    Joined:
    Mar 20, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hey guys,


    i downloaded and updated the four files and i know that i am running windows xp sp3. i downloaded the tetherxp.inf file as well. i am following all the steps, but when i try to install tetherxp.inf on my netbook, it says

    "the specified location does not have information about your hardware".

    i tried to install both the tetherxp.inf and also the netrndis.inf file as a driver, but they both give me that same message.

    the phone looks okay on its end. the netbook knows that i am attaching an unknown device when i plug it in. it just won't accept either inf file as a driver. is there any way for me to force the inf file to be used as a driver to get this thing going?

    thanks
    aman
  14. teddyearp
    Offline

    teddyearp New Member

    Joined:
    Jan 13, 2010
    Messages:
    1,800
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Randle, WA
    :welcome: Look at the title of this thread. This fix is for Windows XP SP2 and lower. You state you have SP3, so unfortunately the files in this thread are of no use to you. You will have to ask in another thread for your solution.

    good luck
  15. komal
    Offline

    komal New Member

    Joined:
    Apr 25, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    NDIS issue Please help

    i have tried all but nothing helped for me. i have install hotfix also install the driver but still got the yellow sing with my hardware. pls help i have to really sort it out this mater.
  16. teddyearp
    Offline

    teddyearp New Member

    Joined:
    Jan 13, 2010
    Messages:
    1,800
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Randle, WA
    :welcome: Try doing what I did in post # 12 above or you could just install SP3 from Windows update.

    good luck
  17. komal
    Offline

    komal New Member

    Joined:
    Apr 25, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    i downloaded the tetherxp.inf file as well. i am following all the steps, but when i try to install tetherxp.inf on my PC, it says

    "the specified location does not have information about your hardware".

    what should i do i m running xp sp2
  18. teddyearp
    Offline

    teddyearp New Member

    Joined:
    Jan 13, 2010
    Messages:
    1,800
    Likes Received:
    3
    Trophy Points:
    0
    Location:
    Randle, WA
    The tetherxp.inf file is not the solution, the Windows hotfix is. Please carefully re-read the OP:

    If followed carefully and exactly, Motocahe1's guides are flawless. If you having a problem, I'm sorry to say, it is because you are not properly follwing his instructions. I suggest you print it out and carefully follow each procedure, checking it off as you go.

    good luck
  19. komal
    Offline

    komal New Member

    Joined:
    Apr 25, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0



    Thanks alot dear for your help and support the matter is resolved now by upgrading my system to sp3.
  20. ncdtkrts
    Offline

    ncdtkrts New Member

    Joined:
    Jun 18, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I have the same problem and am looking for a solution in the end since this morning, will try to post it here tomorrow, I hope that I found useful:
Search tags for this page
kb959765
,
rndis driver for windows xp
,
rndis driver for xp
,

rndis driver windows xp

,
rndis driver windows xp download
,

rndis driver xp

,
rndis driver xp download
,
tether.inf
,
tetherxp
,

tetherxp.inf

,
tetherxp.inf download
,
tetherxp.inf not working
,
usb tethering android windows xp
,
usb tethering windows xp
,

usb tethering with windows xp