#parser #android #boot #image #kernel #header #layout

abootimg-oxide

Android boot image (boot.img) parser

2 releases

0.1.1 Sep 5, 2024
0.1.0 Sep 5, 2024

#9 in #boot

Download history 227/week @ 2024-09-01 21/week @ 2024-09-08 9/week @ 2024-09-15 12/week @ 2024-09-22 4/week @ 2024-09-29

77 downloads per month

MIT/Apache

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

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