Sony SmartEyeglass SDK Developer Preview Released

A little over a month ago in Tokyo, Japan, Sony unveiled its new SmartEyeglasstechnology. … more

XDA and Leaseweb: Server Trial/Moto 360 Contest (Winners!)

About a month ago, we held a contest along with XDA’s host, Leaseweb, to … more

Updated Android Lollipop Preview Images – XDA TV

The Android Lollipop Preview Images are now available! That and much more news is … more

Get a Complete Set of Logs with Andy Log

The importance of proper logging is undeniable. No, we’re not talking about lumberjack work. … more
Post Reply

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

OP Da_G

15th August 2009, 08:24 AM   |  #1  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,520
 
3,275 posts
Join Date:Joined: Aug 2007
Donate to Me
More
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:

Last edited by Da_G; 28th August 2009 at 09:14 AM.
15th August 2009, 08:55 AM   |  #2  
Senior Member
Thanks Meter: 0
 
194 posts
Join Date:Joined: Nov 2008
Thanks Da_G for this new thread
15th August 2009, 09:02 AM   |  #3  
CRACING's Avatar
Recognized Developer
Flag 125 Miles From Sea
Thanks Meter: 605
 
4,502 posts
Join Date:Joined: Jun 2008
Donate to Me
More
Thanks for the tool da_g.

Does it works for our old is gold wizard too?
15th August 2009, 09:23 AM   |  #4  
d_train's Avatar
Senior Member
Thanks Meter: 14
 
1,517 posts
Join Date:Joined: Feb 2009
Donate to Me
More
Thanks Da_G
15th August 2009, 09:42 AM   |  #5  
adwinp's Avatar
Senior Member
Flag urandom
Thanks Meter: 138
 
1,679 posts
Join Date:Joined: Jun 2008
More
Very nice, except, that we DO need nbsplit in most cases (nbsplit -kaiser) -> kaiser, diamond, topaz, blackstone, raphael etc...
Last edited by adwinp; 15th August 2009 at 09:54 AM.
15th August 2009, 09:54 AM   |  #6  
Member
Flag N/A
Thanks Meter: 1
 
81 posts
Join Date:Joined: Oct 2007
More
Thanks for the tool da_g.
15th August 2009, 09:59 AM   |  #7  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,520
 
3,275 posts
Join Date:Joined: Aug 2007
Donate to Me
More
@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.
15th August 2009, 10:05 AM   |  #8  
muttim86's Avatar
Senior Member
Flag BG
Thanks Meter: 0
 
389 posts
Join Date:Joined: Jan 2008
Thanks Da_G... good you are ...
15th August 2009, 10:18 AM   |  #9  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,520
 
3,275 posts
Join Date:Joined: Aug 2007
Donate to Me
More
Posted a screenshot that should give a clearer explanation
15th August 2009, 10:29 AM   |  #10  
tom_codon's Avatar
Retired Moderator
Thanks Meter: 95
 
2,133 posts
Join Date:Joined: Sep 2006
Congratulations bro

Nice works as always !

Tom

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes