2 releases
0.1.1 | Sep 5, 2024 |
---|---|
0.1.0 | Sep 5, 2024 |
#9 in #boot
77 downloads per month
20KB
351 lines
abootimg-oxide
Android boot image (boot.img) parser written in Rust
Thank you to cfig/Android_boot_image_editor's documentation about the layout of boot images!
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
A parser for Android boot image headers (e.g. boot.img
or vendor_boot.img
).
This can be used to extract or patch e.g. the kernel or ramdisk.
Byte array fields ([u8; N]
) can be used as null-terminated strings.
Dependencies
~2MB
~42K SLoC