yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Hi hackers,

Version 2.1 of DeployProvXML is here, and should be more robust than the previous version:

1: The CustClear.provxml file is now copied both using the filesystem DLL (like v1) and using XML provisioning (hopefully works aroudn the HTC update blocking filesystem access.

2: The CustClear.provxml file is now self-chaining. Really, this time - so long as you run the program *once*, you can even change the included CustClear.provxml, re-deploy, and run Connection Setup; your new version will then be copied to \Windows. (Re-run CS to actually process your new version). No more need to re-run DeployProvXML after each use of Connection Setup!

3. The program now contains more diagnostics. It sets a registry value at launch (using ComRegRW.DLL), changes that registry value (using provxml) when deploying the file, and changes it again when the deployed file is processed by Connection Setup (as part of the CustClear.provxml). It also checks that the value is as expected avter deploying.

REQUEST:

Anybody who has an interop-unlocked HTC phone with the latest official HTC update (meaning you can't use TouchXplorer anymore), please run this app, then run Connection Setup, then use a registry editor to check the key HKCU\Software\DeployProvXML. It should have a value, LastOperation. Please include the data in the value (or the fact that it doesn't exist) with your reports. Thank you!

Description:

Another handy little utility for people with HTC phones, this app simply copies a CustClear.provxml file from its install directory to \Windows, then exits. The idea is to make sure that you're never without at least a basic file that can be used by Connection Setup to unlock your phone. New in v2, every time you run Connection Setup, the file will automatically restore itself to the Windows directory. This ensures you'll never accidentally get caught with a locked phone after an upgrade or something!

The included Provxml has three parts. However, you can customize it however you like by opening the XAP file and editing the embedded provxml. The parts are:

1: Applies the registry settings to unlock the phone, including Interop-Unlock.

2: Applies a test value in the registry, at HKCU\Software\DeployProvXML. This value is harmless but can be used to test if the app is working.

3: Chain-copies itself from DeployProvXML's install folder into Windows again, replacing the copy that Connection Setup consumes.

Note that this program does not actaully apply the provxml, merely copies it to where Connection Setup expects to find it. It should close immediately after starting; this is not a bug. If you see a dialog box instead, something went wrong and you should report it below!

This program is only going to work on HTC phones, since it uses the HTC DLLs for provxml, file access, and registry. It is a 7.0 app but is compatible with Mango if you have Interop Unlock already.

XAP is in DeployProvxml\bin\debug. Source included for those interested.
[Windows Phone 7 Development and Hacking] contable:
Do you think a deployer for OMNIA 7 is possible ?

Maybe with a .dll of WP7 Root Tools ?

So users who didn´t prepare their device for our OnDevice provxml app under NoDo could also enable this feature...
[Windows Phone 7 Development and Hacking] Marvin_S:
This has been solved :) I can finally test the app myself now. I changed the path to copy the provxml from the iso storage of the app instead of the provxml folder.
[Windows Phone 7 Development and Hacking] piaqt:
Interop.Services

Just read this http://translate.google.com/transla...oducing-windows-phone-7-5-native-programming/

Any joy?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Looks cool, but I'll need to investigate further. It has definitley been reproted that Homebrew apps without ID_CAP_INTEROPSERVICES don't work even in Mango. It sounds like this guy is maybe using a marketplace signed DLL, though? Not sure - the translation isn't great. He's working from an app that I've never explored, and that appears to be specific to the Japanese Mango phone.
[Windows Phone 7 Development and Hacking] Ttblondey:
how do we use it. will it permanently unlock when we update to official Mango?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Install app in NoDo.

Run in once.

Upgrade to Mango.

Run the Connection Setup app (from Marketplace).

Hit "OK" in Connection Setup.

Your phone is now dev-unlocked and will not automatically relock. Additionally, you can now install Mango homebrew.

I suggest you then run DeployProXml again, since installing an update, even something like a HTC firmware update, may re-lock the phone. So long as you've run DeployProvXml since the last time you ran Connection Setup, though, you can unlock again.

If this helps, please hit Thanks!
[Windows Phone 7 Development and Hacking] Marvin_S:
he does pretty much the same from what I read. You just use oem dll's and have some native functions to work with. f/e htc has file operations + regoperations + provxml, samsung has regoperations + provxml (trough which you can do regops). This manufacturer dll probably contains fileops as well, which is nice since there might also be a chance that there will be a working provxml method and with the fileops you can copy the provxml files to the desired location. In theory ofcourse.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
There are two differences that are worth noting, though.

