Failsafe Mode, Factory Reset - TP-Link Archer C5

After flashing LEDE and a few log in/outs, some wrong configurations have apparently blocked me out of normal browser access. I can start the router in Failsafe mode (according to the patterns of flashing lights, but some guidance would be helpful as far as precise steps to reset the LEDE install back to a fresh state.

When the router is in failsafe mode, you can access its command line with an ssh client: ssh root@

The reset can be done with the firstboot command. It reverts the config to LEDE defaults and removes any packages which were installed after flashing LEDE.

You can find more documentation about failsafe mode in the OpenWrt wiki.