PDA

View Full Version : Recooking dumped ROM


vogonj
19th September 2008, 10:23 PM
Hello,

before I flash my Diamond with a ROM by the chefs or maybe a ROM made by myself I want to backup the original ROM (T-Mobile GER) for warranty reasons. T-Mobile Germany isn't providing any ROM updates yet, so I have to build my own T-Mobile stock ROM.

I already dumped the ROM after making a hard-reset to bring everything back to factory defaults:
D:\ROMdump>pdocread -l
210.13M (0xd220000) DSK1:
| 3.12M (0x31f000) Part00
| 4.38M (0x460000) Part01
| 111.50M (0x6f80000) Part02
| 91.13M (0x5b20000) Part03
3.75G (0xf0000000) DSK7:
| 3.75G (0xf0000000) PART00
STRG handles:
handle#0 27a1a642 3.75G (0xf0000000)
handle#1 27c948ea 91.13M (0x5b20000)
handle#2 07db27be 111.50M (0x6f80000)
handle#3 87db279a 4.38M (0x460000)
handle#4 27db2752 3.12M (0x31f000)
disk 27a1a642
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 27c948ea
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 07db27be
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 87db279a
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 27db2752
0 partitions, 0 binary partitions
customerid=00000000 uniqueid= 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

D:\ROMdump>pdocread.exe -w -h 0x27db2752 -b 0x800 0 0x31f000 Part00.raw
CopyTFFSToFile(0x0, 0x31f000, Part00.raw)

D:\ROMdump>pdocread.exe -w -h 0x87db279a -b 0x800 0 0x460000 Part01.raw
CopyTFFSToFile(0x0, 0x460000, Part01.raw)

D:\ROMdump>pdocread.exe -w -h 0x07db27be -b 0x800 0 0x6f80000 Part02.raw
CopyTFFSToFile(0x0, 0x6f80000, Part02.raw)

D:\ROMdump>pdocread.exe -w -h 0x27c948ea -b 0x800 0 0x5b20000 Part03.raw
CopyTFFSToFile(0x0, 0x5b20000, Part03.raw)

D:\ROMdump>pmemdump.exe 0xa8000000 524288 SPLdumped.nb
CopyProcessMemoryToFile(00000042, a8000000, 00080000, SPLdumped.nb)

D:\ROMdump>

Now cooking a dumped ROM requires following files:
RUU_signed.nbh
Part01.raw
Part02.raw

My question is: What is the RUU_signed.nbh file I need in this case?
I guess it has to be the Provider Stock-SPL. If so, can I use the dumped SPLdumped.nb (after converting it to nbh)?
And will the ROM be all original then? Original in a way that I even don't have to Hard-SPL my device to flash it with that dumped and recooked ROM?

I found this little piece of information nowhere, so thank you for your help :)

itoYo
20th September 2008, 12:34 PM
Im replying to this so the thread thread stays up top, more chances of someone seeing it!

in the same situation with the O2 UK rom!

come on lads

thanks for creating the thread vogonj

vogonj
20th September 2008, 08:02 PM
Hello again,

as there is no stock ROM, stock SPL, stock whatsoever for my MDA Compact IV from T-Online Germany, I have to build my own stock ROM.
T-Mobile Germany has absolutely nothing in stock. And I don't expect anything within the next year:( I don't know why they don't care for their customers :confused:

That's why I need your help.

I already dumped the ROM and SPL and got these files:
Part01.raw
Part02.raw
Part03.raw
Part04.raw
SPLdumped.nb

Building a ROM from dump requires the following files:
RUU_signed.nbh
Part01.raw
Part02.raw

Question:
What has to be the content of the RUU_signed.nbh file? Is it the SPL?
If so, can I use the SPLdumped.nb from my dump (after converting to .nbh, of course)? Will the result be a stock ROM then?

Assume that the device is all original out of the box, nothing flashed so far.

Thanks for your help :)