Open irini90 opened 7 years ago
Hi @irini90 : Did you modify the shared-ng.inc
file to the current location of binwalk (which binwalk
) ?
yes @adi0x90!
root@wimo:~# which binwalk
/usr/local/bin/binwalk
root@wimo:~#
VERSION=$(cat firmware_mod_kit_version.txt)
IMAGE_PARTS="$DIR/image_parts"
LOGS="$DIR/logs"
CONFLOG="$LOGS/config.log"
BINLOG="$LOGS/binwalk.log"
ROOTFS="$DIR/rootfs"
FSIMG="$IMAGE_PARTS/rootfs.img"
HEADER_IMAGE="$IMAGE_PARTS/header.img"
FOOTER_IMAGE="$IMAGE_PARTS/footer.img"
FWOUT="$DIR/new-firmware.bin"
BINWALK="./usr/local/bin/binwalk"
I try this already as well!
This error doesn't make any sense.
Irene
On 23 Nov 2016, at 10:11, Aditya Gupta notifications@github.com wrote:
Try changing line 89 binwalk location to /usr/local/bin/binwalk too.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@irini90 : I could not think of any other reason it shouldn't work. Is it possible for you to share the firmware binary so that I could give it a try?
@adi0x90 : I managed to fix the path error but now I get this one. Any idea what it might be?
Attempting to extract SquashFS 0 0x0 PackImg section delimiter tag, little endian size: 7348736 bytes; big endian size: 2256896 bytes.X file system...
Skipping squashfs-2.1-r2 (wrong version)...
Skipping squashfs-3.0 (wrong version)...
Skipping squashfs-3.0-lzma-damn-small-variant (wrong version)...
Skipping others/squashfs-2.0-nb4 (wrong version)...
Skipping others/squashfs-2.2-r2-7z (wrong version)...
Skipping others/squashfs-3.0-e2100 (wrong version)...
Skipping others/squashfs-3.2-r2 (wrong version)...
Skipping others/squashfs-3.2-r2-lzma (wrong version)...
Skipping others/squashfs-3.2-r2-lzma/squashfs3.2-r2/squashfs-tools (wrong version)...
Skipping others/squashfs-3.2-r2-hg612-lzma (wrong version)...
Skipping others/squashfs-3.2-r2-wnr1000 (wrong version)...
Skipping others/squashfs-3.2-r2-rtn12 (wrong version)...
Skipping others/squashfs-3.3 (wrong version)...
Skipping others/squashfs-3.3-lzma/squashfs3.3/squashfs-tools (wrong version)...
Skipping others/squashfs-3.3-grml-lzma/squashfs3.3/squashfs-tools (wrong version)...
Skipping others/squashfs-3.4-cisco (wrong version)...
Skipping others/squashfs-3.4-nb4 (wrong version)...
Skipping others/squashfs-4.3 (wrong version)...
Skipping others/squashfs-4.2-official (wrong version)...
Skipping others/squashfs-4.2 (wrong version)...
Skipping others/squashfs-4.0-lzma (wrong version)...
Skipping others/squashfs-4.0-realtek (wrong version)...
Skipping others/squashfs-hg55x-bin (wrong version)...
File extraction failed!
I have created successfully the squash image from the firmware:
and then when I use the unsquashfs_all.sh I get this error:
Why is this?