yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] sandman01:
working on Windows 8

thx to ansar for the files.

Got it working on my Windows 8 Developer Preview x86

Only have to Change the htcVComV32.inf

; Windows Virtual Serial Port Setup File
; Copyright (c) 2009 HTC Corp.
; Manufacturer: HTC Corp.
;
; This INF file installs a virtual COM port on Windows Vista x32 system.

[Version]
signature = "$WINDOWS NT$"
Class = Ports
Provider = %HTC%
ClassGuid = {4D36E978-E325-11CE-BFC1-08002BE10318}
DriverVer = 01/24/2009,5.0.0.3
Catalogfile.NTx86=HtcVCom32.cat

[SourceDisksNames]
1000 = %HTCSRCDISK%,"",,

[SourceDisksFiles]
HtcVComV32.sys = 1000

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir = 12

[Manufacturer]
%HTC% = Models

[Models]
%HTCDevice00% = HTCPort00, USB\VID_0BB4&PID_0EFE
%HTCDevice01% = HTCPort00, USB\VID_0BB4&PID_0E01&MI_00
%HTCDevice02% = HTCPort00, USB\VID_0BB4&PID_0E02&MI_00
%HTC00% = Modem0, USB\Vid_05c6&Pid_319b&Rev_0000&MI_00
%HTC01% = Modem0, USB\Vid_05c6&Pid_319b&MI_00

[HTCPort00.NT]
CopyFiles = FakePortCopyFileSection00
AddReg = All00, AddReg.NT

[HTCPort00.NT.Services]
AddService = HtcVCom32, 0x00000002, HTCPort_Service_Inst00

[HTCPort_Service_Inst00]
DisplayName = %HTCSerialPortName00%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\HtcVComV32.sys

[FakePortCopyFileSection00]
HtcVComV32.sys,,,0x20

[All00]
HKR,,NTMPDriver,,HtcVComV32.sys

[AddReg.NT]
HKR,,PortSubClass,1,01
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"

[Strings]
HTC = "HTC Corporation"
HTCSRCDISK = "HTC USB Driver Disk"
HTC00	= "HTC Diagnostic Interface"
HTC01 = "HTC Diagnostic Interface"
HTCDevice02 = "HTC Diagnostic Interface"
HTCSerialPortName00 = "HTC Diagnostic Port"

Device Manager told me that there is a Problem while installing HTC Diagnostic Interface, but it works.

send via my HTC HD7 on Win8 using ansars switcher app
[Windows Phone 7 Development and Hacking] TheGardner:
here it is!

!!!For all other users, please check the first page of the topic for new updates! This file could be outdated by reading this post!!!
[Windows Phone 7 Development and Hacking] jaehood232003:
after uninstalling it, my computer of zune no longer recognize the phone when plugged in
[Windows Phone 7 Development and Hacking] flobo09:
Did you put it back in Zune mode before uninstalling ?
[Windows Phone 7 Development and Hacking] jaehood232003:
no i didnt, is there any other way i can reverse this

---------- Post added at 06:36 PM ---------- Previous post was at 05:38 PM ----------

Do anyone know how to reverse this problem, i uninstalled USBModeSwitch Tethering tool while it was in modem, usb diag mode
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Step 1: Smack yourself 6 times in the head with a herring for not reading the BRIGHT RED TEXT that says "DO NOT UNINSTALL WHEN IN Diag Mode".

Step 2: Search this forum for "DFRouter Fix".
[Windows Phone 7 Development and Hacking] TheGardner:
argh!

can only second the last post! Already had bad dreams, since I tell myself every day "remember that you need to get it back in Zune mode, before you sometimes plan to uninstall the app!!!!"
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Actually, relatedly, it may be a good idea to install DFRouter along with this app. Even if DFRouter doesn't work in Mango for enabling tethering per se, it appears to work for switching into and out of Zune mode (the step that reboots the phone). Since this is the critical one to not lose, having two apps providing this function both installed at once is a good plan.

Similarly, I suggest installing my "DeployProvXml" app (located on this forum) and runnin it immediately any time you run Connection Setup. This way, if you accidentally manage to re-lock your phone, even while in Diag mode (normally all-but-irreversible, since USBModeSwitch/DFRouter will stop working), you can run Connection Setup again to restore Dev-unlock and Interop-unlock.
[Windows Phone 7 Development and Hacking] marek1:
Hi ansar,

I have problems with your procedure on step ">> tap on Set Diag Mode CTRL box //// performs an exit with a soft reset ////"

