[Touch2 ROM Development] czdjj:
It works, but you must wait after reboot about 30s, don´t panic like me :D

I take no responsability in any damage on your device. If you're not sure what you're doing, DON'T DO THAT. :)

All what you need:

Original ROM (here)

Custom Rom Flasher (RUU)

HARDSPL (here)

Dumped Rom (read below Step 1)

Folder with programs (attached zip "_FilesNeeded_czdjj.zip")

Step 1 - Dumping your ROM

Use PhoneDump (attached zip)

Run "Partition.Addresses.bat"

Now look into "Partition.Addresses.txt" and if you see something like this (windows path will be different):

Copying d:\_HTC_system\Dump\Phone Dump\itsutils.dll to WCE:\windows\itsutils.dll
Could not update itsutils.dll to the current version, maybe it is inuse?
try restarting your device, or restart activesync
or maybe your device is application-locked.

your device is locked.

Solution: Copy "EnableRapi.cab" (from attached "Phone Dump.zip") into your device and run.

After you make this, you run again "Partition.Addresses.bat" and in txt you see this:

456.63M (0x1c8a0000) FLASHDR
| 124.00k (0x1f000) Part00
| 3.50M (0x380000) Part01
| 118.75M (0x76c0000) Part02
| 334.25M (0x14e40000) Part03
7.43G (0x1db400000) DSK7:
| 7.42G (0x1db000000) Part00
STRG handles:
handle#0 8f8a926a 7.42G (0x1db000000)
handle#1 ef789dba 334.25M (0x14e40000)
handle#2 cf857026 118.75M (0x76c0000)
handle#3 8f857002 3.50M (0x380000)
handle#4 4f8a1e1a 124.00k (0x1f000)
disk 8f8a926a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk ef789dba
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk cf857026
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 8f857002
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
disk 4f8a1e1a
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

and thats OK.

Now run "Dump My Phone.bat" or use this Tutorial.

We need only Part01.raw (XIP) and Part02.raw (OS)

Step 2 - Original ROM

Original ROM is exe files, extract it with winrar, we need only RUU_signed.nbh.Copy it to folder _FilesNeeded_czdjj from attached files

I downloaded WWE Europe - 1.28.401.4

Step 3 - Reconstructing the ROM

Copy to folder _FilesNeeded_czdjj from attached files and rename Part01.raw to xip.bin and Part02.raw to imgfs-new.bin

Extract RUU_Signed.nbh

nbhextract RUU_Signed.nbh

We need only 04_os.nb

Split 04_os.nb

nbsplit -kaiser 04_os.nb

Now we have 04_os.nb.payload

Now insert the imgfs-new.bin (renamed Part02.raw) to 04_os.nb.payload and create a new file called 04_new-os.nb.payload

imgfstonb imgfs-new.bin 04_os.nb.payload 04_new-os.nb.payload

Insert XIP (renamed Part01.raw) into new-os.nb.payload

implantxip -xip xip.bin -payload 04_new-os.nb.payload

Merge 04_new-os.nb.payload into 04_new-os.nb

nbmerge -kaiser 04_new-os.nb

Start HTCrt, select tab "Rom Builder", select "MEGA" under "Device," enter your version number, change the Language if needed (e.g. CZE for a czech ROM) and select 04_new_os.nb as OS under Firmware contents.

Click on Build! button and save your RECONSTRUCTED ROM.

I tested it on my device and I flash my reconstructed rom without problem.

You can use BAT file for simplifying (just run "_reconstruct_czdjj.bat" in attached folder below ;).

Thanxs for inspiration and their work to:

jockyw2001

efsane

DaveShaw

Johan Kraczmar

and all good people on XDA