diff --git a/apd/src/magic_mount.rs b/apd/src/magic_mount.rs
index c30738d39..2df8985b4 100644
--- a/apd/src/magic_mount.rs
+++ b/apd/src/magic_mount.rs
@@ -159,9 +159,32 @@ impl Node {
}
}
+const MODULE_PARTITIONS: &[(&str, bool)] = &[
+ ("system", false),
+ ("vendor", true),
+ ("system_ext", true),
+ ("product", true),
+ ("odm", false),
+ ("oem", false),
+ ("apex", true),
+ ("mi_ext", true),
+ ("my_bigball", true),
+ ("my_carrier", true),
+ ("my_company", true),
+ ("my_engineering", true),
+ ("my_heytap", true),
+ ("my_manifest", true),
+ ("my_preload", true),
+ ("my_product", true),
+ ("my_region", true),
+ ("my_reserve", true),
+ ("my_stock", true),
+ ("optics", true),
+ ("prism", true),
+];
+
fn collect_module_files() -> Result