Archer C58 V1 Flash Back to Factory

I installed OpenWRT on this router bit I'm finding it very unreliable. I don't think it's the greatest chip to be honest.

I've been trying for days to try to flash it back to factory but can't figure it out. Can someone give me an idiots guide of how to do it please?

It's a TP Link Router mate.

oops. my mistake.

See https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=b05c7193fd289ff697324caccf77adf9ffa76373