Restoring iPhone's state from a dd hard drive image
You'll need to JailBreak the device before restoring. Then you'll need to go through the same process you took to create the image, except the values of the if and of arguments will need to be swapped.

Additional Reading