FORUMS

YotaPhone 2 Pre-Order, Xperia Z1 Price Cut – XDA TV

Android Wear 5.1.1 OTA downloads are now available. That and much more news is … more

[FTF] Sony Xperia Z Lollipop Release

Sony rolled out a Lollipop update for Xperia Z just yesterday. If you still haven’t gotten … more

Original Moto G Receives Lollipop, OTA Captured

The original Moto G was released almost two years ago. Motorola still continues to … more

Device Review: No.1 X1 Rugged Smartphone

We are almost at the end of Q2 for 2015, and we have seen most of the flagship phones for the … more
Post Reply Subscribe to Thread Email Thread

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

15th August 2009, 08:24 AM |#1  
Da_G's Avatar
OP Moderator Emeritus / Senior Recognized Developer
Flag Riverside, CA
Thanks Meter: 1,539
 
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
 
More
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: 615
 
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
 
Donate to Me
More
Thanks Da_G
15th August 2009, 09:42 AM |#5  
adwinp's Avatar
Senior Member
Flag urandom
Thanks Meter: 169
 
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
 
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,539
 
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: 6
 
More
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,539
 
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: 99
 
More
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