I would be very interested in how to do this too. I bricked one of my Shelly1 PMs and I would like to flash the firmware back on it. I have the firmware to restore it but what is the best way to flash it on to it? Can I use some type of flasher and connect to the GPIO ports with a serial adapter to flash it?