FORUMS

Android 5.1 for the Nvidia Shield Tablet is Out!

Nvidia is quite good at delivering updates in a timely fashion. The producer of famous … more

Other than XDA (of Course), What’s Your Favorite Site That Covers Android?

There is a number of other great sites that cover … more

Introducing Voices of XDA: Have Your Ideas Heard

By far the greatest assets we have at XDA-Developers are you, the developers, the eager … more

Unofficial Xposed For Lollipop Touchwiz With Flashable Zip

XDA Recognized Developer arter97 has released an unofficial build … more
Post Reply Subscribe to Thread Email Thread

NBHextract: Extract contents from NBH files

14th January 2007, 06:40 AM |#1  
pof's Avatar
OP Retired Moderator
Barcelona
Thanks Meter: 66
 
Donate to Me
More
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.
Attached Files
File Type: zip NBHextract.zip - [Click for QR Code] (33.2 KB, 82725 views)
Last edited by DaveShaw; 6th August 2011 at 12:15 AM.
The Following 7 Users Say Thank You to pof For This Useful Post: [ View ]
 
 
14th January 2007, 05:20 PM |#2  
Asukal's Avatar
Senior Member
Flag China/Vietnam--But Japanese
Thanks Meter: 3
 
More
this is great tool we have been waiting!
Thanks this great tool!
Last edited by pof; 15th January 2007 at 01:55 AM. Reason: removed big quote text
15th January 2007, 02:29 AM |#3  
URPREY's Avatar
Senior Member
Flag Louisville, KY
Thanks Meter: 99
 
More
Excellent tool! Thanks for everything you do here pof!
15th January 2007, 06:02 AM |#4  
pof's Avatar
OP Retired Moderator
Barcelona
Thanks Meter: 66
 
Donate to Me
More
Thanks must be given to TheBlasphemer and itsme, they did the hard part, i just joined the pieces
17th January 2007, 07:16 AM |#5  
Zgembo's Avatar
Senior Member
Thanks Meter: 8
 
More
Quote:
Originally Posted by pof

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?
18th January 2007, 08:57 AM |#6  
pof's Avatar
OP Retired Moderator
Barcelona
Thanks Meter: 66
 
Donate to Me
More
Zgembo: sorry, no at the moment.
3rd February 2007, 06:07 PM |#7  
Lt.Cmdr.Ivan's Avatar
Retired Recognized Developer
Thanks Meter: 0
 
More
Excellent work

pof
TheBlasphemer
itsme

for providing this decompression tool.
Its making the work with rom stuff from the newer devices much easier
5th February 2007, 10:52 AM |#8  
Senior Member
Thanks Meter: 2
 
More
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.
5th February 2007, 11:46 AM |#9  
pello's Avatar
Member
Flag Hamburg
Thanks Meter: 0
 
More
i dont get a error message
5th February 2007, 02:53 PM |#10  
Senior Member
Thanks Meter: 2
 
More
Thx pello for reminding me. Everything run smoothly after I download the rom again.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes