yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Development and Hacking] Marvin_S:
Another test version: (all file ops "should" work)

http://dl.dropbox.com/u/16993355/DiagProvXML.xap

I also implemented a mode to edit the added operations (by tap and hold in the provxml tab on one of the entries).

There can be some bugs for sure. I might have fixed some, since this is not the most recent build.

Im now working on saving and loading of provxml's and Ill add some more registry tweaks (changing theme colors/adding notification sounds)

Our goal is to do everything as effortless as possible, so this will come with small steps
[Windows Phone 7 Development and Hacking] poloche:
I have found a problem with your coding xml !

I would rename "unlock.xml" in /provxml :

I select : Rename File

source Path : \provxml

source file : unlock.xml

destination file : Unlock_Mango.xml

but the code is not corect !

- <wap-provisioningdoc>
- <characteristic type="FileOperation">
- <characteristic type="\provxml\" translation="install">

characteristic type="\provxml\" not is the right dir ! The right dir in the code should be "\provxml" and not "\provxml\" !

... so my file is not rename :)

EDIT : i'am looking you custom select code registry and the keys to change accents color are not corect also !

I have donwload DragonWorld Mango RTM (7720) Registry.cab and show this key

exemple :

<characteristic type="HKLM\ControlPanel\Themes\0\Accents">
<parm name="0" value="-13395661" datatype="integer" />
<parm name="1" value="-1764352" datatype="integer" />
<parm name="2" value="-14966302" datatype="integer" />
<parm name="3" value="-1010167" datatype="integer" />
<parm name="5" value="-1674824" datatype="integer" />
<parm name="6" value="-6270976" datatype="integer" />
<parm name="7" value="-6110919" datatype="integer" />
<parm name="8" value="-16733271" datatype="integer" />
<parm name="9" value="-6160129" datatype="integer" />
<parm name="10" value="-2621325" datatype="integer" />

It's not STRING but INTEGER ! :)

Big kiss,
[Windows Phone 7 Development and Hacking] contable:
@Marvin_S:

I can confirm that the path should be "\provxml".

Also the command is wrong. "Rename" doesn´t exist => "Move" is right, but I have sent a pm about that.
[Windows Phone 7 Development and Hacking] contable:
For users who don´t know: ...also this thread has a "Thanks button"...

Creating such an app takes a lot of time...
[Windows Phone 7 Development and Hacking] poloche:
I go with you ;)

This app is as Aladdin's lamp for me !! Magik potential :p

Thankx, Thankx for this project and Samsung community
[Windows Phone 7 Development and Hacking] contable:
You are always welcome, my friend.

Besides some family stuff I had to do the last days I have figured out the following:

1. How to transfer files from device to desktop and vice versa (without using a xap) => tested and confirmed to work

2. How to send .pdf files from device via email or upload to skydrive

=> tested and confirmed to work

to be continued...
[Windows Phone 7 Development and Hacking] Marvin_S:
I did the rename by guessing so thats why its wrong. Was already thinking it would not work.

I think this path is also valid? If copy file works this path is accurate. :) also I know that there are some other bugs.

Unlock does work. The regedits dont make sense but if you do publish provxml it adds all the regedits needed for unlock.

Anyway ill correct the mistakes. And ill remove the themeing for now that was untested and guessed code.

You can make custom regedit or custom code to get that changed for now
[Windows Phone 7 Development and Hacking] Jeff HTC:
I tried this tool on AT&T Focus running 7390. The tool worked and turned on the lock screen NEVER option. However, after that I could no longer connect to the cell data network. My phone nolonger showed the "G" next to the signal bars on the phone. Nothing would fix it. Finally, I restored to 7004 and then upgraded back to 7390. My 3G worked again. I assumed that I did something wrong the 1st time, so I ran the tool again to turn on the NEVER option. Same thing. I lost my 3G data connection. Once again, I had to restore the phone to get the data connection back.

I'm not sure what is going on. Any other Focus users have the same problem?
[Windows Phone 7 Development and Hacking] poloche:
Just enter the operator APN in your settings ! and the "3G" come back :)
[Windows Phone 7 Development and Hacking] poloche:
@Marvin S

