Extracting CABs from a ROM - 8125, K-JAM, P4300, MDA Vario Software Upgrading

Anyone on here know how to Extract a CAB file from a ROM/Extended ROM? ive been trying to find something about this on here and cant seem to find anything that pertains to it. there are several programs that are included in roms and extended roms that i have and i wold like to be able to put them on my 8125 with the ROM i have now. Thanks in Advance!
Corey

If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it (if you want. you can merely transer all the files and registry posts to your current rom without creating a cab)

_Nomad_ said:
If you already have a cabfile that resides in the extended rom the process is quite easy... just use total commander and copy the file from there to a place on your device where you can later use it...
If you don't have a cabfile but just a program, say arcsoft mms composer that's already integrated into the rom, the process gets a little more complicated, but not impossible. You will, however, need to know all the files that the program uses, dll's, imagefiles, exe's and registry posts, copy them from rom to your windows pc and from there use a program like ce cab manager to create a cabfile for it.
Click to expand...
Click to collapse
cool, thanks for the info, what program do i need to use to unpack the NBF so i can access the files? I tried to use the one in the wiki (typho5) but i cant seem to get it to work.

for dumping rom's read through this thread
You'll probably want to read it all and I'm sure that it wont make that much sense to begin with but it'll come to you
For converting a nbf to nb files use:
Code:
typho5.exe -x nk.nbf

typho5.exe -x nk.nbf does NOT make it a .nba file!
It extracts the contents of the rom (OS, Extended Rom, Radio, Splash Screen, IPL/SPL) into .nb files.
The Extended Rom file can be opened with WinImage.
Molski

Thanks...i just checked out that thread..looks like ive got some studying ahead of me lol thanks for the help.

thanks Molski, you must have posted that just after i read the post above yours lol. thanks for the info i have another question for you here though. http://forum.xda-developers.com/showthread.php?t=291847 As smart as you guys are im sure theres a reason you havent done it though

Related

Question about Extended ROM cooking

I have succesfully updated my PDA2k from the standard ITalian ROM to the one in my signature
I'm very happy and I would like to thanks All for the support
Now I would like to cook my first Extended ROM and I have a very simple question but, I have not been able to find the answen in the wiki
The Extende ROM I have now doesn't contains the Config.txt file but the Setup.exe.
During the cooking process. Should I take out the .exe file and substitute it with my oun Confing.txt?
Thanks
Asmodeo :twisted:
There is a rason for that.
In some roms that have gone through the kitchen 1.3x we have noticed that the autorun, config.txt has been subsitutted by a new methord setup.exe.
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_X_131112
What you need to do is downlaod an old version Ext rom which has the autorun, confix txt.
Extract those files 2 files, delete the setup.exe and add the autorun, config txt to your ext rom (oh yes and dont forget to edit the config.txt)
The one I use is in the imate 1.22 162 and found on wiki
http://wiki.xda-developers.com/index.php?pagename=BA_ERK_Available_Ext_Roms

ROM Editing...Is this correct?? Please READ!!!

I am trying to modify a ROM for my BA with the use of imgfs tools I downloaded from buzzdev.. This is what I did... (hope someone here could comment if this is correct) I have not tried flashing any of my modified ROM coz i dont still have my BA with me, mabe this 3rd week of sept I will have it in my hands!!! LOL
Here's how:
1.) I tried helmi v1.3 (I converted nk.nbf to nk.nba with the use of nba converter)
2.) Prepare_imgfs nk.nba
3.) viewimgfs imgfs_raw_data.bin
4.) modified the dump directory (added the wm5torage, pocketrar, taskmanager v1.4.4)
5.) edit the initflasfiles.dat with the use Notepad (deleted the 2byte signature with the use of ULtraEdit)
6.) I also edit the default.hv with the use of rgucomp (I dont know if i made it correctly) to include the registry entries of WM5torage) (Well I succesfully convert it to rgu, edit it with the use of UltraEdit save it as unicode and I managed to convert it to .hv file successfully without any errors)
7.) Buildimgfs
8.) make_imgfs nk.nba
Is this a correct way of modifying the ROM? If not, how? I read alot of posts here (xda and buzzdev) on how to modify a ROM with use of imgfs tools and this is how I understood it... hehehe
Is the rom i made workable? Thanks hope soomeone here could help me!!! by the way here is the attached rgu and hv file i modified!!
I might suggest trying the Bepe ROM Kitchen.. quite a bit easier
Yeah its easier>>!!
I tried the method you said..But for me this is simplier... So based on your own understanding, is that correct? I know you have done modifying a lot of roms already....
Thanks
So anybody here could give some more opinions>>>Pls
Anyone?
Anyone???
It seems OK the way you did.
I did the same way as you when I used XdaII or Himalaya.
I edited BA ROM this way too.
One thing to tell you is that you will not know that it works or not until you flash it in your device.
The file you add may overload the space if you don't delete some files you don't use.
I delete transcriber because I don't use it and will have about 500 KB for adding some files I want.
Flash it and you will know the answer yourself.
8)
Thanks
Thank vivi.. Yeah I did, i deleted some of the files in the rom (which I donot use at all) to have some space for my additional files... btw, I read about boot.hv (like on the other method) do I need it also in this method? Or is it included in the default.hv?
I left boot.hv in dump folder and didn't touch it.
I edited only default.hv and initflashfiles.dat.
But it is a long time not doing.I nearly forget the steps to do.
I think Helmi ROM is OK and I use it as it is.
OOOH
I dont see any boot.hv in the dump directory? Did i mess somthing?
Yup It seems that Helmi ROMs are great..Thanks again

