[HD2 Android NAND Development] RaMsHs:
tried

"su

flash_image recovery /sdcard/recovery_raw.img"

got this:

u0_a103@android:/ $ su

root@android:/ # flash_image recovery /sdcard/recovery_raw.img

flash_image recovery /sdcard/recovery_raw.img

mtd: write error at 0x00000000 (Out of memory)

mtd: re-read error at 0x00000000 (Out of memory)

mtd: write error at 0x00000000 (Out of memory)

mtd: re-read error at 0x00000000 (Out of memory)

mtd: skipping write block at 0x00000000

mtd: write error at 0x00020000 (Out of memory)

mtd: re-read error at 0x00020000 (Out of memory)

mtd: write error at 0x00020000 (Out of memory)

mtd: re-read error at 0x00020000 (Out of memory)

mtd: skipping write block at 0x00020000

mtd: write error at 0x00040000 (Out of memory)

mtd: re-read error at 0x00040000 (Out of memory)

mtd: write error at 0x00040000 (Out of memory)

mtd: re-read error at 0x00040000 (Out of memory)

mtd: skipping write block at 0x00040000

mtd: write error at 0x00060000 (Out of memory)

mtd: re-read error at 0x00060000 (Out of memory)

mtd: write error at 0x00060000 (Out of memory)

mtd: re-read error at 0x00060000 (Out of memory)

mtd: skipping write block at 0x00060000

mtd: write error at 0x00080000 (Out of memory)

mtd: re-read error at 0x00080000 (Out of memory)

mtd: write error at 0x00080000 (Out of memory)

mtd: re-read error at 0x00080000 (Out of memory)

mtd: skipping write block at 0x00080000

mtd: write error at 0x000a0000 (Out of memory)

mtd: re-read error at 0x000a0000 (Out of memory)

mtd: write error at 0x000a0000 (Out of memory)

mtd: re-read error at 0x000a0000 (Out of memory)

mtd: skipping write block at 0x000a0000

mtd: write error at 0x000c0000 (Out of memory)

mtd: re-read error at 0x000c0000 (Out of memory)

mtd: write error at 0x000c0000 (Out of memory)

mtd: re-read error at 0x000c0000 (Out of memory)

mtd: skipping write block at 0x000c0000

mtd: write error at 0x000e0000 (Out of memory)

mtd: re-read error at 0x000e0000 (Out of memory)

mtd: write error at 0x000e0000 (Out of memory)

mtd: re-read error at 0x000e0000 (Out of memory)

mtd: skipping write block at 0x000e0000

mtd: write error at 0x00100000 (Out of memory)

mtd: re-read error at 0x00100000 (Out of memory)

mtd: write error at 0x00100000 (Out of memory)

mtd: re-read error at 0x00100000 (Out of memory)

mtd: skipping write block at 0x00100000

mtd: write error at 0x00120000 (Out of memory)

mtd: re-read error at 0x00120000 (Out of memory)

mtd: write error at 0x00120000 (Out of memory)

mtd: re-read error at 0x00120000 (Out of memory)

mtd: skipping write block at 0x00120000

mtd: write error at 0x00140000 (Out of memory)

mtd: re-read error at 0x00140000 (Out of memory)

mtd: write error at 0x00140000 (Out of memory)

mtd: re-read error at 0x00140000 (Out of memory)

mtd: skipping write block at 0x00140000

mtd: write error at 0x00160000 (Out of memory)

mtd: re-read error at 0x00160000 (Out of memory)

mtd: write error at 0x00160000 (Out of memory)

mtd: re-read error at 0x00160000 (Out of memory)

mtd: skipping write block at 0x00160000

mtd: write error at 0x00180000 (Out of memory)

mtd: re-read error at 0x00180000 (Out of memory)

mtd: write error at 0x00180000 (Out of memory)

mtd: re-read error at 0x00180000 (Out of memory)

mtd: skipping write block at 0x00180000

mtd: write error at 0x001a0000 (Out of memory)

mtd: re-read error at 0x001a0000 (Out of memory)

mtd: write error at 0x001a0000 (Out of memory)

mtd: re-read error at 0x001a0000 (Out of memory)

mtd: skipping write block at 0x001a0000

mtd: write error at 0x001c0000 (Out of memory)

mtd: re-read error at 0x001c0000 (Out of memory)

mtd: write error at 0x001c0000 (Out of memory)

mtd: re-read error at 0x001c0000 (Out of memory)

mtd: skipping write block at 0x001c0000

mtd: write error at 0x001e0000 (Out of memory)

mtd: re-read error at 0x001e0000 (Out of memory)

mtd: write error at 0x001e0000 (Out of memory)

mtd: re-read error at 0x001e0000 (Out of memory)

mtd: skipping write block at 0x001e0000

mtd: write error at 0x00200000 (Out of memory)

mtd: re-read error at 0x00200000 (Out of memory)

mtd: write error at 0x00200000 (Out of memory)

mtd: re-read error at 0x00200000 (Out of memory)

mtd: skipping write block at 0x00200000

mtd: write error at 0x00220000 (Out of memory)