A) This is a phone that came with Mango. There was never any chance to unlock it for Mango homebrew. It blocks apps with ID_CAP_INTEROPSERVICES - something we had to work around with registry edits.

B) Related to A, he can call native code without having ID_CAP_INTEROPSERVICES. This isn't supposed to be possible at all. Makes me wonder if he's actually calling anything in the DLL or if he's just loading the COM object but not using it and calling that success.
[Windows Phone 7 Development and Hacking] Marvin_S:
Ahh yeah your right. Yeah I realy wonder what the trick behind it is and if he manages to install it.

Something else I have not tried yet, but what happens if you deploy it without the id_cap and than run it. It will not work obviously, but what happens if you redeploy with the tag in? Will it still get rejected? Because the phone rejects the app I think.
[Windows Phone 7 Development and Hacking] thesecondsfade:
Hey, the ZIP contains a folder, which, if I package into a XAP, fails on deployment. What's the best way to get this packaged into a usable XAP?
[Windows Phone 7 Development and Hacking] Ttblondey:
trying to figure out how to install this app.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@thesecondsfade:

Bottom line of the first post:

"XAP is in DeployProvxml\bin\debug. Source included for those interested."

I distribute most of my apps this way, unless the source is really big and the XAP alone is a significantly smaller download for some reason.

@Ttblondey:

Is your phone dev-unlocked?

Is your phone either pre-Mango, or interop-unlocked?

Do you have a XAP deployment program and the Zune software?
[Windows Phone 7 Development and Hacking] GoingInside:
My TouchXplorer does not work anymore after updating to the official Mango, though my phone is still unlocked. This XAP will definitely helps if new firmware/updates come along to deploy Provxml to /windows.

I've installed it but how can I verify if this is being installed/copied to /windows?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
This app uses the same DLL as TouchXplorer, which means it doesn't work either (I wrote a number of apps using that DLL, including a backup tool, and none of them can see any files anymore). I'm not sure exactly what was changed, but yeah, they broke it. My hope is that Heathcliff74's WP7 Root Tools will restore file browsing on HTC soon.

As soon as I finish restoring my phone, I'll try writing a version of the app that uses ProvXML to copy the file, instead of ComFileRW.dll (which no longer works if you get the final HTC update). Using ProvXML is limited in some ways - you can't browse the filesystem, for example - but it works great for this type of operation.
[Windows Phone 7 Development and Hacking] Ttblondey:
i'm on force unlock from Ansar's thread with Pedbe way final mango.Been trying to use advancedconfig 1.3,1.4 battery meter it don't work anymore.Good thing I can sideload(that's important)
[Windows Phone 7 Development and Hacking] GoingInside:
Ok, guess I'll have to wait for the experts (Heathcliff74 and you etc) to solve this HTC drive update issue. Thank you!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@GoingInside, and anybody else in the same boat (latest HTC update installed, filesystem browsing broken), please try the latest version (v2, now on the initial post)! After running the app once, run Connection Setup and hit OK. After you do that, use a Registry Editor to check for the presence of the following registry key: HKCU\Software\DeployProvXML.

Please report whether that key is present. If it is, that means the app is fully functional even with the latest update!
[Windows Phone 7 Development and Hacking] Ludacris:
I only have a NoDo Backup (my phone came with nodo) - can I get the interop unlock trough dev unlocking the phone and then running our app?

nvm, I am now downgrading to NoDo and Will then update to the HTC RTM (the one that Comes via zune). As soon as I am there I will tell you if i had luck with it or not (I hope I can interopunlock on NoDo as the 3 apps sideloadlimit is crap)

Update 1: I am on NoDo and I started your app. It cloesd, i went to Connection Setup and ran it. Will check if the registry value is there as soon as some XAPs are deployed (first time that I can deploy more than 3 XAPs :P)

Update 2: Now going trough the Beta - RTM - HTC Update Update marathon. Will Report back as soon as I am on HTC's RTM
[Windows Phone 7 Development and Hacking] GoingInside:
Unfortunately, it seems that the new XAP (v2) doesn't work as well. Copy and deploy the latest DeployProvXML.xap (dated 5/10/2011) to my HTC trophy. After running Connection Setup, I can't find the registry key: HKCU\Software\DeployProvXML. I only found MICROSOFT under HKCU/Software/.

