Revert "Revert "Flashing""

This reverts commit 7e535aa17bae7f3b05523da501a7d51f2eaab4d0.