[8125, K-JAM, P4300, MDA Vario Software Upgrading] DrewYK:
I have been trying wrap my brain around .provxml files for several days now. But either I am missing the big picture or something is different about Wizard from other HTC devices.

Either way I could use some insight/help.

I am using the following:

An unlocked Cingular Wizard,

The HyperCore Kitchen,

Kitchen Files for XM6r5.

I am trying to learn, so for now the only thing I am trying to do is manipulate Tetris so that when the ROM is placed on the Wizard the Shortcut for Tetris is copied from the \Windows Folder to the \Windows\Start Menu\Programs\Games and then have the original deleted from the \Windows folder.

mxipcold_Tetris_100.provxml:

<wap-provisioningdoc>

<characteristic type="FileOperation">

<characteristic type="%CE14%" translation="install">

<characteristic type="MakeDir" />

<characteristic type="Tetris.lnk">

<characteristic type="Copy">

<parm name="Source" value="%CE2%\Tetris.lnk" translation="install"/>

</characteristic>

</characteristic>

</characteristic>

<characteristic type="%CE2%\Tetris.lnk" translation="install">

<characteristic type="Delete">

<parm name="ForceDelete"/>

</characteristic>

</characteristic>

</characteristic>

</wap-provisioningdoc>

I have read a LOT about .provxml, I do not have less than 16 bookmarks devoted just to different discussions about these files. I have read most of what it out there but, respectfully, some of the discussions are quite lengthy an I have skimmed through them.

I have read that the .dsm should not be zero bytes so I followed the instructions and used BuildDSM.exe.

I read that the provxml needs to be UTF8, so I corrected this as well.

etc...

EVERY single test has been a COMPLETE failure. Not once has the .lnk been copied, deleted or both.

But there is not a lot of information about .provxml that is Wizard specific so I think I must just be missing some small step, or some error.

Does someone know what I need to do to make this work?

Drew

Additional:

If you are wondering why I am trying so hard to figure this out do the following:

1) Load up your kitchen of choice

2) With the cooking pack of your choice

3) Build a ROM that has every non-essential item removed.

4) Put this thing on your phone.

5) Notice how unbelievably fast your Wizard now boots

6) Use File Explorer to move around and check out how fast the Windows folder displays.

Do you know why the phone is so much faster now? It is because there are so few files in the Windows folder compared to before. An old trick to speed up windows on a PC years ago was to remove files you don't need from the Windows folder. It would take some doing because Windows was a dumping ground for all the programmers, some even just installed their programs into the Windows folder rather than bother with creating a folder of there own. We have a similar situation with the Wizard.

If we can create ROMs that install applications into different folders we can add applications while significantly reducing the impact on performance.

I trying to simply do what initflashfiles.dat does, but in a different way. initflashfiles.dat will always leave the original file in the Windows folder, by eliminating the duplication it may even be possible to squeeze in another small app or two.

There does not seem to be a way to build a ROM (ourselves) and just have files in the folders we want them in. But these .provxml files are supposed to get processed at a point when the ROM can be modified, like a hard reset. They have the commands to create folders, copy/move files and delete files for a reason, and I am looking to take advantage of it.

Accomplishing this could breath years of new life into these Wizards by keeping them fast enough and responsive enough.