yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] :
Though the instructions never said 1st Generation devices, I tried it on my Titan and failed :(

Keep up the good work, You'll get it!

Thanks for your work
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Sadly, the gen2 devices (like the Titan) come with the newer firmware that blocks the driver used by Connection Setup from writing to the unlock registry values.

Thanks for the confidence, though. I'm still working on it, as are others! It'll take some more work (and luck), though.
[Windows Phone 7 Development and Hacking] Ttblondey:
i try on my hd7 chevronunlock mango.When i click the app it states my application & page name.Is that suppose to happen?

---------- Post added at 04:21 PM ---------- Previous post was at 04:19 PM ----------

try to install apps but it doesn't work.
[Windows Phone 7 Development and Hacking] MJCS:
The application does nothing other than to deploy some files.
[Windows Phone 7 Development and Hacking] oelapoel:
Good news. This app works for me :).

HTC Mozart developer unlocks student account (max 3 apps) build 7720 official mango, with no HTC Updates. Mine is unlocked carrier phone, asian rom I think, so I never got the htc update (I think htc updates only for european htc mobile phones)

Followed the instruction and tested installing registry editor 1.2... and definitely can sideload more than my previous max apps :).

thanx

Thanx a lot.

I have got another question. now that I am interop unlocked, do I need to do anything to prevent unlock, because my student developer account will be expired around 2012 in march....
[Windows Phone 7 Development and Hacking] kacper1275:
hi guys, did not work in my case: htc titan with updates installed... everything works smoothly during the process but in the end i cannot install any xaps with interop lock... i run into the same error: 0x81030120

but this is so promising... keep up the good work!!!
[Windows Phone 7 Development and Hacking] stryker09:
so the latest HTC updates probably changed/renamed the registry key.

find the changed key and there you go.

very promising though.

cheers.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
OK. At a guess, the problem is caused by ApprovedListDB.db, a file which is used in ROMs to indicate the permissions of certain operations (I think). The problem is, I'm not a ROM chef; I don't know where that file goes or what happens to it, and I don't know if it's possible to change its policies on the device once the ROM is deployed.

Anybody able to chime in here? I'm looking for either more info (including corrections of anything I got wrong), suggestions of other ways that HTC broke this, or steps to resolve it. I would really appreciate anything that people can find; I'd be really sad to have this accomplishment go to waste.

One thing that *might* be possible with this is to copy files to the Windows directory. If the restrictions only block registry editing via provxml, but don't block file operations, than this technique could be chained into another to both provide interop-unlock and fix apps like TouchXplorer (if we're lucky).
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@stryker09: An interesting idea. I suspect that it's not the case, though - people who are already interop-unlocked (and can therefore run registry editors) have said that the "test value" which the unlock is supposed to create (HKCU\Software\DeployProvXml:InteropUnlock) isn't being created. That suggests that this entire class of registry edit using Connection Setup no longer works, thanks to that <redacted> HTC update.

That said, that's the kind of thinking I need here - testable and fixable suggestions as to what might be wrong. Thanks, and keep them coming! Also since my phone really isn't an ideal test platform here (since I don't have those updates - TouchXplorer still working makes trying things immensely easier), it really helps if people verify things for me (like whether that test registry value gets creates created - on my phone, it does).
[Windows Phone 7 Development and Hacking] dxdy:
HTC HD2 with BTTF ROM v2 Mango 7720... setup process worked without error...

InteropUnlock is created in registry

edit:

found problem: TouchXperience close automatically when WPDM connect to device...
[Windows Phone 7 Development and Hacking] jdbastardy:
Not working on my Interop Locked HTC Surround AT&T with 7720.68 (with latest HTC updates). The whole process wen fine but I still cannot deploy.
[Windows Phone 7 Development and Hacking] Ddriver:
HTC Mozart 7740 with the last update.

Setup process worked also without error...

Value in the registry KEY:

HKCU\Software\DeployProvXml

VALUE: "LastOperation"

DATA: "file deployed" (String)

Again Interop-Lock.

Thanks for search a solution. :)
[Windows Phone 7 Development and Hacking] dxdy:
i not set any registry keys... only check under HKCU\Software\DeployProvXml\
[Windows Phone 7 Development and Hacking] pauldomag:
Device: HTC HD7 T9292

Version: 7720.68 (chevron unlocked)

Not working. Followed the steps above with no problems but still can't sideload 11th app.
[Windows Phone 7 Development and Hacking] returned4good:
Wait, I see people posting that it doesn't allow more than ten unsigned apps. As long as you can at least install Advanced Configuration Tool, doesn't it have a feature/setting that allows more?
[Windows Phone 7 Development and Hacking] kacper1275:
I believe you can't install advanced config tool unless you are interlop unlocked... once you are, then the problem with 10 apps maximum allowed would disappear automatically...
[Windows Phone 7 Development and Hacking] returned4good:
Then what is the option "Allow max unsigned apps" even included as option for?

Sent from my HD7 using Board Express
[Windows Phone 7 Development and Hacking] kacper1275:
You are right, of course you can set the number of apps to deploy, but you have to be able to deploy the advanced config first... as of now, with the second generation of devices like the htc titan (with the recent update) it is impossible without the interop-unlock...
[Windows Phone 7 Development and Hacking] twisticles:
HTC Titan 7720

All worked on install, including configering settings in Connection Settings.

But...when it comes to deploy registry editor...error: 0x81030120 again.
[Windows Phone 7 Development and Hacking] :
HI i've just tried ist aswell,

Unlock with Chevron

i've got a htx titan 7.10.7720.68 with htc update Vodafone Dutch

step 10 install TouchXplorer with Application Deployment error 0x89731811
[Windows Phone 7 Development and Hacking] cybmat:
HTC Mozart (7740) with only a Dev-Unlock.

Same as twisticles:
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@Ddriver: Interesting, you must have used an older tool of mine (DeployProvXml.xap) to have that value in your registry. However, the interop-unlock method didn't work, if that's the only value you found under that key (there should be a different one, as mentioned above). I re-used the key but changed the test value.

Thanks for the thorough report.
[Windows Phone 7 Development and Hacking] maopost:
we are waiting

we are still waiting for good news
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@returned4good: Advanced Config is an app from pre-Mango (I think even pre-NoDo). Back then, you didn't *need* to adjust the MaxUnsignedApp - it just was useful to do so or you quickly ran out of the 10-app limit.

Now, with Mango, you really don't need to (or want to) mess with that setting in Andvanced Config. If you can run Advanced Config at all, then MaxUnsignedApp is at least 300, and most likely a bit over 2 billion.
[Windows Phone 7 Development and Hacking] jdbastardy:
You got any Ideas on how to make it work with the new HTC updates? I can test with no problems and so my friends whom have a HTC Surround.
[Windows Phone 7 Development and Hacking] Ddriver:
Jes, that is correct. ;)

But I delete also this registry string and begin again with step1. Same result after in the registry.

Looking forward of this way. ;)
[Windows Phone 7 Development and Hacking] anttaz:
I'm on Mozart 7740 let me have a try

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] HypeZ85:
doesn't work from HTC Mazaa, but not for interopt-unlock fail, just because when i open HTC Connection Setup i got a "No database available on device. Connection Setup will be closed". Any suggestion to go around this?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@jbastardy: Some vague ideas, but they're more in the "direction to research" than "let's try that" stage, right now.

The thing that gets me is that editing the registry using provxml is totally possible, even with the HTC update. In addition, editing the registry using Connection Setup, even the most recent version, is also possible (if you don't have the HTC update).

Therefore, the problem lies somewhere between where Connection Setup loads the provxml (which it can do) and sends it to DMXMLCOM.dll (which normally can do registry changes), and the registry itself. Something somewhere in that chain - quite possibly in HtcProvisionDriver.dll, the high-privilege code that DMXMLCOM.dll calls into to do provxml - is checking something and blocking this operation.

So, there are a few approaches to the problem. One is to try and find another way to edit the registry, besides Connection Setup. This might exist, but I haven't seen one. Another, possibly more fruitful, is to try and remove or revert whatever is being checked so that it works like it did before the HTC update. Of course, that will require first finding it, and then figuring out how to change it. The third, and possibly hardest (I've already tried, unsuccessfully) is to revert whatever is doing the checking - this is hard because, if it's a driver, I haven't been able to revert one of those even with full interop-unlock and TouchXplorer and everything.
[Windows Phone 7 Development and Hacking] :
Can i undo the htc update?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@HypeZ85: I suspect that's a limitation of the ROM installed on the Mazaa. It's a development device, right? It's probably missing one of the drivers or services that Connection Setup relies on.

It's actually a kind of funny error to get, since what my app does is copies a fake database to the phone. Did you try deploying the app anyhow? If you didn't, doing so might work for you, though that really does depend on how complete your ROM is.
[Windows Phone 7 Development and Hacking] twisticles:
I guess so by installing the 1.08 shipped ROM.

My question is, if you *did* revert to pre-update ROM, and get this unlock to work, will it still be there if you update again?

Hobson's choice really - I need the unlock to regedit to get CallerID working on my Titan in Singapore, but without the update wifi is useless...
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@ziggy1975: Unfortunately, the HTC update that screws all this up is built into the Mango (7720) update for HTC phones. To get rid of it, you have to roll your phone back (or flash a ROM) from before Mango. Actually, if you use one of the HTC-shipped Mango ROMs, it's possible they don't yet have the problem update baked in. Otherwise, in theory, you can use the U2M7720 app to upgrade from NoDo to Mango without getting that HTC update, but if you're already rolling back to pre-Mango first, then you don't need my app anyhow. Reports are spotty on whether U2M7720 actually allows you to dodge the HTC update anyhow.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Out of curiosity, what's wrong with your Caller ID, and why do you expect to find the solution in the registry? I don't really expect Microsoft to assist us in any way here, but it's good to know areas where these features are actually needed, so if I ever find an MS employee willing to listen to me on the subject, I can ask them to stop crippling our phones from even "legit" use.
[Windows Phone 7 Development and Hacking] anttaz:
Tried a, already interloop unlocked, but touch explorer not working, nor advanced config or parts of registry editor.

Tried this rebooted and still not allowing
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks @anttaz. Do you have enough use of Registry Editor to check HKCU\Software\DeployProvXML for the value InteropUnlock?

Also, I thought the HTC updates didn't break Advanced Config or Registry Editor, assuming you were already interop-unlocked... if that's not the case, then they're screwing up more things than I realized.
[Windows Phone 7 Development and Hacking] twisticles:
Funny you should ask ;)

Basically, I have numbers stored as +65 1234 1234 format.

Incoming text - I see the texter's name

Incoming call - I see the number 1234 1234 only

If I change a number to 1234 1234:

Incoming text - I see the number only

Incoming call - I see the contact name/photo

As I understand it, its a regional issue. Mine is a UK phone where numbers are 11 digits e.g. 07931 388 707. IN singapore, only 8 digits. So the phone has a registry entry that cross-references that many digits to the incoming call...and because it doesn't find 11 digits, there is no reference to contact made.

Its nothing to do with regional settings or International Assist, as every Titan owner I know here has the same problem (Euro imported versions, not available for sale here, nor will it ever be). I hope that the Taiwan ROM will help, as they also have 8 digits (9 in taipai) but don't know if that will have English language :$

Kjettern has the same problem in Norway previously and made a fix http://xdaforums.com/showthread.php?t=1240797

He now runs a Titan in Norway, but hasn't logged on since I asked him if he has the same problem on his Titan now. If he doesn't the Norwegian ROM would fix it for me :D
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Cool, thanks for the info. I knew there were problems with matching on phone numbers in other features, but didn't know that specific one. If there's a way to fix it with interop access, that sounds like a totally legit reason to let people have full access to their phones.

The old example I liked was the leaking-push-notification-channels bug, where the only way to fix it and get your live tiles working again was to either hard-reset the phone... or edit the registry. The bug was fixed so long ago now that I expect almost nobody sees it anymore though, so I need new ammo.
[Windows Phone 7 Development and Hacking] anttaz:
Under hkcu\software only things showing are a folder Microsoft and a file default?

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] jdbastardy:
OK... But how can you change it? Injecting code or replacing DLLs? I have started some disassembly of HTC dlls these week.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
OK, that's what I expected. Not good, but expected.

