Comments (13)
[root@dans34 trunk]# ./extract-ng.sh
/home/Dans34/firmware_mod_kit/WAG320N-EU-ANNEXA-ETSI-1.00.12.bin test22
Firmware Mod Kit (build-ng) 0.73 beta, (c)2011 Craig Heffner, Jeremy Collake
http://www.bitsum.com
Scanning firmware...
DECIMAL HEX DESCRIPTION
--------------------------------------------------------------------------------
-----------------------
7190480 0x65747962 Squashfs filesystem, big endian, lzma
signature, version 3.0, size: 6445866 bytes, 910 inodes, blocksize: 65536
bytes, created: Mon Mar 22 02:52:16 2010
Extracting 65792 bytes of header image at offset 0
Extracting squashfs file system at offset 65792
Extracting 16 byte footer from offset 8388592
Extracting squashfs files...
Firmware extraction successful!
Firmware parts can be found in 'test22/*'
it seams to already be supported
Original comment by [email protected]
on 7 Dec 2011 at 1:49
from firmware-mod-kit.
Well, extraction is supported anyway. I can't guarantee that it will re-build a
valid firmware image - let us know if it works or not. :P
Original comment by [email protected]
on 7 Dec 2011 at 11:07
from firmware-mod-kit.
I suppose we must start listing more supported formats, or telling people to
'try' first, then submit a ticket. Gotta love these new binwalk based scripts
of Craig's, work on so many unknown formats.
Original comment by [email protected]
on 8 Dec 2011 at 1:42
from firmware-mod-kit.
Of course, there is a bit more risk since it means more untested devices might
have their firmwares seemingly correctly extracted and built, but could be
bricked on flash.
Original comment by [email protected]
on 8 Dec 2011 at 5:31
from firmware-mod-kit.
What about a page with a table of firmware that has been used with fmk ,
something like http://betaftp.co.uk/ , would then be easy to search , maybe on
the wiki here ?
Original comment by [email protected]
on 8 Dec 2011 at 12:34
from firmware-mod-kit.
Yes, bricking is possible, but in *most* cases if the firmware isn't built
properly the header/footer checksums won't match and the devices *should*
reject the firmware. Not always the case though, so still be cautious.
A list of supported and tested firmware would probably be a good idea, but to
be honest I wouldn't hold my breath. Testing takes a bit of time (and money to
get the routers), and Jeremy and I are usually pretty busy with everything else
we have going on. Maybe a wiki/submission page where users can report
successes/failures would be a good idea.
Original comment by [email protected]
on 8 Dec 2011 at 1:18
from firmware-mod-kit.
I'll get my Gentoo Machine next week ... Debricking is perfectly feasible by
software (kudos to Mr. Eko :) ) and Linksys WAG320N source tar does include
image builder (whilst source code is another story) .. I will report feedback
next week .. thank you so much ;)
Original comment by [email protected]
on 8 Dec 2011 at 2:32
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
yep... header is not supported..
'http://www.filehosting.org/file/details/285071/WAG320N_v1.00.12-A_GPL.tar.gz,
wag320n source code is crap.. Ages ago I had managed to compile an image.. Now,
kernel doesn't even compile...
So I am trying to rebuild image using the Linksys image builder, which need
rootfs (I have it) and the kernel_fs (I don't know where to find It)
Original comment by [email protected]
on 5 Feb 2012 at 3:55
Attachments:
from firmware-mod-kit.
rootfs.img is 8M ... that's impossible, because 8M is the size of flash... I am
trying vmlinuz extracted by old extract tool .. wish me luck..
this is standard build command :
/root/WAG320N_v1.00.12-A_GPL/bcm963xx_4.02L.01/hostTools/bcmImageBuilder
--output /root/WAG320N_v1.00.12-A_GPL/image/bcm963xx_fs_kernel --chip 6358
--board "96358GWVG" --blocksize 64 --cfefile
/root/WAG320N_v1.00.12-A_GPL/image/cfe6358.bin --rootfsfile
/root/WAG320N_v1.00.12-A_GPL/image/fsa.bin --kernelfile
/root/WAG320N_v1.00.12-A_GPL/kernel/vmlinux.lz.a
bcmImageBuilder
File tag size : 256
Root filesystem image size : 6438912
Kernel image size : 920932
Combined image file size : 7360100
cd /root/WAG320N_v1.00.12-A_GPL/image && cp -f wag320n.pid.a wag320n.pid &&
./bb && mv wag320n.bin wag320n_A_1.00.12.bin
CheckSum...
Protect Area CheckSum OK: 0x00
CheckSum OK: 0x00
-------------------------------
checksum = 0C 1E FD 7C 43 12 76 45 84 21 CF BC 97 77 C9 34
Original comment by [email protected]
on 7 Feb 2012 at 1:05
from firmware-mod-kit.
[deleted comment]
from firmware-mod-kit.
OK.. So.. my initial need is fulfilled... the extracted fs (rootfs folder) can
be used to rebuild a working image (using Linksys source code) by just being
compressed and named as target.tgz .
Case closed :) .. Thanks a lot..
PD: I mean, router is still unsopported.. but at least fs can be extracted :D
Original comment by [email protected]
on 7 Feb 2012 at 4:17
from firmware-mod-kit.
Original comment by [email protected]
on 11 Jun 2013 at 8:14
- Changed state: WontFix
from firmware-mod-kit.
Related Issues (20)
- 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
- after edit ddwrt-gui's asp file,install error
- Does FMK work on dd-wrt firmware for buffalo wzr-600dhp
- CRC update failed - Netis WR2419 firmware
- FMK won't extract zip compressed cramfs images?
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.