[Touch GSM ROM Development] trueg:
If you want to cook a clean version of WM 6.5 for your device, why not start with a dump of the SDK?

http://www.microsoft.com/downloads/...1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en

download the emulator that matches your device.

You have the choice of installing the emulator or not.

If you don't want to install it, simply open the .msi file with something like 7-zip. From within that file open the file sdkfiles.cab and extract CGen_0409_PPC_USA_GSM_VR.BIN to an empty folder.

If you chose to install it, go to \Program Files\Windows Mobile 6 SDK\PocketPC\DeviceemulationV650\0409 and copy PPC_USA_GSM_VR.BIN to an empty folder.

*file and folder names are assuming you downloaded the US English version. I also assumed you have a QVGA device (I don't, but this is the Elf forum).

Attached to this post is the zip file Dump_SDK.zip. Inside are some tools you can use to extract the emulator image.

I prefer PlatformRebuilder to any of the old 6.1 kitchens.

http://xdaforums.com/showpost.php?p=3456337&postcount=7

It uses the same OEM\SYS\XIP structure and works really well. It's what I use, so that is what I will discuss....

extract Dump_SDK.zip to the same folder as your BIN file.

drag and drop the BIN file on to Dump_SDK.bat and let it run.

Once it is finished you will have a new folder named IMGFS.

Assuming you have PlatformRebuilder installed, drag and drop the IMGFS folder on to \Platformrebuilder\TOOLSET\packagebuilder.exe

this will organize all of the files into packages within either the OEM or SYS folder.

The only file of value in the OEM folder is \OEM\OEM_Lang_0409\initflashfiles.dat as this file creates the folder structure and shortcuts for most of the default applications. Since some of the file names and locations have changed with 6.5, it's a good file to keep. HTC also uses this file sometimes, so if you are missing shortcuts to any files, take a look at the initflashfiles.dat (using a text editor) from your old ROM to see how they are different (WinDiff is a good program for showing line by line differences between files).

You will need to grab the rest of the needed files from a dump for you existing device (preferably, the most recent official ROM from HTC for your device). You can use PlatformRebuilder to do the dumping (see the tutorial video linked from my post linked above).

If you wanted to try and get it running with the least amount of extra crap, try the following...

Copy .ROM & .VM from a dump of an official release for your device (you may not need one or the other, but I can't remember which so use both).

You may want to add ADC (auto data config) to SYS (I've attached it to this post).

From the OEM folder of your official ROM dump, you will need OEMDrivers and maybe OEM_Lang_0409 (contains help files & resource replacement files).

As for the XIP, the SDK doesn't come with a complete XIP and even if it did, you would still need to port it. If you can grab an XIP for 21234 that has already been ported to your device, you can use that. If not any WM 6.5 XIP ported to your device should at least get you up and running.

See the attached text file Custom_WM6.5.txt to see the changes I made to my ROM once I had it up and running.