But please continue your research into this. THANKS!
[Windows Phone 7 Development and Hacking] schluff1:
Unfortunately, the key is not there. (HD7, latest HTC Update, dev + interop unlocked, TouchXplorer not working)
[Windows Phone 7 Development and Hacking] Unipac:
I just installed the htc update, too. First zune made a backup. Is it possible to revert back to this backup in order to make TouchXplorer work again?

Sorry i didn't find any thread on this htc update that's why i post here.
[Windows Phone 7 Development and Hacking] Ludacris:
Same. The key was not present on NoDo for me and not on the Beta. Cant check on RTM as the update process fcked my phone
[Windows Phone 7 Development and Hacking] dxdy:
ok... installed v2 on HTC HD2, after run app closed, run Connection setup, go to registry editor and no mentioned key in registry
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks folks. Looks like one of two things is happening:

A) The file isn't getting deployed on your phones for some reason. This is odd, since it works on mine (HTC HD7 7720 retail, no final HTC update) but it's possible.

B) The file is getting deployed, but Connection Setup isn't reading it for whatever reason. This is entirely possible if Connection Setup itself is using ComFileRW.dll to pull the CustClear.provxml file from Windows (though I don't know if it is).

Possible fixes:

A) Use both methods of copying files, perhaps? Not really a fix, but at least it'll be no worse off than v1 was.

B) We're mildly <redacted> if this is the case. If we ever lose interop-unlock with the HTC update installed, this means we would never get it back. :-(

I'm going to write up a diagnostic version that will test each step of the process. This one will be "noisier" in terms of showing message boxes, but it should help me narrow down what is and is not working. Give me a few days.
[Windows Phone 7 Development and Hacking] Ttblondey:
Do I need to use Cotulla Rspl/Hspl and install custom rom inorder to use this?
[Windows Phone 7 Development and Hacking] cina:
I'm really willing to test this as a beta tester if needed. HTC HD7 with Touch IT latest ROM.

Can you share the provxml source of details?

What parameters the <characteristic type="FileOperation"> command should have? How can I set the destination folder, etc?

Thanks,

Cina.

NOTE: I found one typo in your CustClear.provxml included in the project zip.

Line 23

<characteristic type="\[B]Winning[/B]" translation="install">

should be

<characteristic type="\[B]Windows[/B]" translation="install">

,

shouldn't it?
[Windows Phone 7 Development and Hacking] cina:
Testing and modifying.

Hi!

I really trying to make this to work. I modified your MainPage.xaml.cs:

const String DEPLOY =
@"<wap-provisioningdoc>
<characteristic type=""Registry"">
<characteristic type=""HKCU\Software\DeployProvXml"">
<parm name=""TestValue"" value=""success"" datatype=""string"" />
</characteristic>
</characteristic>
</wap-provisioningdoc>
";

Which created to registry key in question. So your method is working in general but probably FileOperation needs some more tuning. (A destination option?) Will try this later.

Regards,

Cina.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
LOL, good find @cina. That was a bit of test code which I thought I'd reverted eveywhere... but apparently not. New version incoming soon!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Version 2.1 is now live. This version includes more diagnostics, and should complain if the provisioning fails. It also sets HKCU\Software\DeployProvXml (value: LastOperation) on each execution. Please report whether this key exists, and what the value is, with any error reports!

Oh, I also fixed the silly bug in the chaining.

Thanks for testing. Still looking for a way to interop-unlock without going back to pre-Mango, but for now hoelfully this will help people who installed the HTC update.
[Windows Phone 7 Development and Hacking] anttaz:
thank you but how do i install this also no exap in bin/release?

---------- Post added at 11:05 AM ---------- Previous post was at 10:29 AM ----------

found it in bin/debug

on mozart gives error provxml deployment failed

value was "" instead of file deployed
[Windows Phone 7 Development and Hacking] dxdy:
tried on HTC HD2, closed after run, run Connection Setup, checked registry, now is key DeployProvXml inside...

