How do I get a ZyXEL NBG6817 back on stock firmware?

Thank you for the clarification.

For future users looking for the guide, check #1 and/or #2.

It would be great if these links would be added to a section in the device's wiki.

LE: I've created an easy to follow guide for Arch/Manjaro users.