How to extract WM5 .nbf? - 8125, K-JAM, P4300, MDA Vario General

Anyone know how I can extract .nbf files? I need to see what is in this nbf file. Refer to this thread if you are curious
http://forum.xda-developers.com/viewtopic.php?p=250201#250201

Use the tools made by Buzz on this page:
http://buzzdev.net/index.php?option=com_content&task=view&id=65&Itemid=1
To see the contents of the nbf (converted to nba using the above method) file, you need to use these tools:
http://wiki.xda-developers.com/index.php?pagename=WM5EditROM
Its rather simple and hardly takes about 5 minutes for the whole thing
Cheers!

Thanx for the fast response. I gave it a go and it dosent seam to work. I get the .nba from the .nbf then when trying to
"prepare_imgfs.exe nk.nba"
I get this
"Searching for IMGFS start... Not found!"
I think that the .nbf is password protected. If anyone more gifted than me can help out with this one I know we will find a way to change the splash screen on all the newer (2.17 an so forth) ROMS.
Thanx again; Lew

then how do you extract NBF file from 8125 instead of NBA file ? Is there a way to do this ?

I would like input on this as well. I think we are missing a password here or something.

universaldoc said:
Use the tools made by Buzz on this page:
http://buzzdev.net/index.php?option=com_content&task=view&id=65&Itemid=1
Click to expand...
Click to collapse
I don't believe this works with (newer?) wizard nbf's.

Is there anyone here that could crack this would be "encryption" on the .nbf in question? I tried encoding my splash backup from aWizard using the project file from the "decoded" nk.nbf from "ruu_forcedalias_splash_245_425.exe" and it was a no go. It said that my storage was the wrong size for this ROM update (or something to the effect of NO). So it looks as if this nk.nbf from "ruu_forcedalias_splash_245_425.exe" is the key to unlocking the ability to change splash screens to custom images.
Later; Lew

u can try the tools in the attachment to extract files from image file.
the typho2 can extract parts from a SD card image, and the typhoonnbftool_04 can extract parts from a NBF file. they work well while do with the 1.x ROM, but I've never experienced it in extracting a 2.x ROM.
any exciting info, pls let me know,

Ok, good news, thanx to BrightMoonHeart I have been able to extract the BMP from the NBF using "typhoonnbftool_04.exe". The bad news is so far I can't seem to add an image (bmp) to the nbf or remove the current image. So this was a great step forward, just need a little help to get r done. I tried "typho2.exe" but I couldn't get it to do anything except give me the same info "typhoonnbftool_04.exe", It says it can extract the ".NBF" to an ".SPL" and that may allow us to edit it but I was not able to get it to convert. Any ideas guys? Always appreciated
Thanx; Lew

Ok I'm even closer now. I am using "typhoonnbfdecode.pl" and I can extract the ".nb" from the ".nbf". I can create custom splash using "nb_image_converter_859_418_826.exe" and make a ".nb" but when trying to put it back to ".nbf" i get this error
Code:
read 00030000 for splash from 92000000-Splash.nb
no sm signature at 0 in Splash
If anyone can help me out with any of this I would really appreciate it. I keep getting held up with all these conversions. I think some out there must know how to do this already, and I'm close but I keep hitting road blocks.
my head hurts; Lew

Related

PPC 2003 and mkrom

Any brave soul try using mkrom in conjucntion with the 2003 ROM? I think I might give it a shot here in a bit but wanted to know if anybody had tried it yet...
I've managed to build a 2003 ROM. It's extremely tricky though. I'm working on customizing a ROM similar to the XDA Developers SER - as soon as I get some free time
I'd like to acknowledge all the help given to me by Developer Itsme in this endeavor.
Let me know any suggestions you may have for the new ROM.
sheran_g,
i didn't know u could use mkrom with 2003 rom image. can u please post how u did it? i created a special version based on SE 1.1 rom but would like to put the same programs into the new rom. any help is appreciated.
thanks
alex
sheran_g said:
I've managed to build a 2003 ROM. It's extremely tricky though. I'm working on customizing a ROM similar to the XDA Developers SER - as soon as I get some free time
I'd like to acknowledge all the help given to me by Developer Itsme in this endeavor.
Let me know any suggestions you may have for the new ROM.
Click to expand...
Click to collapse
What's tricky about it...?
The modified registry file you make does not get picked up at the device startup. You need to manually inject the memory address of the modified registry file into the ROM in order for it to get picked up.
my latest romtools can be found at romtools
now it calls dumprom to find and fix the filedata offsets.
I think they should now build 2003 roms.
sheran_g,
can u post the steps that u take to buid it? i'm trying right now and its not working. i'm having little problems. can u post ur default.reg and initobj.txt? any other help is apreciated.
thanks
alex
Ok. Here they are in a nutshell:
Get the latest romtools.
Make the following dirs: romfiles, cfg, tmp, out, files, files1, files2
Split the ROM into Bootloader, bootimage, OS image, xipchain into the 'cfg' dir.
Dump the files in the OS image into a 'romfiles' dir.
Get the default registry file, initobj & initdb files into your 'cfg' dir.
Make changes to your default.reg and initobj.txt
Place any files you want loaded in the ROM into the 'files' dir.
Run 'mkrom.sh'
You should then have your new ROM. I'm sorry if it's extremely brief; you'll have to make do with this and the README file in the romtools archive file for now. You'll find my default.reg and initobj.txt files on my site: www.zensay.com/qtek/mkrom
sheran_g,
Have you created a decent working custom WM2003 ROM?
If so what Apps have you added?
How much ROM space does it use?
I've not added any apps to my ROM. I have only added a carrier logo file and made some changes to the registry. So I cannot comment on ROM space yet. The ROM works fine.
sheran_g,
what command did u use to extract rom files? did u do it under windows or unix?
I'm having problems trying to dump the rom image. I don't know if its too much to ask, but can u zip ur directory and post it somewhere so i can download it? or if u can post commands that u ran to dump the 2003 rom?
thanks
alex
Hi,
could you include "O2 home zune" to the 2003 image, like in the 2002 3.19 GER. Its for Germany interested only!
AR :?:
home zone depends on specific 3.19 rilgsm features. which are not in 4.*
okay, used dumprom -4 -d files -q nk.nbf and extracted all files. Got could not find pointer for ofs 00000000 ERROR but all the files seem to be there. Trying to figure this out. Saw the above abreviated directions but am fumbling around. Anyone have concise directions?
Val
Anyone? Just give me a good hint then please.
Hi all!
When i overwrite the rilgsm.dll file in the t-mobile 4.0.10 image with the rilgsm.dll from the O2 GER 3.19 image, i could use the "O2 home zone" option with the hz.exe in Starup directory? rilgsm.dll from german image hes 'at+creg=2' string in it. probably the RIL_GetCellTowerInfo call is now implemented. When it can work, how could i write the german rilgsm.dll to the image? I haven't linux, could somebody cook the image for me?
here is the germen rilgsm.dll and the hz.exe for the "home zone" funktion! http://www.nokiaprog.de/XDA/home_zone.zip
THX
PS: Sorry, my english! ;-)
AR
the homezone enabled rilgsm.dll depends on other dll's and exe's.
probably ril.dll, stk.exe, cell*.dll and maybe more, I have not tried
replacing all.
you don't need to build a new rom in order to experiment with this, you
can just copy the desired files to \windows, to override the rom versions.
And I don't think it works with the RIL_GetCellTowerInfo call,
but adds some notification events.
to change the CREG setting you need to call RIL_DevSpecific with parameter 25 ( to turn it on ) or 26 ( to turn it off )
even though that does not seem to be how hz.exe does it.
Hi,
I opened the image file in the Hex editor and renamed the file there rilgsm.dll. Then I flashed the image, which was phone probably deactivated, because rilgsm.dll was missing. Then I copied over ActiveSync the German rilgsm.dll into the Windows directory, XDA reset and he not accept the file. I assume because the file was not in the EPROM memory! Therefore I wanted to have rilgsm.dll first times in the image!
AR
XDA developer Itsme said:
my latest romtools can be found at romtools
now it calls dumprom to find and fix the filedata offsets.
I think they should now build 2003 roms.
Click to expand...
Click to collapse
Is there any other way i can access this site or I can download this files, the sites are block here in my country, Please Help
Ronnie

mkrom hangs on welcome screen