and what now?
[Windows Phone 7 Development and Hacking] xiaobai522:
LastOperation is file deployed in my hd7
[Windows Phone 7 Development and Hacking] schluff1:
Same here (HD7, latest HTC Update, dev + interop unlocked, TouchXplorer not working)
[Windows Phone 7 Development and Hacking] anttaz:
Same same and I dev unlocked not cheveron

Sent from Ant's HTC 7 Mozart using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@Ttblondey: No, a custom bootloader (R/HSPL) or custom ROM (installed using custom bootloader) is not required. On pre-Mango you just need dev-unlock. On Mango you need interop-unlock. A custom ROM may work but is totally untester; I'm on a retail build.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@dxdy

3 questions:

1) What is the value in the registry *after* you run DeployProvXML but *before* you run Connection Setup?

2) What is the value *after* you run Connection Setup?

3) Do you have the latest HTC update - the one that breaks TouchXplorer but fixes DFRouter (don't know if that's even available for HD2 users)?

Thanks for testing!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@xiaobai522:

A few questions for you:

A) Do you have the latest HTC update (i.e. does TouchXplorer still work)?

B) If you run Connection Setup (and hit OK) does the registry value change?

Thanks!
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@anttaz & @schluff1:

Thanks for testing! That's a totally unexpected result though, so I need some more info if possible.

1) Using Registry Editor, please check if HKCU\Software\DeployProvXML exists, and what values it has, and what data is in those values. Do this before running Connection Setup.

2) Run Connection Setup (and hit OK) then check the registry again and let me know what you find.

3) Run DeployProvXML again, and let me know the error message if you see it again (or a new one, or no error).

4) If DPX gave a different error, or no error, please check the registry one more time.

Thanks so much!
[Windows Phone 7 Development and Hacking] dxdy:
0. ok... uninstalled DeployProvXML, deleted manually key from registry, restarted phone

1 . installed and run DeployProvXML, go to registry, DeployProvXML is there, inside DeployProvXML is two Value String: "Default" and "LastOperation"... under LastOperation is "file deployed"

2. after run Connection Setup under LastOperation is "connection setup"

3. http://xdaforums.com/showthread.php?t=922000 this i not tried... but i upgraded HD2 to final Mango, tried run TouchXplorer and working....
[Windows Phone 7 Development and Hacking] anttaz:
before and after

default undefined value

last operation file deployed

same errors

"provxml deployment failed

value was "" instead of file deployed"
[Windows Phone 7 Development and Hacking] schluff1:
0) Cleaned Reg Keys, ran DeployProvXMLv2.1 with Message: registry value was "" instead of "file deployed"

1) Key: LastOperation = file deployed

2) Key: LastOperation = file deployed

3) Message: registry value was "" instead of "file deployed"

4) Key: LastOperation = file deployed
[Windows Phone 7 Development and Hacking] anttaz:
Same here and mu results above two posts, same as this

Sent from Ant's HTC 7 Mozart using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Sounds Good, @dxdy. Thanks for testing! I'm glad to know this fully works on an HD2.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Son-of-a...

The final HTC update doesn't just break ComFileRW.dll, it also breaks ComRegRW.dll. It looks like ComDMXml.dll (used for provisioning) still works, which probably means you have the CustClear.provxml file in your \Windows\ directory (I could whip up a small test for that easily enough, if it seems important). Unfortunately, Connection Setup isn't *reading* the CustClear.provxml file anymore! (It was probably using ComFileRW.dll to get it.)

This is very inconvenient. It looks like HTC phones may have gone from the most easily hackable to the least hackable aside from Dell. :-( I need to investigate further, but for now it looks like if you ever lose Interop-Unlock, you'll have to roll back to a restore point to get it again. :-( Something will be found eventually, I'm sure. Thanks again for testing!
[Windows Phone 7 Development and Hacking] anttaz:
Ffs overnight either ms or HTC done something all 3rd party apps gone, limit back to my developer 10 and not letting install any 3rd party back on can't retest new 3rd party apps looks like full wipe of phone n restart unless someone works how to hack through mango

Sent from Ant's HTC 7 Mozart using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] anttaz:
went back to no do unlocked used ansar u2b2 and it went straight to 7720.68? and is fully locked now, please help.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@anttaz: what series of steps did you follow? I haven't actually used Ansar's app; I actually was in the beta program so for me it was just a matter of running connection setup without first installing the HTC update, and it was pretty easy.

Please post a link to the guide you used. The steps have changed a few times as Microsoft and HTC mess with things.
[Eee Pad Transformer Q&A, Help & Troubleshooting] i9apps:
when i try to download a file from filesonic/fileserve and all this sites , its only download a 8 bytes size file and not the full size, i try to download firefox/skyfire/dolphin for pad , all the same

the tf on 3.2 version and b60 model

thanks for the help

(sorry for my bad english....)
[Eee Pad Transformer Q&A, Help & Troubleshooting] farr3ll:
i have the same problem when using the stock browser or dolphin. Opera works ok though.
[Eee Pad Transformer Q&A, Help & Troubleshooting] i9apps:
It sucks, there is any fix out there?
[Eee Pad Transformer Q&A, Help & Troubleshooting] wokao118:
i have the same problem whith the browser, still can't find a pattern. i can download some files from file sharing sites but others will stuck and some of the files i will get download unsuccessful. i'm wondering if it's because the download app instead of the browser.
[Eee Pad Transformer Q&A, Help & Troubleshooting] JCreations:
I have the same prob with my tf101 AND htc desire z. Guess it's something android related. Perhaps some kind of filter on certain kind of files?
[Eee Pad Transformer Q&A, Help & Troubleshooting] i9apps:
There is got to be some fix if so many have this problam
[Eee Pad Transformer Q&A, Help & Troubleshooting] denenatse:
did you guys delete downloads.apk?
[Eee Pad Transformer Q&A, Help & Troubleshooting] i9apps:
What u mean? How i do that?
[Eee Pad Transformer Q&A, Help & Troubleshooting] JCreations:
Just tried opera. It solved the prob.
[Eee Pad Transformer Q&A, Help & Troubleshooting] ranklepup:
The stock browser is no capable of downloading files from those web hosters, you need to use a sepereate app to maage you downloads...I dont need it on my tranformer because I do not go to those sites, but on my inspire I use mydownloads. Works perfectly for downloading anything.
[Eee Pad Transformer Q&A, Help & Troubleshooting] denenatse:
the app downloads.apk is what will hold your downloads. just use file explorer> downloads. if you have removed that apk, it wont work properly.
[Eee Pad Transformer Q&A, Help & Troubleshooting] i9apps:
Thank u all for the help, I installed opera mobile browser and its worked, great browser
[HD2 General] king_slavcho:
hi guys. I wanted to ask how i can run dual boot on my hd2 t mobile (windows mobile and android...) What should i do...?
[HD2 General] SPEEDHAMMER:
Well,this was really one of the most frequently asked questions and there have been many tutorials so far.You could have done a bit of research before asking the question. But no worries, since you are asking, i will just post the links for the step by step tutorial.

1) For HSPL:

http://xdaforums.com/showthread.php?t=653614

Follow the steps. Only steps 1-3 will apply for you. Step 3 is optional,unless you want to flash a custom WM ROM.

2) For Radio:

http://xdaforums.com/showthread.php?t=611787

Download Leo_RADIO_2.15.50.14**. If you want to download a lower radio, ensure that it is a .50 version(x.xx.50.xx....).

3) For Android build:

http://xdaforums.com/forumdisplay.php?f=735

Download any Android build you want. I am using AmeriCan Android(http://xdaforums.com/showthread.php?t=957652). After extracting,copy the Android Folder into the root of your sd card. Boot into WM,navigate to the Android folder using the file explorer and tap 'clrcad' followed by 'haret'. Android will now boot(first boot will take some time)

4) For dual boot apps:

http://xdaforums.com/showthread.php?t=733752

http://xdaforums.com/showthread.php?t=723200

Download any one of the dual boot apps you want. But for both, ensure that you install them in the device,not SD Card. These apps will let you choose if you want to choose WM or Android. It also automatically executes 'clrcad' and 'haret' from the Android folder, so its just a matter of choosing the OS you want.

Done.Ensure that you backup your contacts,settings,etc via PIM backup or if you are using a different backup app,you can use that as well. Also, follow all steps in the links clearly. If you have any questions, ask. Failure to comply with instructions may brick your HD2. I hope this helps and kindly do a bit of research before posting questions here. But since this involves flashing, i am helping, so that the chances of you bricking your phone is minimised.