For Linux you'll be using partimage. For Windows, I think Acronis does the job (make sure it supports ext2) file systems. Though I don't know what FS the phone will be using.