I've got some embedded system running Android. Before I start compiling anything for it I'd like to do full backup and then have possibility to restore it. The only way of backup everything I know is to use:
dd if=/dev/block/mmcblk0 of=/dev/block/mmcblk1
but how to restore it when something went wrong and system is not running? Is it possible to burn back this image to Android system - for example using fastboot? I've got development board with Qualcomm MSM8909.