Airrohr flasher: failed to connect to espressif device: timed out waiting for packethead

You take some dupont cables (the small cables with the black connectors) and plug the pin of a GPIO (a pin with a number) and a GND pin! The buttons do exactly the same. Do you have a USB2TTL dongle (the usb stick given with an SDS011 for example)? The problem can be a cut line somewhere in the PCB.