Boot_tool is a project mainly written in ..., it's free.
A tool to extract and repack boot image
This is not my scripts, I found them on net, and I want to thank to author :)
Using:
Extracting
$ ./extract_boot boot.img
Repacking
$ ./make_boot boot.img