nanddump vs fastboot I have two identical phones. On one of them I've managed to corrupt the system partition and it won't boot. I have fastboot, root (on the one that boots), but I don't have ClockworkMod --- my phone isn't supported. Instead I have the world's most unhelpful vendor recovery, which supports update.zip and nothing else.

I'm trying to copy the system partition from the working phone to the non-working one via fastboot. But I cannot successfully reflash the partition. I always get a failure, and the only message is 'flash write failure'. I've tried erasing it first.

My suspicion is that I'm somehow not taking the image from the working phone correctly and the OOB data is incorrect.

I'm using busybox's nanddump to do this:

nanddump -f /sdcard/backup/mtd7 /dev/mtd/mtd7


Is this correct? The resulting image is larger than an image taken with dd, so it does appear to contain the OOB data, but fastboot won't flash it. Does fastboot require images in some exotic format?
Take the image of the phone that's working by the following code


First find out the dev block of the system partition



  cat /proc/mounts



Search for the system partitions and note down the corresponding /dev/block/ partition
For example for my phone it is /dev/block/mmcblk0p12
Now make the exact copy of the partition using dd command



  dd if=/dev/block/***** of=/sdcard/system.img



Copy this system.img from your phone to PC
Connect your other phone in fastboot mode
Run the following command



  fastboot flash system &lt;path-to-system.img&gt;