yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] Xerax:
I'm assuming this doesn't work on Mango.
[Windows Phone 7 Development and Hacking] noelito:
it does work on mango, im currently on mango beta unlocked and have been deploying provxmls
[Windows Phone 7 Development and Hacking] fonck03:
Hi, how did you unlocked mango? i couldnt get nodo unlocked (havent try in a wile now) Chevron?

regards
[Windows Phone 7 Development and Hacking] noelito:
There is a thread on how to do it in the general section but it's of no use most homebrew apps do not work
[Windows Phone 7 Development and Hacking] rudelm:
hi xboxmod,

is it possible to see your source code for the htc provxml app? I really would like to understand and see how you access the HTC libraries from the HTC connection setup app to load the provisioning files. Am I right in my assumption, that your xap puts the provisioning file to isolated storage, so that you can easily access it from their to load into the HTC dlls?

I would be really really thankful for your help :)
[Windows Phone 7 Development and Hacking] rwholden:
Issues with running...

Can anyone help me with getting provxml to run?

I am trying to set the following reg keys:

[HKEY_CURRENT_USER\ControlPanel\Volume\]

"MaxdBAtten"=Dword:46

"MaxSystemUIVolume"=dword:19

[HKEY_LOCAL_MACHINE\Audio\StreamClass\Output\10]

"BypassDeviceGain"=dword:0

I configure the provxml file use Xboxmods instructions (http://xdaforums.com/showthread.php?t=907169) and send the .xap to my phone... run the file no issues, but nothing changes, even after reboot???

I do have connection setup installed as well, as i've seen some references that its required...

I am able to change the files directly in the registry and they work...

At the moment i am trying this on 7004 build, bu have tried other builds too and it never runs... problem is i need to figure this out before i flash back to mango, since the reg editor doesn't work there...
[Windows Phone 7 Development and Hacking] Ttblondey:
can someone do the steps from 2-5 into xap, so that it's easy for those who doesn't know how to do the steps?

thanks.
[Windows Phone 7 Development and Hacking] thedudge:
Hey,

i need a Registry-Editor for WP7 Mango on HD2 that can write in locked Keys.

Install this Deplay.xap on Mango is no Problem. It is possible to write restricted Keys?
[Windows Phone 7 Development and Hacking] anttaz:
so will this work on full official mango 7720.68 with htc update or not or is it just for custom roms?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Yes, though there are newer and arguably easier-to-use apps that use XML provisioning to do registry editing. The HTC update that comes with Mango blocks the use of the "normal" COM DLL for the registry, but most apps use native DLL for reading plus provisioning (COMDMXML.dll) for writing, as that allows better capability. This mixture works on Mango, even with the HTC update, so long as you're interop-unlocked.
[Windows Phone 7 Development and Hacking] anttaz:
I am but will future updates block me from deploying, been so wary of updating to HTC update because of this and also lose advanced config and touch explorer

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] thedudge:
I use the XBMod Yuki-Rom with the Zune to 7720.68 (Mango) has been updated.

Deploy the XAP is no problem.

If I want to stay locked Write Key these empty?

Can I delete this problem with the Interop Unlock?

I thought this would for deploy of the XAP?
[Windows Phone 7 Development and Hacking] 六十哥:
that‘s great
[Windows Phone 7 Development and Hacking] anttaz:
Does this in theory do same as u2m7720 provisioning methods then?

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@anttaz: Pretty much. There are several ways to process provxml files on HTC:

1) Use an app like this one, where you supply a file and it processes it.

2) Use an app like a registry editor, where a provxml string is constructed dynamically based on what you want to do, then processed.

3) Place a file called CustClear.provxml in the Windows directory (full path \Windows\CustClear.provxml) and then run Connection Setup and hit OK.

All three methods use the same basic approach: an HTC library called DMXMLCOM.dll, which is native code and interfaces with an HTC driver to get the required permissions. Interfacing with the driver requires ID_CAP_INTEROPSERVICES in the manifest, which makes it harder to use on Mango (though marketplace apps are exempt, so Connection Setup still works).

All three methods have the same permissions.

However, once the HTC Update that came out with Mango retail release is applied to the phone, Connection Setup will still work for its official purpose but will no longer process \Windows\CustClear.provxml (I'm not sure why). This means method 3 is no longer available. Since it's the only method that can be used on an interop-locked Mango phone, this makes it hard to interop-unlock an HTC phone (you need to place the file for method three in pre-Mango, then upgrade to Mango somehow without getting the HTC update, then use Connection Setup).
[Windows Phone 7 Development and Hacking] anttaz:
So once a phone receives HTC driver update even this app is no good? The next update showing for me is HTC driver update I am pre htc driver but on mango with full unlock. As used u2m7220. So if I upgrade to HTC driver update even this app will not help?

Sent from Ant's 7 Mozart T8698 using XDA Windows Phone 7 App.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
No, I said Connection Setup will no longer process \Windows\CustClear.provxml. The HTC update doesn't appear to block XML provisioning as an action, though (if it did, Connection Setup would probably not work at all).

It's not known exactly what it does and does not block, but it appears to block both ComFileRW.dll and ComRegRW.dll. It doesn't actually prevent their use - TouchXplorer will still run, for example - but it basically makes every operation a no-op. Trying to list or read data will return nothing, and trying to change anything will do nothing... if you use those DLLs. If you use DMXMLCOM.dll (used for provisioning), it appears to still work.
[Windows Phone 7 Development and Hacking] anttaz:
So this app will still provision provxml files through you app even with htc driver update?

or is it just easier not to accept the htc driver update for now?
[Windows Phone 7 Development and Hacking] anttaz:
well after accepting the htc driver update this program no longer works giving error

Warning

NO DATABASE AVALIABLE ON DEVICE.

ProvXml-Deployer will be existed

thanks
[Windows Phone 7 Development and Hacking] gfreek:
I guess this doesn't work on 2nd generation HTC WP7 phones? If so is there an alternative solution?
[Windows Phone 7 Development and Hacking] GoodDayToDie:
@gfreek: There's actually a pretty good chance that it would work, except that since the gen2 phone run Mango, you need to interop-unlock before you can use an app like this.

I'm working on a way to interop-unlock HTC phones. My latest test was not a complete success, but it was progress. I'll keep trying.
[Windows Phone 7 Development and Hacking] GoodDayToDie:
Please don't post the same thing in multiple threads. Additionally, when asking for help hacking something, it's typically necessary to mention your device and version info.
[Windows Phone 7 Development and Hacking] dazza9075:
Hi Guys

im trying to import a bunch of audio reg entries that typically look like this

[HKEY_LOCAL_MACHINE\Audio\StreamClass\Output\9]

"ClassGain"=dword:bccc

"InCallGain"=dword:0

"IncomingCallGain"=dword:ffff

the issue i have is that the "bccc" and "ffff" address gets imported as

FFFFCCCC, FFFFFFFF

so instead of bccc = 48332 and FFFF = 65535

i get 4294950092

and 4294967295

if i type in the dec value as the dword then it plants it correctly ie 00048332, but i dont want that, i want the hex address 0000bfff, anyone have any idea how to import the bccc entry without it turning in to FFFFBCCC?

oh i tried 0x0000bccc and 0000bccc, the first one fails to import at all, the second one imports as FFFFBCCC
[Windows Phone 7 Development and Hacking] Martin7Pro:
rgu-2-xml using?

Hi friends. I could not find parameters and result for rgu-2-xml application. It does nothing on my 64bits Windows 7, when I try to run it with or without rgu filepath parameter. What em I doing wrong? I could not find any help in older XDA threads.
[Windows Phone 7 Development and Hacking] p34cdc2:
I had the same experience with my HD2 BTTF 7740+SP1. This contains the updated HTC drivers. After downgrading the drivers by loading OLD.HTC.DRIVERS.cab on the phone it now works.
[Windows Phone 7 Development and Hacking] diboze:
Its all just HTC Connection Setup combined with Chevron Ringtone Manager.

I love you, xboxmod :P

I just hope Ms hasnt already included fixes for these exploits in their copy&paste-update
[Windows Phone 7 Development and Hacking] martani:
That's really great news that we can unlock the device with just some registry hacks.
[Windows Phone 7 Development and Hacking] ceesheim:
one small detail , you

first

need to be dev unlocked to do that .
[Windows Phone 7 Development and Hacking] thesecondsfade:
Dev unlocked only or Chevron unlocked too?
[Windows Phone 7 Development and Hacking] xboxmod:
Samsung device

Edited

thanks for help
[Windows Phone 7 Development and Hacking] thesecondsfade:
So this XAP is meant to help unlock the device... could you pre-package a XAP that reverses this just to make it easier for those of us who are not as tech-savvy?
[Windows Phone 7 Development and Hacking] microhaxo:
Someone wanna try enabling the VOIP registry value to see what happens?

http://www.neowin.net/news/windows-phone-7-might-get-voip-as-part-of-facetime-competitor
[Windows Phone 7 Development and Hacking] martani:
Hi, I have a Samsung Omnia 7, and I've already succeeded to use the Samsung native DLLs to change the registry.

Unfortunately we have no way of how to copy files to the \Windows directory etc on Samsung yet.

And also, the fact that your device must be unlocked to apply the registry hack to unlock it!

I'll be glad to help anyways :)
[Windows Phone 7 Development and Hacking] xboxmod:
The registry key are not for unlock device!!!

just to prevent relock when connect to the computer for chevron user.

For samsung phone

if you can write in the registry

you can maybe run custom provxml to move or copy files

contact me by PM if you want more info.

if you wanna try.
[Windows Phone 7 Development and Hacking] thesecondsfade:
Why not post it here?
[Windows Phone 7 Development and Hacking] xboxmod:
i'm just trying to found what we can do on samsung but i don't have the device

if we found a way to do this be sure to know all info.

i don't want to polute this thread with my research about samsung device!!
[Windows Phone 7 Development and Hacking] domineus:
can you post the samsung dlls I want to see if it works on dell device too...if it is resigned for it that is

tyvm or even post up your reg editor

edit also lg users if you can post the zune links to your registry editor that would be so appreciated. I want to see if xboxmod's signing method can be used for general devices and I think it can so please share with me the link to the LG registry editor
[Windows Phone 7 Development and Hacking] martani:
You can find all the native Samsung DLLs in the xap files here http://thounsell.co.uk/wp7/
[Windows Phone 7 Development and Hacking] domineus:
now to read up on some dev stuff =/ oh joy

I know samsung and dell users have read access to registry but not write so far for file explorer for the windows directory it is the same

I was thinking perhaps if we could pull the lg apps maybe we can find what we are looking for in the mfg settings...

Give me a day or so I have to type a clinical paper on research methodology re muslim adolescents and religiosity/spirituality and I'll try to catch up on how to use some of the dlls

...

is it bad that I have very little experience? meh well carpe diem
[Windows Phone 7 Development and Hacking] martani:
We already have write access to the registry, but some areas are restricted, and the Samsung DLLs are limited so they can't write new keys!
[Windows Phone 7 Development and Hacking] RustyGrom:
Do we know which areas work and which don't?
[Windows Phone 7 Development and Hacking] lyriquidperfection:
Hi, I have a samsung omnia 7, my skills are limited but i have knowledge of visual basic and hex editing. I have been pulling the samsung roms apart and may also know a way of writing to registry but would require recalculation of checksums then reflashing modified rom. Also at present, we can only extract files from samsung rom but not modify or inject them.

Sent from my OMNIA7 using Board Express
[Windows Phone 7 Development and Hacking] xboxmod:
For now the only possible door is this registry key.

[HKEY_LOCAL_MACHINE\Software\Microsoft\FieldTest]

"ManufacturingProvXmlPath"="\\windows\\DiagnosisAp p_1.provxml"

if we can identify when it's called and by what.

possibly

FieldTestApp.exe

DiagnosisApp.xap
[Windows Phone 7 Development and Hacking] indiekiduk:
Is it possible to make a provxml to provision an app run in TCB chamber? Or does provxml only have reg and file methods?
[Windows Phone 7 Development and Hacking] xboxmod:
yes i'm searching a way to allow specific app run in TCB Chamber

i'm lookin also how to edit capabilities.
[Windows Phone 7 Development and Hacking] indiekiduk:
It must be one of the security policies keys you pasted earlier. Just like this in WM:

http://www.mobilejaw.com/articles/2...tion-lock-on-windows-mobile-standard-devices/
[Windows Phone 7 Development and Hacking] thesecondsfade:
I can confirm that this stops the HD7 from re-locking. Connecting Zune usually re-locks it, but after applying these registry edits, it hasn't relocked.
[Windows Phone 7 Development and Hacking] phil_rouge:
Please, where can I find HTC Connection Setup ?

:)
[Windows Phone 7 Development and Hacking] eternalemb:
Odd. It didn't work on my HD7. It was relocked.
[Windows Phone 7 Development and Hacking] __ow:
Ohh, now this is an interesting find. A gues,s backed up by the value on my LG, is that this is run when entering the code for accessing the diagnostic app in the dialer.

Time to see if I can get custom colors in silverlight apps as well.

EDIT: D'oh! Not that easy. Or I made a mistake, or characteristic type FileOperation is not available. Will investigate later.
[Windows Phone 7 Development and Hacking] alesscam:
it's preinstalled in your phone

Anyway you can find in marketplace\Htc Apps ;)
[Windows Phone 7 Development and Hacking] blutz:
dont work so hard

http://xdaforums.com/showthread.php?p=10537448
[Windows Phone 7 Development and Hacking] mindfrost82:
Which keys gives us access to the Disable 3G setting? Us At&t people don't have that option on our phones, so I would like to enable that.
[Windows Phone 7 Development and Hacking] RustyGrom:
http://xdaforums.com/showthread.php?t=907971
[Windows Phone 7 Development and Hacking] indiekiduk:
Just tried the instructions in post 1 and worked flawlessly, nice find.
[Windows Phone 7 Development and Hacking] xboxmod:
I ve not yet try to change this policies,but i will

for now am looking this group of keys.

[HKEY_LOCAL_MACHINE\Drivers\ProcGroup...
@=dword:1
"AccountSid"="SID_UDEVICE_STANDARD"
"ProcVolPrefix"="$services"
"ProcName"="servicesd.exe"

[HKEY_LOCAL_MACHINE\Drivers\ProcGroup.....
@=dword:1
"AccountSid"="SID_UDEVICE_TCB"
"ProcVolPrefix"="$services"
"ProcName"="servicesd.exe"

thanks for the registry editor blutz .

very usefull!

For the 3G option look into Registry key tweak thread section -12

there is some 3g related entries.
[Windows Phone 7 Development and Hacking] thesecondsfade:
Did you use xboxmod's XAP? That worked perfectly for me. I just deployed the XAP, TouchXplorer'ed it over to the Windows directory, ran HTC Connection Setup, and viola... it hasn't re-locked since.

Well I think it's easier to pre-setup all your regedits on a PC rather than directly on the device. It's just a quick deployment, copy and paste, and ConnectionSetup provision away. Doing it on the device can be very time consuming.

For your Surround, I believe you can just got to the dialer, type ##3283# then tap 'Call'. It brings up Field Test. Go to settings, click on Network Type, Select 2G Only. Not sure about the Samsung though.
[Windows Phone 7 Development and Hacking] indiekiduk:
I took a shot in the dark at enabling RAPI:

<wap-provisioningdoc>
<characteristic type="SecurityPolicy">
<parm name="4097" value="1"/>
</characteristic>
</wap-provisioningdoc>

It provisioned fine but don't think it helps, RAPI might not even be present. However the error message in the Remote Tools Framework, Connectivity Manager changed from "Access Denied" to "Connection failed. No connection could be made because the target machine actively refused it." WM7 appears as a device so there must be a way to make it work...
[Windows Phone 7 Development and Hacking] mindfrost82:
When I do this (on the Surround), it says "Request Unknown, please try again".
[Windows Phone 7 Development and Hacking] xboxmod:
Try this

it's full security unlock policies from WM6

[HKEY_LOCAL_MACHINE\Security\Policies\Policies]
"00001000"=dword:00000008
"00001001"=dword:00000001
"00001005"=dword:00000222
"00001006"=dword:00000001
"00001007"=dword:00000040
"00001008"=dword:00000001
"00001009"=dword:00000003
"0000100c"=dword:00000800
"0000100d"=dword:00000040
"0000100e"=dword:00000040
"0000100f"=dword:00000E94
"00001011"=dword:00000001
"00001017"=dword:00000222
"00001018"=dword:00000010
"00001019"=dword:0000008C
"0000101a"=dword:00000001
"0000101b"=dword:00000001
"0000101c"=dword:00000001
"0000101d"=dword:00000001
"0000101e"=dword:00000001
"0000101f"=dword:00000001
"00001021"=dword:00000C40
"00001023"=dword:00000001
"00001024"=dword:00000001
"00001025"=dword:00000001
"00001026"=dword:00000001
"00001027"=dword:00000001
"00001028"=dword:00000001
"00001029"=dword:00000001
"0000102A"=dword:00000001
"0000102B"=dword:00000000
"0000102C"=dword:00000000
"0000102d"=dword:00001000
"0000102e"=dword:00001000
"0000102f"=dword:00000C80
"00001030"=dword:00000000
"00001031"=dword:00000001
"00001032"=dword:00000001
"00001033"=dword:00000001
[Windows Phone 7 Development and Hacking] indiekiduk:
How about changing the UserProcGroup of the driver that launches siverlight apps to PROCGROUP_DRIVER_MSFT_TCB 5
[Windows Phone 7 Development and Hacking] xboxmod:
There is a lots of ProcGroup

i ve already try to change somes and

all non windows apps crash with dll error message so this is a way

to explore.

if you know the ProcGroup number for Silverlight that can help.
[Windows Phone 7 Development and Hacking] indiekiduk:
I believe its TaskHost.exe we wish to elevate. TASKHOST_CHAMBER_SID
[Windows Phone 7 Development and Hacking] thesecondsfade:
Typo. It's ##3282#, not ##3283#.
[Windows Phone 7 Development and Hacking] mindfrost82:
Oh yeah, I tried that before and it doesn't save that setting. It never switches back to 2G only and once you back out of Field Test and get back into it, its set to Automatic again.
[Windows Phone 7 Development and Hacking] thesecondsfade:
It does keep it on 2G for me. It shows "automatic" when you go back into Field Test, but unless you actually change it, it doesn't modify that setting. Test it out. It will never go back to 3G if you set it as 2G only. I'm not sure if it resets to Auto on a soft-reset, but how many times have you actually had to reset your device?
[Windows Phone 7 Development and Hacking] mindfrost82:
What do you do to get it to save after you make the change? I've tried changing it then hitting the back button or the Windows button, and it makes no change. If it was connected to 3G before, it stays on 3G. If it was connected to Edge, it'll still switch back to 3G when I get into coverage. That's all without a soft reset too.
[Windows Phone 7 Development and Hacking] phil_rouge:
value not changed

hum ... :confused:... If I change a value data and click Ok I have an alert message "Change Registry Value?" and after clic ok new value is not accept, it's the old !

I use Registry Editor for this maybe with an another program ?
[Windows Phone 7 Development and Hacking] xboxmod:
Registry Editor doesn't have access to all registry!

use provxml method to write where you want.
[Windows Phone 7 Development and Hacking] phil_rouge:
thank's, if i understand It's not a program, and i have to make all instructions in post1 every time i want to change registry ?
[Windows Phone 7 Development and Hacking] xboxmod:
Yes for now it's the only way to write in all the registry

it's easy just copy and paste with touchXplorer from ringtones folder to windows!
[Windows Phone 7 Development and Hacking] indiekiduk:
UNfortunately that user isn't listed in the registry.
[Windows Phone 7 Development and Hacking] blutz:
I updated the registry editor so you can manually get/set registry keys that are not visible in the viewer
[Windows Phone 7 Development and Hacking] indiekiduk:
Is HKLM/Security now visible?
[Windows Phone 7 Development and Hacking] JoeyLe:
Argh, wrong topic. Sorry!
[Windows Phone 7 Development and Hacking] scriller:
I can't seem to find htc connection setup....anyone can help?
[Windows Phone 7 Development and Hacking] mindfrost82:
Its in the Marketplace under the HTC Apps.
[Windows Phone 7 Development and Hacking] scriller:
thanks but all I see is "apps", "Games" "Music" no htc apps...
[Windows Phone 7 Development and Hacking] xboxmod:
you need to apply registry key to see htc apps on marketplace

so download Htc connection from the thread Xap for HD2
[Windows Phone 7 Development and Hacking] mobi:
I'm in the same boat. Does this mean that I've been unsuccesful with the installation instructions?
[Windows Phone 7 Development and Hacking] that nicca:
can you add the XAP CONNECTION i try to download from the other post but it keeps giving me error when extracting
[Windows Phone 7 Development and Hacking] prim3:
Marketpalce is not yet available in your country/region

Anyone an idea how to disable this message and use the market after all? I live the netherlands and have activated my Live ID but am unable to visit the market.... :(
[Windows Phone 7 Development and Hacking] prim3:
here ya go ;)
[Windows Phone 7 Development and Hacking] scriller:
I actually had to go somewhere else and find the connectionsetup app. I did a bing search and it turns out that the connection setup xap file is here on xda. with the htc hub, flashlite and everything. installed it and made he call. now everything is running nice.

thank you soooo much!!
[Windows Phone 7 Development and Hacking] :
when i send and receive mms, i get the blurry, any idea?

three should be a registry edit for that.
[Windows Phone 7 Development and Hacking] indiekiduk:
xboxmod, any idea where the following policy.xml is in the registry?

<Macro Id="TASKHOST_CHAMBER_SID" Value="S-1-5-112-0-0X80-0X00000001" />
<Account Id="$(TASKHOST_CHAMBER_SID)" FriendlyName="TASKHOST LPC" Description="Autogenerated chamber for in-ROM LPC TASKHOST_CHAMBER_SID" Type="User">
<MemberOfGroup GroupAccountId="$(LEAST_PRIVILEGE_CHAMBER_GROUP_NAME)" />
<MemberOfGroup GroupAccountId="$(CAPMACRO_ID_CAP_NETWORKING)" />
<MemberOfGroup GroupAccountId="$(CAPMACRO_ID_CAP_SENSORS)" />
</Account>

Do you have a way to browse the full registry?
[Windows Phone 7 Development and Hacking] (nico):
The only ways I know for the moment are:

- use my viewer (http://bit.ly/gyN9nL)

- guess an entry and see if phone specific API can read it

But I see some people finding registry entries from ROM analysis.
[Windows Phone 7 Development and Hacking] xboxmod:
This is not stored in the registry maybe in the policydb i'm working to edit this kind of

capability.I hope soon we can totaly unlock WP7 security.
[Windows Phone 7 Development and Hacking] :
Any idea sir xboxmod?