• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[XAP][update 28/9/2011]USBModeSwitch Tethering tool for hTC phones by ansar

Search This thread

ansar.ath.gr

Retired Recognized Developer
Jan 16, 2008
2,767
1,842
Dear forum members,




>> This is the updated version 1.16.0.0 of USBModeSwitch tool designed for hTC Windows Phones

>> Tethering means that the phone can be used as a usb modem and allows a PC / Laptop to connect to the internet

>> I propose to unistall USBModeSwitch tool from your phone only when a new version is provided or

>> Be careful when uninstalling USBModeSwitch tool, do it always after an exit to Zune Mode

>> It is tested and works in all versions of MS Operating Systems, even in Mango 7720




//// USBModeSwitch tool screen shoot ////




usbswitchtool.png





//// USBModeSwitch tool outlined description ////




>> USBModeSwitch xap provides facilities as //// CTRL boxes for USB Mode provisioning ////


>> Set Zune Mode CTLR box //// Set Zune Mode and exit with a Soft Reset [Final exit] ////


>> Set Diag Mode CTLR box //// Set Diagnosis Mode and exit with a Soft Reset [Partial exit] ////


>> While in Set Diag Mode


>> Enable UART CTLR box //// Install hTC usb drivers and prepare for a Tethering Session ////


>> Disable UART CTLR box //// Install PocketPC sync driver and close an open Tethering Session ////




//// USBModeSwitch installation instructions ////



>> download USBModeSwitch.zip

>> unzip in USBModeSwitch folder

>> in USBModeSwitch folder there are 3 folders:

>> USBModeSwitchXap with USBModeSwitch.xap file

>> Drivers x86, with relevant HtcUsbMdmV32 and HtcVComV32 folders

>> Drivers x64, with relevant HtcUsbMdmV64 and HtcVComV64 folders



>> connect your phone with usb cable to PC / Laptop

>> from PC / Laptop deploy USBModeSwitch.xap in your phone

>> run USBModeSwitch

>> tap on Set Diag Mode CTRL box //// performs an exit with a soft reset ////

>> run USBModeSwitch

>> tap on Enable UART CTRL box //// install 2 drivers ////

>> on Found New Hardware (2) pop ups tap on cancel



>> run Device Manager //// in your PC / Laptop ////

>> in Device Manager > Other devices //// are installed 2 Unknown devices ////

>> right click on 1st Unknown device

>> and select Properties > Details //// verify the following 2 ////

>> USB\VID_05C6&PID_319B&REV_0000&MI_01 and

>> USB\VID_05C6&PID_319B&MI_01



>> right click on 1st Unknown device //// USB\VID_05C6&PID_319B&MI_01 ////

>> and select Update Driver Software > Browse my computer ... > Let me pick ... >

>> next > Have Disk > Browse

>> Drivers x86 > HtcUsbMdmV32 > HtcUsbMdmV32.inf //// for 32 bit OS ////

>> Drivers x64 > HtcUsbMdmV64 > HtcUsbMdmV64.inf //// for 64 bit OS ////

>> open > ok

>> on HTC USB Modem select

>> next > Install ... > (wait for HTC USB Modem installation to finish) > close



>> right click on Modems and select

>> HTC USB Modem > properties > Details

>> in Property select Hardware ids //// verify the following 2 ////

>> USB\VID_05C6&PID_319B&REV_0000&MI_01 and

>> USB\VID_05C6&PID_319B&MI_01

>> in Diagnostics select Query Modem //// verify it works ////

>> in Advanced > Extra initialization commands

>> enter +CGDCONT=1,"IP","Provider" //// replace Provider with your own one ////

//// usually Provider is something like this internet.vodafone.us ////




>> right click on 2nd Unknown device and select

>> Properties > Details //// verify the following 2 ////

>> USB\VID_05C6&PID_319B&REV_0000&MI_00 and

>> USB\VID_05C6&PID_319B&MI_00



>> right click on 2nd Unknown device //// USB\VID_05C6&PID_319B&MI_00 ////

>> and select Update Driver Software > Browse my computer ... > Let me pick ... >