What's wrong with Advanced Config and Registry Editor on your phone? More knowledge of what does and does not work with the HTC updates applied means a better chance of figuring out how to work around them.
[Windows Phone 7 Development and Hacking] jdbastardy:
How could you replace a dll? I mean isn't access to the file system locked? However I do not want to go off-topic. May we can talk by Skype op something like that?

If yuo wish PM me. :)
[Windows Phone 7 Development and Hacking] Bi-box:
Don´t work on my HTC Titan 7740 :(
[Windows Phone 7 Development and Hacking] havox22:
I am on the HTC Arrive, and the connection setup says the application is not supported by your device

I used windows phone toolbox to "update" it to an earlier version, but then when i tried to open it it just made this weird animation and stayed on the same screen, and when I reset my phone the connection setup was not on my phone anymore :mad:
[Windows Phone 7 Development and Hacking] memeqxda:
thanks for your hard working, but it doesn't work on my HD7-7720(there is no problem in every steps)

I don't know if my SPL version (5.0) deters the unlock

what does HTC update mean?(which one?)

hope to see successful unlock soon ;)
[Windows Phone 7 Development and Hacking] s4cr3d:
Not working on HTC radar 7720 fail to deploy with all deploy tools reason license problems

....mine is chevunlock

Sent from my Radar C110e using Board Express
[Windows Phone 7 Development and Hacking] Siki78:
For me too.I have HD7 with 7720 RTM but i found them in HKLM/Sofware/DeployProvXml folder
[Windows Phone 7 Development and Hacking] HypeZ85:
yeah, a funny error :P

i tried to install first the xap then the connection setup, change language and all the possible combination, sadly without any result.. still database missing.

Mazaa is not a commercial phone so don't waste time in this, i'll try to get somewhere by my own :)
[Windows Phone 7 Development and Hacking] kam-325i:
HTC Titan Unbranded UK

All updates

running OS 7720.68

Chevron unlocked.

connection setup run fine and reported no errors.

Interop-unlock failed. (regedit deploy failed)

BUT>>>>>>>>>

every time my phone boots up, connection setting is autorun..........

FIX UPDATE:

Uninstalling connection setup and then reinstalling from Marketplace seems to have fixed the problem.

Is there an "Autorun" key in the registry ?????
[Windows Phone 7 Development and Hacking] saywa:
Setup worked fine, but

deploying an interop app Did NOT work for me

HTC 7 Mozart 7720 (T-Mobile Branded)

without the latest htc update (internetsharing...)

chevron unlocked
[Windows Phone 7 Development and Hacking] roqstr:
so it's not working on my HTC Mozart... already the version WITH internet sharing

no problem with installing and following your steps, but i can't install interop-apps afterwards ...

