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

Guys!
Did someone try this tool from ftp?
ftp://xda:[email protected]/Uploads/HTC_Wizard/create_nknbf.zip

This is a combination of a leaked file from HTC nb2nbftornado.exe (released in an I-mate SP5 upgrade and a exe file of the SD dump splitter perl script for Typhoon. I've tried to create NBF's using the utility and NB's and it worked flawlessly.
Bye,
Ricardo

I confirm. Works fine.
Typho5 can also split nk.nbf.

i tried it
I used nb2nbf_tornado.exe convert nb to nbf
I found only OS and extrom can be flash.
this is what i got now
9b000000 00a00000 63243c65 Extension Rom
96000000 00280000 2264ae65 GSM
80040000 03900000 f8305108 OS
92000000 00030000 3f95ebad Splash Screen
9d000000 00010000 d212b789 HTC Logo
90000000 00000800 dcda598a IPL
91000000 000c0000 d9316f31 SPL
but only OS and EXTROM works.

Someone finally posted it on here, now everyone can enjoy cooking their own custom roms. FYI, to create your own extended rom you can use the tool winimage to remove/insert files into the nb/nba. Make sure you make them read only.

New roms have two ipl&spl with the same addresses:
91000000 000c0000 fe800e95 SPL_1
91000000 000c0000 23d28226 SPL_2
90000000 00000800 6759ae25 IPL_1
90000000 00000800 874cd295 IPL_2
so, in this case, how to correctly use nb2nbf to create nk.nbf?

File missing from FTP
Guys,
Apparently, the file is missing from the ftp site. Would someone please be kind enough to upload it again or post it here?
Thanks,
Hal.

BUMP!!!!!!!!!!!!!!!
Please anyone that still has this tool, please upload it, or post it, or email it, hell MMS it if that's what it takes? I would really like to make my own EXT rom! So would soem others on the board.
All help is appreciated (not just by me, either); Lew

lewcamino said:
BUMP!!!!!!!!!!!!!!!
Please anyone that still has this tool, please upload it, or post it, or email it, hell MMS it if that's what it takes? I would really like to make my own EXT rom! So would soem others on the board.
All help is appreciated (not just by me, either); Lew
Click to expand...
Click to collapse
Howdy Lew - I'm drivin home from Tahoe and can't help much now. when I get home in a couple hours I'll throw the files back onto the FTP. not sure who keeps wiping the uploads folder...kinda a bummer.

OK it's in the upload folder. Be warned, you can destroy your bootloader with this. No bootloader = no worky. Be sure you understand exactly what you're doing before flashing a self-created ROM to your device. Don't run with scissors. Wear a condom.

Anyone tried that on AKU2 ROM yet?
BTW, thanks for uploading the file back on FTP ;-)
Hal

and then it was gone (again) ...

Here it is!
Hal

not there anymore??

Related

Modifying PDA2K Exended ROM

