5,595,196 Members 46,151 Now Online
XDA Developers Android and Mobile Development Forum

[APP][UTIL]nbImageTool .4 (Partition Dumper) support .nbh .nb .dio .fat .nb0 .payload

Tip us?
 
Da_G
Old
(Last edited by Da_G; 28th August 2009 at 09:14 AM.)
#1  
Da_G's Avatar
Senior Mod/ Senior Recognized Developer - OP
Thanks Meter 1503
Posts: 3,275
Join Date: Aug 2007
Location: Riverside, CA

 
DONATE TO ME
Default [APP][UTIL]nbImageTool .4 (Partition Dumper) support .nbh .nb .dio .fat .nb0 .payload

Hey everyone

I've been working on learning C++, so I can refresh some of the existing tools, add some nice features, make them adhere more to the standards, etc.

This is the first fruits of my labor, this program analyzes an .dio, .fat, .nbh, .nb, .nb0, or .payload, reads out partition info to the screen, and dumps the uldr.bin, xip.bin, and imgfs.bin partitions. It should be compatible with any HTC ROM, and any other ROM that does not need to be run through nbsplit.

It does so without generating an intermediate .extra or .payload like the mamaich/tadzio toolset, and i've tried to keep an eye on speed, so it should be pretty fast.

Usage is "nbimagetool.exe -c filename.nb" - alternatively you can run the program with no parameters for some help output.

-c switch is optional, it strips the leading free space from imgfs.bin, so that it is compatible with imgfstodump (most IMGFS partitions have free space at the beginning, and the imgfsfromnb tool strips this automatically)

The idea for this tool is mostly to be used in a Kitchen, during the dumping process, for a nice fast dump Please let me know any errors you might run into!

UPDATED! Added .dio and .fat support
.5pre3 here, new support for asus roms

DONE:
* Added .nbh support
* Added .dio support

TODO:
* Add support for .bin
* Fix whatever bugs you might find

CHANGELOG:
.1 Initial Release - supports .nb .payload .nb0
.2 Added .nbh support
.3 Added output of .nbh info when dumping
.4 Added support for .dio and .fat, fixed a bug that might trigger in rare circumstances

Please no feature requests at this time, thanks

Visual example of program usage:



Sample .nbh output:

Support my work! The more phones I can get my hands on the more ROM goodness I can churn out. Like BUTTAH

 
ther-amm
Old
#2  
Senior Member
Thanks Meter 0
Posts: 194
Join Date: Nov 2008
Thanks Da_G for this new thread
 
CRACING
Old
#3  
CRACING's Avatar
Recognized Developer
Thanks Meter 588
Posts: 4,386
Join Date: Jun 2008
Location: South India

 
DONATE TO ME
Thanks for the tool da_g.

Does it works for our old is gold wizard too?

!!! Read here about how to ask a question | Do not spam the board | Respect others !!!
!!! Follow the rules | Use 'search' before posting your queries | Post in the correct sections !!!
 
d_train
Old
#4  
d_train's Avatar
Senior Member
Thanks Meter 14
Posts: 1,517
Join Date: Feb 2009

 
DONATE TO ME
Thanks Da_G
HTC One XL - Stock Telstra Rom
Samsung Galaxy S II: GT-I9100T
 
adwinp
Old
(Last edited by adwinp; 15th August 2009 at 09:54 AM.)
#5  
adwinp's Avatar
Senior Member
Thanks Meter 123
Posts: 1,670
Join Date: Jun 2008
Location: urandom
Very nice, except, that we DO need nbsplit in most cases (nbsplit -kaiser) -> kaiser, diamond, topaz, blackstone, raphael etc...
 
poggiami
Old
#6  
Member
Thanks Meter 1
Posts: 81
Join Date: Oct 2007
Location: GZ
Thanks for the tool da_g.
 
Da_G
Old
#7  
Da_G's Avatar
Senior Mod/ Senior Recognized Developer - OP
Thanks Meter 1503
Posts: 3,275
Join Date: Aug 2007
Location: Riverside, CA

 
DONATE TO ME
@CRACING:

You tell me!

@adwinp:

I think you misunderstand, when I say it doesn't need nbsplit I mean as a seperate program, it has algorithms to handle the 'nbsplit' process internally, without generating intermediate files and, it automatically detects the 'extra' data so you don't need to feed it parameters like -kaiser, -hermes, etc.
Support my work! The more phones I can get my hands on the more ROM goodness I can churn out. Like BUTTAH

 
muttim86
Old
#8  
muttim86's Avatar
Senior Member
Thanks Meter 0
Posts: 389
Join Date: Jan 2008
Location: BG
Thanks Da_G... good you are ...
 
Da_G
Old
#9  
Da_G's Avatar
Senior Mod/ Senior Recognized Developer - OP
Thanks Meter 1503
Posts: 3,275
Join Date: Aug 2007
Location: Riverside, CA

 
DONATE TO ME
Posted a screenshot that should give a clearer explanation
Support my work! The more phones I can get my hands on the more ROM goodness I can churn out. Like BUTTAH

 
tom_codon
Old
#10  
tom_codon's Avatar
Retired Moderator
Thanks Meter 92
Posts: 2,131
Join Date: Sep 2006
Congratulations bro

Nice works as always !

Tom
If you like my work and want to offer some support please click on the Paypal button below





Niki Project Rom release
Topaz WM6.5 Roms
Tom Text Messaging

Status :
Playing risky game

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...