I'd like to help, so just contact me when u need smb :D
[Windows Phone 7 Development and Hacking] erebusting:
everything went smooth on my TmoUS HD7 with the latest mango updates and it was dev unlocked.... BUT I cannot install any additional apps or anything (same as before)
[Windows Phone 7 Development and Hacking] s10010001:
EDIT: I see now that this is GSM only HTC.. :( , regardless, since when does the connection setup not work? I never used it, but I know it used to work.

The "Connection setup" app does not work on my HTC Trophy (Verizon, US) at all. I get a message that says:

"Warning:

The carrier doesn't exist in database. Please contact you carrier for connection settings and go to Settings> cellular >edit APN for further configuration"
[Windows Phone 7 Development and Hacking] MJCS:
It could be that you need your phone to be sim unlocked. It keeps resetting itself to t-mobile in my case.
[Windows Phone 7 Development and Hacking] verynuclear:
Me too have the same
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks for all the reports, folks. The current state of the app is that, if you got the official NoDo-to-Mango update path from Microsoft, or if you upgraded from the beta but then installed the HTC updates that are normally part of the upgrade path, the app won't work. Heathcliff74 and I are working to figure out how we can fix this.

The auto-running thing is very intersting; I did not exect that at all and will look for any reason why it might be happening. That's totally unexpected, and typically is something that would be registry-based.
[Windows Phone 7 Development and Hacking] jdbastardy:
Hey. But what if we try to edit the key that tells which program to install via ##634# which is actually pointing to MFG or Samsung Data. We could maybe pointi it to a registry editor?
[Windows Phone 7 Development and Hacking] Heathcliff74:
With current exploits, this is not working for 2 reasons:

- We still can't edit the registry on fully updated HTC's. Or else we could just edit the registry to unlock the device.

- The provxml's for installing xap's only work if the is an associated license-file too, and we don't have that for registry-editors.

Thanks for the suggestion though.

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Heathcliff's right, but it is an interesting idea. If we could find a way to install a registry editor using provxml (without it being marketplace-signed), we could try to invoke that provxml using Connection Setup (that's all this hack is, a way to run arbitrary provxml - but with the HTC updates it's not respecting provisioning commands for the registry, or at least not the part we need to change).
[Windows Phone 7 Development and Hacking] memeqxda:
@GoodDayToDie

so, the full update means spl5.0???
[Windows Phone 7 Development and Hacking] :
I'm not Sure if this will help but regarding the auto running of connection setup I upgraded from nodo to mango using the u2m7720 following the ansar and petebede guide and my phone automatically runs connection setup every time it is restarted I've fiddle with settings using advance config 1.4 and nothing just thought id throw that out there too much info can't hurt..
[Windows Phone 7 Development and Hacking] anttaz:
advanced config win 32 error then crashes after a second on any screen, Registry editor will not allow access to certain folders files saying restricted
[Windows Phone 7 Development and Hacking] H3ALY:
Didn't work for me was unable to deploy XAP which required the interop.. Althought i did have a weird update for my Titan the other day which left me on 7720.. more information in the link below.

http://xdaforums.com/showthread.php?t=1355690
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@H3ALY: what happened when you tried to deploy the XAP? It requires no special permissions or anything like that. I don't expect it to work for you (in the sense of interop-unlocking your phone) but it should deploy.
[Windows Phone 7 Development and Hacking] Heathcliff74:
Disturbing news for HTC owners!

I did some more reverse engineering on the HTC drivers. In the new post-mango-HTC-drivers there are a couple of drivers that can perform XML provisioning. But they all end up calling another driver indirectly: HTCProvisionDrv. That driver does the actual provisioning. But I can see this driver will first parse the xml and verifies it against a white-list-database. It means that it will only provision registry-entries that are white-listed!! And the interop-unlock registry entries are obviously not in it!!

I will try to find if there are exploits in this mechanism, but it will take me even more time. It obviously makes it even more difficult due to the fact that I don't have an HTC hands-on. So if there is someone who already bought a new 2nd generation HTC WP7 device and who has an old 1st generation HTC WP7 device lying around, you may want to send it to me for research and educational purposes :p

Ciao,

Heathcliff74
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Thanks for the info, @anttaz.

The Advanced Config thing is weird; I never heard of that before. Have you checked the TouchXperience forums for info? Also, can you pin-point when it started?

The thing with Registry Editor is expected. It only uses the high-privilege driver for write operation, all reading and browsing is done with a low-privilege homebrew native DLL that doesn't have permissions to access a lot of "restricted" keys and value.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@Heathcliff74: Owwww that sucks! I hadn't tried reverse engineering HTCProvisionDriver.dll yet, though I knew of its existence. Is the whitelist filter implemented in the driver DLL itself, or does it check an external file (or registry)? Does it also filter out file operations, or only registry ones (and what about the various other kinds of provision ops)? What registry operations *are* allowed?

Feel free to shoot me an email if you find anything useful or need a test run. If I had a spare device I'd send you one. :(

Time to pull out the native code tools, I guess.
[Windows Phone 7 Development and Hacking] starxonline:
Couldnt get HTC Connection Setup to load

I installed connection setup from the marketplace and when i load it says Warning - This application is not supported by your device.

HTC Arrive

OS 7720 - Mango

From what I know I havent done any HTC mango updates. I only did the update through zune.