charles2gan / charles2gan/firmware-mod-kit

Extracting 0 bytes of header image at offset 0

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
C
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
Hello,
binwalk provides the following:
DECIMAL HEX DESCRIPTION
--------------------------------------------------------------------------------
-----------------------------------
2256048 0x226CB0 Linux kernel version "2.6.12.6
(reel@RCsReelBox) (gcc version 3.3.4) #3 Thu Dec 8 17: version 3.3.4) #3 Thu
Dec 8 17:22:05 CET 2011"
2736128 0x29C000 gzip compressed data, from Unix, last modified:
Thu Dec 8 17:21:50 2011, max compression

I get the following error output:
root@ReelBox:/usr/src/firmware_mod_kit/firmware-mod-kit-read-only#
./extract-firmware.sh /usr/share/reel/hdimage/linux.bin /usr/src/linux_bin
Firmware Mod Kit (build-ng) 0.82, (c)2011-2013 Craig Heffner, Jeremy Collake

Scanning firmware...

Scan Time: 2014-02-23 14:21:20
Signatures: 193
Target File: /usr/share/reel/hdimage/linux.bin
MD5 Checksum: 657a2d50a02a474b28598a3a3e66288d

DECIMAL HEX DESCRIPTION
--------------------------------------------------------------------------------
-----------------------
317245 0x4D73D LZMA compressed data, properties: 0x30,
dictionary size: 262144 bytes, uncompressed size: 539039264 bytes
1018785 0xF8BA1 LZMA compressed data, properties: 0x30,
dictionary size: 524288 bytes, uncompressed size: 992 bytes
2256048 0x226CB0 Linux kernel version "2.6.12.6
(reel@RCsReelBox) (gcc version 3.3.4) #3 Thu Dec 8 17: version 3.3.4) #3 Thu
Dec 8 17:22:05 CET 2011:2 2:05 CET 2011%s/dev"
2286072 0x22E1F8 LZMA compressed data, properties: 0x02,
dictionary size: 16777216 bytes, uncompressed size: 50331648 bytes
2495867 0x26157B LZMA compressed data, properties: 0x1B,
dictionary size: 1048576 bytes, uncompressed size: 31 bytes
2530707 0x269D93 LZMA compressed data, properties: 0x02,
dictionary size: 2097152 bytes, uncompressed size: 4096 bytes
2545608 0x26D7C8 LZMA compressed data, properties: 0x02,
dictionary size: 16777216 bytes, uncompressed size: 512 bytes
2545689 0x26D819 LZMA compressed data, properties: 0x02,
dictionary size: 131072 bytes, uncompressed size: 33620481 bytes
2550272 0x26EA00 LZMA compressed data, properties: 0x02,
dictionary size: 16777216 bytes, uncompressed size: 16777472 bytes
2583624 0x276C48 LZMA compressed data, properties: 0x01,
dictionary size: 16777216 bytes, uncompressed size: 134217728 bytes
2584428 0x276F6C LZMA compressed data, properties: 0x01,
dictionary size: 16777216 bytes, uncompressed size: 134217728 bytes
2586556 0x2777BC LZMA compressed data, properties: 0x01,
dictionary size: 16777216 bytes, uncompressed size: 134217728 bytes
2587116 0x2779EC LZMA compressed data, properties: 0x01,
dictionary size: 16777216 bytes, uncompressed size: 134217728 bytes
2587548 0x277B9C LZMA compressed data, properties: 0x01,
dictionary size: 16777216 bytes, uncompressed size: 134217728 bytes
2736128 0x29C000 gzip compressed data, from Unix, last modified:
Thu Dec 8 17:21:50 2011, max compression

Extracting 0 bytes of header image at offset 0
ERROR: No supported file system found! Aborting...

How can I extract the firmware? Thanks in advanced
Frank
```

Original issue reported on code.google.com by `frnkmsbch` on 9 Mar 2014 at 6:04

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the report with extract-firmware.sh on /usr/share/reel/hdimage/linux.bin and inspect the scan output around the reported offsets. Done means determining whether zero-byte header extraction is a tool defect or an unsupported firmware layout, then documenting the verified extraction path or required change.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, shell
Domain
embedded-iot, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.