NWMonster / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
4 stars 0 forks source link

Attach is unable to extract #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. extract attach
2.
3.

What is the expected output? What do you see instead?
Extracted )

What version of the product are you using? On what operating system?
Latest directly from svn

Please provide any additional information below.
last lines from log:
SQUASHFS magic: 0x74717368
 SQUASHFS version: 3.0
  SQUASHFS v3.0 image detected
  Writing interm//image_parts/squashfs_magic
  Writing interm//image_parts/squashfs-lzma-image-3_0
    size 2961408 from offset 991232 ...
  Writing interm//image_parts/hwid.txt
    size 3241 from offset 3952640 ...
  Done!
So, image found but cannot be extracted. 

Original issue reported on code.google.com by icegood1...@gmail.com on 11 Jul 2012 at 4:03

Attachments:

GoogleCodeExporter commented 9 years ago
Use the extract-ng script:

$ ./extract-ng.sh ./asus-to-ddwrt.trx 
Firmware Mod Kit (build-ng) 0.76 beta, (c)2011 Craig Heffner, Jeremy Collake
http://www.bitsum.com

Scanning firmware...

DECIMAL     HEX         DESCRIPTION
--------------------------------------------------------------------------------
-----------------------
0           0x0         uImage header, header size: 64 bytes, header CRC: 
0xEB488F02, created: Fri Jun  8 05:04:58 2012, image size: 990152 bytes, Data 
Address: 0x80000000, Entry Point: 0x8023B2F0, data CRC: 0xFF52E384, OS: Linux, 
CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: 
DD-WRT v24 Linux Kernel Image
991232      0xF2000     Squashfs filesystem, little endian, DD-WRT signature, 
version 3.0, size: 2964649 bytes, 740 inodes, blocksize: 131072 bytes, created: 
Fri Jun  8 05:05:49 2012

Extracting 991232 bytes of uimage header image at offset 0
Extracting squashfs file system at offset 991232
Extracting 160 byte footer from offset 3955721
Extracting squashfs files...
Firmware extraction successful!
Firmware parts can be found in 'fmk/*'

Original comment by heffne...@gmail.com on 12 Jul 2012 at 3:05