Complete dump from start to the end

Hi all... I was accidentally wipe off my iphone and lost all the data in it:(. So I tried to use dd to create an image from iphone and ssh to the Mac by using:

dd if=/dev/disk | ssh user@MacIP of='image.img'

Then I mount this image on Mac/Windows and run recovery software because most of the recovery software only work on physical drive.

However, the image file only contains the current existing file(about 400mb), but not the complete 4G of space in the iphone harddrive.:mad:

So is there anyway to dump the complete drive from the start to the end of the hard drive?:confused:

I have found that there is a count parameter for dd, and will this work?

dd if=/dev/disk count=blocksize | ssh user@MacIP of='image.img'

where blocksize is the quote from quota -v.

Or is there any other way I can do to have the same result?:wink:

Thanks a lot.

Is /dev/disk a block or raw device? Use the raw one if available.