>> next > Have Disk > Browse

>> Drivers x86 > HtcVComV32 > HtcVComV32.inf //// for 32 bit OS ////

>> Drivers x64 > HtcVComV64 > HtcVComV64.inf //// for 64 bit OS ////

>> open > ok

>> in HTC Diagnostic Interface select

>> next > Install ... > (wait for HTC Diagnostic Interface installation to finish) > close



>> in Ports (Com & LPT)

>> right click on HTC Diagnostic Interface (COMxx)

>> and select properties > Details

>> in Property select Hardware ids //// verify the following 2 ////

>> USB\VID_05C6&PID_319B&REV_0000&MI_00 and

>> USB\VID_05C6&PID_319B&MI_00



>> close Device Manager, run Internet Options and select

>> Connections > Add > Dial - up > HTC USB Modem

>> in Dial-up phone number enter *99#

>> in Connection name enter WP7

>> select Connect, then Skip and wait to establish connection

>> close Internet Options



>> in your phone Settings > Cellular check that data connection is set to Off

>> in PC / Laptop run internet explorer and connect with WP7 Dial - up to the internet!!!




//// Download Links ////



>> USBModeSwitch by ansar



//// donation instructions ////



>> I hope you realize the time needed for research & development to ceate these facilities

>> You may donate here Support my Research & Development



///////////////////////////////////////////////


Till next version enjoy!!

Regards, ansar


///////////////////////////////////////////////
 
Last edited:

thesecondsfade

Retired Recognized Developer
Jul 30, 2009
1,038
119
Samsung Galaxy Grand Prime
This seems to do the same thing that USBModeSwitch from HTC Test Tools does, right? In Mango, it doesn't know that it's connected to the PC while in Diag Mode.

Has anyone been able to get USBModeSwitch to work correctly in Diag mode on Mango?
 
Last edited:

fulat

Senior Member
Apr 8, 2010
251
14
I am sorry but how this work? i sideload it and set to Diag Mode. nothing happen.

connect micro USB cable and Enable UART. nothing happen
connect Micro USB cable and Disable UART. downloading driver and then when completed it install Windows Mobile Device Center. but i check the WMDC. nothing was attached.

Please help me.. really want this to work.

thanks in advance
 

ansar.ath.gr

Retired Recognized Developer
Jan 16, 2008
2,767
1,842
Hi,

Enable UART enables // USB_DRIVER_QC_COMPOSITE // Mode

Disable UART actually enables // USB_DRIVER_ROUTER_SERIAL // Mode

In later case a driver is installed and you must have device manager open to see what happens

HTC USB Modem must be used instead of PocketPC USB sync

Regards, ansar
 
Last edited:

fulat

Senior Member
Apr 8, 2010
251
14
Hi,

Enable UART enables // USB_DRIVER_QC_COMPOSITE // Mode

Disable UART actually enables // USB_DRIVER_ROUTER_SERIAL // Mode

In later case a driver is installed and you must have device manager open to see what happens

HTC USB Modem must be used instead of PocketPC USB sync

Regards, ansar