Extract files from Extended rom (on the PC)

I've extracted the nk.nbf file from O2's upgrade Rom, and have then extracted the following files:
80040000-OS_0.nb
9b000000-Extension.nb
96000000-GSM_0.nb
91000000-SPL_1.nb
etc...
Now i know that the cab files i want exist within the 9b000000-Extension.nb file (as i am guessing that this is the Extended Rom). But i can't figure out how to extract the cab files (or all the files) from within in it.
I've searched around, and it's helped me get this far, but i can't seem to figure out how to get past this point. Can anyone tell me how to do this on my PC.
Many thanks.
I know someone in here can give me a quick answer to this one. All i want to do is get some cab files out of an O2 extended rom file on my computer (i can't use the extended rom unlocker on my pocket pc because i am currently using the crossbow OS, which doesn't include the O2 extended rom).
Thanks for any help.
If you are using orwell's wm6 your extended rom is probably still on your phone unless you wiped it off.
look for a software called winimage & load the extrom.nb file then u will see the contents.

extracting nk.nbf

hey
I am using windows xp on my desktop so when i try to extract the nk.nbf files using dumprom a window opens like that of cmd prompt and closes immediately. can anyone tell me of a software that works on xp since i dont know linux,unix and other stuff expect windows.
I searched the forums but I could't find such programs.
can anybody help me plz since I am trying to cook rom on my own using the procedure given by faria .
I found that the batch files that are included in the ROM cooking tools don't work, but typing the commands that are in the batch files work fine. Try that, it worked for me.
Not got around to cooking my own ROM yet though
HTH
Andy
try looking here
THANKS it worked
Still need help
Ok I must be missing something.
I probably found it but just did not know it.
most things need a nk.nbf file to start with.
Where do I get one ?
Does it make a differance what it is ?
stainlesspc said:
Ok I must be missing something.
I probably found it but just did not know it.
most things need a nk.nbf file to start with.
Where do I get one ?
Does it make a differance what it is ?
Click to expand...
Click to collapse
It makes ALL the difference
The RUU files are compressed pakages with the various files used in the update process one of which is the nk.nbf (always with that name)
So no matter if the OS is WM5, WM6, cooked or official, a radio only, a splash image only, it is ALWAYS named nk.nbf since it will be looked by that name by the updater application.
hope it was clear enough
cheers
_Nomad_ said:
try looking here
Click to expand...
Click to collapse
I looked at this, but it extracts .nba files. I need to extract files out of .nbf
So i can start cooking my own ROMs
freeyayo50 said:
I looked at this, but it extracts .nba files. I need to extract files out of .nbf
So i can start cooking my own ROMs
Click to expand...
Click to collapse
use typho5.
peter petrelli said:
use typho5.
Click to expand...
Click to collapse
OK, so i just downloaded typho5 through the ftp, but i dont have the dll file for it. I get error: LoadLibrary p2x587.dll failed
Where can i find the file?
just get it from shelltool.
I found another typho5 and it works. After dumping the files with typho5 which one is the extended rom so i can extract the cab files??
freeyayo50 said:
I found another typho5 and it works. After dumping the files with typho5 which one is the extended rom so i can extract the cab files??
Click to expand...
Click to collapse
Use my tool (Wizard Service Tool) as it extracts all the files in a nk.nbf without command lines and without any hassle
cheers
Thanx. Worked great. Why doesn't WinImage want to open the .nb files??
Im tryin to extract cab files from faria's Crossbow Reloaded v1.5. After using Wizard Service Tool, I get the 3 .nb files.
freeyayo50 said:
Thanx. Worked great. Why doesn't WinImage want to open the .nb files??
Im tryin to extract cab files from faria's Crossbow Reloaded v1.5. After using Wizard Service Tool, I get the 3 .nb files.
Click to expand...
Click to collapse
Winimage only handles the extension_rom.nb since it is an image of a HDD formatted with FAT16; the other files are encrypted/packed and can only be handled with kitchen tools spread all throughout the forum
cheers
Ok thanx. I'm going to start my search

Creating your own ROMs

I am a software developer by trade and so I hope I will be comfortable with creating my own ROM. However, I have no idea where to begin! Can anyone point me in the right direction?
on the wiki you can all read about it.
xmoo said:
on the wiki you can all read about it.
Click to expand...
Click to collapse
Thanks for the quick replu xmoo. I've had a look there before but it's not answering any questions. I have no idea what dev environment I need nor how to do it. Am I missing something or is it just my Sunday head?
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
schaggo said:
you need a kitchen, in the kitchen you unpack a ROM image, you then exchange, remove or add files to the extracted ROM image. then you repack it. thats it. no programming skills involved.
and all information regarding kitchens can be found in the wiki, I did at least.
Click to expand...
Click to collapse
Thanks for the info.
I have Hard-SPL'ed my X1 and am ready for a new ROM now. I have downloaded a NBH file and used the NBHUtil to unpack it. Is this the point at which I customise the individual parts? If so what do I use to do this with the NB files?
NBHUtil is not a kitchen, its a utility only. And NB files are just the components of the NBH file, like a NB for the radio part, a NB for the OS part, a NB for ... you get the idea. The actual contents (exe, dll, eg.: files that ARE windows mobile) are encoded inside the NB's.
Search for "RaphaelKitchen" version 0.62, download that. Once you got that far, get back in here and I'll give you the config files you'll need for the RaphaelKitchen.
Instructions on how to do what: http://forum.xda-developers.com/showthread.php?t=427507
In that message, leave out the parts about dumping and get directly to the instructions for the kitchen. The actual "cooking" (thats what its called, hence its called a kitchen) comes between instructions "e, b (for dumped ROM),space key" cuz now you just unpacked the ROM and you have tons and tons of DLLs, EXEs, eg.: you unpacked the NBH in NBs and decoded the NBs to its contents.
You cook by removing and adding stuff to the respective folders.
After you did that, continue by following the post: "c, a, press BuildOS Play icon and wait to finish, Close BuildOS, close PagePool Changer and press space" which equals putting the files back together and compiling a new NBH which you can flash...
and i'm sorry but the WIKI acutally REALLY does explain all that:
http://wiki.xda-developers.com/index.php?pagename=Kaiser ROM Kitchen Tutorial
The RaphaelKitchen is a modified version of alex kitchen for the kaiser, it is essentially exactly the same.
Cheers Schaggo!
I was looking at the Xperia Wiki not the main Wiki My bad sorry.
I'll give this a go later and report back
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
schaggo said:
No problem, no problem. As I said, as you start cooking, get back in here and I'll provide pre-edited config files with all the settings for the X1.
Click to expand...
Click to collapse
Hi, could you provide the pre-edited config files for X1? Thanks.
Ok so here's what I have done:
Download and unpacked RaphaelKitchen 0.62 as stated.
Ran it with 'e' then 'a' as the command line parameter to extract the NB files again (just to see).
Found all the NB files in BaseROM folder and a sh*tload of mixed files in the temp folder. At the root I have a couple of BIN files as well as some NB related files. dump_imgfs and dump_xip are the main folders in there with lots of bits beneath then. Is this right?
Then ran the build ROM commands as you stated. Pagepool wasn't open though(?) or couldn't see it anyway. Everything else went to plan and I got a NBH file in the end.
I expected the packages folder to be populated but nothing went in. Has this all gone to plan?
**Edit: Also never saw PagePool **
Here is the extra config you need for X1
Extract and put the files in the root of the RaphaelKitchen.
Run "X1Kitchen.CMD".
This is what I am using for "e"xtract and "c"ook a room and it's working perfectly w/ me. Other options is not tested or use by me.
I even added/modded some more files. Replace all files and run RaphaelKitchen.cmd and continue as instructed in the manual.
Cheers guys. Will try this config tonight and get back to you
In the extract ROM there are two options:
- one needs RUU_signed.nbh only
- the other one needs RUU_signed.nbh + part01.raw and part02.raw
which is the right one to choose? if b): where do i get those files?
/edit: never mind, figured it out myself
Flashing now :-D
For future reference, if some more people ask:
if you just want to unpack an existing ROM image (nbh-file) use option 1. this unpacks the file and fills up the folders with the files to cook with.
if you want to reconstruct a ROM you (or someone else) dumped from his device, chose option 2. this decodes the raw-files (dumps) according to (simply spoken, please forgive my inaccuracy ) the template which is given by the nbh-file. without the nbh-file the kitchen doesnt know how to decode the raw-files, it needs a reference file (the nbh) to do so.
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
figurine said:
hi i'm a noob to the whole wm scene and i'd like to learn how to cook my own roms as well. I've downloaded the kovsky kitchen but i can't find anywhere on how to use it. i've looked in the wiki but can't find how to use kitchens. maybe i've overlooked something. at any rate, if someone could post a link on a tutorial or any info that could get me started, it'd be greatly appreciated. thanks in advance
Click to expand...
Click to collapse
take yer pick, but the first one looks okay!
http://www.google.com/cse?cx=000825...orial&sa=Search&cof=FORID:0&ie=utf-8&oe=utf-8
thanks! one more thing... should i backup my original rom? if so, how do i do this?
Hypercore and X1 "kovsky"
i just had to ask, well kovsky kitchen works for the experia right? so hypercore multidevice, shows no experia or kovsky config, #11 post says raphael kitchen xperia.cmd, so you can use that kitchen for x1 as well, so how do you get hypercore/X1? to work

Categories

Resources