mtd: re-read error at 0x00220000 (Out of memory)

mtd: write error at 0x00220000 (Out of memory)

mtd: re-read error at 0x00220000 (Out of memory)

mtd: skipping write block at 0x00220000

mtd: write error at 0x00240000 (Out of memory)

mtd: re-read error at 0x00240000 (Out of memory)

mtd: write error at 0x00240000 (Out of memory)

mtd: re-read error at 0x00240000 (Out of memory)

mtd: skipping write block at 0x00240000

mtd: write error at 0x00260000 (Out of memory)

mtd: re-read error at 0x00260000 (Out of memory)

mtd: write error at 0x00260000 (Out of memory)

mtd: re-read error at 0x00260000 (Out of memory)

mtd: skipping write block at 0x00260000

mtd: write error at 0x00280000 (Out of memory)

mtd: re-read error at 0x00280000 (Out of memory)

mtd: write error at 0x00280000 (Out of memory)

mtd: re-read error at 0x00280000 (Out of memory)

mtd: skipping write block at 0x00280000

mtd: write error at 0x002a0000 (Out of memory)

mtd: re-read error at 0x002a0000 (Out of memory)

mtd: write error at 0x002a0000 (Out of memory)

mtd: re-read error at 0x002a0000 (Out of memory)

mtd: skipping write block at 0x002a0000

mtd: write error at 0x002c0000 (Out of memory)

mtd: re-read error at 0x002c0000 (Out of memory)

mtd: write error at 0x002c0000 (Out of memory)

mtd: re-read error at 0x002c0000 (Out of memory)

mtd: skipping write block at 0x002c0000

mtd: write error at 0x002e0000 (Out of memory)

mtd: re-read error at 0x002e0000 (Out of memory)

mtd: write error at 0x002e0000 (Out of memory)

mtd: re-read error at 0x002e0000 (Out of memory)

mtd: skipping write block at 0x002e0000

mtd: write error at 0x00300000 (Out of memory)

mtd: re-read error at 0x00300000 (Out of memory)

mtd: write error at 0x00300000 (Out of memory)

mtd: re-read error at 0x00300000 (Out of memory)

mtd: skipping write block at 0x00300000

mtd: write error at 0x00320000 (Out of memory)

mtd: re-read error at 0x00320000 (Out of memory)

mtd: write error at 0x00320000 (Out of memory)

mtd: re-read error at 0x00320000 (Out of memory)

mtd: skipping write block at 0x00320000

mtd: write error at 0x00340000 (Out of memory)

mtd: re-read error at 0x00340000 (Out of memory)

mtd: write error at 0x00340000 (Out of memory)

mtd: re-read error at 0x00340000 (Out of memory)

mtd: skipping write block at 0x00340000

mtd: write error at 0x00360000 (Out of memory)

mtd: re-read error at 0x00360000 (Out of memory)

mtd: write error at 0x00360000 (Out of memory)

mtd: re-read error at 0x00360000 (Out of memory)

mtd: skipping write block at 0x00360000

mtd: write error at 0x00380000 (Out of memory)

mtd: re-read error at 0x00380000 (Out of memory)

mtd: write error at 0x00380000 (Out of memory)

mtd: re-read error at 0x00380000 (Out of memory)

mtd: skipping write block at 0x00380000

mtd: write error at 0x003a0000 (Out of memory)

mtd: re-read error at 0x003a0000 (Out of memory)

mtd: write error at 0x003a0000 (Out of memory)

mtd: re-read error at 0x003a0000 (Out of memory)

mtd: skipping write block at 0x003a0000

mtd: write error at 0x003c0000 (Out of memory)

mtd: re-read error at 0x003c0000 (Out of memory)

mtd: write error at 0x003c0000 (Out of memory)

mtd: re-read error at 0x003c0000 (Out of memory)

mtd: skipping write block at 0x003c0000

mtd: write error at 0x003e0000 (Out of memory)

mtd: re-read error at 0x003e0000 (Out of memory)

mtd: write error at 0x003e0000 (Out of memory)

mtd: re-read error at 0x003e0000 (Out of memory)

mtd: skipping write block at 0x003e0000

mtd: write error at 0x00400000 (Out of memory)

mtd: re-read error at 0x00400000 (Out of memory)

mtd: write error at 0x00400000 (Out of memory)

mtd: re-read error at 0x00400000 (Out of memory)

mtd: skipping write block at 0x00400000

mtd: write error at 0x00420000 (Out of memory)

mtd: re-read error at 0x00420000 (Out of memory)

mtd: write error at 0x00420000 (Out of memory)

mtd: re-read error at 0x00420000 (Out of memory)

mtd: skipping write block at 0x00420000

mtd: write error at 0x00440000 (Out of memory)

mtd: re-read error at 0x00440000 (Out of memory)

mtd: write error at 0x00440000 (Out of memory)

mtd: re-read error at 0x00440000 (Out of memory)

mtd: skipping write block at 0x00440000

error writing recoveryfailed with error: -1

sorry for big post, but maybe someone can help.

edit: found an other way to fix it :D