The code are :

Example To delete a file

:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="\provxml\customxml9.xml" translation="install">
<characteristic type="Delete">
<parm name="ForceDelete"/>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

---> delete \provxml\customxml9.xml

Example To Copy a file

:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="MakeDir" />
<characteristic type="\Windows" translation="install">
<characteristic type="alert-01.wma" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Applications\Install\D19A80F2-1717-488F-A9F3-CFAD782ED59B\Install\alert-01.wma" translation="install" />
<parm name="RemoveAttributes" value="RH" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

--> copy \Applications\Install\D19A80F2-1717-488F-A9F3-CFAD782ED59B\Install\alert-01.wma to \Windows\alert-01.wma

Example to Copy/Rename

:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="\Windows" translation="install">
<characteristic type="MakeDir" />
<characteristic type="alert-01.wma" translation="install">
<characteristic type="Copy">
<parm name="Source" value="\Windows\alert-01_restore.wma" translation="install" />
<parm name="RemoveAttributes" value="RHS" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

---> Copy/Rename \Windows\alert-01_restore.wma to \Windows\alert-01.wma

Example to Rename a file

:

<wap-provisioningdoc>
<characteristic type="FileOperation">
<characteristic type="\provxml" translation="install">
<characteristic type="MakeDir" />
<characteristic type="ReplaceAlert01.xml" translation="install">
<characteristic type="Move">
<parm name="Source" value="\provxml\customxml1.xml" translation="install" />
<parm name="RemoveAttributes" value="RH" />
</characteristic>
</characteristic>
</characteristic>
</characteristic>
</wap-provisioningdoc>

---> Rename \provxml\customxml1.xml to \provxml\ReplaceAlert01.xml

I hope help you with the examples ;)

Kiss,
[Windows Phone 7 Development and Hacking] All-Star:
I'm glad that it works for you , too.
[Windows Phone 7 Development and Hacking] JReeher:
This is only giving me a zip file it isn't give me xap to put into the installer .. I've got the samsung tools... but can't get this .. any idea as to why ... When I extract it, it gives me a folder, but it that doesn't have xap file in it either.
[Windows Phone 7 Development and Hacking] Marvin_S:
just save rename it as a .xap man.
[Windows Phone 7 Development and Hacking] Marvin_S:
Thanks. But i know about the codes. I just made a typo, thats why rename does not work. All others work.

Indeed if 3g does not work, add new APN settings, look them up on your providers webpage.
[Windows Phone 7 Development and Hacking] snickler:
contable, I'm going to PM you about something that I've tested on an app I was creating that will be of great use to you.
[Windows Phone 7 Development and Hacking] Marvin_S:
New version is in testing.

It will be posted once its ready and fully tested.
[Windows Phone 7 Development and Hacking] poloche:
So good :) I'm waiting for it !!
[Windows Phone 7 Development and Hacking] Marvin_S:
First post updated. All features confirmed working
[Windows Phone 7 Development and Hacking] contable:
Here some more informations about the updated version:

1. Copy PDF/Move PDF

Make sure you have installed the Adope Reader on your device.

=> With these functions you can copy/move .pdf files to \My Documents\ folder

You will find the copied/moved files in your Office Hub under locations => phone.

This will give you the following new possibilities by long pressing on the file name:

- send the file as email attachment

- upload the file to SkyDrive

- delete the file from Office Hub (\My Documents folder)

2. Copy/Move files from/to IsoStore

How to use/enable these functions you can read in my initial provxml thread:

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

Cheers

contable
[Windows Phone 7 Development and Hacking] poloche:
Hi guys,

I have tested the rename file operation... but you have not correct code and this command does't work !

type="\provxml\" ... BAD DIR !! ... correct dir is type="\provxml" ... not the "\" in the end of path ! :)

confer ---> http://xdaforums.com/showpost.php?p=17157619&postcount=33

ALL feature confirmed NOT working :)
[Windows Phone 7 Development and Hacking] contable:
Right now I have tested again the "Rename" file operation and it works as it should with the implemented code...
[Windows Phone 7 Development and Hacking] Marvin_S:
You running the latest version? The trailing \ does not matter. If copy works, move works etc. than the code is valid. Do these commands work for you? Since they use exactly the name structure now.

