Related
Hi,
I searched around some here, but I'm stuck now... I have a Vodafone ROM Update where I want to extract some information/file from. So far I have managed to split it somehow with typhoonnbfdecode.pl, so I have some files that contain the different parts, as .nb files.
Where would I go from here, to get deeper into the image? Inside those files must be the cabs and stuff I think, how can I access them?
Lars
I'm not an expert on editing ROMs, but I also wanted to get the individual files out of a ROM upgrade, and this method worked for me.
I think you're looking for the utilities which were discussed and posted in this thread:
http://forum.xda-developers.com/viewtopic.php?t=34171
I used typhoonnbfdecode_v5 (only the v5 worked for me, not the other versions) then tools from the WM5 ROM Tools. The included tools.txt explains what you need to know, but basically prepare_imgfs.exe converts the nk.nb into imgfs_raw_data.bin, then viewimgfs.exe will dump the imgfs_raw_data.bin into the individual files from the ROM.
maybe I'm doing something wrong here...
typhoonnbfdecode.pl -x nk.nbf
!!! storedcrc=8f39f50f calculatedcrc=9cdb95a0
extracted OS_0
extracted Extension ROM_0
extracted GSM_0
extracted SPL_1
extracted IPL_1
extracted SPL_2
extracted IPL_2
extracted HTC Logo_0
extracted Splash Screen_0
prepare_imgfs.exe 9b000000-Extension.nb
Searching for IMGFS start... Not found!
So typhoonnbfdecode extracts several files from the .nbf file, but prepare_imgfs can't read it...
That's the same problem I was having until I found the typhoonnbfdecode_v5.exe. With the other typhoonnbfdecode versions, it looked like it was extracting the *.nb files, but they seemed to be corrupt.
I don't have the perl file that it was built from, but I found the compiled somewhere through a google search (can't remember if it was on the XDA forums or not). You can download it here http://www.exorzero.com/temp/typhoonnbfdecode_v5.exe
hm, funny... same result with this one...
Hi Guys,
i have a few questions, i hope it's not too newbie..
1. I have succeeded to extract the .nbh file into .nb file,
than i have (i think) extracted the .nb into .bin file with aWaiter.exe.
2. so now i have .bin file & .nb file,
how can i extract the .bin file into raw file? or some other extension.
3. my goal is to extract all the .nbh file into files so i can edit and than compile back.
Please help.
Thanks,
ofer.
hi oferprtz,
how did you extract .nbh to .nb file? hope you don't mind to share. thanks.
cheers,
vibranze
Hi vibranze,
To extract the .nbh into .nb you need to use NBHextract.exe
ex. NBHextract ROM.NBH ROM.NB
br,
oferprtz
oferprtz said:
To extract the .nbh into .nb you need to use NBHextract.exe
ex. NBHextract ROM.NBH ROM.NB
br,
oferprtz
Click to expand...
Click to collapse
thanks oferprtz,
i managed to do the conversion, and using aChef and aWaiter I also managed to dump out to imgfs_raw_data.bin, however I failed on extracting the content of imgfs_raw_data.bin, by either using viewimgfs or fdmsflsh.pl script.
if you are able to extract them out, kindly let me know what's wrong with my step. thanks.
cheers,
vibranze
Hi vibranze,
To extract the .bin file you will need the 'ImgfsToDump.exe'
You can find all these tool at:
http://content.modaco.net/ROM/ImgfsTools2rc2b.zip
ex. c:\htcrom\ImgfsToDump.exe imgfs_raw_data.bin
That will extract all files from the binary file.
br,
ofer.
i would like to make my own Blue Angel rom
but i canĀ“t open the nk.nbf files.
where can i find a tool that open .nbf files ?
does anyone know how to use and splashscreen nbh file i tried using custom kaiser rru or something and it says invalid
and where do i find more splashscreen nbh
read more here
http://forum.xda-developers.com/showthread.php?t=334907
read that. ive already got nbh files ready to put on phone but customruu wont do it
and were can i get more nbh files
jayjay8585 said:
read that. ive already got nbh files ready to put on phone but customruu wont do it
and were can i get more nbh files
Click to expand...
Click to collapse
simple, find a photo, change its size to 240x320 pix save it as bmp file, load that file into nb_image_converter and convert it to a .nb file, open the splash tool and convert the .nb file that you just made into an .nbh, put that .nbh file into a folder with custom ruu. Run custom ruu and it will store the image onto your device as a splash screen.
i cant find how to modify a ROM..
i mean after converting NK.NBF into DUMP folder if i want to remove any application and add another one how to do that?
like i want to add some plugins like arcsoft MMS,office and adictionary into a ROM how to do that..
thanx
well, that is done manually, you need to remove all the files/add the files from the OEM package there (exclude the option.xml and initflashfiles.dat and the dsm's and RGU) just copy the files, then when you goto the next step,or the step where you need to modify the HKLM and HKCU files, just open the OEM's RGU file, cpoy the keys and paste it in the Presented HKCU/HKLM and when you go to the other step, where you are required to edit the initflashfiles.dat, open the OEM's initflashfile in notepad, copy its content and paste it into the Main initflashfiles.dat of the ROM you are extracting, ther, that should do it
Note : make shure you hex edit the initflashfiles.dat and remove the first 2 bytes from the file (something like dd dd) or else your rom wont boot!!
if you dont want to hex edit, you can use my intiflashfiles Builder which is included in my kitchen, http://forum.xda-developers.com/showthread.php?t=378498
Ps. there is a guide too there