NBHextract: Extract contents from NBH files

Search This thread

pof

Retired Moderator
Mar 18, 2005
3,571
74
43
Barcelona
pof.eslack.org
Here is a tool to extract contents from NBH files, it is valid for all new devices using NBH format for ROM upgrades (Hermes, Trinity, Artemis, Herald, Excalibur, etc...).

It will extract all separate ROM parts contained in NBH file, and convert splash screens to BMP format. When run with '-v' parameter it also shows the signature for each block.

For more information on NBH format see NBH wiki page.

Example usage:

Code:
C:\> NBHextract.exe hermimg_HTCWWE_1.35.255.2_Ship.nbh
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts

Device:   HERM200
CID:      QTEK_001
Version:  1.35.255.2
Language: WWE
Extracting: 00_IPL.nb
Extracting: 01_SPL.nb
Extracting: 02_GSM.nb
Extracting: 03_MainSplash.nb
Encoding: 03_MainSplash.bmp
Extracting: 04_SubSplash.nb
Encoding: 04_SubSplash.bmp
Extracting: 05_ExtROM.nb
Extracting: 06_OS.nb
C:\>

EDIT: Removed dependency of C++ run time libraries, if you where getting an error try downloading the file again.
 

Attachments

  • NBHextract.zip
    33.2 KB · Views: 85,298
Last edited by a moderator:

Zgembo

Senior Member
Dec 1, 2006
316
10
Here is a tool to extract contents from NBH files, it is valid for all new devices using NBH format for ROM upgrades (Hermes, Trinity, Artemis, Herald, Excalibur, etc...).

It will extract all separate ROM parts contained in NBH file, and convert splash screens to BMP format. When run with '-v' parameter it also shows the signature for each block.

For more information on NBH format see NBH wiki page.
...

EDIT: Removed dependency of C++ run time libraries, if you where getting an error try downloading the file again.
pof, is there any source code available?
 

Lt.Cmdr.Ivan

Retired Recognized Developer
Feb 6, 2006
455
2
Excellent work

pof
TheBlasphemer
itsme

for providing this decompression tool.
Its making the work with rom stuff from the newer devices much easier
 

ahlok_hk

Senior Member
Jan 6, 2006
292
114
Using NBHextract with the Hermes AKU3 swedish ROM, and the log shows some error as follow:

Code:
C:\>NBHextract.exe RUU_signed.nbh
=== NBHextract v1.0
=== Extract contents from HTC NBH files
=== (c)2007 xda-developers.com
=== by: pof & TheBlasphemer based on itsme perl scripts

Error in block 308 (01340000 - 57ED698B)
Device:   HERM200
CID:      QTEK_G09
Version:  2.05.263.1
Language: SVE
Extracting: 00_IPL.nb
Extracting: 01_SPL.nb
Extracting: 02_MainSplash.nb
Encoding: 02_MainSplash.bmp
Extracting: 03_SubSplash.nb
Encoding: 03_SubSplash.bmp
Extracting: 04_ExtROM.nb
Extracting: 05_GSM.nb
Extracting: 06_OS.nb

C:\>

Is it normal? Thanks.
 

Lt.Cmdr.Ivan

Retired Recognized Developer
Feb 6, 2006
455
2
the os.nb file is equal to the nk.fat or nk.nba file and can be extracted with the according tools to extract that type of files
 

CWKJ

Senior Member
Jul 9, 2006
899
12
Singapore
NBHExtract.exe generate 06_OS.nb of WM5 is ok.

NBHExtract.exze generate 06_OS.nb of WM6 as 06_Unknown.nb.

Is this a problem?

Strangely, by rename 06_Unknown.nb as 06_OS.nb, the extraction tools still work and it extract the files of the OS but with many empty header.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    Here is a tool to extract contents from NBH files, it is valid for all new devices using NBH format for ROM upgrades (Hermes, Trinity, Artemis, Herald, Excalibur, etc...).

    It will extract all separate ROM parts contained in NBH file, and convert splash screens to BMP format. When run with '-v' parameter it also shows the signature for each block.

    For more information on NBH format see NBH wiki page.

    Example usage:

    Code:
    C:\> NBHextract.exe hermimg_HTCWWE_1.35.255.2_Ship.nbh
    === NBHextract v1.0
    === Extract contents from HTC NBH files
    === (c)2007 xda-developers.com
    === by: pof & TheBlasphemer based on itsme perl scripts
    
    Device:   HERM200
    CID:      QTEK_001
    Version:  1.35.255.2
    Language: WWE
    Extracting: 00_IPL.nb
    Extracting: 01_SPL.nb
    Extracting: 02_GSM.nb
    Extracting: 03_MainSplash.nb
    Encoding: 03_MainSplash.bmp
    Extracting: 04_SubSplash.nb
    Encoding: 04_SubSplash.bmp
    Extracting: 05_ExtROM.nb
    Extracting: 06_OS.nb
    C:\>

    EDIT: Removed dependency of C++ run time libraries, if you where getting an error try downloading the file again.