The reason why Rename did not work is since I typed "Rename" as the action instead of "Move" this is corrected now and this was the reason why it did not work. Not the path.
[Windows Phone 7 Development and Hacking] poloche:
Sorry, i have just show that path have "\" and i have not tested the fileoperation... Now i just have tested and that's work perfectly ;)

Thanks !!
[Windows Phone 7 Development and Hacking] Marvin_S:
No problem. Glad it works!

We have made some good progress today. The app is still the same however we implemented samsung dll's which will do the provisioning (big thanks to snickler for finding this out).

We will now focus on making the app better and adding more features. Ill upload the next version soon (which contains the auto applying of the provxmls).
[Windows Phone 7 Development and Hacking] contable:
Yes, the auto-apply function has been successfully implemented today !

With the upcoming version we don´t have to run the gprs manager anymore for applying the .xml files.

It was a hard day for Marvin_S and me but finally we got it working.

Also from my side a big "Thanks" to snickler who has figured out that !!!

Stay tuned !

contable
[Windows Phone 7 Development and Hacking] poloche:
Very good new to active xml just with the app ;)

We are only 4 in this post... it's a great shame !

Thankx all
[Windows Phone 7 Development and Hacking] contable:
Sad but true !:mad:
[Windows Phone 7 Development and Hacking] snickler:
im glad I can be of help. I have some new functionality im going to work on that may be of some more interest. It will be a pretty nice implementation. =)
[Windows Phone 7 Development and Hacking] contable:
Thanks again, my friend.

I don´t know how many hours we have spent on this project the last week so we´re very thankful for any kind of support.

The result is that no other device than the OMNIA 7/Focus has such a comfortable provxml solution !

If you find out something else just pm marvin or me.
[Windows Phone 7 Development and Hacking] Marvin_S:
Finally a nice breaktrough!

I managed to get regedits trough provxml working on a Samsung without preinstalling any provxmls on NoDo.

What does this mean? Simple, if you are

unlocked

and on mango, you can do whatever you want with your phone which is possible trough provxml.

As this hurdle is now out of the way, we can continue to focus on getting everything possible out of provxmls. GoodDayToDie already has some tricks to list the registry trough provxml, this could lead to better registry editor.

Lets hope it works for other here as well.

Link is in the first post
[Windows Phone 7 Development and Hacking] snickler:
Hell yeah! You rock man. I knew you'd be able to find that trick :).
[Windows Phone 7 Development and Hacking] contable:
I knew that the provxml is the key to "freedom"...

Sad is, that only a few people understood, how important this feature is.

But Hopefully this will change now...

Congrats, Marvin...
[Windows Phone 7 Development and Hacking] snickler:
We have gotten past a huge hurdle today, I want to thank both you contable and Marvin_S for making this happen!
[Windows Phone 7 Development and Hacking] contable:
There is a problem:

