OpenWrt Forum Archive

Topic: Unsquashfs for shsq id

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi All,

I've extracted the flash data from a couple of RT5350 routers, and now I'd like to take a look around in the filesystem to see how they can get so much functionality in 4MB of Flash and 16MB of SDRAM.  The devices in question are

HAME MPR-A1 clone (MPR-L8, such as Squonk was working on)
http://www.aliexpress.com/item/Free-Shi … 08843.html

Hi-Link HLK-M04
http://www.hlktech.net/product_detail.php?ProId=39

I've dumped the SPI flash, binwalked it and extracted the squashfs filesystem, but they do not extract with any of the squashfs tools available in the firmware mod kit located at
http://code.google.com/p/firmware-mod-kit/

From a little browsing, I found Michael Coppola's post here about his device's filesystem with a similar shsq magic entry, and also his blog entry about a special version of unsquashfs made by netgear which could unpack it.  See his post here:
http://www.poppopret.org/?p=204

But I cannot get this netgear tool to build.  So - is anyone else working on a device that has the shsq style squashfs filesystem, and are able to unpack it with a commonly available tool?  Or, has anyone had success building that netgear tool?  Thanks in advance, I'm out of ideas at the moment.

facepalm.jpg

Found solution in asbokid's reply in https://forum.openwrt.org/viewtopic.php?id=26007.  Using that version unsquashfs from openbox4 svn worked great!

(Last edited by oschemes on 11 Mar 2013, 04:02)

The discussion might have continued from here.