1assert compatible_with("0.1") == "true" 2assert file_contains("SYSTEM:build.prop", "ro.product.device=dream") == "true" || file_contains("SYSTEM:build.prop", "ro.build.product=dream") == "true" 3assert file_contains("RECOVERY:default.prop", "ro.product.device=dream") == "true" || file_contains("RECOVERY:default.prop", "ro.build.product=dream") == "true" 4assert getprop("ro.product.device") == "dream" 5format BOOT: 6format SYSTEM: 7copy_dir PACKAGE:system SYSTEM: 8write_raw_image PACKAGE:boot.img BOOT: 9