This post is for those who are trying to flash ClockworkMod using NVFlash or OneClickRecoveryFlasher or manually using command prompt on LG Optimus 2X or T-Mobile G2X.
Carefully looking at the error you can recognize that error is about the partition failure, it means command failed to recognize/find the partition you have specified in the command. If you are using OneClickRecoveryFlasher you may find the FlashCWMRecoveryXXXX.cmd file which will contain the commands that I am talking about.
The partition number is mentioned after the --download flag. As marked in red in below command :
nvflash.exe --bct E1108_Hynix_512MB_H8TBR00U0MLR-0DM_300MHz_final_emmc_x8.bct --bl fastboot.bin --download 5 recovery-clockwork-18.104.22.168-p999.img
In order to resolver the error the partition number must be correct.
In case if your trying to flash the recovery in T-Mobile G2X use partition number as 5.
In case if your trying to flash the recovery in LG Optimus 2X use partition number as 14.