I just make the special edition ROM trhought mkrom and I obtain the.nb1 file, but when I flash my xd and make the cold reset, it hangs on the welcome screen, it print the 3 lines in red in the right bottom and after that ..... Nothing....... sniff
Anyone could help me????
I used the .nbf file that comes with the program A of O2.
Thks
that means that the windows kernel, and gsm have initialized.
the system should then proceed to execute the stuff mentioned in registry key HKEY_LOCAL_MACHINE\init.
maybe something went wrong with default.fdf?
I use the default.fdf that comes with the mkrom.zip, I just extract it and copy the nk.nbf file and proceed, I didn´t modify anything.
thks
I try to make another ROM with diferent Default.fdf but it hangs too.
it could be the NK.nbf file???
can you tell me where is a link fot one NK.nbf valid?
I´m going crazy :shock: jeje
thanks
if you use a different source rom, you need to change your default.fdf to
the one from that rom.
thanks for your patience,
I extract the default.fdf from the NK.nbf with dumprom.exe.
and then I use the fdf2reg.pl to create the default.reg and I put this file in the cfg directory, and after that I execute mkrom (sh mkrom.sh NK.nbf)
is that correct???
thanks
I think that the nbf file that I´m using is not a correct verion.
I tried to make a nbf file form jeff´s page but it doesn´t work with the nbf selection.
Do you know where can I find a nbf file that works with mkrom???

nbf file

