PDA

View Full Version : Any way to convert NBF to Bin?


Lemark
28th May 2007, 02:02 AM
I have ROM files in NBF format. I want to convert it to BIN format in order to edit it. I tried using some tools (prepare_imgfs.bat and NBFtools) method with no success. Can anyone tell me how to do it?
However I'm using Vista. Maybe Vista won't allow to convert it?

drasterlx
29th May 2007, 07:50 AM
i have the same problem, but not with vista, with xp. :-(

helppppppppppppppp

sp3dev
29th May 2007, 11:59 AM
Here, extract nbf with typhoonnbftools.exe (dump as decrypted)
and pack with nb2nbf - read wiki for htc wizard

Lemark
31st May 2007, 07:19 AM
I've been able to convert the NBF to BIN using prepare_imgfs command after reinstalling Vista. Now no matter how hard I try the viewimgfs command can't dump the BIN file. Maybe the possibility of cooking a ROM in Vista is minimum. :(

da_mayhem
31st May 2007, 05:37 PM
how can i edit BIN files?any softwares?

bogy16
2nd June 2007, 01:25 PM
editing .nbf can be done(contact chinese, they made iphone and vista rom), ive tried the metods mentioned before,but did not work for me. the problem is if u make an unstable rom who can stop in upgrading utility you can get not a custom mobile rom, but a custom brick.

ccl13
16th July 2007, 10:57 AM
WOW, I thought we've got all those cool tools from you guys.

It's simple, just with a bunch of tools you can do a lot with your nbf. The pack is too big I don't think I can have it upload, but I have file names you can google.:)
rem If your nbf is only an OS rom, just rename it to have your nbf converted to nb:) Because nbf is made up of bin(sometimes known as .nb), and a OS only nbf is simply a bin file.
rem to have your os.nb splitted.
tttt\prepare_imgfs.exe os.nb -nosplit
rem extract files to dump\
tttt\viewimgfs imgfs_raw_data.bin

rem extract regisrty to edible rgu files
set _FLATRELEASEDIR=.
tttt\rgucomp.exe -o dump\default.hv -nologo > default.rgu
tttt\rgucomp.exe -o dump\user.hv -nologo > user.rgu
pause

rem below is a batch file I've to have my registy packed to hv files.
rem rgucomp.exe only convert a boot.rgu to default.hv, so you have to rename your rgu first. don't forget -b parameters
set _FLATRELEASEDIR=.

del boot.hv

ren .\default.rgu boot.rgu
tools\rgucomp.exe -b
copy boot.hv default.hv /y
ren .\boot.rgu default.rgu

ren .\user.rgu boot.rgu
tools\rgucomp.exe -b
copy boot.hv user.hv /y
ren .\boot.rgu user.rgu

del boot.hv

Pause

rem pack your dump\ to nb. If your ROM over sized the program buildimgfs.exe will crash.
tttt\buildimgfs.exe
tttt\make_imgfs.exe os.nb -nosplit

OK that's it. I only do these with my Typhoon so I don't have to convert my os.nb to nbf for RUU. But i guess you can get enough help with google. All those .exe tools mentioned above can be found through google, too. I've tried. Just search and download.

My English is not so good, please read with imagination, sorry for any inconvenience.:p

jm012a9749
16th July 2007, 06:27 PM
Ok heres the simple way.

nk.nbf -> OS.nb using typhoonnbftool (right click the OS section and dump decrypted, however under the file type, you must select 'All files' and call the file your about to dump OS.nb)

imgfsfromnb OS.nb imgfs.bin
imgfstodump imgfs.bin

Your OS has now been dumped to the 'dump floder'. Edit as you like, then recontruct using the following:

imgfsfromdump imgfs.bin imgfs.new.bin
imgfstonb imgfs.new.bin OS.nb OS.new.nb

then use nb2nbf to compile OS.new.nb back into an nbf

Easy enough ;)

Phil

anandoc
16th July 2007, 06:38 PM
Thanks Phil ! I was pulling my hair all weekend trying to figure out how to convert nbf->nb and come monday, you answer the question. Great ! Thanks much !

PS: How much more do we have to wait for Crossbow alpha ?

jm012a9749
16th July 2007, 06:52 PM
It's all uploaded and ready to go on my private FTP (no waiting times or download limits ;)) so as soon as vlodeck unlocks the thread, i'll be posting it ;)

Phil

bogdi1988
16th July 2007, 07:00 PM
It's all uploaded and ready to go on my private FTP (no waiting times or download limits ;)) so as soon as vlodeck unlocks the thread, i'll be posting it ;)

Phil

think you could post it here since the thread is not unlocked yet?

ducamie
16th July 2007, 07:01 PM
vlodecks last activity was 10 minutes ago

jm012a9749
16th July 2007, 07:03 PM
I've PM'd him asking him to unlock the thread, PATIENCE people! :P

Phil

ducamie
16th July 2007, 07:06 PM
he's gone offline now :(

vlodeck
16th July 2007, 07:08 PM
Ok, I'm back now but i dont see any link in the first post?

EDIT: I just wanted Phil to edit the first post in order to provide the link, I get it know. Thread reopened.

anandoc
16th July 2007, 07:14 PM
Go ! Go ! Go !!

jm012a9749
16th July 2007, 07:23 PM
Unfortunately i couldnt edit my post until you unlocked the thread vlodeck ;)

Phil

vlodeck
16th July 2007, 07:34 PM
Ohh, I see. The forum must've changed something :)

anandoc
17th July 2007, 01:40 AM
Ok, today is my official "I am dumb" day. I just got home and tried to load up the Imate SP5m AKU2 ROM nbf in typhoonnbftool and tried to decode it to a nb file. I do not see any area where I can 'right click on the OS and select dump selected'. I do recall that I saw it sometime on saturday night....just that I dont remember now. Can you please guide me a bit with this ? Thanks much !

jm012a9749
17th July 2007, 11:21 AM
Use typhoonnbftool 0.41 (attached), looks like the version you are using is 0.3, which can't read tornado nbf's properly ;)

Phil

SHiSH
17th July 2007, 12:55 PM
when i start imgfstodump imgfs.bin
recmod.exe crashed =\

anandoc
17th July 2007, 02:00 PM
Thanks much Phil ! Everything seems to be ok for now !

jm012a9749
17th July 2007, 02:27 PM
@SHiSH - that's nothing to worry about, the ROM will still dump ok

@anandoc - Your welcome :D

Phil