Decode and encode wizard roms(nk.nbf) - How? - 8125, K-JAM, P4300, MDA Vario Software Upgrading

I used to decode them using typhoonnbfdecode.pl in the past, but it seems not to work with newer roms.
I get the folowing error:
read 04741800 for os from nk.nbf
no ECEC at 0x40 in OS image
Is there another way?
Please help

I'm surprised that noone has done this.

simply does not work anymore

typho2 can correctly extract parts from wizard rom image (SD-image f.e.)
TyphoonNbfTool_04 can correctly extract parts from wizard nk.nbf, but doesn't work for rom ver. 2.0... and higher..

button, thank you very much, i'm going to try it right away
EDIT: Works flawlessly! Thanks

Related

DumpROM and NBF files

Is there a newer version of DumpROM exist to unpack ROMs for Magneto devices?
The original dumprom hangs on the .nbf files extracted from ROM upgrade utility.
I'm bumping this thread, even thought there's not much to bump up to... this forum is quiet.
I want to dump the ROM, but mamaich gave me a link to source code that I can't compile. He says the HTC Typhoon dumper should work.
Can anyone extract and decode (if necessary) the ROM files from the K-JAM firmware upgrade utility?
I want to see if it could possibly be looking for a file to replace the splash screens, much like we found out that splashX.nb did wonders for JAM, PDA2k, and so forth.
I'm sure there's a way to customize the splash screens.

THREE splash screens after flashing the latest I-Mate ROM

I just finished the flashing of 2.16.9.1 WWE from I-mate.This rom offers us THREE splash screens which was only one before.The 1st is HTC Screen(ugly),2nd is I-Mate(more ugly),3rd is WindowsMobile(I love M$-Blue).OMG,we get a gallery when it starts...
Any good folk has any idea about changing them?
Cheers.
The older Qtek aku2 has the same set of splash screens.
adaik only the 2nd one can be changed via ie. the aWizard tools
Ooops,sorry for my stupid excitement...I didn't do that flash...
I tried the aWizard3b2 to change it and none of them change... on the 2.8.7.1 ROM did it change the bootloaders too? (aren't IPL and SPL the bootloaders?) IPL/SPL after the 2.16.9.101 they are 2.16
I used the sample bootscreen to make sure I was doing it right. I am going to try and see if the nba splash screen file from my rom dump prior to the upgrade will work
update: no even using the nba file aWizard3b2 does not replace the splash screen. any ideas?
what worked on the 2.8 Qtek aku2 rom is putting a bmp (several are posted on the forum, use search) as the 2nd splash screen using awizard tools.
My bootloader is 2.08
Awizard cant write, following error:
CopyFileToTFFS(unlocked.bin:0, 0, 00010000)
ERROR: ITWriteDisk - An internal error occurred.
:S cant update the splash :S
did you enable rapi using aWizard first?
Johannus said:
Awizard cant write, following error:
CopyFileToTFFS(unlocked.bin:0, 0, 00010000)
ERROR: ITWriteDisk - An internal error occurred.
:S cant update the splash :S
Click to expand...
Click to collapse
I have the same error since the new i-mate rom.. Not only while uploading splash screen, but also unlocking, etc. Hopefully they'll update lokiwiz for this new rom..
BTW: It feels like this new rom boots slower.. Because I see all three splash screens for about the same time as I saw the ONE before. So 3 times slower?? Did anyone time it?
i also see the same 3 splashs with the i-Mate rom update. used aWizard to replace splash, everything seemed to work fine (no aWizard errors) but alas the Imate splash & MS Win logos remain... =(
just FYI
I get the same internal write error, after I upgraded.
i did use a bmp file in awizard (one of the ones on the xda ftp site) and it aWizard3b2 didn't change any of the 3 boot screens. Isn't there suppsed to be a place to put a bmp file in the windows directory to change the bootscreen?
Bootloaders are 2.16 in the 2.16.9.101 file.
Hi guys,
I have been researching this for days.
1) AWizard CANNOT change the 2nd splash screen with the latest ROM, it used to be able to, it now cannnot until it is updated to work with the latest rom, which I hope will be soon. On mine (latest imate rom) it fails with the ITWritedisk:blah message.
2) AWizard never had the capability to replace the first HTC logo. I understand this is a work in progress, and someone needs to find a solution. Anyone?
3) You can easily replace the 3rd) (microsoft windows) splash screen by connecting your device via active sync, and then browsing your pockect pc on your pc. Go to /windows and find the .png file called welcomehead.96.png Simply replace that with your custom png in the same dimensions.
If anyone finds a way round replacing 1) or 2) with the latest rom, please post it here. I gues we need to wait for awizard to be updated.
HTC Splash:
http://forum.xda-developers.com/viewtopic.php?t=44680
Provider Splash:
http://forum.xda-developers.com/viewtopic.php?t=44518
ferrerpheonix said:
Hi guys,
I have been researching this for days.
1) AWizard CANNOT change the 2nd splash screen with the latest ROM, it used to be able to, it now cannnot until it is updated to work with the latest rom, which I hope will be soon. On mine (latest imate rom) it fails with the ITWritedisk:blah message.
2) AWizard never had the capability to replace the first HTC logo. I understand this is a work in progress, and someone needs to find a solution. Anyone?
3) You can easily replace the 3rd) (microsoft windows) splash screen by connecting your device via active sync, and then browsing your pockect pc on your pc. Go to /windows and find the .png file called welcomehead.96.png Simply replace that with your custom png in the same dimensions.
If anyone finds a way round replacing 1) or 2) with the latest rom, please post it here. I gues we need to wait for awizard to be updated.
Click to expand...
Click to collapse
I can't replace the PNG file, nor can I un-read-only it with Total Commander. It doesn't "take".
Genesis3 said:
I can't replace the PNG file, nor can I un-read-only it with Total Commander. It doesn't "take".
Click to expand...
Click to collapse
are you copying straight to "\windows\" from your desktop? If so, try coping to "\temp\" instead, then on your PPC itself copy from "\temp\" to "\windows\"
That worked... thanks....
you're welcome
You wanna change the second slapsh go ahead....you can...look at my post here...
http://forum.xda-developers.com/viewtopic.php?t=44518

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

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

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