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?