I cann't to click on it this button is not active, what to do ?

I have WP7 Mango 7720.68 with ISV beta cleanup installed on HD2.

Thanks for help.
[Windows Phone 7 Development and Hacking] jackrabbit72380:
okay but that didnt realy answer my question maby i refraze the question or maby you could add an update to the program for me

i have a desktop pc with htc hd2 connected with data cable i want to connect to wifi roughter with my htc hd2 and share its internet to the desktop

is that posible?

basicly useing my hd2 as an wifi b/g/n addapter

because i dont have one
[Windows Phone 7 Development and Hacking] futureshock:
hello is the any information or simply the possibility to get the tethering working on a mac to? :)
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

One main CTRL box is active each time: Zune or Diag

If you are in one mode, say Zune, then Diag is active and vise versa

Regards, ansar
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

As also in post #1 is clear, Tethering for now on with this tool is throu usb cable connex only

You can try (and report) with HD2 if you have a WP7 ROM running

Regards, ansar
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

Can you sync an hTC android / Windows phone to your mac with usb port (not in zune mode)?

Regards, ansar
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

You can also try:

Windows Phone 7 Connector (for Mac) - Beta

Thnx for commenting!!!

Regards, ansar
[Windows Phone 7 Development and Hacking] marek1:
Ansar,

the problem is that if I click "Set Zune Mode" I got all the time active only "Set Zune Mode" button and never button "Set diag Mode".

How could I have active the button "Set diag Mode" ?

PS: If I have active "Set Zune Mode" I am connected to Zune app without any problem.

Thanks for help.
[Windows Phone 7 Development and Hacking] thesecondsfade:
Actually, I have been using DFRouter in Mango 7220 and it has been working fine. I'm pretty sure ansar's USBModeSwitch is just a re-packaged version of the HTC Test Tool USBModeSwitch posted by xboxmod just as DFRouter is. I use DFRouter because the button titles make more sense for their purposes (Zune Mode, Router Mode, HTC Modem, USB Sync).

Out of curiosity GoodDayToDie, did you ever get this working by installing the newer radio?
[Windows Phone 7 Development and Hacking] jaehood232003:
So guys there is currently no fix for us idiots who uninstalled USBModeSwitch before switching back to zune mode? I checked everywhere. Has there been a ROM released yet with USBModeSwitch or DFrouter added to it?
[Windows Phone 7 Development and Hacking] thesecondsfade:
There is a fix. Flash DFT's 7220 Freedom ROM, then direct your IE9 to a download of DFRouter.xap. That will install DFRouter for you. Switch back to Zune mode and then you can flash away from the DFT ROM if you want to.
[Windows Phone 7 Development and Hacking] jaehood232003:
I have DeepShining 7720.68 v1.1 ● Mango Dev Unlocked ROM and I tried that trick, but it said it could not download that file type.
[Windows Phone 7 Development and Hacking] futureshock:
hey there i have tried the software... works great! there is allready a v2 from mac app store available!!

the funny thing, this tool allows to backup and copy ringtones to the Phone 7 ... i think Zune didn't have this features?! :D

as far as i can see if i put the phone into the diag mode, the phone connects as a qualcom device... so i need some special drivers for this...

in Zune Mode the Phone gets recognzied by the Mac Phone 7 Software...

the other question is if there is someday the original ics of mango available for HD7 if this works on mac... ?!
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
In WP7 zune also performs ROM backup and OS updates by MS

That's why i asked if you have synced an android phone from hTC, they use the same drivers

It is due to the mentioned software provide by MS

I suppose yes due to it will be irrelevant of what kind of OS is trying to connect to

I will try too, but if you can find drivers from hTC for android phones to mac sync, just let me know

Regards, ansar
[Windows Phone 7 Development and Hacking] GoodDayToDie:
I don't have the custom package installation tools installed yet, so I haven't tried it. I may need to though; it sounds like the official upgrade path would cost me interop-unlock if used. That would be... bad.
[Windows Phone 7 Development and Hacking] thesecondsfade:
Because DeepShining 7720 is not DFT 7220. DFT has a tweak cooked into their ROM to allow XAP installation via IE9. It's not a Mango feature... nor does any other ROM have it currently.
[Windows Phone 7 Development and Hacking] marek1:
Ansar,

the problem is that if I click "Set Zune Mode" I got all the time active only "Set Zune Mode" button and never button "Set diag Mode".

How could I have active the button "Set diag Mode" ?

Maybe is good that I have only active zune button

but if i connect HD2 to zune and click another

