[chbot] OT: SquashFs 1.0

Simon Chester simonches at gmail.com
Fri Sep 30 03:07:06 BST 2011


Not sure how useful it is, but this apparently supports squashfs 1.0 LZMA:
http://bitsum.com/firmware_mod_kit.htm

Simon

On Fri, Sep 30, 2011 at 1:23 AM, Synco Reynders <synco.reynders at gmail.com>wrote:

> Hi all,
>  I'm wanting to fix a few annoying 'features' / security holes in my
> DSL-G604T ADSL router and am struggling to unsquash the following
> firmware image file:
>
> ftp://files.dlink.com.au/products/DSL-G604T/REV_B/Firmware//Firmware_v2.00B07.AU_BIN/DSL-G604T_2.00B07.AU_20060901.bin
>
> I found the magic number ('hsqs') at offset 0x81000, so used the
> following to trim it back:
> dd if=imagefile.bin skip=1032 of=sqsh.bin
>
> Now I'm stuck since the major/minor version is 1.0 and unsupported by
> my kernel and it uses LZMA compression. I've tried to compiling
> 'unsquash' with LZMA support but it doesn't work for version 1.0. And
> before 'unsquash' existed you needed a kernel module so that the image
> can be mounted, although I've got a bit bogged down trying to
> make/patch this kernel module. Any other tips? Suggestions?
>
> Thanks in advance,
> /s
>
> _______________________________________________
> Chchrobotics mailing list Chchrobotics at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/chchrobotics
> Mail Archives: http://lists.ourshack.com/pipermail/chchrobotics/
> Web site: http://kiwibots.org
> Meetings 3rd Monday each month at Tait Radio Communications, 175 Roydvale
> Ave, 6.30pm
>
> When replying, please edit your Subject line to reflect new content.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ourshack.com/pipermail/chchrobotics/attachments/20110930/42bd8943/attachment.htm 


More information about the Chchrobotics mailing list