I really need someone that point me in the right way!
I found that script some weeks ago, it wasn't for our Defy's, and i don't find the source back, that i can ask the dev that programmed it.
assert(package_extract_file("logo.bin", "/tmp/logo.bin "),
write_raw_image("/tmp/logo.bin "...