bellow button my Windows 7 laptop can see

any changes and no New 2 hardware was found.

PS: If I have active "Set Zune Mode" I am connected to Zune app without any problem.

Thanks for help.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Yes and no. I got tethering to work (using DFRouter, even) by installing the official HTC update, which I finally got today. However, in the process I lost the ability to access the filesystem directly, which has all kinds of unpleasant problems.

I rolled back that update and installed the custom radio (using OSPL, since apparently running RSPL or HSPL on Mango is dangerous). It appeared to work - assuming I followed the instructions right, which may not be the case - but I can't tether (or use HTC's new Connected Media app).

EDIT: I rolled back to the 3.1 OSPL and loaded RSPL, then tried flashing the radio again. It still didn't work. The only way I've found is to install the HTC update (the same one that breaks filesystem operations).
[Windows Phone 7 Development and Hacking] jaehood232003:
Thanks so much for the help, I read the forum last night and seen that. I got it back to zune mode, thanks again.
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

USBModeSwitch is not written for HD2 but your feedback is a valuable info

I will try to implement one for HD2 and let you know

Regards, ansar
[Windows Phone 7 Development and Hacking] thesecondsfade:
You can try XBoxmod's 7220 ROM. That's what I'm using and I am tethering to write this message right now. The link is in my signature. It's has INTEROP unlock cooked in and is very stable for me. Plus his CAB installation method is pretty sweet.
[Windows Phone 7 Development and Hacking] futuro82:
Sorry I need help because my hd7 don't find the HTC update

Can somebody help me ?
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

- Are you in the right thread?

- What ROM have you installed?

Regards, ansar
[Windows Phone 7 Development and Hacking] DavidinCT:
Ansar,

Have you taken a crack at HTC Mango built in tethering for HTC ? They got it working on Samsung devices with the built in app. It would be great to use that if possable.
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

Not yet

They have disable SoftAP in order not to be shown as a tile or even in app list as shortcut

If you try to enable SoftAP then Wi-Fi and airplane mode is blocked (at least)

Any way work is in progress or we will wait for another update from ms

Regards, ansar
[Windows Phone 7 Development and Hacking] futuro82:
I have the original Rom, and after update to Mango 7720.68 I want use your program with hd7 for tethering but my pc don't recognazes the HTC modem and HTC diagnostic for installed the drive.

Can you gelo me please?
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

If you follow

//// USBModeSwitch installation instructions ////

You will be on this step

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

After tapping on Enable UART do you hear phone and PC sound?

If yes continue with device manager and in Other Devices you will see 2 unkhnown devices

Let me know if it is ok up to here

Regards, ansar
[Windows Phone 7 Development and Hacking] marek1:
Please do that.

Lot of HD2 users miss this app because

No native tethering come from MS in Mango

for old devices.

Thanks to for the implementation

For HD2 again.
[Windows Phone 7 Development and Hacking] futuro82:
I don't hear sound from pc and phone infact the red led is off, help me please i need to use my phone like modem
[Windows Phone 7 Development and Hacking] fulat:
Yes. for those set to DIAG mode and tap on Enable UART CTRL box which doesnt pop out 2 unknown device. its the HTC driver update issue. i have tested the one with the HTC driver update after Mango and it work out like champ.

but today when i upgrade my storage and perform a 7004 to Mango. the same old thing come out when i set to DIAG mode and tap on Enable UART CTRL box. nothing come out. the only different is i havent got the HTC driver update.

is there anyway i can force the update on my device?
[Windows Phone 7 Development and Hacking] futuro82:
I have the same problem with my htc HD7
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

Can you specify the 7004 (or any) ROMs that both of you did use for upgrade to mango 7720?

Regards, ansar
[Windows Phone 7 Development and Hacking] futuro82:
I have the original ROM with the original NODO update with prevent-relock
[Windows Phone 7 Development and Hacking] fulat:
ok. i tried twice. this is working.

this method only working if you device is unlocked.

1. download U2M7720.xap(thanks To ansar for this) at http://www.mediafire.com/?535d02w4tc7qo6j

2. side load to you HTC device.

3. execute the app and select DoNotU2B2

4. when Configuring Device appear. press on "tick"

5. wait until it execute finish. press "Done"

6. connect your phone to Zune and execute Zune.

7. go Setting, Phone, Update

8. it take a longer time to detect but it will prompt u HTC drive update is available.

9. update it and it will look like normal update.

once finish, follow ansar's method on the first page then u will end up detect 2 unknown device.

