redballoonsecurity / ofrak

OFRAK: unpack, modify, and repack binaries.
https://ofrak.com
Other
1.85k stars 127 forks source link

Add JFFS2 Packer/Unpacker #326

Closed marczalik closed 1 year ago

marczalik commented 1 year ago

One sentence summary of this PR (This should go in the CHANGELOG!) This draft PR adds a JFFS2 packer/unpacker using the Jefferson Python package and mkfs.jffs2 from mtd-utils.

Link to Related Issue(s)

Please describe the changes in your request. Add support to pack and unpack JFFS2 filesystems.

Note: I haven't been able to find a readily available mtd-utils package for Apple Silicon, so for M1 support it may need to be cross-compiled. Directions here (I haven't tested this yet).

Anyone you think should look at this, specifically? @rbs-jacob

marczalik commented 1 year ago

Changes look good! Can you merge master into this branch though first please? Since we just did a release and shifted the changelog around, the automatic merge (though there are no conflicts) is prone to incorrectly placing new changelog entries into sections for existing releases.

Sure can!