Reconstructing factory dumped rom - Touch Diamond, MDA Compact IV ROM Development

I wanted to build an nbh of my stock rom to have for warranty purposes. Yes I know you can download these, but I wanted to build it myself.
I've dumped the original rom with pdocread and have the 4 parts. From what I've read you need to have a base RUU_signed.nbh to reconstruct the rom with a kitchen.
What does the RUU_signed.nbh have that the 4 dumped parts don't.? It doesn't make sense that I can't just compile the 4 parts back into an nbh file.
Am I going to have a 100% factory rom when I reconstruct with the RUU_signed.nbh?

I used Calkulin's Kitchen to make a rom folder from the RUU_signed.nbh file. The difference in the OS.nb.payload and the part02.raw file is 8MB. Supposedly when cooking the rom it merges the imgfs from part02.raw over that part in the OS.nb.payload file. Does anybody know what is in that 8mb that can't be recreated from the dump?

rsw686 said:
I used Calkulin's Kitchen to make a rom folder from the RUU_signed.nbh file. The difference in the OS.nb.payload and the part02.raw file is 8MB. Supposedly when cooking the rom it merges the imgfs from part02.raw over that part in the OS.nb.payload file. Does anybody know what is in that 8mb that can't be recreated from the dump?
Click to expand...
Click to collapse
I've noticed the ROM Version (under Device Information) and the startup date (during screen calibration) are no longer the same as original. But you can go into the kitchen files and change the ROM Version in the registry and re-cook it. Don't know how to change the bootup date though.

Related

[ROM] dump current rom on phone ?

Hi all , i need some help,
Im trying to dump my current ROM and make it a flashable one
i have dumped the 4 adresses to the 4 .raw files.
part00.raw 3.196MB
part01.raw 4.608MB
part02.raw 90.240MB
part03.raw 116.736MB
These Files are in the "BaseROM" folder.
Then i choose !BEGIN
Wich gives me the next options
Code:
Welcome to Kaiser ROM Kitchen
-----------------------------
Please choose the way for Kaiser ROM Kitchen to work:
Enter 1 if you want just to cook ROM
(RUU_signed.nbh required in BaseROM folder)
Enter 2 if you want to rebuild and cook dumped ROM into flashable ROM
(RUU_signed.nbh, dumped part01.raw and part02.raw required in BaseROM folder)
Please choose 1 or 2:
then i choose 2, but its wining and complaining about files missing..
I never got this file when dumping ?
i have been investigating this for the past couple of days and in the same situation as you ! i think we have to put the official HTC stock ROm in the same folder as well! let me try it , i will report back
no luck ! its still giving me a mesage "miising file
Kitchen\Baserom\os.nb
but it does build some 02_OS .nb packages in the same folder!
this is confusing!
can any one help
just take orig. RUU_signed.nbh and put in baserom then press 1
So we are three people already looking for some help on building a ROM from a dump ...
Although there are tools for dumping a ROM and the kitchens have an option for rebuilding a dumped ROM it looks like nobody did that before and nobody knows how to do it.
benjih said:
just take orig. RUU_signed.nbh and put in baserom then press 1
Click to expand...
Click to collapse
where to find the RUU_signed.nbh
defiancenl said:
where to find the RUU_signed.nbh
Click to expand...
Click to collapse
if your running a stock rom just seach the forum or htc.com for the rom you are running..
guys check this out, its from the raphael forum, they seem to have done what we are trying to do.
i have been a bit busy so havent read through it properly , maybe you will have better luck
http://forum.xda-developers.com/showthread.php?t=427507
keeping the thread alive!
someone help please!

Clean Rom in SYS & OEM Folders --Wanted--

Can Sombody Please Post a clean fast rom in OEM and SYS folder format, so that it is ready for cooking with as i cannot seem to find one that will extract with core's kitchen, all i can get to extract is the t-mobile ofical rom and this is far from clean
YuE v10 or v11 would be a good choice.
i second this, urgently - a plea to all cooks!!!
greetz
well i dumped the extraclean 10 but still i'm figuring out how to modify it
any advise?
y_bother said:
well i dumped the extraclean 10 but still i'm figuring out how to modify it
any advise?
Click to expand...
Click to collapse
I now trying to collect it all ;-)
Here is the tools, RRU and BuildRom.bat with Empty SYS OEM and ROM folders foryou chefs to fill with food needed to build a clean rom if this is of any help for testing purposes
http://rapidshare.com/files/149197230/Sys_Oem_Empty.rar.html
sleurhut said:
I now trying to collect it all ;-)
Click to expand...
Click to collapse
Please let us know how to do it when you have worked it out.
I have tried and when i came to build I just got errors with XIP and i also had missing files, os.nb.payload romhdr.bin
solved the os.nb.payload by renaming os.nb to os.nb.payload
copied the romhd.bin from artemis_diamondish
XIP errors with
Code:
BUILDXIP 0.54 Copyright (c) 2007-2008 bepe 30 Jan 2008
ERROR: "XIP" dose not exist or it dose not contain any Modules!
I used extract xip in the core's kitchen and xip is in the ROM folder
Any ideas?
OK So now I just Copied XIP from Artemis_Diamondish and the rom builds
so how do i get the correct XIP For this Rom?
EDIT:
This plan didn't work
Anyone managed this yet
thanks