do not allow it to get update driver from internet. quickly cancel the update and force update the driver accordingly on page 1.

everything will work like page 1.

and dont worry. you device will still be unlock after this.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Still unlocked, yes, but can you access the filesystem? The official HTC driver update also blocks apps like TouchXplorer (and the data backup app I use).
[Windows Phone 7 Development and Hacking] fulat:
yes. TouchXplorer on my HD7 and my wife Mozart are working. even Advanced Configuration Tools v1.4 Mango Beta at SETTING are working with minor bug.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Huh... wonder how he managed that? I would very much like to get the HTC update (for tethering) without losing the filesystem access.

@Ansar: Does it work if I run U2M7720 from already on Mango (but without the HTC update) or do I need to roll all the way back to NoDo to avoid this issue?

Thanks!
[Windows Phone 7 Development and Hacking] fulat:
if your are dev-unlocked. u can run it. it should work as i tested on HD7 and Mozart. and i tested. tethering is working too.
[Windows Phone 7 Development and Hacking] stryker09:
your HD7 & Mozart are mango interop unlocked?
[Windows Phone 7 Development and Hacking] fulat:
Advanced Configuration unlocked from 7004 till 7392(NoDo) then remain unlock when go 7403.

at 7403

Sideload ansar's Update_Mango.XBMODDeployer

Run TouchXplorer

Copy file generated from my document to windows

Run Connection Setup

Sideload ansar's Unlock_Mango.XBMODDeployer

Run TouchXplorer

Copy file generated from my document to windows

perform Zune update.

identified ISV Beta 7720 and update.

finish update.

Run Connection Setup

remain unlock

sideload U2M7720.xap

Run U2M7720 and Select DoNotU2B2

Run Zune check HTC drive update.

found and update

finish update and check still unlock.
[Windows Phone 7 Development and Hacking] futuro82:
Sorry but i don't receive the htc update, Why ?

My phone:

hd 7 SO 7.10.7720.68

firmware 2250.09.11601.401

hardware 0002

software radio 5.51.09.06a_22.30.50.09U

hardware radio A.102.0.D4

bootloader 1.16.2250.0(110866)

processore SOC: 2.2.5.0

WHy on my phone the htm modem don't start ???
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

With U2M7720 tap on DoNoTU2B2 to receive HTC update

After update, run USBModeSwitch and try again, it should work

Regards, ansar
[Windows Phone 7 Development and Hacking] GoodDayToDie:
If you use that path, with the HTC update still block the HTC file and registry COM dlls? Some people have said they were able to avoice that, but it sounded like they may have been using custom ROMs. I'm hoping I can find a way to get the update without losing the ability to use those useful DLLs. Currently I just keep a resore point with the update available if I need to tether, for some reason.
[Windows Phone 7 Development and Hacking] spawen:
This procedure does not work on mango RTM

I'm unabe to load the XAP when ID_CAP_INTEROPSERVICES flag is present in tha manifest XML. Removing that flag allows app deloyment,but the app crashes. I'm using mango RTM (7.10.7720.68)
[Windows Phone 7 Development and Hacking] GoodDayToDie:
... And this is why there are sticky threads, and why you should read them first. *SIGH*

You need your phone to be interop-unlocked. Refer to the sticky thread describing this unlock and the ways to achieve it. If you're on HTC, you'll need to roll back to pre-Mango, though LG and Samsung can do it in-place.
[Windows Phone 7 Development and Hacking] marek1:
HD2

Hi Ansar,

are you planning some changes in this app ?

Thanks for info.
[Windows Phone 7 Development and Hacking] futuro82:
Sorry but I don't understand...

I tap on donotu2b2, press done but after I don't receive the Htc Update. Why ?
[Windows Phone 7 Development and Hacking] marek1:
HD2 Owners

Hi Ansar,

When will you prepare the USBmodeswitch tethering tool for HD2 owners ?

Thanks for info.
[Windows Phone 7 Development and Hacking] sandy2503:
The Rapidshare Download is not availabele.

Can You fix it ???

Best Regards,
[Windows Phone 7 Development and Hacking] pornogeroc:
good job ansar !!!!!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hmm... not seeing a download link? The one in the OP reports File Not Found on Rapidshare. Why not just use XDA-Devs attachments?

Also, a changelog would be nice...
[Windows Phone 7 Development and Hacking] Lifear:
Please fix the download link or provide a mirror. thanks.
[Windows Phone 7 Development and Hacking] anseio:
Download has been unavailable for a few days now. Is there anyone willing to upload their copy?

Thanks!
[Windows Phone 7 Development and Hacking] jaygriggs:
http://www.megaupload.com/?d=W9ZJR6K9

If I help you hit the thanks
[Windows Phone 7 Development and Hacking] Crimson Lotus:
File unavailable
[Windows Phone 7 Development and Hacking] jaygriggs:
I just tried it let me know if you still have issues
[Windows Phone 7 Development and Hacking] anseio:
thanks for the file. It came through.

I don't know what I'm doing wrong, but none of these versions work for me. App always starts into Diag mode and pressing "enable UART" has no effect.

Devices also don't show up in Device Manager. This is actually a step behind the versions of USBModeSwitch that also don't work. Those ones get far enough to show something in Device Manager, but Windows 7 claims to find something wrong with it and will not allow it to install or even get hardward id's. :(
[Windows Phone 7 Development and Hacking] Lifear:
thanks, this works. now i can wait for the official firmware upgrade, but for this time, this saves my online life :-)
[Windows Phone 7 Development and Hacking] jaygriggs:
Always starts in zune mode for me

This is version 1.16.0.0
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Huh... already had 1.16 (shoudl have checked that). Still doesn't work without the HTC update that breaks too much other homebrew (TouchXplorer and my backup tool, both require the filesystem access DLL to not fail). Still doesn't work in any situation where DFRouter doesn't work too, in other words...
[Windows Phone 7 Development and Hacking] anseio:
Mine never starts in Zune mode. Hmmm....

Maybe I'm missing that update too. Well, don't want to break anything else. I only need tethering when the network I'm using at home goes down. In that even, I can switch to Android and wifi tether w/o issue.

Thanks!
[Windows Phone 7 Development and Hacking] preddyp:
Thanks for the efforts.

Is the download link broken? if so is there an alternate link.

https://rapidshare.com/files/3010429685/USBModeSwitch.zip
[Windows Phone 7 Development and Hacking] Jeimygirl:
I hope I don't bother people with his question, but I am such a noob right now!

I haven't flashed or customized a phone since I got my HD7 about a year ago, so all of this is sounding so foreign to me.

I was so disappointed when I got my Mango update, and then found out that it did not have Tethering like I was anticipating :-( So my question is, all the smart people that have developed all these great things for this phone, is tethering for the T-Mobile branded phones available? If so, is this it, or part of it? And if yes or no, how do I go about getting this phone to tether?

I've done searches on the forum for this, but the info seems to be conflicting. I se no's and then I se replies that are like this thread which confuse me right now.

Can anyone point me in the right direction? I would greatly appreciate it!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
There's two kinds of tethering for WP7.

This app, and DFRouter which was available many months ago, enable wired tethering (via USB). This is in many ways less convenient, though it does have the benefit of ensuring the phone is charging while you use it as a modem (it'll get pretty warm). It requires manually installing some drivers on the PC and rebooting the phone, but it can be made to work. If you're already on Mango, you may need to roll back to NoDo or otherwise interop-unlock your phone to make these apps work.

There is also a WiFi-based Internet Sharing feature built into Mango. Enabling this requires at least two conditions (beyond simply being on Mango). The first is that your phone has the correct drivers. This feature was added late in Mango's release cycle, and some phone ROMs shipped without the required driver update. If you don't have this driver, you'll need to wait for the official update or flash a custom ROM with the driver built in. The second requirement is that your phone think that the carrier allows tethering. This can either be done if the carrier actually supports tethering (in the US, this usually costs extra) or by overwriting some registry values so the phone just assumes tethering is allowed. You can use the DiagProvXML app on this forum (also requires interop-unlock) to do the second part. I've done it on my HD7, and now have an "internet sharing" option under "settings" on my phone. Enabling it doesn't work though, because I don't have the required driver yet (stock ROM, Mango 7720 retail build without additional HTC updates).
[Windows Phone 7 Development and Hacking] ansar.ath.gr:
Hi,

I just released a new custom ROM for HD7

It comes with Wi-Fi tethering for 5 guests and Internet Sharing (ICS)

You only need RSPL and optionally HSPL to be flashed at 1st stage

Then you can flash the above mentioned ROM

See relevant thread in HD7 development forum

Regards, ansar
[Windows Phone 7 Development and Hacking] marek1:
HD2 Mango

Will someone fix DFrouter for HD2 running on Mango ?

Thanks.
[Windows Phone 7 Development and Hacking] crawler009:
new link

http://www.mediafire.com/?qretwcobp58xwxd