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 ?