Code Monkey home page Code Monkey logo

Comments (3)

devttys0 avatar devttys0 commented on July 18, 2024

The cramfs extraction issue is actually a bug in the Firmware-Mod-Kit extractor that binwalk uses; I'll open a bug there and address it ASAP. In the meantime, you can extract the cramfs image containing the kernel modules manually:

 $ mkdir cramfs-modules
 $ /opt/firmware-mod-kit/src/uncramfs-lzma/uncramfs-lzma cramfs-modules/ 489000.cramfs

As for the RomFS file system, I don't see any indication that there is one in the firmware image you linked to. The two CramFS images are definitely valid CramFS images, and further manual analysis does not turn up the RomFS magic bytes ("-rom1fs-"), nor does it turn up any obvious sections of the firmware that binwalk may have missed. There is a compressed CPIO archive that binwalk extracts though, if that is what you're looking for.

from binwalk.

jameshilliard avatar jameshilliard commented on July 18, 2024

Thanks, that worked. I guess it wasn't romfs after all, it had looked to me like there was one somewhere from playing around with telnet on the router, but I may have been wrong. There was also a genromfs package in the gpl source(source is incomplete). Then again maybe there is a romfs only on the device itself and not in the firmware downloads. This is everything I was able to extract https://github.com/Lightsword1942/jungo-image/tree/master/_MI424WR-GEN3I.rmt.extracted does it look like I missed anything?

from binwalk.

devttys0 avatar devttys0 commented on July 18, 2024

I've updated the firmware-mod-kit repository with some changes that fix this issue; binwalk -Me now extracts everything properly.

Yes, what you have extracted appears to be everything that's in the firmware image. It could very well be that the romfs image was not included in this firmware update; the jffs2 image is also not present, although that's not unexpected since it's probably used to store run time configuration data.

from binwalk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.