Awesome
sepsplit-rs
A utility to split a SEP firmware into it's various modules, made in Rust.
Building
- Install
cargo
if you haven't already, instructions are here - Run
cargo install --path /path/to/sepsplit-rs/
- Run the executable with
sepsplit-rs
Note for Windows
In order to get the program to compile, you may need to
- Install LLVM as shown here
- Either comment out or modify line 52 in
lzvn_decode.c
in the lzvn repo to#define _LZVN_DEBUG_DUMP(...)
if you are using the MSVC compiler.
Usage
sepsplit-rs /path/to/sep-firmware.bin [output folder]
<br />
The SEP firmware has to be decrypted and extracted.
Testing
cd
into the project- Run
./download_testfws.sh
to download test SEP Firmwares - Run the tests with
cargo test
Credits
- xerub for the original sepsplit and the fork of LZVN
- matteyeux for helping me test this program
- mrmacete for the 64-bit version