in my case. Only PocketPC USB Sync installed. How to change to HTC USB modem?
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,931
Seattle
Is this anything but a more colorful DFRouter app? In any case, it works (or rather, doesn't) exactly the same on Mango.
 

ansar.ath.gr

Retired Recognized Developer
Jan 16, 2008
2,767
1,842
Is this anything but a more colorful DFRouter app? In any case, it works (or rather, doesn't) exactly the same on Mango.

Hi,

Reading the title and description keeps you on track no?

It is what it says, USBSwitchTool

I am preparing a new version with hTC USB moded driver, is under testing

Regards, ansar
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,931
Seattle
Hi,

Reading the title and description keeps you on track no?

It is what it says, USBSwitchTool

I am preparing a new version with hTC USB moded driver, is under testing

Regards, ansar
I'm going to take that as a "No" then, I guess... although a modded HTC USB driver may well do the trick (even just bring back the one from NoDo; maybe it got changed in the Mango update?)
 

ansar.ath.gr

Retired Recognized Developer
Jan 16, 2008
2,767
1,842
I'm going to take that as a "No" then, I guess... although a modded HTC USB driver may well do the trick (even just bring back the one from NoDo; maybe it got changed in the Mango update?)

Hi,

Yes, i worked out, a new version is successfully completed with tethering working even in Mango 7720

Not a good day to die for GoodDayToDie

Regards, ansar
 

jaygriggs

Senior Member
Sep 19, 2007
248
11
Detroit Mi
Hi Ansar!
Any chance of getting this to work on cdma devices?
I assume there is something that is different with the cdma radio that prevents this from working. Thanks In Advance
 

fulat

Senior Member
Apr 8, 2010
251
14
i manage to force install HTC USB Modem driver and appear a HTC USB modem at my device manager.

however, it should also appear 1 more unknown device at device manager where i need to install HTC Diagnostic Interface (COM8).

at this part i do not see any unknown device at device manager.

kindly advise how do i make it work for the above.

thank you

by the way... i am on windows 7 Enterprise x64 with all latest update.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Dear forum members,




    >> This is the updated version 1.16.0.0 of USBModeSwitch tool designed for hTC Windows Phones

    >> Tethering means that the phone can be used as a usb modem and allows a PC / Laptop to connect to the internet

    >> I propose to unistall USBModeSwitch tool from your phone only when a new version is provided or

    >> Be careful when uninstalling USBModeSwitch tool, do it always after an exit to Zune Mode

    >> It is tested and works in all versions of MS Operating Systems, even in Mango 7720




    //// USBModeSwitch tool screen shoot ////




    usbswitchtool.png





    //// USBModeSwitch tool outlined description ////




    >> USBModeSwitch xap provides facilities as //// CTRL boxes for USB Mode provisioning ////


    >> Set Zune Mode CTLR box //// Set Zune Mode and exit with a Soft Reset [Final exit] ////


    >> Set Diag Mode CTLR box //// Set Diagnosis Mode and exit with a Soft Reset [Partial exit] ////


    >> While in Set Diag Mode


    >> Enable UART CTLR box //// Install hTC usb drivers and prepare for a Tethering Session ////


    >> Disable UART CTLR box //// Install PocketPC sync driver and close an open Tethering Session ////




    //// USBModeSwitch installation instructions ////



    >> download USBModeSwitch.zip

    >> unzip in USBModeSwitch folder

    >> in USBModeSwitch folder there are 3 folders:

    >> USBModeSwitchXap with USBModeSwitch.xap file

    >> Drivers x86, with relevant HtcUsbMdmV32 and HtcVComV32 folders

    >> Drivers x64, with relevant HtcUsbMdmV64 and HtcVComV64 folders



    >> connect your phone with usb cable to PC / Laptop

    >> from PC / Laptop deploy USBModeSwitch.xap in your phone

    >> run USBModeSwitch

    >> tap on Set Diag Mode CTRL box //// performs an exit with a soft reset ////

    >> run USBModeSwitch

    >> tap on Enable UART CTRL box //// install 2 drivers ////

    >> on Found New Hardware (2) pop ups tap on cancel



    >> run Device Manager //// in your PC / Laptop ////

    >> in Device Manager > Other devices //// are installed 2 Unknown devices ////

    >> right click on 1st Unknown device

    >> and select Properties > Details //// verify the following 2 ////

    >> USB\VID_05C6&PID_319B&REV_0000&MI_01 and

    >> USB\VID_05C6&PID_319B&MI_01



    >> right click on 1st Unknown device //// USB\VID_05C6&PID_319B&MI_01 ////

    >> and select Update Driver Software > Browse my computer ... > Let me pick ... >

    >> next > Have Disk > Browse

    >> Drivers x86 > HtcUsbMdmV32 > HtcUsbMdmV32.inf //// for 32 bit OS ////

    >> Drivers x64 > HtcUsbMdmV64 > HtcUsbMdmV64.inf //// for 64 bit OS ////

    >> open > ok

    >> on HTC USB Modem select

    >> next > Install ... > (wait for HTC USB Modem installation to finish) > close



    >> right click on Modems and select

    >> HTC USB Modem > properties > Details

    >> in Property select Hardware ids //// verify the following 2 ////

    >> USB\VID_05C6&PID_319B&REV_0000&MI_01 and

    >> USB\VID_05C6&PID_319B&MI_01

    >> in Diagnostics select Query Modem //// verify it works ////

    >> in Advanced > Extra initialization commands

    >> enter +CGDCONT=1,"IP","Provider" //// replace Provider with your own one ////

    //// usually Provider is something like this internet.vodafone.us ////




    >> right click on 2nd Unknown device and select

    >> Properties > Details //// verify the following 2 ////

    >> USB\VID_05C6&PID_319B&REV_0000&MI_00 and

    >> USB\VID_05C6&PID_319B&MI_00



    >> right click on 2nd Unknown device //// USB\VID_05C6&PID_319B&MI_00 ////

    >> and select Update Driver Software > Browse my computer ... > Let me pick ... >

    >> next > Have Disk > Browse

    >> Drivers x86 > HtcVComV32 > HtcVComV32.inf //// for 32 bit OS ////

    >> Drivers x64 > HtcVComV64 > HtcVComV64.inf //// for 64 bit OS ////

    >> open > ok

    >> in HTC Diagnostic Interface select

    >> next > Install ... > (wait for HTC Diagnostic Interface installation to finish) > close



    >> in Ports (Com & LPT)

    >> right click on HTC Diagnostic Interface (COMxx)

    >> and select properties > Details

    >> in Property select Hardware ids //// verify the following 2 ////

    >> USB\VID_05C6&PID_319B&REV_0000&MI_00 and

    >> USB\VID_05C6&PID_319B&MI_00



    >> close Device Manager, run Internet Options and select

    >> Connections > Add > Dial - up > HTC USB Modem

    >> in Dial-up phone number enter *99#

    >> in Connection name enter WP7

    >> select Connect, then Skip and wait to establish connection

    >> close Internet Options



    >> in your phone Settings > Cellular check that data connection is set to Off

    >> in PC / Laptop run internet explorer and connect with WP7 Dial - up to the internet!!!




    //// Download Links ////



    >> USBModeSwitch by ansar



    //// donation instructions ////



    >> I hope you realize the time needed for research & development to ceate these facilities

    >> You may donate here Support my Research & Development



    ///////////////////////////////////////////////


    Till next version enjoy!!

    Regards, ansar


    ///////////////////////////////////////////////
    3
    Looking forward to this! I'll happily donate to help out if you can make this work. Thanks for your effort!

    BTW, is making this work on Mango something that can be generified and used to make other homebrew work on Mango, or is it specific to this?

    Also, I assume it will require Interop-unlock on Mango?

    Hi,

    The final version of USBSwitchTool will be uploaded today, if my networks are ok

    Both my xap's U2M7720 and USBSwitchTool work also in Mango 7720

    It will follow RegEdit and FileXplorer, with my intension to work in Mango

    I do not know yet, if before RegEdit / FileXplore, a wi-fi / hotspot improvement for USBSwitchTool will take place (if possible!!!)

    Thanks for commenting and supporting!!!

    Regards, asnar
    2
    USBModeSwitch version 1.16.0.0 is uploaded

    Hi,


    Tethering is a reality even in final Mango 7720, as tested after update to final MS release

    Pst #1 is updated with detailed description and instruction


    Till next version, enjoy!!!

    Regards, ansar
    1
    I dont understand what is tethering?

    can i use this with my htc hd2?

    can i use my wifi on my phone to connect my desktop to my wifi roughter:confused:

    Hi,


    I did not test it on a hd2 but you can try this 1st version to see if it works

    Tether is a term for using the phone either as a

    - usb modem connected with a usb cable to a PC / Laptop for browsing internet or

    - a hotspot wi-fi center for other phones / PCs / Laptops


    Regards, ansar
    1
    Got it working on HTC Mozart, previously failed with the DFrouter XAP - excellent work