Try this, replacing FILE_NAME with the name of the recovery image:
Code:
adb remount
adb push PATH_TO_FILE/FILE_NAME /system/media/FILE_NAME
adb shell
flash_image recovery /system/media/FILE_NAME
exit
adb shell reboot recovery
adb remount = make the system read/write (r/w)
adb push = copy the file from PC to phone, PATH_TO_FILE means if the file is on your C drive not in any folder then PATH_TO_FILE=C:/ and you would type:
Code:
adb push C:/FILE_NAME /system/media/FILE_NAME
adb shell = open the phone's shell, you should see a # sign for a prompt
flash_image = the command to flash the recovery to your phone
exit = exit the phone's shell
adb shell reboot recovery = reboot your phone into the new recovery (if everything worked
)