Hi,
I'm trying to add a couple of things to the extended rom of my PDA2K, I've unlocked the extened rom but can't find config.txt in it.
Has anyone else unlocked the extended rom of their PDA2K? If so is there a config.txt in it?
Thanx
There is definitely a config.txt in there. Since I have an XDA2S, it also has an autoconfig.txt file for carrier customizations.
Could someone post extROM cab files for XDA2s from O2
autoconfig.txt
whtrbt7 said:
There is definitely a config.txt in there. Since I have an XDA2S, it also has an autoconfig.txt file for carrier customizations.
Click to expand...
Click to collapse
can you post that autoconfig.txt file here please, so i can take a look at it ?
thx
The isn't an autoconfig file. There is an autorun which reads and acts upon the Config.txt file. This is from imate
In Imate PDA2K there's no config.txt. The ExtROM is set up indifferent way. Imate has done that way since ROM 166 for XDAII. The setup.exe do the job
Sorry for the dis-information.
xda-rocks said:
The isn't an autoconfig file. There is an autorun which reads and acts upon the Config.txt file. This is from imate
Click to expand...
Click to collapse
I stuck the config file into the PDA2K and did a hard reset but there was no effect to the setup process. The file was ignored
I had also put the Blue Tooth patch in the extended rom and it showed up in the menu of the InstallCabFile program where you choose your operator. when I chose the patch, it installed everything except for any operator settings.
hungdu said:
In Imate PDA2K there's no config.txt. The ExtROM is set up indifferent way. Imate has done that way since ROM 166 for XDAII. The setup.exe do the job
Click to expand...
Click to collapse
So is there any way to modify the setup process?
Looking at the config text file not much different other than the Fax Cab file from the final .187 rom from o2. So looks like there is no real gain in it although would still like to have a play with the cab files if anyone has the external rom on their PC to upload.
Is the PDA2K the same as MDA3? I´m a little bit confused about this name.
If so, how did you unlocked the Ext. Rom? I just can made mine visible, but i can not write to it. The Unlock like on MDA2 does not work here...
Patrick said:
Is the PDA2K the same as MDA3? I´m a little bit confused about this name.
Click to expand...
Click to collapse
Iap, it's the same, both are Blue Angels.
Patrick said:
If so, how did you unlocked the Ext. Rom? I just can made mine visible, but i can not write to it. The Unlock like on MDA2 does not work here...
Click to expand...
Click to collapse
There is another post somewhere with two files, one to unhide the extRom and another one to unlockit.
Thank you!
I found the problem. i didn´t know that i had to use -xda3 as parameter.
Now everything is working fine.
Patrick said:
Thank you!
I found the problem. i didn´t know that i had to use -xda3 as parameter.
Now everything is working fine.
Click to expand...
Click to collapse
patrick, can you kindly explain how do you use -xda3 as a parameter to unlock the blue angel extended ROM?? thanks a million
hi i used the above tool to unhide the ext rom but when i try to unlock it gives an error :
FL_IOCTL_BDTL_HW_PROTECTION - A device attached to the system is not functioning
can anyone please help
i have pda2k imate
thanks
ok it says itsunlocked ..but i cant change anything in it.. how can i do that.. there is alot of crap in there i dont want.. thanks
@guest:
See http://forum.xda-developers.com/vie...ostdays=0&postorder=asc&highlight=unlock+xda3
ok i managed to unlock the rom in my pda2k imate but there is no autoconfig or config file there only autoexec file...
so the thing is i put the cabs in extrom but they dont get installed automatically.. how can i get over this problemo
thanks
Patrick said:
@guest:
See http://forum.xda-developers.com/vie...ostdays=0&postorder=asc&highlight=unlock+xda3
Click to expand...
Click to collapse
hi patrick,
i got resco explorer but how do i go about typing the argument
-unlock -xda3???
thanks for your help
Go to the file you want start. Then in the Contextmenu of the file click "Open with" and there you can enter the parameters.
Replying to the orginal post.
I'm fairly new to playing around with Ext-roms but here is what I have found so far.
Saqibj - It would seem that the models supplied by different Carriers have been created differently.
I've got 2 PDA2Ks. Which have been sourced in 2 different countries from different suppliers.
Both have
Rom version 1.12.22 WWE
Radio version 1.02.00
And seem to be identical hardware wise.
Device 1 has a std Imate config with no carrier customisations.
Device 2 has a modified extrom with preset network connections, splash screens etc.
Device 1 has a config.txt the other doesn't.
Most of the cabs are common to both devices
(I still don't know what half of them do - but I'm learning from other posts on this site).
Both have an Autorun.exe. - but they are different.
I suspect that the one that doesn't have a config.txt, has had the autorun.exe modfied to load the cabs etc - which obviously should prevent alteration/modification.
This could explain why you don't have a config.txt. If you are unhappy with your extrom contents, I think you can download the unmodified ROM contents direct from club-imate. But I've never done this.
Good luck
TomLin:
Thanx for the explanation, Would it be possible for you to post the autorunfile and the config.txt files, I want ro try to replace them on my ext_rom and see if it works that way.
Thanx

Question to Molski/Faria/Others [Rom Edit]

