Answered No Windows Phone 8 Detected

  • Monday, November 19, 2012 12:26 PM
     
     

    I'm trying to connect to my Windows Phone 8 device (lumia 920) to deploy an app unfortunately, I keep getting the error saying that no Windows Phone 8 device has been detected. I tried to developer unlock a Nokia Lumia 820 also which said that no phone was detected and to ensure IPOVERUSB was running, which it was.

    I have also tried uninstalling the devices in the device manager but that had no effect, each time I plug the 820 in (the device is recognised) and two versions of it are installed in device manger. No idea what is happening to cause this kind of problem.

    (I'm using Windows 8)

All Replies

  • Monday, November 19, 2012 9:00 PM
    Owner
     
     

    This would seem to suggest that there is a problem with the USB cable, USB controller in your computer and/or the phone itself. Try using different USB ports on your computer. In order to find out if it is your computer, cable, or device, see if a friend can install the tools on their computer (it doesn't need to be SLAT compatible if using a physical phone).

    Can you inspect the Configuration Manager installation (Plug and Play activity) log (c:\Windows\Inf\setupapi.dev), in particular the end, to see what is being reported?

    -Mark


    Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 7

  • Tuesday, November 20, 2012 8:04 AM
     
     

    >>>  [Device Install (DiShowUpdateDevice) - USB\VID_0421&PID_0661&MI_01\7&31C54B4D&0&0001]
    >>>  Section start 2012/11/19 14:16:53.519
          cmd: "C:\Windows\system32\mmc.exe" C:\Windows\system32\devmgmt.msc
         dvi: {DIF_UPDATEDRIVER_UI} 14:16:53.557
         dvi:      No class installer for 'RM-825|Nokia Lumia 820'
         dvi:      No CoInstallers found
         dvi:      Default installer: Enter 14:16:53.574
         dvi:      Default installer: Exit
         dvi: {DIF_UPDATEDRIVER_UI - exit(0xe000020e)} 14:16:53.585
         ndv: {Update Driver Software Wizard for USB\VID_0421&PID_0661&MI_01\7&31C54B4D&0&0001}
         ndv: {Update Driver Software Wizard exit(000004c7)}
    <<<  Section end 2012/11/19 14:17:03.829
    <<<  [Exit status: FAILURE(0x000004c7)]

    This is what I have found reported, not really sure what to make of it, apart from the obvious sign that there's a failure. The phone is visible in file explorer and I can view its contents jsut deploying that is the problem. 

  • Tuesday, November 20, 2012 3:34 PM
    Owner
     
     

    I had a problem earlier getting a connection to a preproduction 920.  Try going into Settings->Date+Time, turn Set Automatically to OFF (if it is ON) and resetting the time manually. See if this helps.

    -Mark


    Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 7

  • Tuesday, November 20, 2012 6:55 PM
     
     

    No luck unfortunately Mark, I posted on the Nokia developer forums also and the only suggestion they could come up with was to reinstall the WP8 SDK, will this help?

    http://www.developer.nokia.com/Community/Discussion/showthread.php?238433-Unable-to-connect-to-Windows-Phone-8-device&p=906845#post906845

    The Windows Phone 8 connector app works completely fine, just can't use it as a developer device...

  • Tuesday, November 20, 2012 9:11 PM
    Owner
     
     

    Yes it is possible the SDK is in an unusual state. You can try the WP8 SDK Repair option (Control Panel->Programs->Programs and Features) first and see if that helps.

    Do you have another computer that you can install the tools on (or do you have a friend with one)? It doesn't need to meet the SLAT requirement if using a real phone instead of the emulator. The results of the test can help decide what to do next.

    -Mark


    Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 7

  • Friday, November 23, 2012 12:02 PM
     
     

    I have uninstalled and reinstalled the SDK, no luck unfortunately. Still exactly the same error.

    I have installed an app to the device using the same cable from another Windows 8 laptop with no issues. 

     
  • Monday, November 26, 2012 2:43 PM
    Owner
     
     

    Hi James,

    Since it failed with two different phones, it seems the common denominator is the USB hardware in your computer. Try every USB port available, and if it still fails you might need to use a different computer.  Since you are deploying to a device instead of the emulator, the different computer does not need to be SLAT capable, though it will still require Windows 8.

    -Mark


    Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 7

  • Tuesday, November 27, 2012 7:20 PM
    Owner
     
     Answered

    Hi All,

    If still having trouble connecting your WP8 phone device, please try the following troubleshooting steps:

    1. Open a command prompt and browse to this folder:

    C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\CoreCon\11.0\Bin

    Then run IpOverUsbEnum.exe (with the device unlocked!)

    2.Expected results:

    C:\Program Files (x86)\Common Files\Microsoft Shared\Phone Tools\CoreCon\11.0\Bi
    n>ipoverusbenum
    Partner:
      Container Id: 6C5585FD-8C32-587B-BBDE-3DB382497937
      Instance: USB\VID_0421&PID_0661&MI_01\6&2C0EBAFF&0&0001
      Name: RM-820|Nokia Lumia 920
      Guid: 00000011-6AE5-9FD1-0000-000000000000
    Partner Services listening at ports:
      Debugger 8888 -> 127.0.0.1:8888
      DeviceReg 27177 -> 127.0.0.1:27077
      Msvsmon 8016 -> 127.0.0.1:8016
      RPCSurrogate00 6610 -> 127.0.0.1:6510
      RPCSurrogate01 6611 -> 127.0.0.1:6511
      RPCSurrogate02 6612 -> 127.0.0.1:6512
      RPCSurrogate03 6613 -> 127.0.0.1:6513
      RPCSurrogate04 6614 -> 127.0.0.1:6514
      RPCSurrogate05 6615 -> 127.0.0.1:6515
      RPCSurrogate06 6616 -> 127.0.0.1:6516
      RPCSurrogate07 6617 -> 127.0.0.1:6517
      RPCSurrogate08 6618 -> 127.0.0.1:6518
      RPCSurrogate09 6619 -> 127.0.0.1:6519
      RPCSurrogate10 6620 -> 127.0.0.1:6520
      WPConManClient2Proxy 6891 -> 127.0.0.1:6791
      WPPingSirep 29819 -> 127.0.0.1:29819
      WPSirep 29917 -> 127.0.0.1:29817 

    If the output is as expected, most likely it’s not an IP Over USB issue.

    3. If it reports RPC Server Unavailable, most likely the service is indeed not running on the PC.
    4. If it reports no connected partners found:
    - check the phone is unlocked
    - check it is available in explorer to drag and drop files
    - verify whether the USB device (i.e. the Phone) has been correctly detected and installed. This step is not trivial as it requires looking up the USB device (i.e. the phone) in the registry.

    The following example is based on inspection in the registry (regedit) of an installed Nokia 920 device. If looking for a different device, the difference will be in the VID (Vendor ID, represented as VID_vvvv) and PID (Product ID, represented as PID_pppp).

    1) Inspect the DeviceInterfaceGUID value in the registry key indicated below. If the device failed to install, that value may be missing. Please note this is the interface 1 (MI_01), interface 2 is used by Nokia for something different.

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\VID_0421&PID_0661&MI_01\7&338e4600&1&0001\Device Parameters]
    "ExtPropDescSemaphore"=dword:00000001
    "DeviceInterfaceGUID"="{26fedc4e-6ac3-4241-9e4d-e3d4b2c5c534}"

    2) Inspect the usbflags\042106610100 key below. The osvc value is the relevant thing to look for, it won’t start with 01 if the device wasn’t recognized correctly:

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\042106610100]
    "osvc"=hex:01,42
    "SkipContainerIdQuery"=hex:01,00,00,00

    The long number, in this case 042106610100 was derived from the Vendor ID (0421), the Product ID (0661) and the revision number (0100) of the device.
    More USBFLAGS info:
    http://msdn.microsoft.com/en-us/library/windows/hardware/jj649944(v=vs.85).aspx

    The correct workaround, if these values are not correct, is to (1) uninstall the devices under “Universal Serial Bus Devices” from Device Manager, (2) remove the key “HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\042106610100” manually (use that number only if it is the Nokia 920), and then attach the phone again.

    Hope this helps,

    Mark


    Mark Chamberlain Sr. Escalation Engineer | Microsoft Developer Support | Windows Phone 7


  • Tuesday, November 27, 2012 8:11 PM
     
     

    Hi Mark,

    Thanks for getting back to me about this issue, I've temporarily lost access to a device but will let you know how I get on when I've got another,

    Thanks again,

    James

  • Monday, December 10, 2012 6:18 PM
     
     

    Hi Mark, 

    Great news, I followed your instructions and I discovered:

    1) There was no DeviceInterfaceGUID.

    2) osvc"=hex:01,42 was different

    I found the USBFlag and although I was using an 820 I deleted the key that was very similar (if not the same to the 920 one you wrote above). I then uninstalled the device as you said, plugged in and hey presto - it worked.

    Thanks so much for your help, would never in a million years have worked that out for myself.

    James

  • Tuesday, December 11, 2012 2:05 PM
     
     

    Hi. Please, can you write what you do with more detailes. If you do screenshots, it will be very good. (my phone lumia 820). Thanks's

    Slava

     
  • Tuesday, December 11, 2012 2:11 PM
     
     

    Unfortunately I don't really have the time right now to go back and do it all again with screenshots. The instructions above that Mark has given are the correct fix, if you follow them you shouldn't have any problems at all. Then if you get stuck let me know and I'll try and remember what I did :)

  • Tuesday, December 11, 2012 2:15 PM
     
     Answered
    I find  a issue. Open device manager , open phone, choose driver and update. Windows update the driver, and all work! Thank's
  • Monday, February 11, 2013 3:10 PM
     
     

    I struggled with this issue back in November, and gave up, trading my Windows Phone 8 development for Windows 8 instead.  Now I am back to my Windows Phone still with this same issue.  I was getting the errors that Marks post suggested (no partners) but deleting the registry key and deleting the device from the device manager did not help. 

    What finally did help was I manually added the missing DeviceInterfaceGUID and SkipContainerIdQuery values from Mark's post, restarted Windows Phone IP over USB Transport (IpOverUsbSvc) and now I am working and have managed to deploy an app to my Lumia 920!

    Thanks for the help Mark.


    Paul Tidwell

  • Wednesday, March 13, 2013 2:19 PM
     
     

    Yes!! Mark's solution worked for me also.

    My Windows 8 was able to see the Lumia 820 and mount my device, but I could not deploy to it. 

    In my case I was getting no partner connections found. Like James, there was no DeviceInterfaceGUID in the registry. However, after uninstalling all the drivers in device manager and deleting the specified file in the registry it worked.

    Thanks so much Mark, I was beginning to feel defeated.

  • Wednesday, March 20, 2013 8:49 AM
     
     

    These steps helped! Thanks a lot.

    Why does this happen? Mine was a clean installation of windows 8 and a new windows phone 8 device.

  • Sunday, May 12, 2013 2:39 PM
     
     

    Hi Mark,

    I was having issues with my HTC 8X and although I had to find the alternate areas of the registry your instructions allowed me to get my device working. For HTC it looks like the Vendor ID is OBB4.  I found the USB device in the device manager and removed it and it re-installed.  As a note I had a hunch mine has issues because the phone kept showing in the device manager with C625a under unknown devices.

    Thank you!

  • Monday, May 13, 2013 2:19 PM
    Owner
     
     

    Thank you for this information, it may help other HTC 8X users...!

    -Mark


    Getting Started? Click here
    Blog: Windows Store & Phone Developer Solutions