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?
i have the same problem, but not with vista, with xp. :-(
helppppppppppppppp
Here, extract nbf with typhoonnbftools.exe (dump as decrypted)
and pack with nb2nbf - read wiki for htc wizard
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.
how can i edit BIN files?any softwares?
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.
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.
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
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 ?
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
jm012a9749 said:
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
Click to expand...
Click to collapse
think you could post it here since the thread is not unlocked yet?
vlodecks last activity was 10 minutes ago
I've PM'd him asking him to unlock the thread, PATIENCE people!
Phil
he's gone offline now
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.
Go ! Go ! Go !!
Unfortunately i couldnt edit my post until you unlocked the thread vlodeck
Phil
Ohh, I see. The forum must've changed something
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 !
Use typhoonnbftool 0.41 (attached), looks like the version you are using is 0.3, which can't read tornado nbf's properly
Phil
I have a no brand htc s710 with 1.15 italian-english UK-english US rom. I'm going to flash with 1.27 ARA rom in the next days. If i will want resume my original rom in the future i think i can flash the one i found on ftp xda site that is just the same of my original rom (1.15 italian-english UK-english US). I downloaded it but it is in .raw and comes with 3 .raw files. What is the tool to flash the raw roms? Can i use the USPL tool or there's the need to convert it in .exe??
no one can help me??
You have to extract the raw! Look in the wiki on how to dump the ROM. There you will find this line:
E:\Documents\itsutils>pdocread -w -d DSK1: -p Part02 0 0x3567000 Part02.raw
It extracts the raw from the ROM into a folder, you just have to adjust it to the location of your *.raw files! But I don't know how you get the 0x3567000, because that was a different number for my ROM, so I don't know if it is the same for your file! Then you get one folder with all files and you can sort it with pkgtools. Look in the Wiki http://wiki.xda-developers.com/index.php?pagename=Vox_HowToDumpRom
ok..thank you! So after running pkgtools i'll get the SYS and OEM folders but, ok, but...how can i flash this extracted rom to my phone??
I have never done it, but it should work. But you should ask Dr Martin Gonzo.
Get the kitchen and replace the SYS and OEM folder and build a ROM. But first ask in the kitchen thread!
ok thank you very much! But i'm surprised that people who flashed his vox didn't face this problem yet. Don't you feel the need to be able to restore the original htc rom, one day, just in case, to benefit the htc support?
Is it possible to convert .nbh to nk.nbf to be able to flash this rom on a prophet?
It depends on where the nbh is from. To do it, you'll have to dump it into SYS/OEM (I'd use a hypercore related tool for this) and then rebuild it into an OS.nb before converting it to nk.nbf for flashing.
Its HTC ELF original Rom...where can i find all tools?
thanks dude
In the prophet WM6 forum, there is a link to HyperCore kitchen.
I'm not sure if the ROM will work straight away on a Prophet, as they have different hardware...
edit: to dump the ROM you will need to use the attached files. Put the *.nbh in the same directory as the two files and then run the batch file.
thanks man,am gonna work on it right now
hey guy .. when i use the nbh extract .. there write could not open the nbh file ..
how ?? can you all please help me ??
How to disassemble the nk.nbf file ?
Comment désassembler le fichier nk.nbf
You need to dump the file
Use typhoonnbftool v0.41 to dump the various sections to decrypted .nb files.
Phil
Hello Phil,
I've sent you a PM regarding PMSN. Hope you recieved it. Is there a way to know what are all the original files that belong to a program? I've dump'd "Tor_TMOUS_10140_191916_10900_SHIP" trying to extract PMSN, I found some of the file, I'm sure not all, but then, I couldn't find any "_setup.xml" files, so, how to create one or is it in a diff place?
jm012a9749 said:
Use typhoonnbftool v0.41 to dump the various sections to decrypted .nb files.
Phil
Click to expand...
Click to collapse
hi people,
i dumped my phones rom with pdocread. gave me 4 files:
part00.raw
part01.raw
part02.raw
part03.raw
now... i still have a few questions i didnt quite find an answer to:
1. whats included in those .raw files?
2. the flash.bin and .mbn files make up a .dz file?
3. it's possible to extract and compile them from/into a .dz file?
4. where is the connection between .raw and .dz files?
5. what is the flash.bin?
6. wheres the operating system?
7. is there a way to restore your phones rom (raw files) in order to put it back to its original state (where you dumped it at)?
is there a faq on the ks20's file system?
many questions, i know... gave me headaches too. but maybe someone is willing to give answers??
for the record, we don't deal with non-HTC devices.. hope you get your answer
1. whats included in those .raw files?
- part 0 : uldr
- part 1 : xip
- part 2 : imgfs (=sys+oem)
- part 3 : user partition
2. the flash.bin and .mbn files make up a .dz file?
Yep.
3. it's possible to extract and compile them from/into a .dz file?
MisterJp and CopsFrance made tools to extract a dz file.
4. where is the connection between .raw and .dz files?
part0.raw + part1.raw + part2.raw = flash.bin
*.mbn + flash.bin = rom.dz
5. what is the flash.bin?
see above.
6. wheres the operating system?
Os = Xip + Imgfs
7. is there a way to restore your phones rom (raw files) in order to put it back to its original state (where you dumped it at)?
Not exactly as dump files don't contain mbn parts of the dz (mbn files contain bootloader + radio + a few other parts.).
But if you understood correctly with your raws you can make up a new flash.bin. If you use mbn files from an extracted dz rom, you'll have a rom very similar to your original one (except that radio part won't be necessary the same).
Have a look in Upgrading part of the forum (in my signature too), I made a Kitchen and a Rom for Ks20.
wow. that's an answers i was looking for. someone knows his stuff. thanks alot.