how to rebuild x04ht rom from dumped rom

(the steps below are so easy. please do not ask me to send you the rom unless you upload it to an unlimited server for other x04ht users. thanks.)
having been fighting with the dumped rom for two weeks, i finally could rebuild x04ht rom from dumped raw files. i thought i should share my experience with other x04ht users although it is nothing really special. general guides say, "just put raw files into the baserom folder with a base rom and run the kitchen", but this does not work.
see here if you do not know how to dump roms.
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
assume you know how to use kaiser kitchen and dos commands and already have part0x.raw files and RUU_signed.nbh.
RUU_signed.nbh of cht rom recommended.
1) put Part01.raw, Part02.raw and RUU_signed.nbh in BaseROM folder
2) run !BEGIN.cmd and choose 1 to extract shipped rom
3) when it's done, you see temp, oem, rom and sys folders in the kitchen
4) delete oem, rom and sys folders because you don't need them now
5) copy XIPPort.exe to temp folder
6) copy Part01.raw to temp folder
7) rename Part01.raw to xip.bin
8) run XIPPort.exe
9) click "dump xip.bin" and you will see OUT folder now
10) there is boot.rgu in OUT\FILES. copy it to your desktop or somewhere
11) click "build xip_out.bin"
12) change the first box from 00310000 to 00320000, and the second from nk.nb to OS.NB.Payload
13) click "write xip_out.bin"
14) open command prompt and go to temp folder
15) type "..\TOOLS\NBMerge -kaiser os.nb" in command prompt
16) when NBMerge is done, close command prompt
17) copy os.nb to your desktop or somewhere
18) delete temp folder
19) run !BEGIN.cmd and choose 2 to extract dumped rom
20) when it's done, you see temp, oem, rom and sys folders in the kitchen
21) copy boot.rgu to rom\xip folder and replace OS.NB in rom folder by the one you created above
22) your kitchen is ready to use
does anyone hep me upload the rebuilt rom?? thanks.
qt
qtotter said:
having been fighting with the dumped rom for two weeks, i finally could rebuild x04ht rom from dumped raw files. i thought i should share my experience with other x04ht users although it is nothing really special.
see here if you do not know how to dump roms.
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
first of all, i used kaiser kitchen. what you need is Part01.raw, Part02.raw and RUU_Signed.nbh (i used the htc shipped wwe rom.) general guides say, "just put all these files into the baserom folder and run the kitchen", but this does not work.
second step is just usual. run the kitchen to extract oem, sys and rom. after this step, you will have OS.NB in the "rom" folder. you need to change this file to make the kitchen work. you need to make OS.NB.Payload from OS.NB. to do so, just execute "NBSplit.exe -kaiser OS.NB"
now, you need XIPPort.exe, Part01.raw and OS.NB.Payload. copy OS.NB.Payload and Part01.raw to the folder where you have XIPPort.exe, and rename Part01.raw to xip_out.bin. run XIPPort.exe. you will see two boxes on the bottom. change the first box from 00310000 to 00320000, and the second box from nk.nb to OS.NB.Payload. finally, click "write xip_out.bin", and you have a new OS.NB.Payload.
you will make a new os.nb from this OS.NB.Payload by "NBMerge -kaiser os.nb"
just replace os.nb in the kitchen "rom" folder by this new os.nb. and now you can start cooking a rom.
does anyone hep me upload the rebuilt rom?? thanks.
qt
Click to expand...
Click to collapse
Hello qt
ohisashiburi... you can upload the rom to my server. no limitations.
How do you solve the Smail! problem? MMS lite craps itself every now and then.
I am using 2 touch pro since July, so I have no idea what SB uses for
their Smail. The old softbank mail app doesnt work anymore..
aquasesh said:
Hello qt
ohisashiburi... you can upload the rom to my server. no limitations.
How do you solve the Smail! problem? MMS lite craps itself every now and then.
I am using 2 touch pro since July, so I have no idea what SB uses for
their Smail. The old softbank mail app doesnt work anymore..
Click to expand...
Click to collapse
address of your server? thanks.
x04ht has Arcsoft's mms client for smail (softbank mms), which is integrated into wm messaging and much faster/better than access' slow mms client provided at sb's x series site. there must be some trick with it (maybe, checking language/locale setting or certificate), and it did not run on wwe rom. been preoccupied with dumped rom reconstruction, i haven't had much time to play with this program yet.
this x04ht rom has many japanese apps and 411 muis, and am sure many can play with it to make our sb devices working better!
qt
qtotter said:
having been fighting with the dumped rom for two weeks, i finally could rebuild x04ht rom from dumped raw files. i thought i should share my experience with other x04ht users although it is nothing really special.
see here if you do not know how to dump roms.
http://wiki.xda-developers.com/index.php?pagename=Hermes_HowtoDumpRom
first of all, i used kaiser kitchen. what you need is Part01.raw, Part02.raw and RUU_Signed.nbh (i used the htc shipped cht rom.) general guides say, "just put all these files into the baserom folder and run the kitchen", but this does not work.
second step is just usual. run the kitchen to extract oem, sys and rom. after this step, you will have OS.NB in the "rom" folder. you need to change this file to make the kitchen work. you need to make OS.NB.Payload from OS.NB. to do so, just execute "NBSplit.exe -kaiser OS.NB"
now, you need XIPPort.exe, Part01.raw and OS.NB.Payload. copy OS.NB.Payload and Part01.raw to the folder where you have XIPPort.exe, and rename Part01.raw to xip_out.bin. run XIPPort.exe. you will see two boxes on the bottom. change the first box from 00310000 to 00320000, and the second box from nk.nb to OS.NB.Payload. finally, click "write xip_out.bin", and you have a new OS.NB.Payload.
you will make a new os.nb from this OS.NB.Payload by "NBMerge -kaiser os.nb"
just replace os.nb in the kitchen "rom" folder by this new os.nb. and now you can start cooking a rom.
does anyone hep me upload the rebuilt rom?? thanks.
qt
Click to expand...
Click to collapse
Hey,
Thanks for the info, but I tried, and couldn't get it to work.
First step, you said that it doesn't work, so what was that works? the second and third that makes it work???
The second step, where did you have to put the Split? because just clicking it will not make it run... and so it is with the third step too
Thanks
Harry8521 said:
Hey,
Thanks for the info, but I tried, and couldn't get it to work.
First step, you said that it doesn't work, so what was that works? the second and third that makes it work???
The second step, where did you have to put the Split? because just clicking it will not make it run... and so it is with the third step too
Thanks
Click to expand...
Click to collapse
i wrote a step by step guide in the first post. check it out.
qtotter said:
i wrote a step by step guide in the first post. check it out.
Click to expand...
Click to collapse
Thanks!! I'll try it out.
助かりました
i need your X04HT rom ,please help me .
my msn is
[email protected]
yorosikune
qtotter said:
i wrote a step by step guide in the first post. check it out.
Click to expand...
Click to collapse
qtotter san,
can you send the X04HT ROM to me,
Thank you very much
my email: [email protected]
I need your X04HT rom... plz...
plz send to my msn.
my msn : [email protected]
thanks.
lanpililg said:
i need your X04HT rom ,please help me .
my msn is
[email protected]
yorosikune
Click to expand...
Click to collapse
esc166 said:
I need your X04HT rom... plz...
plz send to my msn.
my msn : [email protected]
thanks.
Click to expand...
Click to collapse
ylyu said:
can you send the X04HT ROM to me,
Thank you very much
my email: [email protected]
Click to expand...
Click to collapse
are you 3 joking?
http://rapidshare.com/files/173269516/RUU_X04HT_1.73.762.15_no_radio.zip
Kevbodian said:
are you 3 joking?
http://rapidshare.com/files/173269516/RUU_X04HT_1.73.762.15_no_radio.zip
Click to expand...
Click to collapse
Hi Kevbodian
this Zip file is CRC error.
Any chance for a reupload?
Cheers
Sebastian
Sebaschan said:
Any chance for a reupload?
Cheers
Sebastian
Click to expand...
Click to collapse
i have the file Original_X05HT_ROM_081207.rar
Its not X04HT
ROM Development
hi people... im keen on developing ROMs.. and i searched all over XDA and found this to be the nearest one... can somebody direct me to the right forum or give me an explanation on how to do it?? thank you and i have the kitchen downloaded

