What does it do with the raw files of the dumped ROM?? - 8525, TyTN, MDA Vario II, JasJam Software Upgradin

I have begged my friend to dump the HK local ROM (from 838pro) for me. I have a Taiwanese CHT9000. After reading the previous articles, it seems that the files in my hand (3 raw files) cannot flash the ROM into my CHT9000. Is that correct? So, what's the purpose of dumping the ROM?
Sorry...I am the beginner here.

http://wiki.xda-developers.com/index.php?pagename=Hermes_UpgradeFAQ
Is it possible extract a ROM from a device and convert it to a flashable ROM? (to have a Backup or to flash it on another device)
Short answer: No, it is not possible.
Long answer: A ROM consists of 7 parts:
1. Extended ROM
2. OS Image
3. IPL (part of bootloader)
4. SPL (part of bootloader)
5. Splash screen
6. HTC Logo (normally uses the same image as the splash screen)
7. GSM radio code
You can dump the original rom, but only the things contained in the FLASH will be dumped, this does not include the IPL, SPL, splash and radio parts, so its unuseful for flashing it back.
Theoretically: if you would have the private keys for one of the 3 certificates stored in the bootloader, used to verify .nbh files, you would be able to create your own .nbh file, and flash it.
Click to expand...
Click to collapse

Hi pof,
Yes. I have read that. So, what's the answer? What does those raw files do? What's the purpose of getting the FLASH dumped? For development?

I used them mainly to see diffs betwen roms / vendors OS bundle and extract files from ROM. You can make a modified OS image out of a dumped OS rom, so when we will be able to flash our own code (see SD-image flashing on the wiki) you can delete unuseful files (help, images...) and add programs directly to the rom... but there's a lot of work to do until we reach that, and very few people can help in the research

Hi
I have another problem. I have dumped my MDA Vario II German ROM and extracted the Part02.raw.
If I try to use the extracted .cab files, the installation fails. Even I can't open the .cabs with Winrar.The files are damaged.
I've tested it with an other Part02.raw from the Developers FTP with the same result.
What's wrong ?

It semms, that the ROM dump ist useless.
Even, you can't use the midi and wave files.Also bmp and jpg files have the same problem.
Couriosity is, that some files work and most not.
I think it's the same problem with other parts of the romdump.

Hey guys
I dumped the black2.5 rom, hoping to make some modifications to the unlock app. Now I have a .raw image, but I am a little unsure as to reading it. I downloaded duttys koch, but I dont think that was the right approach. Im not seeing anything on the wiki, and my searching has brought me here. Can anyone point me in the right direction? Thanks.

@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.

pof said:
@peezy:
Here's how to reconstruct a dumped rom:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoReconstruct
http://wiki.xda-developers.com/index.php?pagename=Trinity_HowtoReconstruct
But in your case, you have the NBH, so no need to dump & reconstruct, you can work with it with tadzio imgfs tools + bepe's packagetool.
Click to expand...
Click to collapse
Hopefully a little humor won't get me in trouble, but with dutty's koch, tadzio's tool and bepe's package - you should have everything you need

@pof thanks a bunch!
@todd ahhhh yeeaaahh... <70's pr0n music.wav>

Related

NBH Generator

