How to flash recovery.img?

3181

1

2015-12-12 22:05

Show all posts
Edited by Sharlton at 2015-12-12 19:44

How to flash recovery.img?

Some friends may want to know how to flash recovery.img into your android devices, Now I will tell you step by step:


  • 1.Make sure your computer has working fastboot and adb.

  • 2.Download recovery -- visit clockworkmod.com/rommanager to check for the latest version of ClockworkMod recovery for your device (if your device can be found there).

  • 3.Connect the device to the computer via USB.

  • 4.Make sure the fastboot binary is in your PATH or that you place the recovery image in the same directory as fastboot.

  • 5.Open a terminal on your PC and reboot the device into fastboot mode by typing adb reboot bootloader or by using the hardware key combination for your device while it is powered off.


  • 6.Once the device is in fastboot mode, verify your PC sees the device by typing fastboot devices
       · If you don't see your device serial number, and instead see "<waiting for device>", fastboot is not configured properly on your machine. See  fastboot documentation for more info.
       · If you see "no permissions        fastboot", make sure your UDEV rules are setup correctly.

  • 7.Flash recovery onto your device by entering the following command: fastboot flash recovery your_recovery_image.img where the latter part is the filename of the recovery image.

  • 8.Once the flash completes successfully, reboot the device into recovery to verify the installation.  
      · Note: Some ROMs overwrite recovery at boot time so if you do not plan to immediately boot into recovery to install CyanogenMod, please be aware that this may overwrite your custom recovery with the stock one.