Good instructions for stripping and flashing can be found here: Help required to revert to stock TP-Link Archer C7 V4 EU