just thought I'd bring this to the attention of the Hermes people;
you can generate custom NBH files from the extracted .nb files yourself with a tool by bot called NBHGen - currently it's a sticky in the trinity forum.
http://forum.xda-developers.com/showthread.php?t=294046
as a note; before you generate the NBH, take the TRIN100 and substitute it for HERM100.
also, delete out any files you don't want to include in the NBH and you're done!
That should work nicely for producing radio roms in nbh for use with sspl...
Sleuth255 said:
That should work nicely for producing radio roms in nbh for use with sspl...
Click to expand...
Click to collapse
indeed, I've uploaded a Radio ROM to the wiki which I have used tonight since I needed to "retail" my PDA, it's a packaged file, and it works... also I made a few modifications to the updater to customise it somewhat for our new method of flashing, just to help the noobies.
it's the 1.06.04 radio.
Just an update; something Pof might like to do: I replaced EnterBL.exe with SSPL-HERM.exe (renamed it)... if you have your unlocker, you could very easily integrate it with this, obviously they need to tap "Yes" on their PDA to run the bootloader, but I've modified the updater to provide instructions... so you might like to check it out
The modified updater is here: ftp://xda:[email protected]/Uploads/Hermes/ModifiedRUUUpdater.rar
does anyone know if you can flash a non-SuperCID device with a generated nbh if you use it in tandem with SSPL?
I generated an NBH with OS,GSM,ExtROM and SplashScreens with the ORANG003 ID bu the flash failed, any ideas why?
SPECIAL NOTICE
If you want to include an ExtROM, change the 900 to 700 or you will brick your hermes (note that you *CAN* recover very easily from this... but it's better not to need to)
Sleuth255 said:
That should work nicely for producing radio roms in nbh for use with sspl...
Click to expand...
Click to collapse
THIS WORKS GREAT.
Here are Radio ROMs:
1.27 http://uploadingit.com/files/8194/NBH Radio Only 1.27.00.00.zip
1.33 http://uploadingit.com/files/8194/NBH Radio Only 1.33.31.00.zip
1.34 http://uploadingit.com/files/8194/NBH Radio Only 1.34.00.10.zip
Olipro said:
does anyone know if you can flash a non-SuperCID device with a generated nbh if you use it in tandem with SSPL?
I generated an NBH with OS,GSM,ExtROM and SplashScreens with the ORANG003 ID bu the flash failed, any ideas why?
Click to expand...
Click to collapse
Is there a way to make a nb file from an extracted custom rom in order to use this to make the complete nbh?

Cooking my own ROM..any smart people here?

Hi folks!
I've got a few questions..
Dont burn me down with *search wiki* TRUST ME, I DID!..I didn't even want to start a thread.
I use "Der Hermes Rom Koch v0.99.6.1* It works great! *but it doesnt open (for example) 04_ExtROM.nb, I get the error; "...Critical Error: Couldn't create imgfs_raw_data.bin"
But what I wanted to know is;
#1 How can I make an extended rom .nb (with my own files (.CAB's))
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
*hope you understand my questions
*I really used search!!!!
Bram87 said:
#1 How can I make an extended rom .nb (with my own files (.CAB's))
Click to expand...
Click to collapse
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
Bram87 said:
#2 And when I want to edit an OS.nb, how do I know what the normal (os wm6) files are and how do I know what file's to remove that are added in the OS.nb, by another person.
Click to expand...
Click to collapse
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
pof said:
At the moment there is no "autmatic" tool to create a ExtROM nb file, you can put what you want on your unlocked extROM folder and then use rbmc command from bootloader to dump the ExtROM, capture the output and reconstruc it with xxd (unix tool), but this is a very manual process and a Pain-in-the-Ass(tm). HOWEVER AnDim announced he'll release writing support for his ExtROM tool soon, see here:
http://forum.xda-developers.com/showthread.php?t=303049
There are several methods to do this, probably someone with more experience than me can tell u more clever methods, for a simple one, you can use bepe's package tool, and all that is not converted to a RK package means has been manually added to the rom by the person who did it.
Click to expand...
Click to collapse
I learn more every day!.. many thx!

full rom reconstruction

Hi everybody,
I just bought me a TyTN and did the Rom reconstruction procedure, this all worked very well (thx for the great guides), but with this procedure only the Part02 file is transformed into a .nbh file.
Is it possible to fully reconstruct the rom including, splash screen and most import the extrom. I still have all the four Part00 - Part03.raw files but don't know how to convert them to usable .nbh files, I also don't know what the other three PartXX.raw files are.
Cause at the moment when I load the reconstructed rom, I have the extrom from the last rom I had installed which of course is not the extrom of the reconstructed rom.
Any help on this would be great. Thanks.
wwwwwwiiiiiiikkkkkkkkiiiiiiii
Please read exactly what I'm asking for
@peezy: before shouting wiki, you should read my post exactly. I already succeeded in building an OS.nbh from my dumped ROM.
What I'm asking for is a FULL rom reconstruction, especially the extended rom is a problem if missing and I'm quite sure the extended rom and maybe also the boot images are in the other PartXX.raw files but I don't know how to create the missing .nbh files for flash and extended rom. What's not such a big problem is the radio rom. But in case I have to repair the phone I'd like to go back to the OS I had before flashing the WM6 LVSW including boot images and extended rom.
I already found a thread on how to create the boot images, but the problem is I have to pull out the boot images from the dumped ROM and the even bigger problem is the extended rom which I also have to reconstruct from the dump files.
unhide extrom, copy the files and use AnDim ExtROM editor to create your new extrom.nb. See stickies in this forum for more info.
For splash screens see here:
http://forum.xda-developers.com/showthread.php?t=306896
http://forum.xda-developers.com/showthread.php?t=299049
stuck with splash dumps
@pof: Thanks for your help, I was able to create the ExtRom with AnDim ExtRom editor and I tried to extract to splash screens with mtty and usbmonitor.
But I got stuck there because USB Monitor is kind of strange to handle if you don't know what you're doing, so I tried to extract the dumps on my gentoo box. At first with your supplied 'cu' command but that fails for what reason exactly I don't know. So I used ser2net to made my ttyUSB1 accessible with telnet. And then I did a dump of my telnet session with the rbmc command one for each splash screen.
Can you please explain what I have to do in order to get the .bmp's out of the dump files? I assume at first I have to clear out the telnet command lines at top and bottom, but I don't know exactly up to where I have to cut the files and how to convert the resulting file into bmp. Cause I'd like to dump the images from a colleagues phone (which has special boot images and no downloadable rom upgrade).
or maybe you can give me a correct 'cu' command for dumping the stuff directly without having to capture the telnet session.
Thanks for you help
@marcelser: just remove everything before HTCS, and everything after HTCE. Then you have HTCS +262144 byte splash screen + 4byte checksum + HTCE.
So remove HTCS, 4byte checksum and HTCE and you have your splash screen in NB format
It worked
@pof: Thanks for you help. Made a little perl app which grabs only the portion between HTCS and HTCE minus 4 bytes at the end with a little regex and writes that to a new file.
Then used rombaker to make a new splash.nbh file and re-extracted the files in the new RUU_signed.nbh with nbhextract which also converts the extracted .nb splash images to .bmp and the .bmp's looked just fine.
Then I loaded a different wm6 rom which has other splash screens and flashed the RUU_signed.nbh with the created splash screens to the device and had the extracted splash screens back on the device.
I attached the perl file which converts any dump which has the HTCS and HTCE strings in it to splash .nb it should run on any perl version (win32 + linux) although its only tested on linux.

how to reconstruct a dumped rom for my niki?

hi
before installing Tom rom I have decided to dump my original rom in case I needed to put it back.
anyway I have been able to dump the 4 Raw files. now I see that in the Kaiser section there is a guide on how to reconstruct a rom to make it flashable and I wonder if I can do the same with my Niki.
any expert could pls confirm this?
thanks in advance for your help.
cheers
edit: I ve just noticed that there are some other threads about this subject...anyway if someone can confirm the right procedure would be great. thanks
Yeah, also wondered about that Kaiser rebuilding tutorial.
Talked to a few people over PM who have the same problem.
But even in the Threads nobody who knows more about flashing/ROMs seem to be willed to help out with a fre informations. :-/
Still confused about the needed baserom in this thread.
-Is this available for Niki? (Where)
-Why do i need it / why can't i rebuild a rom ONLY with my phone and need something like a bsserom?
-if i use baserom from a english device, what will happen if I use with my german RAW files?
Thyraz said:
Yeah, also wondered about that Kaiser rebuilding tutorial.
Talked to a few people over PM who have the same problem.
But even in the Threads nobody who knows more about flashing/ROMs seem to be willed to help out with a fre informations. :-/
Still confused about the needed baserom in this thread.
-Is this available for Niki? (Where)
-Why do i need it / why can't i rebuild a rom ONLY with my phone and need something like a bsserom?
-if i use baserom from a english device, what will happen if I use with my german RAW files?
Click to expand...
Click to collapse
well..nice qustions..to which obviously I cant reply..hope someone will be so kind to help us out.
Thyraz said:
Still confused about the needed baserom in this thread.
-Is this available for Niki? (Where)
-Why do i need it / why can't i rebuild a rom ONLY with my phone and need something like a bsserom?
-if i use baserom from a english device, what will happen if I use with my german RAW files?
Click to expand...
Click to collapse
a baserom is nothing more then a normal rom, just put a rom you like, together with the dumped filen in the kitchen folder. maybe ruu needs some information from the rom file itself, which are not present on the device.
what you find on your device is just that what you dumped. (but after hardreset)
.. i know that this not matters for you anymore. but eroG needs to know.
therealholg said:
a baserom is nothing more then a normal rom, just put a rom you like, together with the dumped filen in the kitchen folder. maybe ruu needs some information from the rom file itself, which are not present on the device.
what you find on your device is just that what you dumped. (but after hardreset)
.. i know that this not matters for you anymore. but eroG needs to know.
Click to expand...
Click to collapse
well yes I defenitely needed to know these things...
now, if it is not of too much trouble for you, where do I find a baserom and is there a guide on how to do it...just to avoid stupid mistakes while doing it?
thanks a lot
So, from baserom there are not much information used. (Perhaps Header information for Rom file, or something like that)
My new ROM is (more or less) the same result as on my device?
And Baserom isn't a own file format, i can use the wwe-rom postet here in the forum?
thx for help
Thyraz said:
And Baserom isn't a own file format, i can use the wwe-rom postet here in the forum?
Click to expand...
Click to collapse
Yes that should work fine.
request guide on how to get dumped rom back to device
i've read alot about how to dump rom from device and how to get dumped rom back to device.
the more i read i got confident how to dump rom .... did it .. and now have my 4 raw files.
on the other hand the more i read about how to get dumped rom back to device ... more and more i got unsure how to do it.
so please all senior posters and specialists - can you please post a cookbook on how to get it back to the device ?
thanks ! alot and keep up the good work here !
Sackbauer, I totally agree with him.
I have 4 Raw files for a Norwegian ROM, but how do can i "transform" them into a acctually "flash" file?
Please someone with the knowledge, write a "easy to understand/ step by step" guide to the ones that don't have a clue about this..
Ole
im getting kinda confused with this also, dumping the rom is no big deal, but putting it back together and flasing my phone with it, thats the big how to...
I has contact with Tom.
And he busy with vietnamese new year now.
He said will back after 1,2 day and answer all questions..
Don't worry
... good to hear that tom will take care after his new year ;-)
also keep my fingers crossed that someone is able to check radio rom and possibly enable gps and wifi ...
let me try first:
- download this kitchen
- Copy your part01.raw and part02.raw into the BaseRom Folder of this kitchen
- Copy a Nike RUU_signed.nbh into the BaseRom Folder (e.g. tom_codons rom just open the. exe with winrar and extract the file)
- Open !Begin.cmd, press 2 and do everything, what is prompted
- Open !Cook.cmd and do what is prompted
- when HTC Rom Tool is opened press Rom_Builder and ... right from System. Then Choose os_new.nb and press built
i wrote this without testing again. so if i missed something tell me, please and i'll try to help.
sounds good !
will try it later this evening and will let you know ...
thanks so far
omg .... it appears that i just "cooked" my first rom out of my dumped files from my niki .
thanks therealholg for your guide !! thats what i was looking for.
the only thing which makes me a bit nervous about reflashing my just cooked rom onto my device is that during cooking it sometimes says "file not found".
but after ignoring these messages i have a nbh file which obvioulsy was not in the folder before !!! ;-) yeah
so, now i know how to revert the process but i am to anxious to try it as this is my only niki.
lets see and wait what others say about the step by step guide of therealholg ...
in anyway - you made my day therealholg
cheers
wow... thanks for this...
tryed it out and works...
the only thing is that it still says Niki Project on the boot screen...
everything else works just fine
marazi said:
wow... thanks for this...
tryed it out and works...
the only thing is that it still says Niki Project on the boot screen...
everything else works just fine
Click to expand...
Click to collapse
You can add the splash screen in HTC Rom Tool.
therealholg said:
let me try first:
- download this kitchen
- Copy your part01.raw and part02.raw into the BaseRom Folder of this kitchen
- Copy a Nike RUU_signed.nbh into the BaseRom Folder (e.g. tom_codons rom just open the. exe with winrar and extract the file)
- Open !Begin.cmd, press 2 and do everything, what is prompted
- Open !Cook.cmd and do what is prompted
- when HTC Rom Tool is opened press Rom_Builder and ... right from System. Then Choose os_new.nb and press built
i wrote this without testing again. so if i missed something tell me, please and i'll try to help.
Click to expand...
Click to collapse
What to do with part00.raw and part03.raw?
Part00.raw is the are with IPL, SPL and Splashscreen. We don't want to override our new SuperCID Bootloaders
Part03.raw is content of your local storage ... i think you can't flash this area with ruu.
hi all friends...!
I'm just back from some days busy with vietnamese new year.
And have made code kitchen for reconstruct a dumped rom niki device.
What we need to do now ?
1. Copy part02.raw u dumped from original rom to Tools folder and run step1.bat
2. Extract RUU_signed.nbh from Ship rom and put in ShipRom folder.
Link download :
http://www.asia.htc.com/download/RU....707.09_Radio_Nike_1.58.16.27_signed_Ship.zip
Or here :
http://www.asia.htc.com/download/RU....871.14_Radio_Nike_1.58.16.27_signed_Ship.zip
3. Run Reconstruct a dumped rom.cmd in my Tools and wait some times.When page DOS done it will exit .U go to Update_Rom folder already have new RUU_signed.nbh.This files reconstructed your original Rom with your languages.
Have funs..!