Okay, I've spent 2 hours trying to obtain this information and am almost giving up.
Where do I obtain my nbf file? I want to change my splash screen but this is proving to be the most obscenely complicated thing I've ever done.
Could anyone post thier T-mobile 2.26 nbf file for me?
search in the Upgrading etc. forum for Wizard, "Cooked Custom Rom How to"
I found that thread and it alreeady assumes you know how to obtain and nbf file. One person gave a link on the ftp for a ROM dump utility and the ftp says that it doesn't allow anonomous logins. I included my user name and password but it wouldn't accept it. Why is this so complicated?
Could someone please tell me how to obtain this file? It's making me crazy. :evil:
Rename the RUU exe file to a rar file and open it, the nk.nbf file is there.Or just run the RUU (but don't click anything) and search your pc for nk.nbf and copy it to a safe location then cancel the Updater.
Thank you so much. In this forum, I read that I was supposed to change it to a zip, which didn't work, this did though.
I would suggest you move any questions regarding this to the Upgrading Forum. That's where you'll get more assistance.

I need the OEM Boot screen/how to change it

Hey
I just got my hermes. beatiful phone. I just upgraded from the 8125, i can't even look at it anymore (my old brick).
Anyway, i unlocked it yesterday and upgarded to wm6. I liked the default 3G (wit the flame) boot screen better than the "Bring Back the ROM page" (allthough that was funny).
I want to know,
1. can someone send the origional CINGULAR 3G(FLAME)=*=*=*=> boot screen?
2. After performing a few searches, i coudln't find out how to change the boot screen. Does anyone know how?
imasri29 said:
Hey
I just got my hermes. beatiful phone. I just upgraded from the 8125, i can't even look at it anymore (my old brick).
Anyway, i unlocked it yesterday and upgarded to wm6. I liked the default 3G (wit the flame) boot screen better than the "Bring Back the ROM page" (allthough that was funny).
I want to know,
1. can someone send the origional CINGULAR 3G(FLAME)=*=*=*=> boot screen?
2. After performing a few searches, i coudln't find out how to change the boot screen. Does anyone know how?
Click to expand...
Click to collapse
You cant have searched very well dude
Easy Splashscreen Guide
Sorry I used the wrong keywords, splash screen did not come to mind, I kept using boot screen, boot image, boot*
Any leads to the OEM screen?
imasri29 said:
Sorry I used the wrong keywords, splash screen did not come to mind, I kept using boot screen, boot image, boot*
Any leads to the OEM screen?
Click to expand...
Click to collapse
You can extract them from a commercial rom using NBHextract.exe
perfect ill try it when I get home. im on my mobile right now.
I could not find the nhbextract.exe, but i did open nbhtool.exe...
I have the default rom which i downloaded off HTC.com... how do i extract the nbh file from the exe? i tried to run the setup to see if it would extract files in any temp folder but i could not find it.
Help anyone?
heres the link to nbh extract
open the ROM exe file using WinRAR and get the nbh file.
Run: nbhextract.exe NAMEOFNBHFILE.NBH
and the file will be extracted (nbhextract.exe and the nbh file must be in the same folder)
mrvanx said:
heres the link to nbh extract
open the ROM exe file using WinRAR and get the nbh file.
Run: nbhextract.exe NAMEOFNBHFILE.NBH
and the file will be extracted (nbhextract.exe and the nbh file must be in the same folder)
Click to expand...
Click to collapse
It is possible to use Dutty's good NBH tool for extracting NBs from NBH. I think it is more n00b friendly way as they can use point and click method and thay are not bound to have NBH in the same folder.
KarhU said:
It is possible to use Dutty's good NBH tool for extracting NBs from NBH. I think it is more n00b friendly way as they can use point and click method and thay are not bound to have NBH in the same folder.
Click to expand...
Click to collapse
nbhextract will convert the .nb files directly to bmp in the same process. Duttys tool just extracts the nb files.
Thanks for the help.
Unfortunately, the rom i downloaded from htc, has a .nbf file instead of a .nbh file (which is 73.xx megs). When i use the extractor, i get error :
Error: 'nk.nbf' is not a valid .nbh file
Could not open 'tempfile.dbh'
I also tried to change the extension of the nbf file to nbh but that did not help either as i got the same error. I'm downloading the rom from http://www.america.htc.com/support/docs/ruu_hermes_1.34.502.1_1.16.00.00_wwe_cws_ship.exe
bump .....

[Q] Tips on building images for the WM 6.5 emulator

I did some searching because i need a sense rom for the WM emulator to help me test a program i'm working on and i came up with nothing. So i figured it would be a good idea to try and cook one but i need some tips coz i've only ever cooked one rom before and it didn't really go well.
So thoughts and suggestions below please. I'm looking for kitchen suggestions etc.
Thanks guys.
try this: http://forum.xda-developers.com/showthread.php?t=774430 I find it easy to create a self customized rom.
poyensa said:
try this: http://forum.xda-developers.com/showthread.php?t=774430 I find it easy to create a self customized rom.
Click to expand...
Click to collapse
Cool, thanks, but i don't see how i'm gonna make this compatible with the emulator in the windows mobile SDK? have you got any more pointers on how to do that?
My kitchen is designed to allow you to build the rom the way you want it. It then outputs the rom as a .nbh file that allows you to flash to the phone. Your emulator sounds interesting.
You may be able to use the .nbh file and then read that into your emulator.
GhostXSeries said:
My kitchen is designed to allow you to build the rom the way you want it. It then outputs the rom as a .nbh file that allows you to flash to the phone. Your emulator sounds interesting.
You may be able to use the .nbh file and then read that into your emulator.
Click to expand...
Click to collapse
Nope, can't do that. i tried it with a copy of NRGZ28's energy rom. It has to be a .bin or .nb0 file.
Now i did some reading while i was writing this and it turns out a .nb0 file is the same as the old school .nb rom dump files i just need to figure out how to convert an nbh to a nb0 file
Thoughts?
*edit*
found a tool called nbhtool by dutty that should do it
*edit 2*
dutty's tool didn't do it but i did find this tool by Da_G. The problem is i still get invalid image errors from the sdk emulator. I have searched but not found any answers so i'm a little lost.
Any ideas, guys?
Hi,
Can you post here an nb0 that works on the emulator?
we can try to import on our kitchens and check if we can rebuild it with sense.
If we can make it works, we can save a lot of time of 'flashing' when testing changes.
ypsmav said:
Hi,
Can you post here an nb0 that works on the emulator?
we can try to import on our kitchens and check if we can rebuild it with sense.
If we can make it works, we can save a lot of time of 'flashing' when testing changes.
Click to expand...
Click to collapse
The files in the emulator are actually .bin files but i gather that internally they are the same format. They are also 96mb in size so it's gonna take a while to upload to hotfile. I'll post back when i have a link for you.
Thanks for all the effort btw. I really do appreciated it.
link as promise: http://hotfile.com/dl/129295626/a4324d3/PPC_USA_GSM_WVGA_VR.BIN.html
M3PH, OsBuilder makes rom either in nbh, or in nb0 format. It's a professional tool - not just a "kitchen to cook".
HTCRIE (htc rom image editor) can extract the OS.nb from a .NBH file..
can you just rename the .nb to .nb0 if they are the same?
Ok i've got osbuilder. Had a quick read of the manual. Now what? do i need the sys/xip for a build? i am a complete noob at this so lots of help would be appreciated.
I've just tried to open an emulator image from the windows mobile 6 sdk with HTCRIE and got an invalid file format error. This is starting to become extremely frustrating. Especially as i can find any information on the actual format of the emulator bin files.
Did any of you guys get any luck with the file i provided? Coz i'm really stuck!

Categories

Resources