extracting nk.nbf - 8125, K-JAM, P4300, MDA Vario Software Upgrading

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

Related

Extracting CABs from a ROM

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

NBH Generator

I made small program which can merge .NBs into .NBH. Generated .NBH, of course, is not properly signed but enough for feeding SSPL.
Give small script which contains .NB filenames, model name, CID and so, to the program. Output file is RUU_signed.nbh.
Sample script included.
C:\>nbhgen sample.txt
NBH Generator ver0.1 by bot
00_IPL.nb
01_SPL.nb
02_MainSplash.nb
03_SubSplash.nb
04_ExtROM.nb
05_GSM.nb
06_OS.nb
Completed.
enjoy,
bot
Hi
Sorry, but your tool didn't generate an .nbh file.
I've tried to run this script:
HERM300
HTC__001
1.23.707.6
USA
100,00_IPL.nb
200,01_SPL.nb
600,02_MainSplash.nb
601,03_SubSplash.nb
900,04_ExtROM.nb
300,05_GSM.nb
400,06_OS.nb
Click to expand...
Click to collapse
Your tool starts, but there is no .nbh. edit: It's my mistake.Ignore my post.Sorry.
What's the use of "100,00_IPL.nb ?
Great work, it is the missing link for using SSPL with RadioBoorloader 0108 for the Hermes!
Thanks a lot!
Really Great work!
Great work!
Where I can find tools for sign *.nb?
Can you made patch for mamaich tools? Now addfile.exe not working
I confirm this tool as working. Just had breeze radio successfully flashed (one more time). And it is much more handy than manual assembling
thanx.
ps 2scorpio16v:
What's the use of "100,00_IPL.nb ?
Click to expand...
Click to collapse
http://wiki.xda-developers.com/index.php?pagename=Hermes_NBH
Des said:
I confirm this tool as working. Just had breeze radio successfully flashed (one more time). And it is much more handy than manual assembling
thanx.
ps 2scorpio16v:http://wiki.xda-developers.com/index.php?pagename=Hermes_NBH
Click to expand...
Click to collapse
Thanks, now I understand
Hi bot
Thanks !I think you may do universal NBF generator .
You may add in sample.txt one parameter packet size ( Trynity Hermes 64 ) in Atremis 1024 etc
Great tool and very useful, thanks!
does nbhgen work on Artemis and Herald?
wlinsong said:
does nbhgen work on Artemis and Herald?
Click to expand...
Click to collapse
On Artemis the singature size is 1024, no idea about Herald.... i think it will not work but haven't tested it.
To make the signature 1024 you can do it like this (at least until bot releases a version which allows you to modifi the sig. size):
Code:
nbhgen.exe file.txt
perl nbh2dbh.pl RUU_signed.nbh RUU_signed.dbh
ImageHash.exe -raw RUU_signed.dbh RUU_signedNEW.nbh 1024
It will popup a window asking you to select the proper certificate to sign your file, if you don't have one you can import for example a test certificate from windows mobile SDK.
Any one guide for artemis...so that many people who hv bricked their Orbit can make them alive..
is there a possibility to use this nbhgen.exe for making a backup of the current Excalibur ROM?
I have a german XDA Cosmo running the original XDA Cosmo ROM.
And I also managed to make a backup with bkondisk
BUT what I have not been able to find out so far:
how to make an installable package out of that?
this nbhgen sounds good but how (if ever) can I use it for the Excalibur?
Do I have to sign the resulting .nbh or maybe will it work unsigned with the engineering SPL 1.11???
I want to have a backup before flashing other ROMs - and believe me I want flashing the Dash ROM (or the german MDA Mail ROM) sooo bad since I've heard that TomTom 6 runs perfectly on it (unlike on Cosmo ROM where it's nearly unusable )
I'm sorry, but I stil don't get it and can not find anything inside the wiki. How is this tool supposed to work when I have an OS.nb for example?
Do you leave fields blank if you don't want to perform that part of the upgrade? For example if you were not going to upgrade anything other than the OS would you leave everything except the last line blank like this (sample sample):
TRIN100
HTC__001
1.23.707.6
USA
400,06_OS.nb
Also, can the the first lines be anything? I assume they are descriptors on line one and two followed by your own version #.
hdubli said:
Any one guide for artemis...so that many people who hv bricked their Orbit can make them alive..
Click to expand...
Click to collapse
I second that thought.
It seems to not work on Windows vista.
Any idea ?
Hi,
I have a nb0 file that I want to turn into a nbh. Is a nb0 file simply a nb but the OS part?
Can this tool do what I am looking for? The problem is I don't want to add a IPL, SPL etc - nor do I want to go to SP1.01.
thanks!
@daveh85: nb0 is the same as nb. Yes, you can convert it to nbh using this tool.
Hi,
I don't understand how to make the sample.txt.
I'm trying to create a Big Storage of the last LVSW's ROM.
I have the following files :
00_MainSplash.bmp
00_MainSplash.nb
01_SubSplash.bmp
01_SubSplash.nb
02_ExtROM.nb
03_OS.nb
How do I create a sample.txt file to create the RUU_signed.nbh file to flash on a Hermes 200 ??
Thanks for enlighting me
This would be your "sample.txt":
Code:
HERM***
SuperCID
Murcielago
WWE
600,00_MainSplash.nb
601,01_SubSplash.nb
700,02_ExtROM.nb
400,03_OS.nb