[i780] How to rebuild XIP

I've dumped XIP of I780, and rebuild XIP by using 20940 xip.
Now, I found that the the XIP_Out.bin was larger than original xip.bin.
I just imported the xip_out.bin into 780.nb0.os.nb, and finally convernt it into flashable file. Then I found that the flashable file was 0.01Mb larger than the original flashable file. Well, I still flashed it, and found that the mobile stopped at the first screen.
Is there a way to make the xip_out.bin smaller? Or a someone can give me some instructions about rebuild xip for I780? Many Thanks.

Asus WM6.5 Porting

I'm trying to port my Asus P565 (XDA Zest) to WM6.5. This is my first attempt at cooking a ROM and I'm a little stuck - I just can't get the device to boot after flashing.
These are the steps I have done so far:
1. Used p835abisplit2 to extract Original WM6.1 P565 ABI into os.nb0
2. Extracted XIP from os.nb0
3. Extracted imgfs dump from hdubli's 21231 ROM
4. Ported XIP using XIP Kitchen, original XIP as Device XIP, 23022 as Donor XIP & hdubli's 21231 .VM & .ROM folders
5. Padded XIP to original size using bPatch.exe
6. Copied SYS from 23022 into Vivi's P252 kitchen & rebuilt using BuildOS
7. Created imgfs.bin from dump folder
8. Merged XIP.bin back into os.nb0
9. Merged imgfs.bin back into os.nb0
10. Converted to .abi & flashed to device
And I can't get it to boot no matter what. As I said, I'm a n00b to cooking ROMs, so if someone could point out where I'm going wrong I would be eternally grateful!
Blade0rz said:
I'm trying to port my Asus P565 (XDA Zest) to WM6.5. This is my first attempt at cooking a ROM and I'm a little stuck - I just can't get the device to boot after flashing.
These are the steps I have done so far:
1. Used p835abisplit2 to extract Original WM6.1 P565 ABI into os.nb0
2. Extracted XIP from os.nb0
3. Extracted imgfs dump from hdubli's 21231 ROM
4. Ported XIP using XIP Kitchen, original XIP as Device XIP, 23022 as Donor XIP & hdubli's 21231 .VM & .ROM folders
5. Padded XIP to original size using bPatch.exe
6. Copied SYS from 23022 into Vivi's P252 kitchen & rebuilt using BuildOS
7. Created imgfs.bin from dump folder
8. Merged XIP.bin back into os.nb0
9. Merged imgfs.bin back into os.nb0
10. Converted to .abi & flashed to device
And I can't get it to boot no matter what. As I said, I'm a n00b to cooking ROMs, so if someone could point out where I'm going wrong I would be eternally grateful!
Click to expand...
Click to collapse
Use the original 6.1 abi to get OEM and SYS
USe the OEM and use 6.5 SYS from the builds here
Use the scripts which I have mentioned
u can get ROm to boot
hdubli said:
Use the original 6.1 abi to get OEM and SYS
USe the OEM and use 6.5 SYS from the builds here
Use the scripts which I have mentioned
u can get ROm to boot
Click to expand...
Click to collapse
What about P552w? Are the step same as P565?
And How to add the language packages into the list?
Because, It's not suitable to use ervius Kitchen to process Asus ROM
Oh, where could I get the hdubli's scripts?
Moreover... May I know the minimum file list in OEMMISC for making cleaner ROM?
i.e. without Youtube&Flickr, ClearVue PDF Viewer, Asus Today, Asus Launch!, EziMusic, EziPhoto and StreamingPlayer
I have copied OEM packages from 6.1 ROM & SYS from 6.5 ROM into Kitchen & built OS. Still nothing. Do I need to copy anything from new/old XIP into kitchen? Does anything else need to be done to XIP after I port it via XIP Kitchen? I took out hd.dll, osaxst0.dll, mencfilt.dll and cachefilt.dll as there wasn't enough space in the XIP - does this matter?
Also, I am using the .VM file from your ROM for G'Reloc.
I think I'm missing one crucial step somewhere
Nagato - I think P552w should be the same process, only using different SYS DPI. For languages you need the appropriate SYS files for your language from Da_G's thread here:
http://forum.xda-developers.com/showthread.php?t=544445
(See also Post #4 for how to integrate these)
The tools used are:
p835abisplit2.exe - To extract os.nb0 from .abi
osnbtool.exe - To extract IMGFS, XIP & ExtROM from os.nb0
XIP Kitchen - To port 6.1 XIP to 6.5

Categories

Resources