Android App Review: Google Inbox to Improve Your Life – XDA TV

Recently, Google+ exploded with the announcement of Google Inbox, as … more

Damp the LG G3 Thermal Throttling

As our mobile devices grow thinner and more powerfulwith each passing generation, it’s inevitable … more

Google Play Developer Distribution Agreement Due Tomorrow

Every once in a while, Google updates theGoogle PlayDeveloper Distribution … more

LG to Release Octa-Core “Nuclun” SoC in the LG G3 Screen

LG is set to follow the likes of Samsung and other manufacture its own … more
Post Reply

NBHextract: Extract contents from NBH files

OP pof

14th January 2007, 06:40 AM   |  #1  
pof's Avatar
OP Retired Moderator
Barcelona
Thanks Meter: 65
 
3,571 posts
Join Date:Joined: Mar 2005
Donate to Me
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, 81924 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
 
691 posts
Join Date:Joined: Nov 2003
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: 98
 
1,010 posts
Join Date:Joined: Oct 2005
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: 65
 
3,571 posts
Join Date:Joined: Mar 2005
Donate to Me
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: 7
 
313 posts
Join Date:Joined: Dec 2006
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: 65
 
3,571 posts
Join Date:Joined: Mar 2005
Donate to Me
Zgembo: sorry, no at the moment.
3rd February 2007, 06:07 PM   |  #7  
Lt.Cmdr.Ivan's Avatar
Retired Recognized Developer
Thanks Meter: 0
 
450 posts
Join Date:Joined: Feb 2006
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
 
263 posts
Join Date:Joined: Jan 2006
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
 
71 posts
Join Date:Joined: Dec 2006
More
i dont get a error message
5th February 2007, 02:53 PM   |  #10  
Senior Member
Thanks Meter: 2
 
263 posts
Join Date:Joined: Jan 2006
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