Extracting nk.nbf

Greetings,
How could i extract nk.nbf from the underground WM6 rom.
Because it is needed for all Cid locked G4 and it will be helpful to everybody.
Can anybody tell me how to? I tried searching it but i didnt find any good answer.
Thanks
I think you can just right click and extract it.
You wont see it unless you are able to view hidden files.
You may have to change it from hidden to read only in order to use the file.
Hope im not spoiling anybody's secret.
Hope this helps you.
if you've downloaded a self-extracting exe you can in most cases just rename it to rar and then open the file. Otherwise just get the nk.nbf from the temp directory that the exe is extracted to...
208 error
do i need a seperate application to get NBD 8.3 to extract to phone keep getting 208 file in use error I am noob but succsefully sim and cid unlocked 8125 and have had severall different ROMs on phone. Flashed back to button love ipl/spl and then flashed TMO 2.26 rom and really want to try NBD's latest and hot new ROM any help greatly appreciated. the info on here made me think I had a grip on flashing until I hit this hurdle
This site and the chef's awsome
If you have been successfully uploading several ROMs before the NBD8.3 with the RUU works in the same way.
Included in the rar file there is also a readme explaining pretty much in detail how to run the RUU to install. Moreover you will also find some explaination on the different error codes.
You may want to download the rar file again and have a second try.
File error
Sorry bout that I was not extracting to a folder and then running the RUU that's how I kept getting the error Thanks for your help
it´s simple download the magic program called wizard service tool (WST) by mestrini, you have a icon named nbf actions, press extract nbf open the rom you want, choose the destiny folder and voilá, you have the nbf file extracted, after you haved to cook then! with all you want S.O. radio ipl or spl..

Extract files from rom

Hi I wonder how and what tool can I use to extract files from a dumped/cooked rom
The files I need is shellres.dll.041D.mui and shellres.192.dll and shellres.dll
Would be very kind of you guys!
Kevin_seymer said:
Hi I wonder how and what tool can I use to extract files from a dumped/cooked rom
The files I need is shellres.dll.041D.mui and shellres.192.dll and shellres.192.dll
Would be very kind of you guys!
Click to expand...
Click to collapse
which rom would you like, easiest way is via the kitchen and e to extract
no shellres.41d here but can give you the other (youve two the same) and shellresapps
fards said:
which rom would you like, easiest way is via the kitchen and e to extract
no shellres.41d here but can give you the other (youve two the same) and shellresapps
Click to expand...
Click to collapse
thanks, I meant Shellres.dll, anybody have the shellres.041d its in the swe rom.
And again thanks for the file fards!
have a play with the kitchen, stick your ruu_signed.nbh from the swe rom into the baserom folder, startup the kitchen.cmd and press "e" it really is very simple.
the files from the rom will be extracted after some time into oem rom sys folders if they arent then theyll be in the temp folder, its quicker than waiting for someone else to get it for you, otherwise point me to a swe rom file and ill extract them, but it may not be tonight as ive got probs @ home to sort out
fards said:
have a play with the kitchen, stick your ruu_signed.nbh from the swe rom into the baserom folder, startup the kitchen.cmd and press "e" it really is very simple.
the files from the rom will be extracted after some time into oem rom sys folders if they arent then theyll be in the temp folder, its quicker than waiting for someone else to get it for you, otherwise point me to a swe rom file and ill extract them, but it may not be tonight as ive got probs @ home to sort out
Click to expand...
Click to collapse
Oh I hope everything goes well for you home my friend, when you have the time and will, can you extract the files in this SWE rom http://www.megaupload.com/?d=B0A16UP3
THANKS!
Here you go mate, sorry I forgot last night..

how to extract cabs from NBH file

im trying to extract some cabs from a NHB file...can anyone guide me in the direction on how to do this
I'd say the best way to do that is to extract the ROM into regular files.
You need to download a bunch of EXE files: NBHextract.exe, NBSplit.exe, ImgfsToDump.exe, and ImgfsFromNB.exe
You need to extract the NBH with NBHextract.exe. This will yield a .nb file
You need to use NBSplit (use the "-kaiser" parameter) to split the .nb into a .nb.payload file and a .nb.extra file
You then need to use ImgfsFromNB on the .nb.payload file, which will create a file called imgfs.bin
Use ImgfsToDump on imgfs.bin, which will create a folder called "Dump". When it finishes, All of the ROM's files will be there. You will probably want to search the folder for .cab files, since there are thousands of files in the average ROM dump.
That should do the job for you.
Or just use Visual Kitchen to Dump the ROM, and then rebuild the OEMs to CABs.
Dave
could u walk me through the visual kitchen program?
Hmmm look for htcRIE_0.4.0.47 and extract what you want.
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
little help will might ...
You do not search for it at you WM ROM,
Search at the site...
Anyway i have been find it for you !
A newer version of htcRIE, enjoy!
michealmyers said:
im trying to extrct the streaming media player cab...the one thats in most of the 6.5 roms that has a look a like HTC ablum look to it, but i cant find a cab using "htcRIE_0.4.0.47"
Click to expand...
Click to collapse
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
michealmyers said:
i have that program, but im unsure on how to properly use it to get the cab files.....can u help me?
Click to expand...
Click to collapse
With Visual Kitchen, just click on the Dump button at the bottom - and then browse to the NBH file .
Dave
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
michealmyers said:
i guess all nbh files dont have cabs because in the dump folder it creates...its only a couple of cabs and whole lot of systems files
Click to expand...
Click to collapse
Yeah, you have to rebuild the EXT packages to CAB's I don't know if there is a tool for that actually. Might be better dumping it the Dave (TyTNII) way, that will give you OEM's. There are tools for OEM 2 CAB.
Jason8 is working on a tool to convert all 3 all ways IIRC.
Dave
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
michealmyers said:
the nbh extract file launches for a quick second...it doesnt stay on the screen, as well as a lot of other files such as nbh split....do i need to update something in order to have these programs run properly?
Click to expand...
Click to collapse
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
DaveTheTytnIIGuy said:
You have to run them from the windows command line (CMD.exe). If you really want me to, I'll upload a batch file I made which automates most of this. You just put the NBH and tools in certain folders and run the batch file and it does the rest.
Click to expand...
Click to collapse
that would be so helpful
Alright, I fixed all the bugs in it (it was still in progress) and added some new features I had meant to add for a while, such as renaming the processed files by date processed (though you probably won't need them if you're only extracting one ROM). Hit [WINDOWS KEY] and R on your keyboard at the same time to open the Windows Run dialog, and type "%USERPROFILE%" without the quotes. Simply unzip the file and drag the folder called "Flashing" in the user folder (it's vital to have the Flashing folder in the correct spot. Otherwise, the entire script will fail). Place the NBH file you want to extract in the NBHDUMP folder (in the Rhodium folder, which is in the Flashing folder), and go to the IMGFS folder (in the Rhodium folder, which is in the Flashing folder). Now, run RhodiumRomDump.bat and the dump should commence, and a folder with your dump should appear in the same directory.
If anything should go wrong, please tell me so I can try to fix it.
EDIT: Please redownload, all issues I could find are fixed in this version. If you get errors about needing MSVCr71.DLL with this version, google is your friend.
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
michealmyers said:
maybe im not doing something right, ive been at it for days now...i put the "flashing folder" in C:\Documents and Settings\Sean (sean's my name..haha), put the nbh file in the NBH folder, ran "DumpRhodiumRom", i got 2 folders named "and" and "Setings"....when i run "dumpRhodiumRom", its just stays on the screen for half a second
Click to expand...
Click to collapse
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
michealmyers said:
ive extracted the rom before using visual kitchen...im trying to get some of the programs into cabs...the problem is that in the dump file, i see the programs i want, but they arent in cabs, so i cant just take its "exe" file and put it into another phone (well at least that didnt work for me)
Click to expand...
Click to collapse
Try downloading cabtools V 0.3 and use pkg2cab to build the package back into a .cab file. I've never done it myself, but this looks like what you want.
DaveTheTytnIIGuy said:
That's odd. Can you tell me two things?
Where do these folders ("Settings" and "And") show up?
Hit [Windows Key] + R and type "CMD" (without quotes), then hit okay, then type "cd %USERPROFILE%\Flashing\Rhodium\IMGFS" (without quotes). Now, type "DumpRhodiumRom" (without quotes), and tell me exactly what is says (you don't actually have to include all the formatting and everything). Also, if you could tell me what color it's in, that would help.
I'm going to test it in a virtual Windows XP environment and see if it's compatiblity with XP that's the problem.
EDIT: So the problem seems to be the fact that it doesn't like the spaces in the folder name "Documents and Settings", hence the creation of the "and" and "settings" folders. Unfortunately, it's an important folder, so renaming isn't really possible. However, I think I know a simple fix to the original script, so I'll test that and post it shortly.
Click to expand...
Click to collapse
This is What i got....where the "and" and "settings" folder apear is "untitled2.zip"

Categories

Resources