Comments (8)
The SquashFS file system is not being properly identified, so the
squashfs-3-lzma.img file that you have is not actually the squashfs file
system. Working on fixing this.
In the mean time, the file system is located at offset 936960:
$ binwalk dd-wrt.v24_mini_generic.bin
DECIMAL HEX DESCRIPTION
--------------------------------------------------------------------------------
-----------------------
0 0x0 TRX firmware image, little endian, image length: 3088384
bytes, CRC32: 0x9A42E6F4
936960 0xE4C00 Squashfs filesystem, little endian, DD-WRT signature,
version 3.0, 2149667 bytes, 554 inodes, blocksize: 131072 bytes, created: Fri
Oct 9 16:30:52 2009
You can dd the file system out of the firmware image manually and then extract
the contents with unsquashfs-3.0-lzma-damn-small:
$ dd if=dd-wrt.v24_mini_generic.bin bs=936960 skip=1 of=squashfs-3-lzma.img
2+1 records in
2+1 records out
2151424 bytes (2.2 MB) copied, 0.00639221 s, 337 MB/s
$ unsquashfs3.0-lzma-damn-small squashfs-3-lzma.img
created 322 files
created 46 directories
created 186 symlinks
created 0 devices
created 0 fifos
Original comment by [email protected]
on 27 Aug 2011 at 2:32
- Changed state: Accepted
from firmware-mod-kit.
Thanks heffnercj .. P.S. (unrelated) I am going to move the docs and the
version text file used for update checks somewhere you are able to edit this.
Also, please feel free to put your name on things. Anywhere my name is, slap
your name along side at your leisure ;).
Original comment by [email protected]
on 27 Aug 2011 at 3:00
from firmware-mod-kit.
Will do Jeremy. :)
On a somewhat related note, there seem to be several instances such as this
where the root file system isn't properly detected by FMK. I've been thinking
of integrating binwalk (used above) with FMK to possibly provide more
robust/generic/flexible file system identification. It's essentially a
recursive file utility with many firmware-specific signatures and filtering
options.
What are your thoughts on replacing or augmenting the segment identification
functionality in untrx/splitter3 with binwalk?
Original comment by [email protected]
on 27 Aug 2011 at 9:00
from firmware-mod-kit.
Sounds like a good idea to me. untrx and splitter3 were both just tools I
hacked together to do the job at hand. Replacing them with anything more robust
is definitely appropriate.
Original comment by [email protected]
on 27 Aug 2011 at 9:05
from firmware-mod-kit.
The update check is good I see, referencing this site. I went to do it, then
saw it had been done. Dunno if you did that, or if I changed it a long time ago
and forgot about it. Yea, I could look, but ;p. Anyway, OT, but since I
mentioned here, wanted to say that.
Looking forward to having binwalk in. Many problems have been associated with
the scripts and custom tools not properly identifying segments or firmware
types.
Glad to see someone is working on this project again. I'll contribute when I'm
able, or have inclination, but you have free reign so go for it ;). No need to
run anything by me, I can see you are a competent developer, so everything is
at your discretion.
Original comment by [email protected]
on 28 Aug 2011 at 1:43
from firmware-mod-kit.
Thanks Jeremy, working on integrating binwalk now. I've been using several of
the utilities in FMK for some time now and found them very useful, so glad I
can give back. :)
Original comment by [email protected]
on 28 Aug 2011 at 4:05
from firmware-mod-kit.
New extract-ng.sh script properly extracts this firmware image. The firmware
header for this firmware is not yet supported though, so rebuilding will not
work.
Original comment by [email protected]
on 30 Aug 2011 at 12:20
- Changed state: Fixed
from firmware-mod-kit.
Nice work heffnercj ;). Wonderful addition, brings the FMK to a whole new level.
Original comment by [email protected]
on 30 Aug 2011 at 12:40
from firmware-mod-kit.
Related Issues (20)
- Added support for TP-Link v2 header firmware (TD-W8968v1) HOT 2
- CRC update failed. Firmware header not supported; firmware checksums may be incorrect.
- Firmware header not supported; firmware checksums may be incorrect.
- wdr3600v1 firmware cannot be unpacked HOT 1
- Extracting 0 bytes of header image at offset 0 HOT 1
- Failure building image.
- Can this firmeware be extracted? HOT 2
- jffs2 big endian problem
- new binwalk HOT 1
- CramFS extraction failed due to missing cleaning up
- Can't unpack Zyxel NWA-3100 firmware HOT 1
- Wrong build
- uncramfs-lzma stops after successfully decoding the first block
- Extracted firmware and then tried to rebuild it and it became larger, probably because it didnt use lzma for recompress. HOT 1
- Image fault when builidng Tomato for RT-AC68U HOT 3
- Cannot extract firmware
- Issue in extracting squashfs filesystem
- Firmware Image Generated Different from Original when nothing changed for its extracted contents
- Failed to create new file system
- Can not extract Huawei HG655b-B025 firmware
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware-mod-kit.