yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Fair enough. To boil it down to a very simple level, there are three security levels of the OS.

The max can do anything it wants except overwrite ROM files - basically, think root. Some system components run with this.

The middle is used for most system apps. They can access most of the registry, some of the file system, and a few other things. Examples include the Settings tool and (I believe) the XAP installation process.

The lowest level is used for third-party apps. They can read the Windows directory (in addition to their install and data directories) but can only write to their "isolated store" data directory. They can read much of the registry, but can't write (at all, so far as I know). Other permissions for apps are specified by their "capabilities" list, located in the app manifest. For example, and app without ID_CAP_NETWORKING can't open network sockets.

To get elevated permissions, a program can call into a higher-privilege process. The typical way to do this is to use "drivers" which are there for this purpose. The problem is, in order to open a handle to a driver, your app needs ID_CAP_INTEROPSERVICES (Interop for short). Interop used to be usable on any homebrew app without restrictions, but it is now blocked from installing (or running, if it's already installed) unless the app is marketplace signed (which is how Connection Setup can work), or the phone's MaxUnsignedApp registry value is in excess of 300 (which we refer to as "interop-unlocked").

Since it requires Interop to write to the registry, and you can't install Interop apps without first changing the registry, we're in a bit of a pickle. The various interop-unlock apps all use system or marketplace apps that already have Interop (and can use it, because they're "official" and signed) to make the registry change.

The typical way to do this registry change is to use a "provxml" file, which is an XML document that can be thought of as a script describing actions to perform, including modifying the registry, filesystem, and many other things. It's a convenient way to specify multiple registry paths and values all at once, for example. It has limitations (you can't use it to browse the filesystem, for example - you have to know the path already) but for write-only changes it is quite powerful... if you can use. Obviously, it requires Interop.
[Windows Phone 7 Development and Hacking] N!njaDuck:
I am not deep enought in to this stuff yet to know the answer to this, but would it be possible to use "Cab sender" and modify one of the WP7 updates (like 7440) to achieve interop unlock. I would imagine they are signed to protect you from doing this, but they are just cabs with PKU files in them (use winrar to read).

Comments?

In the package is a PKG file with an RGU (registry updater) and a dsm file (certificate).
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Update CABs need to be signed, yes. There are custom ROMs that allow the use of custom CABs (updatable custom ROMs) but the stock ROMs won't allow custom CABs.
[Windows Phone 7 Development and Hacking] anttaz:
Even with interloop unlock it is still impossible to registry edit

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] roqstr:
Antaaz, pls just READ >.<
[Windows Phone 7 Development and Hacking] GoodDayToDie:
No, it is possible (after all, that's what interop-unlock is). However, the old tools won't work (that's why my interop-unlock app didn't work for more people). Heathcliff74 discovered a hack that allowed provxml-based registry editing to work again, but it requires modifying the provxml. You can pull apart his app to see what he did.

However, apps that use provxml to edit the registry, such as the TouchXperience Registry Editor, will need to be updated to work.

(Side note: Really, HTC? You're going to make it *that* annoying to support your devices?)
[Windows Phone 7 Development and Hacking] IM0001:
Juuust curious... But has anyone dug into the SMS side of the phone to see if there were any other ways to do things? Considering the phone uses SMS for part of the MyPhone abilities (Lock/Wipe/etc).. There may be other things eh?
[Windows Phone 7 Development and Hacking] memeqxda:
with test2 and connection setup v1.9, the unlock works!

it seems has nothing to do with the SPL version (my version: 5.0.2250.1)

i want to look for some backup software, because this morning my cellphone reboot automatically, and everything is gone!!!!
[Windows Phone 7 Development and Hacking] Rare Earth:
After downloading and installing the latest HTC update for my Mozart, here on Telstra in Australia I can no longer interlop unlock. :( Oh well.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Regarding backup, I actually have a working (well, proof-of-concept) backup app for HTC phones. Unfortunately, in needs a working HTCFileUtility driver (working in the sense that it can browse the \Applications folder). Basically, if TouchXplorer doesn't work, neither will my backup app.

I've been looking for a way to fix HTCFileUtility, but so far no luck. Hopefully Heathcliff74's WP7 Root Tools (HTC version or an SDK) will enable me to make it work again, at which point I'll finish up the app and publich it here. I've considered publishing it anyhow, for people with custom ROMs, but in its current state it really isn't ready, and I'm spending all my homebrew dev time looking for new unlocks (or ways to fix the HTC drivers, or ways to use the Samsung gen2 drivers, or...).
[Windows Phone 7 Development and Hacking] starsoccer9:
Possible way to run connection setup on Arrive

I was messing arounnd with my phone and ran the field test and Diag test and zservicetool and after doing so I started up connection setup and instead of instaly stoping and locking up it says loading for about 30 seconds and then tells me it isnt support. Is there someway this can be helpful or useful to anyone
[Windows Phone 7 Development and Hacking] PayAndDie:
Hi,

I don´t know anything about registry or else but I just saw an entry in the registry of my Titan (7740) in the key HT_COM. There is a entry called SkipProvision with the value 0. If you set it to 1 doesn´t that mean that it now skips the provision? I don´t know if it´s helpful. Just wanted to mention it. If not than please ignore my post.

cheers
[Windows Phone 7 Development and Hacking] dragonide:
How can you look at the Titan's registry ??

I have a Titan too, how are you doing this ?!?
[Windows Phone 7 Development and Hacking] Heathcliff74:
Improved Unlock for HTC - Please Test!

I improved the unlock HTC devices!! I hope it will work for devices with the latest drivers, including the second generation devices, like HTC Titan and HTC Radar. Please test it and let me know the results!

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

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@dragonide: If you remove ID_CAP_INTEROPSERVICES from the registry editor manifest, you can browse the registry. you just can't make changes.

@Heathcliff74: Dude, you are the absolute boss of finding hacks for those HTC drivers. Hope this one works for everybody!
[Windows Phone 7 Development and Hacking] N!njaDuck:
No luck on my ATT HTC TITAN. Still getting error- 0x81030120.

I am willing to test anything else you want to try.
[Windows Phone 7 Development and Hacking] leagan:
HTC Radar 7.10.7740.16

after deply the XAP onto my phone but couldnt find 'Phone Customization' in the HTC connection setup country list..
[Windows Phone 7 Development and Hacking] N!njaDuck:
The country to select is Interop Unlock.
[Windows Phone 7 Development and Hacking] skiffington:
Thanks for your work!

Still getting 0x81030120. Chevron unlocked HD7 with v2 drivers T-Mo USA.
[Windows Phone 7 Development and Hacking] christoto:
great work

hello Heathcliff74

Thank you for your work

I'm french , i have htc radar 7.10.7740.16

I tested all your htc interopunlock , i chose the interop unlock in the config connexion without mistake but when i tryed to install an application with interop i had the message 0x81030120

If you want i try interop unlock give me a link

thank
[Windows Phone 7 Development and Hacking] jaminroe:
So, if I have all the latest updates on my phone I cannot use this as of right now correct? From what I read, heathcliff (http://xdaforums.com/showthread.php?t=1271963) needs to find a new exploit for the latest versions.

I have an HTC HD7 with latest updates with Mango.
[Windows Phone 7 Development and Hacking] hankbizzo5:
Looks like that's where it's at now..... I have been also trying with a few different ways of updating with no luck..... Good thing for the hd7 the update is nothing to major..... Would like to know if anyone could capture the update so i could get a better look at what it contains.....:D
[Windows Phone 7 Development and Hacking] RustyGrom:
All the updates are posted in this thread... http://xdaforums.com/showthread.php?t=1306415
[Windows Phone 7 Development and Hacking] hankbizzo5:
Nice as soon as i seen that remembered all the updates are on the server with the .cab updates BRAIN FART.....:o
[Windows Phone 7 Development and Hacking] xirsteon:
Heathliff, I used the v2 of the htc unlock for the interop tool and it has been great since then. Is it safe for me to install the HTC update aka IS update or just keep it from updating?

thanks.
[Windows Phone 7 Development and Hacking] Trust1421:
HTC TITAN

Not working for me... :confused:

Getting the 0x81030120 error when trying to install Registry Editor &/or WP7 Root Tools.

*HTC TITAN - Original Carrier (AT&T)...carrier unlocked it. :)

OS Version: 7.10.7720.68

Firmware: 1600.2200.11004.502

Harware: 0002

Radio: 16.27.00.23U

Bootloader: 1.10.160015.3(132409)

Any help or tips would be greatly appreciated! ;)
[Windows Phone 7 Development and Hacking] drupad2drupad:
Like it says in 1st post, it doesn't work on Titan. For that matter, it doesn't work with Gen2 devices.
[Windows Phone 7 Development and Hacking] Trust1421:
Overlooked the obvious...thanks for pointing that out.

---------- Post added at 09:48 PM ---------- Previous post was at 09:15 PM ----------

Well I'm willing to beta test on my device. Just let me know. I also have a Samsung Omnia 7.
[Windows Phone 7 Development and Hacking] entanianick:
Thank you Heathcliff74 for the hard work.

I managed to successfully unlock my phone with your method but when I tried to install the interop-unlock required app most of them didn't work especially native keyboard.

My device is HTC Trohpy Verizon with Mango
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Apps like that work by modifying the registry. It's still possible to modify the registry on HTC phones (so long as you only have the gen1 drivers) but it requires a slightly tweaked provxml. The form we used before doesn't work. Each app that used provxml to write to the registry will need to be updated.
[Windows Phone 7 Development and Hacking] Alexboooom:
install the mango fix update first...u have an older one...7.10.7740.16 is the latest...
[Windows Phone 7 Development and Hacking] GoodDayToDie:
There are multiple things wrong with this post.

First, there is no need to ungrade to 7740 for any of the interop-unlock hacks. Literally none at all. The only interop-unlock that relies on your firmware version is for Samsung, and any firmware that isn't extremely outdated will be fine.

Second, for HTC users, it's actually dangerous. Interop-unlock doesn't work if the latest updates (from HTC, not 7740 which is from Microsoft, but the advice is still bad) are installed.

Third, your advice is pointless; an HTC Titan (such as the person you responded to is using) can't currently be interop-unlocked regardless. It is a second-gen phone and already has the drivers which ship with the latest HTC update (the one that I mentioned above as blocking interop-unlock on HTC).
[Windows Phone 7 Development and Hacking] huckleberry2703:
Need a registry hack for my 7720 unlocked HD7S please.
[Windows Phone 7 Development and Hacking] ColoTouch:
Latest update to Verizon breaks Interop Unlock

The update that Verizon just pushed (1/20) appears to break Interop Unlock. It worked prior but now you get the dreaded:

0x81030120 error deploying reg.xaps, etc.

Anyone else get past this?

I can still dev unlock however interop unlock for verizon in this thread no longer work. It did work prior to the update.
[Windows Phone 7 Development and Hacking] dreamcaster012:
I had the original Interop unlock that Heathcliff posted initially for the VZW Trophy, I'm updated to 8107 and I also accepted the VZW update today. It seems to me like I've still got interop unlock, I can still deploy things like GoodDayToDie's HTC Root test xap (it doesn't work because its not applicable to the Trophy's firmware, but it deploys and installs which requries interop still).
[Windows Phone 7 Development and Hacking] embmw:
interop-unlock on a HD7 T9292

I just used heatcliff metod for interop-unlock.(used his htc interop unlock.xap).

in that moment my phone had this data:

HTC HD 7 T9292, with an original unbranded ROM (without rspl/hspl)

OS version: 7.10.8107.79

Firmware version:2250.21.51101.707

Hardware version: 0002

Radio software version: 5.71.09.02a_22.51.50.21U

Radio hardware version: A.102.0.D4

Bootloader version: 5.11.2250.0(134400)

Chip SOC version: 2.2.5.0

unlocked with chevron, keeped unlocked after any update with ansar method.

In this state of my phone I deployed "htc interop unlock.xap", followed instruction and checked if worked by deploying "DiagProvXMLv0.91_IS.xap" on my phone. xap was deployed without any error and I understood, that confirm my device is interop unlocked.

So, my conclusion is this method work even on a phone who has all htc mango updates.

If the method to check if my phone was succesfully interop unlock is not valid please somebody tell me another method to check if it really is interop unlocked.

THANKS FOR ALL YOUR WORK .
[Windows Phone 7 Development and Hacking] borikuapr:
HTC HD7

Chevron 7 Unlocked

OS Version: 7.10.7720.68

Firmware revision number: 2250.21.51004.531

Hardware revision number: 0002

Radio software version: 5.71.09.02a_22.51.50.21U

Radio hardware version: A.12.0.D4

Bootloader version: 5.10.2250.0(132968)

Chip SOC version: 2.2.5.0

All the steps went through smoothly, however I tried to deploy "DiagProvXMLv0.91_IS.xap" and "WP7RootTools_0.8_alpha.xap" and both failed. Oh well. I guess Ill keep waiting and hoping.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@embmw: Your phone was already interop-unlocked. Ansar's egocentric naming scheme may have confused you, but all that his "method" does is a needlessly complicated[1] approach to interop-unlock that will only work if you run it before doing any Mango updates. If your firmware was on *.*.51101.* when you ran Heathcliff74's interop-unlock tool, I assure you that the tool didn't work. An easy way to tell is that the Interop Unlock option should still be present in the Connection Setup list. If his tool works, it removes that option.

The simplest and most obvious test for interop-unlock is to do what you already did: sideload an app with ID_CAP_INTEROPSERVICES in its manifest. This worked for you, therefore, you're interop-unlocked!

@borikuapr: Your firmware version is *.*.5XXXX.*. This is what Heathcliff74 calls HTC's "v2" drivers, and they block access to the part of the registry required for interop-unlock. You need to revert your phone to a previous firmware version (roll back an update or two, for example) in order to use interop-unlock.

[1]: Needlessly complicated today. Back when the Mango pre-releases were first coming out, it used the only known way to interop-unlock an HTC phone. Even then, though, it wasn't actually "his" method (except for the admittedly clever way of installing the Mango update without its accompanying HTC update); he just wrote an app to simplify the process of putting a custom CustClear.provxml file in the Windows directory. That all said, today Heathcliff74's app is easier for most people (no need to roll back to pre-Mango) and works on more phones (ansar's app was never upgraded to work with HTC "v1" Mango drivers; it relied on you still having the pre-Mango drivers).
[Windows Phone 7 Development and Hacking] gremsems:
So GoodDayToDie..

You and Ansar don't get along do you?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
This is totally off-topic, but what the hell, I started this thread in the first place.

He has done some good things for the community, and I appreciate this. He is also genuinely at least somewhat skilled at hacking, and I can't help but respect that.

He's also egocentric (ansar-this, that-by-ansar), although this isn't that uncommon in a hacker. The I-won't-give-you-the-download-unless-you-click-thanks-or-pay-me thing was simply way over the top, though. I "thanked" him once, because an app looked interesting and I wanted to try it, but he didn't even deliver. I should have just reported him instead (the mods did step in and put an end to it, but I was quite new to the forum at the time).

He doesn't give back to the community. He uses other people's hacks without acknowledging their work, he doesn't share source code, and he doesn't explain what his tools do or how he found his hacks. I suppose I should be "grateful" that he doesn't use obfuscation...

Sometimes, his tools flat-out don't work. Other times, they are blatant re-packagings of other tools. In neither case will he acknowledge this, or even ackowledge that the other tool works just as well for the same purpose.

Most damningly, though, some of his tools are irresponsibly dangerous. Whether ROMs or apps, several of the things he has released have had known problems that will damage your phone. He neither warns about these beforehand, nor provides support for those affected, nor removes or fixes the offending download. Yes, we're all hackers here (supposedly; I'm aware that many people are just looking for cool tools and couldn't code their way to "Hello, World"), but there's a huge difference between "This has been tested on my device, but you should definitely still take a backup first. Please report any problems in detail so I can fix them" and "This is the solution! [Insert poorly-written instructions here, with no warnings]. [Insert begging for money]" and an even larger one in how problems are handled when they crop up.

As for "don't get along", I've never met the guy (or girl, for all I know), or even communicated directly beyond a few posts that got meaningless, factually incorrect, or no responses. I doubt we would even get along well in the real world if I had no idea who he or she was on the Internet, though.
[Windows Phone 7 Development and Hacking] embmw:
thanks for explanation. then my phone was interop unlock when I used ansar method to keep my phone unloked after mango update. you are right: I used his method before I update my phone to mango. and I watched in connection setup: interop unlock option is still there.

thanks again you do a great job

P.S.: hope sombody will find a way to full unlock these wp7 phones without flashing a custom rom( for me is very dificult to downgrade my 5.xx to install RSPL/HSPL.
[Windows Phone 7 Development and Hacking] xirsteon:
GoodDayToDie:

It's sad that you felt this way but I can relate in some sense towards Ansar [while I never used any of work, I've certainly read the instructions ]. Ansar have as well as u and others have contributed to this community but like u said, there's a way to get what u want w/o wearing the douche hat [not that i'm saying he wore one]. Anyhow, I've nothing against you or Ansar other than to say I'm grateful for all that you guys have done [Jaxbox, you, Heartcliff, ansar, and others that I may have missed].

It's nice coming here and knowing some group of pple are here exploring ways to make wp7 community a great platform for others who are / might be considering a switch over. I hope you too settle your differences and collaborate on great things in the future.

Anyhow, back to biz..so I've got 7720.68 and my firmware *.*.40503.* with Hearcliff's v2 xap (interop unlock) --(HD7). I'd like to know if u know a way to upgrade post 7720.68 or if anyone here have successfully kept their phone (interop unlocked) after upgrade to ICS--8107 or beyond. Not like I care so much about ICS, but I'd like to get the keyboard fix but I'm afraid to upgrade and have to roll back again with a backup. Pls. let me know if u know of a way out with this. TIA
[Windows Phone 7 Development and Hacking] tester444:
didn't worked for me 3app limit

Greetings

** didn't worked **

I tried your method and also Heathcliff74 method exactly with no luck at all, my specifications are:

Student Developer 3 app limitation

OS version: 7.10.8107.79

Firmaware: 2250.21.51202.531

Hardware: 0002

Radio Soft: 5.71.09.02

Radio Hard: A.12.0.D4

Bootloader: 5.12.2250.0

Best Regards for all specially XDA Team
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Yes, your firmware version (*.*.5XXXX.*) is too new for the current HTC interop-unlocks. You either need to downgrade / roll back your firmware, or downgrade and then unlock the bootloader and use a custom ROM, or be patient and hopeful that we find another way.
[Windows Phone 7 Development and Hacking] LordM:
Then we all hope you'll find another way to get the v2 drivers.

Is there something, we can do to help you guys with our hands on an InterOP locked HTC device?
[Windows Phone 7 Development and Hacking] tester444:
Greetings Mr. GoodDayToDie

I would be patient and hopefully you can be able to figure out a v2 InterLOP unlock, i put my hand with "LordM" and ask if we can do anything regarding this even if we need to learn new programming language we can try :)

Best Regards
[Windows Phone 7 Development and Hacking] GoodDayToDie:
At this point, the options for HTC interop-unlock are mostly either finding a global unlock (i.e. non-HTC-specific) or finding a bug in the filter that HTC uses on its drivers. The former is a giant needle-in-a-haystack search, although I've found a few things that were somewhat promising (sadly, the vulnerable apps didn't have enough permissions to change the relevant registry values). The latter probably requires decompiling (or at least disassembling) the native DLL that implements HTC's provisioning driver, and reverse-engineering it. That requires knowledge of ARM asembly, or at least of decompile-quality C.
[Windows Phone 7 Development and Hacking] dragonide:
I know this is hard, and I know working for free is not a good thing (to be accurate there is a prize in the HTC Titan forums for whoever will do it) but I really think this is something that can't be delayed anymore.

Long time is passed since HTC second generations came out, Titan and Radar are really important handset for Windows Phone and now this big piece of the Windows Phone community is missing homebrew completely.

I tried to contact Cotulla and DFT twice but they stopped answering since 12 April and this silence is really ... depressing. They announced some time ago they were going to unlock both Radar and Titan (to unlock the bootloader and provide a custom rom of theirs to be accurate) but nothing has happened so far.

I am starting to think that HTC second generations will never be unlocked and that the best chance (if any) to bring homebrew to these devices is the uncertain upgrade to Windows Phone 8.
[Windows Phone 7 Development and Hacking] antaed:
@GoodDayToDie @dragonide

when i bought my titan i knew it won't be the next hd2 but i couldn't imagine that 6 month later i won't be able to (eg.) put a custom color to my tiles...

if ms will announce we won't get the apollo update i guess i'll put an end to my windows phone experience, no matter how much i love it!
[Windows Phone 7 Development and Hacking] barclays:
HTC and MS was too good at it.... I'm beginning to think no developer around the world is capable of breaking HTC gen2 WP device (or they are not willing to do it for free)