How to get .raw's to a .nbh - HD2 General

Please forgive this newbie if this is a dumb question. I've seen other threads kinda like this, but I just can't seem to follow most of them. First, here's the situation... I have just purchased my new HD2 and it has a brand new fresh OS on it. I wanted to dump that ROM first for backup, but also for playing around with. I know there is an "official" ROM out there and I have it and am playing with that, but I would like to learn how to create this "official" ROM myself.
I have managed to figure out how to dump the 4 raw files (part00, part01, part02, part03). Now, can anyone provide any steps on how to take these 4 raw files and create a working .nbh? Of course my eventual goal is to put this into a kitchen so I can modify it and learn from that. I can't figure out a way to import those .raw's into a kitchen and get all the ext, sys, oem's extracted. Is this possible? If so, how?
Any info would be greatly appreciated!
Greg

gregma said:
Of course my eventual goal is to put this into a kitchen so I can modify it and learn from that. I can't figure out a way to import those .raw's into a kitchen and get all the ext, sys, oem's extracted. Is this possible? If so, how?
Click to expand...
Click to collapse
never mind it being your "eventual goal", it's your next step, using a kitchen to import the rom from the raw.
i think i was messing with ervius visual kitchen when i came across it, but i'm still just learning too.

http://forum.xda-developers.com/showthread.php?t=501871

Related

Creating A WM6 ROM For A WM5 Device - Any pointers?

Hi guys,
I'm looking to create a WM6 ROM for a device which only has WM5 ROMs available for it. I understand the basic principles in ROM cooking but I'm not sure where I'd start with this one.
Anyone have any pointers?
Thanks in advance!
that forum is pointer, nab.
You have to extract the XIP first. I tried creating one for my Dell Axim X51 (mid) but never finished it. Aslong as you know how to extract the XIP from your device and then create a rom you should be alright lol.
I dont know that much tbh. No one bothers with questions like this on this forum dunno why its just the way it is I guess. Would be nice for a tutorial on how to create Roms etc. but i suppose you will get people who dont have a clue trying to do it.
Kurt
Thanks rumble.
Yeah I've been doing a bit of looking round and you're right. Extract XIP and replace with WM6.1 XIP, being careful not to loose any oem files in the process. That's basically how it seems to go anyway

cooking ROMS

Is there a way to learn cooking ROMS by ervius Visual bepe's kitchen, I tried dumping one of the ROMS just to get an idea of what's happening then it dumped OKonly few files in XIP, EM and SYS whic I don't know the meaning exactly, then what? how to add files and so on, thanks
medman
medman said:
Is there a way to learn cooking ROMS by ervius Visual bepe's kitchen, I tried dumping one of the ROMS just to get an idea of what's happening then it dumped OKonly few files in XIP, EM and SYS whic I don't know the meaning exactly, then what? how to add files and so on, thanks
medman
Click to expand...
Click to collapse
Hi, I suggest you read the wiki's and become a little more comfortable with how ROM cooking is done even in the old Build OS kitchens.
If you are still having problems, please reply in evrius's thread, rather than starting a new one. Post all relevant details such as device, ROM you are dumping, etc.
Thanks
Dave

How can I modify a cooked rom?

Please excuse my ignorance...
I want to modify an existing blackstone rom (I want to remove some apps).
I downloaded osKitchen Zero but it seems that I can import only an official rom.
Is there another application where I can import a cooked rom? I did some search but couldn't find something in all the load of information existing in xda...
blister969 said:
Please excuse my ignorance...
I want to modify an existing blackstone rom (I want to remove some apps).
I downloaded osKitchen Zero but it seems that I can import only an official rom.
Is there another application where I can import a cooked rom? I did some search but couldn't find something in all the load of information existing in xda...
Click to expand...
Click to collapse
You should be able to delete stuff with htc rom image editor.
http://forum.xda-developers.com/showthread.php?t=377514
As far as I know you Can't, only an official rom can be dumped and changed, cooked roms you are not abble to do it
you should'nt! cooked roms are a piece of art (hard) work. You could ask the chef to cook you a personal rom, buy him a beer or three... or step into the world of cooking, i did. and it's great!
@ blister969
No way!
WBR
Siemens Lover
You can modify cooked roms; look up micro kitchen-it dumps roms, and you can modify the dump (remove a few files; tweak the .hv's) and re-build it. You may need to modify it for your device. You can probably do the same thing with EVK, it just may take a little more work.
@Farmer Ted
If you try dumping ROMs built with platformrebuilder, you don't get the dsm's. That doesn't mind, you can still cook it. But no, you actually can't. All modules loose one S00x containing relocation info.
(Btw, this S00x plus imageinfo.bin is weird anyway, original MS way is more sexy.)
OndraSter is right about reloc info, but I think that you can remove those apps without messing with modules .
Here's another thread on the subject. I'm pretty sure you can re-cook ok, with the missing reloc data. Da_G kicked in on the subject:
Da_G said:
Just a small note to add to this:
The last S00X section in a module is the .CRELOC section. This is used to relocate the module on-device (not used to relocate the module on the PC, in the kitchen, where we do it prior to flashing)
Not having the last s00x means that you wouldn't be able to imageupdate that ROM (because the on-device read/write IMGFS driver would not be able to re-base the module since .CRELOC is missing)
But you can certainly still re-base that module on the PC side prior to rebuilding a ROM. So that function in itself won't preclude you from porting modules from one device to another
Click to expand...
Click to collapse

[Q] Problem: No changes take effect in cooked ROM in EVK!

Hi pals
I Cooked a WM6.1 19971 Official ROM for OPAL in Ervius Visual Kitchen. The cooked ROM seems quite alright except that:
1.The original ROM was about 100MB while despite the fact that I added a lot of packages, the cooked ROM is about 80MB.
2.None of my packages exist in the cooked ROM when I flash it.
Can you tell me what the problem is?
The smaller size is fine.
What do you mean packages not there?
Are the files not in the windows folder or are you just missing shortcuts?
mnvoh said:
2.None of my packages exist in the cooked ROM when I flash it.
Can you tell me what the problem is?
Click to expand...
Click to collapse
What?!...EVK generates a build_log...look at this, and u'll see, what's in your rom.
Cannot belive that u've applied packages in EVK they wouldn't cook in....strange.
It is happened to me too in the beginning when i was cooking for kaiser and tried to cook inside HTC Mega packages with Manila 2d...i solved it using OsKitchen,lol.
af974 said:
.i solved it using OsKitchen,lol.
Click to expand...
Click to collapse
Sorry...but usin' OSKitchen is still hard work in my opinion. Maybe others think similar to me, and please forgive me @airxtreme!
But still the best kitchen in my opinion is EVK....
Its not true,
OsKitchen compared to any other Kitchen is much more easy to use expecially for newbie users.
EVK it is much complete.
Which is the best between one and another its only a personal taste.
icke said:
Sorry...but usin' OSKitchen is still hard work in my opinion. Maybe others think similar to me, and please forgive me @airxtreme!
But still the best kitchen in my opinion is EVK....
Click to expand...
Click to collapse
Kitchen
I can`t understand that someone say the os kitchen is to difficult
I work with these kitchen hours and days and no problems whatsoever and easys`t do use, if someone got problem to use this kitchen,live the finger from cooking
af974 said:
Which is the best between one and another its only a personal taste.
Click to expand...
Click to collapse
And that's what i said!
For new's, maybe OSKitchen is easier to use...but still beta.
Speak is free and give opinions too...but please people dont start flaming about kitchens.
I mean about what in red....its not nice.
lumisab said:
I can`t understand that someone say the os kitchen is to difficult
I work with these kitchen hours and days and no problems whatsoever and easys`t do use, if someone got problem to use this kitchen,live the finger from cooking
Click to expand...
Click to collapse
While EVK was building the ROM I checked the log it was generating. I saw all my packages. But when I used osKitchen it had problems with the *.dsm file in the packages and said that it's corrupt. I think it's the problem but I used package-creator-v2.7 to convert *.cab files to a package. So obviously the problem is with the package creator.
But on thing that's for sure is that newbies (like me) should stick to osKitchen.
FYI, Barin's OSBuilder has a .dsm autocorrection option.
Well, OsKitchen has its own package creator so all you need is to import your original rom and convert all your cabs again plus it has an auto mui converter,thats mean if that you have some 0410 mui's and you are cooking for 0409 oskitchen wiil rename all the mui for you.It worth a try.
mnvoh said:
While EVK was building the ROM I checked the log it was generating. I saw all my packages. But when I used osKitchen it had problems with the *.dsm file in the packages and said that it's corrupt. I think it's the problem but I used package-creator-v2.7 to convert *.cab files to a package. So obviously the problem is with the package creator.
But on thing that's for sure is that newbies (like me) should stick to osKitchen.
Click to expand...
Click to collapse
Let's state this once for all: Ervius kitchen is basically a GUI to create _skip files that launches a giant batch file that does all the cooking and that needs to be customized for every device: if you created your own _skip files by hand and used a batch file to cook there would be virtually no difference. OsKitchen has a simple GUI by design but that doesn't mean that it isn't orders of magnitude more complete and advanced than ervius kitchen: it does everything from detecting all device/ROM informations without asking anything (the list of supported devices actually has nothing associated to them but the alternative names: no customized fixed, no customized settings, nothing) to cooking with all sorts of checks to prevent bricking or unbootable ROMs and even parsing all the files in the package: if I had proper relocation code (that I was waiting Da_G to write since he knows that stuff better than everybody else) the kitchen could already natively cook its own ROMs. I'm already using all the code I wrote to replace platformrebuilder to implement all sorts of cool stuff like complete validation of all package files and installing packages directly on the phone trough activesync (to avoid having to reflash any time you want to test something) as you can see on the alphas thread, things that on ervius kitchen, where cooking just means running a giant batch file, you could only dream of.
I hope that finally clears the minds of the people saying that ervius is more advanced or complete: it's not, it's just a simple batch file-based kitchen with an unnecessarily complex GUI. It may have some bundled tools that oskitchen doesn't include (like xipporterex, that while works on some NK.EXE wreaks havoc on unofficial native kernel and latest kernels) but having a dedicated button to launch a tool doesn't make a kitchen "more advanced" or "more complete".
No offence and I do appreciate and use your work, but aren't all kitchens just fancy GUI's around a set of batch files and same old imgfstools and platformrebuilder from yesteryear?
pkoper said:
No offence and I do appreciate and use your work, but aren't all kitchens just fancy GUI's around a set of batch files and same old imgfstools and platformrebuilder from yesteryear?
Click to expand...
Click to collapse
Not really, I process all the files before feeding them to platformrebuilder hence the recmod/upx/tweaks/ordering/manila compression/etc without touching any of the original files. I also only use the newest tools available like libnb and osnbtool that the kitchen calls directly and checks the output to warn of any error and to get informations about the ROM format indeed it can import any proper BIN/NB/NBH file and cook it without even knowing what device they come from. The only original imgfstools I keep are nbmerge and nbsplit because I was waiting Da_G to finish his BuildNB function but osnbtool can probably replace both (nbsplit for sure with the -sp parameter).
@OP, it sounds like your package structure is wrong. Are the packages in EXT format (not OEM)? If they're in oem format, none of the files will be included. Just make the packages manually, it's a lot easier.
Can you please post the build log file?
pkoper said:
No offence and I do appreciate and use your work, but aren't all kitchens just fancy GUI's around a set of batch files and same old imgfstools and platformrebuilder from yesteryear?
Click to expand...
Click to collapse
My kitchen (OSbuilder) uses it's own engine to process packages, build dsms, rebase modules, merge dsm and build ROM file. The only external tool i use is "TurboImgfs" by airxtreme.
Yes , when i wrote that EVK ,maybe, its more complete then OsKitchen i was referring to this, only some tools.
airxtreme said:
It may have some bundled tools that oskitchen doesn't include
Click to expand...
Click to collapse
airxtreme said:
Let's state this once for all: Ervius kitchen is basically a GUI to create _skip files that launches a giant batch file that does all the cooking and that needs to be customized for every device: if you created your own _skip files by hand and used a batch file to cook there would be virtually no difference. OsKitchen has a simple GUI by design but that doesn't mean that it isn't orders of magnitude more complete and advanced than ervius kitchen: it does everything from detecting all device/ROM informations without asking anything (the list of supported devices actually has nothing associated to them but the alternative names: no customized fixed, no customized settings, nothing) to cooking with all sorts of checks to prevent bricking or unbootable ROMs and even parsing all the files in the package: if I had proper relocation code (that I was waiting Da_G to write since he knows that stuff better than everybody else) the kitchen could already natively cook its own ROMs. I'm already using all the code I wrote to replace platformrebuilder to implement all sorts of cool stuff like complete validation of all package files and installing packages directly on the phone trough activesync (to avoid having to reflash any time you want to test something) as you can see on the alphas thread, things that on ervius kitchen, where cooking just means running a giant batch file, you could only dream of.
I hope that finally clears the minds of the people saying that ervius is more advanced or complete: it's not, it's just a simple batch file-based kitchen with an unnecessarily complex GUI. It may have some bundled tools that oskitchen doesn't include (like xipporterex, that while works on some NK.EXE wreaks havoc on unofficial native kernel and latest kernels) but having a dedicated button to launch a tool doesn't make a kitchen "more advanced" or "more complete".
Click to expand...
Click to collapse
Don't let them get you down man. Ervius's kitchen is a piece of **** in my opinion. The GUI blows and it crashes on the smallest thing that's not exactly right with a package. Did I mention the GUI is horrible ?
I will say it as well, erv's kitchen is NOTHING but a glorified GUI for platformrebuilder which is the real workhorse.
p.s. I made my own kitchen GUI, based on platformrebuilder as well. Mine's designed to cook for 12 devices at a time though... so I can't exactly share it. PM me if you'd like the details necesssary to make Samsung Omnia 2 ROMs with prb though, it seems nobody else seems to know what the "secret" is... I just think they didn't try hard enough. lol If anything, you can add 4 more devices to your already impressive collection of supported devices

[Q] How to cook a ROM for the Axim x50v?

I am new to Axims. I bought one on eBay, and I decided that I want to cook my own ROMs for it. I started here on HTC Geeks (can't post links yet, not enough posts): HTCGeeks Forum > Windows Mobile Pocket PC's > Axim X51v
ROM Cooking Outline
. I learned a lot from that, however I got stuck at the make_imgfs unreadable output problem (described by ChangeLing in that thread). I have tried using ImgfsToNb and it still doesn't work.
Basically, I want to be able to edit the Imgfs Partition of the .nb0 file, and repackage it into a .nb0 file. After I learn how to do that, I would like to learn how to edit the XIP.
Can anyone help me with this? Even other's cooked ROMs have things in them that I have no need for, such as Transcriber (I never use it).
I would like to know if there is a kitchen available (like the Portable Axim Rom Kitchen (which never worked for me, no matter what I tried), that works. I can also piece together a kitchen myself if told what tools I need and how to use them.
Bump! Bump!
sy0 said:
Bump! Bump!
Click to expand...
Click to collapse
What does it mean?
I also want to cook a rom...

Resources