[Touch HD Windows Mobile ROM Development] AnisKhan:
Sure

This is my XML file called UC_DeviceSettings.xml

The text in CAPITAL is where you would put your values. However there is a large value called:

parm name="Owner" datatype="binary"

&

parm name="Owner Notes" datatype="binary"

The only way I could get this to work was to manually setup the owner information and then use Registry Editor to copy the value into my XML file. It's worked ever since.

<wap-provisioningdoc>

<characteristic type="Registry">

<!-- OWNER PREFERENCE -->
<characteristic type="HKCU\ControlPanel\Owner" translation="filesystem">
<parm name="Owner" datatype="binary" value="INSERT VALUE FROM YOUR OWN REGISTRY AFTER MANUALLY SETTING UP OWNER INFO"/>
<parm name="Owner Notes" datatype="binary" value="INSERT VALUE FROM YOUR OWN REGISTRY AFTER MANUALLY SETTING UP OWNER INFO"/>
<parm name="E-mail" value="ENTER EMAIL HERE" datatype="string"/>
<parm name="Telephone" value="ENTER PHONE HERE" datatype="string"/>
<parm name="Name" value="ENTER NAME HERE" datatype="string"/>
<parm name="Notes" value="ENTER NOTES HERE" datatype="string"/>
</characteristic>

<!-- DEVICE ID -->
<characteristic type="HKLM\Ident">
<parm name="Name" datatype="string" value="ENTER DEVICE NAME"/>
<parm name="Desc" datatype="string" value="ENTER DEVICE DESCRIPTION"/>
</characteristic>

<!-- BLUETOOTH NAME -->
<characteristic type="HKCU\Software\Microsoft\Bluetooth\Settings">
<parm name="LocalName" datatype="string" value="ENTER BLUETOOTH NAME"/>
</characteristic>

<!-- BACKLIGHT SETTINGS -->
<characteristic type="HKCU\ControlPanel\BackLight">
<parm name="LightDetectOn" datatype="integer" value="0"/>
<parm name="ACBrightness" datatype="integer" value="3"/>
<parm name="Brightness" datatype="integer" value="3"/>
</characteristic>

<!-- CLOCK DISPLAYED ON ALL TITLE BARS -->
<characteristic type="HKLM\Software\Microsoft\Shell\TaskBar">
<parm name="LimitedClock" datatype="integer" value="0"/>
</characteristic>

<!-- Ringtone -->
<characteristic type="HKCU\ControlPanel\Sounds\RingTone0">
<parm name="Sound" datatype="string" value="\Windows\Ring-Raining .wma"/>
<parm name="Category" datatype="string" value="Ring"/>
</characteristic>

</characteristic>

</wap-provisioningdoc>

It would be good if someone could maybe start a thread collating all the working XML code for the Touch HD. Would be a great resource.

Also, here is my UC file:

LOCK:Enabled
XML: \Storage Card\Backup\UC_DeviceSettings.xml
CAB: \Storage Card\Install Files\CorePlayer\CorePlayer 1.3.2.cab
CAB: \Storage Card\Install Files\Resco Audio Recorder\Resco Audio Recorder 4.51.cab
CAB: \Storage Card\Install Files\Resco Audio Recorder\AudioRecSkinWVGA_p.ARM.CAB
CAB: \Storage Card\Install Files\Resco Explorer\2008 v 7.05\Resco Explorer 2008 7.05.CAB
CAB: \Storage Card\Install Files\WMPlayer Resume Plugin\ResumePlugin1.2.1.CAB
CAB: \Storage Card\Install Files\WinVibe\WinVibe_PPC2003_WVGA_4_9_7.CAB
CAB: \Storage Card\Install Files\Spike MicNeo TaskBar\Spike MicNeo TaskBar Varient 1 v2.cab
LOCK:Disabled
HIDE:Enabled
CPY1:\Storage Card\Backup\Program Settings\CorePlayer\config.xml
CPY2:\Application Data\CorePlayer\config.xml
CPY1:\Storage Card\Backup\Program Settings\CorePlayer\LIBRARY.DB
CPY2:\Application Data\CorePlayer\LIBRARY.DB
RST: Reset

For those wondering what I'm doing with the copy commands for CorePlayer, well I initially setup CorePlayer and then changed the hotkeys/preferences to how I like it (this is then saved in config.xml). I then backed up this file and the Library.db file (which has all the mp3 tag information scanned from my SD Card). I then use UC to restore these files - this means directly after a hard reset, CorePlayer is ready to go. I use CorePlayer a great deal as I listen to Audio Lectures in the car (it's my most important app) so this method is so convenient.

Hope this helps and would love to see other people UC Setup (I love UC).

Anis Khan