add sdimage extractor, update readme

This commit is contained in:
theubusu
2026-04-08 18:34:22 +02:00
parent a234eb6e49
commit 67a289ba15
4 changed files with 108 additions and 2 deletions
+6
View File
@@ -27,6 +27,7 @@ pub mod android_ota_payload;
pub mod bdl;
pub mod amlogic;
pub mod sdboot;
pub mod sdimage;
pub mod pup;
@@ -78,6 +79,11 @@ pub fn get_registry() -> Vec<Format> {
detector_func: crate::formats::sdboot::is_sdboot_file,
extractor_func: crate::formats::sdboot::extract_sdboot,
},
Format {
name: "sdimage",
detector_func: crate::formats::sdimage::is_sdimage_file,
extractor_func: crate::formats::sdimage::extract_sdimage,
},
Format {
name: "novatek",
detector_func: crate::formats::novatek::is_novatek_file,