If I start diagnosis app first then the V0.7 app doesn´t start again and vice versa...
[Windows Phone 7 Development and Hacking] snickler:
Hmm.. Do we even need the diagnosis app anymore? :). Have you tried starting diagnosis and fully exiting out of it and the running the V0.7?
[Windows Phone 7 Development and Hacking] mhc_richard:
Though not understand exactly, but seems huge. THANKS
[Windows Phone 7 Development and Hacking] contable:
I will test this tomorrow, it´s late here...
[Windows Phone 7 Development and Hacking] snickler:
I'll try to do some testing once I can get some peace and quiet here. 8:30PM with 4 wild kids in this house = wild
[Windows Phone 7 Development and Hacking] Knochen1981:
I dont understand how this works :(

I cannot deploy the 0.7 app under mango.

The other app works and it says provxml successfully created, but nothing changed. still no never option.

Can someone tell me what im doin wrong
[Windows Phone 7 Development and Hacking] Marvin_S:
deploy app and than restart. Always need a restart with those apps which call dlls trough com bridge.

Make sure you have diagnosis app (not sure)

@ contable: strange here it does break the diagnosis app also :$ maybe it needs to be reinstalled.
[Windows Phone 7 Development and Hacking] contable:
I have the following behaviour:

if I start first the app then the diagnosis app doesn´t start anymore,

if I start first the diagnosis app then the app doesn´t start anymore.

It´s not a big problem, because in general we don´t need the diagnosis app and if you need it just restart the phone.

Maybe it´s because of re-directing the path, I don´t know.
[Windows Phone 7 Development and Hacking] Marvin_S:
it has to do with combridging the same dll I think. Ill ask heatcliff, because i noticed when i run the app on the phone and than also debug so i basically run the app rwice it just crashes straight away in the debugger... But when I run no app and start debugging it just works fine. So it probably has to do something with referencing the dlls at the same time. Maybe we need to change some guids
[Windows Phone 7 Development and Hacking] Marvin_S:
Edit: reinstalling diagnosis app seems to fix it for me.
[Windows Phone 7 Development and Hacking] contable:
Check the version of your diagnosis app, after reinstall it´s a lower version than V1027...
[Windows Phone 7 Development and Hacking] Marvin_S:
true, but does it matter? Provisioning still works and will work on mango without preparing and without going into gprs settings. You just need to be unlocked, which can be done by chevron unlock the official way when it comes available. :)
[Windows Phone 7 Development and Hacking] contable:
You´re right but when the official Mango update comes out I think we still have to unlock via gprs manager...

Anyway it´s a great breakthrough that all unlocked Samsung devices can use provisioning now without restoring back to NoDo...

When do you plan to implement the next features/improvements ?
[Windows Phone 7 Development and Hacking] clfosk:
I don't understand the whole ProvXML thing exactly so this may be a dumb question but:

I see you can move PDFs into the Office hub, how about moving mp3s into the Zune hub? Let's say you use an application to download a bunch of music, would you be able to move those files from the app's isolated storage and into the music folder so it will show up with the rest of your music collection?
[Windows Phone 7 Development and Hacking] Marvin_S:
in theorie yes, however idk if there is some kind of check or conversion done by zune. But if you know the right paths it might work. Its certainly a nice feature.

Provxmls are files with code which can do all kinds of stuff like copying files and doing regedits. We created an app which allows creation of these files in a sinple way directly on your device and apply them. So you can not directly see it when executed but it do all the operation you give.

So say you want to copy a song fromwalkman to zune, youll need the filename of the song and the path, now you can copy it to the zune path. The only problem is that you will need to know the exact filename and paths. You can not browse files with provxml (or at least not yet, well have to see, it might be possible to map the registry).
[Windows Phone 7 Development and Hacking] snickler:
Mine is v1122. Are you guys still on Nodo? If you want, I can upload my v1122 of the Diagnosis app so you guys can install it :). MY phone (for some AWKWARD REASON) had v1122 on Nodo, but it was broken.. i couldn't open up GPRS Manager without it immediately crashing, AND the COM calls didn't work AT ALL for me. I uninstalled and reinstalled the Diagnosis app which then downgraded me down to v929.. in the GPRS manager in v929, it won't read from the provxml directory so I had to upgrade to Mango RTM. From there, I STILL didn't have an updated Diagnosis App and a few minutes later on Zune I received a "Samsung Update" which fixed that. I would check to see if your MobileOperator is ATT-US or TMO-US instead of 000-88. I made that mistake the second time I upgraded to Mango.. Was screwed.
[Windows Phone 7 Development and Hacking] contable:
This time I have only updated to 7712 beta because this way I don´t loose my NoDo Backup. So if the the official RTM 7720 comes out I will just restore to NoDo and update then to RTM. Maybe I´m mistaken...

Please upload the V1122 if you can. Thanks in advance.
[Windows Phone 7 Development and Hacking] x2beach:
how can I get these regedit in my phone with this tool?

[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]

"CellularConnectionName"=""

[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings\Public]

"ConnectionType"=dword:4

[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings\Private]

"ConnectionType"=dword:5

[HKEY_LOCAL_MACHINE\Comm\InternetSharing\Settings]

"MobileOperatorHelpNumber"=-