Search for kitchen

Hi,
I have been using a few kitchens but none of them can dump its own generated ROM back, what I did is:
1. use this kitchen to create RUU_SIGNED.NBH.
2. use this kitchen to dump from NBH file just created.
3. No OEM and SYS directory are created or the directory are created but no files inside.
Can anyone recommend a kitchen which can have files sorted to OEM and SYS in step 3?
Why
HTC_FUZE said:
Hi,
I have been using a few kitchens but none of them can dump its own generated ROM back, what I did is:
1. use this kitchen to create RUU_SIGNED.NBH.
2. use this kitchen to dump from NBH file just created.
3. No OEM and SYS directory are created or the directory are created but no files inside.
Can anyone recommend a kitchen which can have files sorted to OEM and SYS in step 3?
Click to expand...
Click to collapse
Hey HTC_FUZE, Why do you want/need to dump your own ROM? Surely if you have the kitchen - the OEM and SYS are already there! Why don't you just recook with the changes that you want to make to it?
If your trying to dump somebody else's ROM then it may be protected. Some chefs protect their ROMs from being dumped.
Secc
just in case my hdd is dead or files corrupted, so I still have chance to extract rom from my phone and get the same dump as before
Ahhhh...
HTC_FUZE said:
just in case my hdd is dead or files corrupted, so I still have chance to extract rom from my phone and get the same dump as before
Click to expand...
Click to collapse
My best advice to you is to do what i do BACK UP!!! When i first started i never backed my kitchen up, then i lost my whole kitchen, had to start from scratch!! Now, every couple of builds i backup the whole kitchen to a rar and save on a external drive.
A few weeks ago my working kitchen got corrupted somehow, i just restored the rar, imported the new build and was cooking again in no time - without the backup, i'd be knackered!!!
Secc
The OEM folders unfortunately end up in the SYS folder when you dump them. Simply pull them out and put them into the OEM folder and you're set. Something to do with the kitchens recreating the DSM's incorrectly.
@jwzg:
Correct; unfortunately, most kitchens strip the .DSM/.RGU during ROM compilation. Ervius tried to implement a method to preserve the .DSM/.RGU for decompilation but it didn't work as he'd hoped.
@HTC_FUZE:
You need to backup your working kitchen; unfortunately there's no other way. I usually do the following:
File copy the kitchen to a backup HDD
File copy the compiled .NBH I used on the device to a backup HDD
.RAR the kitchen
You could go one extra step and burn the lot to a CD/DVD.
HTH,
This is what I am doing now. However, I would like to have such a kitchen I mentioned. I found one of the ROMs I downloaded can be dumped and sorted like official ROM. I may ask him which kitchen he uses.
I have a Wizard ROM which can be dumped like this. It was made with with an old kitchen that is incompatible with newer devices.
jwzg said:
I have a Wizard ROM which can be dumped like this. It was made with with an old kitchen that is incompatible with newer devices.
Click to expand...
Click to collapse
Hi, Jwzg:
If it is working with Fuze, I would like to have it. Could you give me it? Thanks

Categories

Resources