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