"MobileOperatorInfoLink"=-
[Windows Phone 7 Development and Hacking] snickler:
Lose your Nodo backup? Copy the contents of "C:\Users\xxx\AppData\Local\Microsoft\Windows Phone Update" to another directory. The folder with the guid of your phone contacts the backup. All you need to do to restore back to Nodo is to move that folder back inside of the Windows Phone Update folder, and you're good. There is also a Windows Phone backup app here on xda in this forum :).

Edit: Here's the diagnosis app
[Windows Phone 7 Development and Hacking] contable:
Do you want to enable the internet sharing ?

This doesn´t work. I have allready tested it.

Start the app, slide to registry and type it in, e.g.

Path:

HKLM\Comm\InternetSharing\Settings\Private

Key:

ConnectionType

Value:

5

Datatype:

Integer

You have to do it for each value you want to write.

The app will create one file which writes all values...
[Windows Phone 7 Development and Hacking] contable:
I know but I´m lazy...:D
[Windows Phone 7 Development and Hacking] contable:
@snickler:

Which xap deployer do you use ? I can´t deploy the diagnosis app because of the missing signature...

Maybe we should add a "install xap from isolated storage" feature.

The provxml file from the windows folder is attached...

Edit: you have to resave the file with unicode not ANSI...
[Windows Phone 7 Development and Hacking] snickler:
Ahh I see. I just use the built in Application Deployment app. I edited the post to include the xap I made by removing the xml file that had the DRM in it about 10 mins ago..
[Windows Phone 7 Development and Hacking] Marvin_S:
Is datatype DWord or integer? I have never seen a provxml with DWord, only integer and string, but I can easily add one, since now only integer and string exist.
[Windows Phone 7 Development and Hacking] contable:
Sorry, my mistake. It´s integer...
[Windows Phone 7 Development and Hacking] contable:
Now it says: license invalid - uninstall or buy haha
[Windows Phone 7 Development and Hacking] snickler:
ouch.. hmm lol Do you still have the original xap I uploaded? If you do, use the WP7 Deployer or another app that can remove DRM from the xap
[Windows Phone 7 Development and Hacking] Marvin_S:
i updated to mango rtm and got version 1003 which can provision from the provxml folder so it will probably ship with final mango so dont worry about the older diagnosis app.
[Windows Phone 7 Development and Hacking] contable:
I will also update again to the RTM...
[Windows Phone 7 Development and Hacking] tsunder3:
can anyone help me create an xml that sets the internet_line and mms_line settings? I can't find anywhere what the structure should be. thank you
[Windows Phone 7 Development and Hacking] snickler:
I wish my Mango RTM would've updated mine to a higher version without having to install ANOTHER update lol. Are you guys running Omnias or Focus?
[Windows Phone 7 Development and Hacking] oscard:
hello guys,

any idea on how i can use this to edit the registry of htc hd7 - Mango ?? i had to reset the phone so i lost all apps and i do not have a backup before i did the upgrade from nodo

thanks

oscar
[Windows Phone 7 Development and Hacking] contable:
I have an OMNIA 7 and I think Marvin, too.
[Windows Phone 7 Development and Hacking] Marvin_S:
SAMSUNG ONLY for now. However HTC and LG support is in testing. Hopefully we can support HTC and LG soon :)
[Windows Phone 7 Development and Hacking] snickler:
We'll need some people with HTC phones and ConnectionSetup.xap to test. I'm sure those who have made HTC tweaks will know
[Windows Phone 7 Development and Hacking] contable:
Allthough I have a HD7, too, some other testers are welcome...
[Windows Phone 7 Development and Hacking] ceesheim:
lol what need to be tested ?

I have samsung omnia7 and hd7
[Windows Phone 7 Development and Hacking] diboze:
as a big fan of marvins_s previous apps, i volunteer to test everythign i can on my htc trophy ;)
[Windows Phone 7 Development and Hacking] contable:
Here we go again, Ceesheim. Yesterday HD7, today OMNIA 7 lol.

Please pm Marvin_S, he needs somebody who can debug the HD7 test version...

Thanks again for your neverending support...:D
[Windows Phone 7 Development and Hacking] contable:
Also you are very welcome, please pm marvin_s as he is the developer...:cool: