Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,738,971 Members 43,675 Now Online
XDA Developers Android and Mobile Development Forum

NBHextract: Extract contents from NBH files

Tip us?
 
pof
Old
(Last edited by DaveShaw; 6th August 2011 at 12:15 AM.)
#1  
pof's Avatar
Retired Moderator - OP
Thanks Meter 62
Posts: 3,571
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
Default NBHextract: Extract contents from NBH files

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:
Select 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, 81714 views)
The Following 5 Users Say Thank You to pof For This Useful Post: [ Click to Expand ]
 
Asukal
Old
(Last edited by pof; 15th January 2007 at 01:55 AM.) Reason: removed big quote text
#2  
Asukal's Avatar
Senior Member
Thanks Meter 2
Posts: 691
Join Date: Nov 2003
Location: China/Vietnam--But Japanese
this is great tool we have been waiting!
Thanks this great tool!
Asukaly yours!
Too many things i want to do.
Too DARK to tell the others!
http://asukal.seesaa.net - Previouse
http://asukal.net/blog
 
URPREY
Old
#3  
URPREY's Avatar
Senior Member
Thanks Meter 97
Posts: 1,005
Join Date: Oct 2005
Location: Louisville, KY
Excellent tool! Thanks for everything you do here pof!
OnePlus One..:..64GB Sandstone Black rooted
Nexus 5..:..32GB rooted
Nexus 7 LTE(2013)..:..32GB rooted
 
pof
Old
#4  
pof's Avatar
Retired Moderator - OP
Thanks Meter 62
Posts: 3,571
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
Thanks must be given to TheBlasphemer and itsme, they did the hard part, i just joined the pieces
 
Zgembo
Old
#5  
Zgembo's Avatar
Senior Member
Thanks Meter 7
Posts: 312
Join Date: Dec 2006
Quote:
Originally Posted by pof View Post
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?
 
pof
Old
#6  
pof's Avatar
Retired Moderator - OP
Thanks Meter 62
Posts: 3,571
Join Date: Mar 2005
Location: Barcelona

 
DONATE TO ME
Zgembo: sorry, no at the moment.
 
Lt.Cmdr.Ivan
Old
#7  
Lt.Cmdr.Ivan's Avatar
Retired Recognized Developer
Thanks Meter 0
Posts: 450
Join Date: Feb 2006
Excellent work

pof
TheBlasphemer
itsme

for providing this decompression tool.
Its making the work with rom stuff from the newer devices much easier
HTC HD Mini with selfmade Rom.
 
ahlok_hk
Old
#8  
Senior Member
Thanks Meter 2
Posts: 263
Join Date: Jan 2006
Using NBHextract with the Hermes AKU3 swedish ROM, and the log shows some error as follow:

Code:
Select 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.
 
pello
Old
#9  
pello's Avatar
Member
Thanks Meter 0
Posts: 71
Join Date: Dec 2006
Location: Hamburg
i dont get a error message
 
ahlok_hk
Old
#10  
Senior Member
Thanks Meter 2
Posts: 263
Join Date: Jan 2006
Thx pello for reminding me. Everything run smoothly after I download the rom again.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Browse the Internet with the Innovative Atlas Web Browser

For the most part, Chrome, Firefox, and Dolphin Browser have no real rivals among … more

Choose from Over a Thousand Battery Styles with 3Minit Battery Mod

The battery style in stock Android looks pretty dull. It doesn’t … more

Organize Your Cloud Storage Files with Unclouded

Cloud storage services like Dropbox or Google Drive have grown in popularity dramatically … more

XDA Xposed Tuesday: Blur Your System Notification Panel – XDA Developer TV

Listen, we love innovative applications and modules that … more