0

I'm trying to flash a custom recovery image with fastboot flash recovery recovery.img but it can't find the image, hence I'm powering it on and getting into location where the image is to execute the command. The problem is fastboot doesn't detect the phone when the phone is on but ADB does detect it. How can I troubleshoot this ?

| improve this question | | | | |
1

Fastboot images have to be stored on the PC where you execute the fastboot command not on the device.

Therefore the common process is:

  1. PC: Download the image to be flashed
  2. Boot the device into bootloader/fastboot mode
  3. Connect the device to the PC via USB
  4. Execute on the PC fastboot flash <target_partition> <path to the image on the PC>

Flashing firmware images that are stored as image file on the device is usually a job for a recovery ROM such as TWRP.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.