This is a quick guide explaining how to fix theĀ FAILED (remote: 'No such file or directory') error in fastboot. Note the error mentions "remote" which indicates it's pertaining to the phone itself not the PC or the location of the file on the PC
Steps on how to fix Fastboot FAILED (remote: 'No such file or directory')
Simply ensure that your device is booted into fastboot (bootloader) mode and not into fastbootd
Code:
adb reboot bootloader
or
adb reboot-bootloader
Important Notice
This particular error is different from other fastboot no such file or directory found errors
This is commonly encountered on devices running android 10 & above having fastbootd. Certain fastboot commands are meant to be used in fastboot (bootloader) and not in fastbootd and vice versa