Flash recovery image using terminal [how to, Android]
The easiest way to flash a new recovery image on your Android phone is via ROM Manager. Well, what if the ROM Manager fails to install the recovery image? Worst is, in some cases, even after getting the ‘successfully flashed recovery image’ you will not see the installed one after booting into recovery mode.

In such cases, most of the googled webpages will ask you to install ADB, Android SDK, and so on. When you start installing Android SDK, it will ask you to install Java JRE and so on and so forth. At the end of this futile exercise, you would have gone nowhere.
So, just do the following:
- Go to ROM Manager Recoveries, and download the recovery image corresponding to your device
- Put that recovery image in the SD card – not in any folder
- Open the Terminal application on your phone – install if you don’t have one
- Open Terminal app and type the following code
su
flash_image recovery /sdcard/recovery_image_name
Example: If you recovery image name is recovery-clockwork-2.5.1.3-z71.img, then the code mentioned above will look like this
flash_image recovery /sdcard/recovery-clockwork-2.5.1.3-z71.img
Note: There is a blank space between flash_image recovery and /sdcard/
Hope this is useful. If so, please share this post…
[thanks]