8

I have installed FMK and binwalk. FMK have an old binwalk that does not work. So, I ran a fresh binwalk (from git) as follow:

$> binwalk -e wr741ndv4_ru_3_13_2_up_boot(140521).bin

And in the directory _wr741ndv4_ru_3_13_2_up_boot(140521).bin.extracted/

$ls 
120200.squashfs  20400  20400.7z  3CEC  3CEC.7z  squashfs-root  unsquashfs

Then I compile unsquashfs with LZMA_XZ_SUPPORT = 1:

$> ./unsquashfs -v 
unsquashfs version 4.2 (2011/02/28)

$> ./unsquashfs -h
SYNTAX: ./unsquashfs [options] filesystem [directories or files to extract]
[...]
Decompressors available:
gzip
lzma

Then, I have an error to unpack squashfs:

$> ./unsquashfs 120200.squashfs
Parallel unsquashfs: Using 1 processor
lzma uncompress failed with error code 9
read_block: failed to read block @0x23d12a
read_fragment_table: failed to read fragment table index
FATAL ERROR aborting: failed to read fragment table

What did I do wrong?

P.S. If anyone have unpacked squashfs with this version firmware, please share it.

1

Add to option "M"

$> binwalk -eM wr741ndv4_ru_3_13_2_up_boot(140521).bin

refer)

$ man binwalk

-M, --matryoshka Recursively scan extracted files

  • Does not work. It's extract old files 120200.squashfs 20400 20400.7z 3D10 3D10.7z squashfs-root/ and unsquashfs not extracted files from 120200.squashfs – Andrew May 30 '16 at 6:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.