Hi all ,
i would really like to know what tools you are using to edit the Rom,
(a short explanation will be excellent)
I've tried some tools from the furom without luck.
Many Thanks
Jimmy
jimmymotek said:
Hi all ,
i would really like to know what tools you are using to edit the Rom,
(a short explanation will be excellent)
I've tried some tools from the furom without luck.
Many Thanks
Jimmy
Click to expand...
Click to collapse
look for imgfs tools,nb2nbf.exe, and typho5.exe.
it was quite easy creating a Ext. ROM (so i know how to use nb2nbf.exe, and typho5.exe it's imgfs tools that is not working for me.
i would really appriciate help with that.
Thanks again
Jimmy
jimmymotek said:
it was quite easy creating a Ext. ROM (so i know how to use nb2nbf.exe, and typho5.exe it's imgfs tools that is not working for me.
i would really appriciate help with that.
Thanks again
Jimmy
Click to expand...
Click to collapse
what part are you having trouble?
This is what I did :
after extracting the OS with typho5.exe
prepare_imgfs.exe 80040000-OS_0.nb -nosplit
viewimgfs.exe imgfs_raw_data.bin
than I wanted to edit the "dump" directory (I don't know how to put different files in diffrent directories) , any how i've replace few files. and than I run :
BuildImgfs.exe
make_imgfs.exe 80040000-OS_0.nb
than nb2nbf.exe and after all that I "burned" it into the device
(RUU) and than the device stucked.
So what I'm doing worng ?
again
many thanks
Jimmy
jimmymotek said:
This is what I did :
after extracting the OS with typho5.exe
prepare_imgfs.exe 80040000-OS_0.nb -nosplit
viewimgfs.exe imgfs_raw_data.bin
than I wanted to edit the "dump" directory (I don't know how to put different files in diffrent directories) , any how i've replace few files. and than I run :
BuildImgfs.exe
make_imgfs.exe 80040000-OS_0.nb
than nb2nbf.exe and after all that I "burned" it into the device
(RUU) and than the device stucked.
So what I'm doing worng ?
again
many thanks
Jimmy
Click to expand...
Click to collapse
your OS address is most problably wrong. it should be; 80040000
faria said:
your OS address is most problably wrong. it should be; 80040000
Click to expand...
Click to collapse
I know this is the OS address (that's what i was typing),
can you think of anything else ?
how do i know where the file is goona be (in which directory)
how can arrange the startmenu ?
sorry for the "tons" of questions
Jimmy
jimmymotek said:
I know this is the OS address (that's what i was typing),
can you think of anything else ?
how do i know where the file is goona be (in which directory)
how can arrange the startmenu ?
sorry for the "tons" of questions
Jimmy
Click to expand...
Click to collapse
look at the initflashes.dat in the dump.take a good look.,thats how.
faria said:
look at the initflashes.dat in the dump.take a good look.,thats how.
Click to expand...
Click to collapse
Found it...
Still not working , i have made a test on the T-Mobile ROm,
just took the os file , prepareifile -nospilt
than i used delfile t-mobile.tsk
afterward i used make_imgfs.exe
afterward i used nb2nbf , just the os (address 80040000) and than bured it.
and..... No luck still stuked on the Startup LOGO , what am i missing ?
(it's almost driving me nuts)
thanks again
Jimmy
faria said:
look at the initflashes.dat in the dump.take a good look.,thats how.
Click to expand...
Click to collapse
I'm not able to find it out the file "initflashes.dat" in dump folders. Where can I find the file?
It must be in the rom, if you cannot find it type in a command line console in the dump directory "attrib -h -s initflashes.dat", that surely would let you see it. But normally you will see it without doing this.
Molski
jimmymotek said:
Still not working , i have made a test on the T-Mobile ROm,
just took the os file , prepareifile -nospilt
than i used delfile t-mobile.tsk
afterward i used make_imgfs.exe
afterward i used nb2nbf , just the os (address 80040000) and than bured it.
and..... No luck still stuked on the Startup LOGO , what am i missing ?
(it's almost driving me nuts)
thanks again
Jimmy
Click to expand...
Click to collapse
Molski , Do you have any suggestion ?
jimmymotek said:
Molski , Do you have any suggestion ?
Click to expand...
Click to collapse
Extract one of my Roms, replace my OS.nb file with yours and cook it again.
Use ALL files including IPL/SPL so you will have to put 7 files in nb2nbf tool, if you need all the correct addresses, PM me.
Regards,
Molski
is it possible that my problem was that i just tried to "burn" OS and Ext. rom only ?
going to tray it again.
(BTW : is there a number of times i can burn my rom , i think i've done a hundred time)
thanks
still not working , stuck at the logo screen (it does write the spl,Ipl etc)
here are the address i used :
i think the problem is with something else ,
what version of imgfs you using (link ?)
can you write down the list of commands you writing
(i've been dealing with it quite few days with no luck)
I would really appriciate any help....
thanks again
Jimmy
molski said:
It must be in the rom, if you cannot find it type in a command line console in the dump directory "attrib -h -s initflashes.dat", that surely would let you see it. But normally you will see it without doing this.
Molski
Click to expand...
Click to collapse
Thanks molski I'm able to find it...

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

Building Wizard ROMs with mamaich tools

I had posted this to the mamaich's thread. posting here as well since it is wizard specific:
I've been trying to use the tools for building an HTC wizard ROM. Now, before starting out on any modifications, I simply tried to break apart and rebuild it. So, I extracted a ROM using typhoondecode_v5, then followed this:
1. prepare_imgfs.exe OS.nb -nosplit
2. viewimgfs.exe imgfs_raw_data.bin
3. BuildImgfs.exe
But then my imgfs_raw_data.bin is not rebuilt and stays at its original self. The buildimgfs tool does not give me an error, however the last 3 lines of its output reas something like :
total sectors: 0000
used: <some number>
free: <some number>
I searched the forums but couldn't find an answer. Saw a couple of posts having the same prob but no answer. Since I havent done any modifications to the ROM and have tried with both AKU2.3 and AKU 3.3 (and custom ROMs as well as official Qtek ROMs), the ROM that i am using is also not an issue.
Now, since there are so many custom wizard ROMs out there and ppl swear by mamaich's tools so there must be a solution. Please help me out or let me know if there is no way out and I ve to use some other way to make ROMs, i also found bepe's kitchen post but couldn't find how to use it for wizard..
Thanks in advance.
for the wizard, this line:
1. prepare_imgfs.exe OS.nb -nosplit
should be:
prepare_imgfs.exe 80040000-OS.nb –nosplit
see if that helps...
prepare_imgfs.exe 80040000-OS.nb –nosplit
Click to expand...
Click to collapse
I used that one only, and I have no probs with the "prepare" and "view" commands. I correctly get the bin files as well the modules/files are correctly extracted. I have problem with the "build" and "make" commands.
side question. should have thought of this earlier. how do you know its not updating? its been stated that this file will for some reason not change date/time and size.
hopefully that helps.
see this post:
http://forum.xda-developers.com/showpost.php?p=1110892&postcount=13
see this post:
http://forum.xda-developers.com/show...2&postcount=13
Click to expand...
Click to collapse
oopsie I am sure I read that post some time ago when I was collecting all the info for ROM cooking, but somehow forgot abt it when I started. Thnx for reminding
But There's another problem after this. When I run make_imgfs command it gives me some weird characters, however, a couple of posts above the one that you pointed at, there is a comment that I've to give the name of the old file only instead of new one. Will try that tonight when I go home and report back.
Thnx for the help dude
Anyways, another question:
This one is about the "universal id" part (dont remember the name of the app correctly, smthing like genuuid), for which all packages do we have to use this app? I mean if I wanted to add an executable (say a.exe) to the ROM, is it enough to simply add it to the "dump" directory and follow the build/make path or do I have to use the genuuid app path, or is this app used for some special kinda apps?
Thnx in advance. I'm not a newbie by any means in programming, GSM, and programming for GSM etc (I work in a Nokia GSM BTS project ) but am cooking a ROM for the first time.
yupz, worked...I was able to rebuild the rom. (Though the size/date-time stamp of the final 80040000-OS.nb also remains the same as the older one. I take that to be OK like the same thing happening with img_raw_data.bin. Haven't flashed the ROM onto my phone to see...)
Moreover, about the uuidgen program, I found out that it is bepe's way of doing it. We can do it the mamaich way that is simply add the programs that we want to the /dump folder and rebuilding. Correct me if I'm wrong.
Now that I've tested the waters, I'm on to making a custom ROM myself...
Thnx xda-dev...
shantzg001 said:
yupz, worked...I was able to rebuild the rom. (Though the size/date-time stamp of the final 80040000-OS.nb also remains the same as the older one. I take that to be OK like the same thing happening with img_raw_data.bin. Haven't flashed the ROM onto my phone to see...)
Moreover, about the uuidgen program, I found out that it is bepe's way of doing it. We can do it the mamaich way that is simply add the programs that we want to the /dump folder and rebuilding. Correct me if I'm wrong.
Now that I've tested the waters, I'm on to making a custom ROM myself...
Thnx xda-dev...
Click to expand...
Click to collapse
Hi shantzg001
i too am doing similar steps and all gone well ( i.e breaking/rebuilding).
but im surprized why dump dir size is extremaly different in compare to
imgfs_raw_data.bin . I tried some OS.nb and got the size of dumb approx
456kb or 368 kb or some MBs. Also dump dir contains only some modules and
some files.
Am i doing some mistake or u too r getting similar result
reply ASAP
thanx
nandlal
That seems strange, because in my case the dump folder is even bigger than the bin file (more than double the size)..
Can you list out the exact steps that you are following, and which ROM were you breaking apart?

Categories

Resources