extract_firmware not working but can use unsquashfs-4.2

Started by mi, April 02, 2015, 03:44:29 AM

Previous topic - Next topic

mi

hi everyone

I have managed to unpack some my .bin file using binwalk and then unsquashfs 4.2 official from src/other/

The problem I have now is how to rebuild the squashfs-root into a workable Firmware? any help or straight up 'not possible' answer would be great :-)

Info:

binwalk -s miwifi_r1cm_firmware_4ee06_2.1.7.bin

DECIMAL       HEXADECIMAL     DESCRIPTION
--------------------------------------------------------------------------------
96            0x60            uImage header, header size: 64 bytes, header CRC: 0x678E323B, created: Tue Mar 24 03:22:36 2015, image size: 1434519 bytes, Data Address: 0x80000000, Entry Point: 0x80000000, data CRC: 0x158A355B, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "MIPS OpenWrt Linux-2.6.36"
160           0xA0            LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 4233960 bytes
1434679       0x15E437        Squashfs filesystem, little endian, version 4.0, compression:lzma (non-standard type definition), size: 10538496 bytes,  1919 inodes, blocksize: 262144 bytes, created: Tue Mar 24 03:22:34 2015


[root@ghostbox _miwifi_r1cm_firmware_4ee06_2.1.7.bin.extracted]# ls
15E437.squashfs  A0.7z  squashfs-root

ls -l squashfs-root/
total 76
drwxrwxr-x   2 root root 4096 Mar 24 03:21 bin
drwxr-xr-x   3 root root 4096 Mar 24 03:10 data
drwxr-xr-x   2 root root 4096 Mar 24 03:10 dev
drwxrwxr-x  24 root root 4096 Mar 24 03:22 etc
drwxr-xr-x 194 root root 4096 Mar 24 03:21 extdisks
drwxrwxr-x  18 root root 4096 Mar 24 03:22 lib
drwxr-xr-x   2 root root 4096 Mar 24 03:10 mnt
drwxr-xr-x   3 root root 4096 Mar 24 03:21 opt
drwxr-xr-x   2 root root 4096 Mar 24 03:10 overlay
drwxr-xr-x   2 root root 4096 Mar 24 03:10 proc
drwxr-xr-x   2 root root 4096 Mar 24 03:10 readonly
drwxrwxr-x   2 root root 4096 Mar 24 03:21 rom
drwxr-xr-x   2 root root 4096 Mar 24 03:10 root
drwxrwxr-x   2 root root 4096 Mar 24 03:21 sbin
drwxr-xr-x   2 root root 4096 Mar 24 03:10 sys
drwxrwxrwt   2 root root 4096 Mar 24 03:21 tmp
drwxr-xr-x   3 root root 4096 Mar 24 03:10 userdisk
drwxrwxr-x   8 root root 4096 Mar 24 03:21 usr
lrwxrwxrwx   1 root root    4 Apr  2 08:20 var -> /tmp
drwxr-xr-x   8 root root 4096 Mar 24 03:10 www



Thanks in advance,

M

Jeremy Collake

I am sorry my friend, but as others will attest, I'm already over-committed, so won't be able to help you. To date, I've not seen anyone else around who can assist in these matters.
Software Engineer. Bitsum LLC.