Hi and welcome to JustAnswer,Thank you for the question and your patience. Should you still need assistance for information purposes only...Initially, please provide more details on "...having problems..."
Still and on "...bring it back to factory settings...", perform a RESET (if system would allow and if have not been tried). Click HERE.
However and on most instances, the prescribed procedure is to re-load the firmware; i.e. flash the EPROM.
A hopeful workaround is to try manually upgrading/reloading the firmware or even upgrading to a known functional/bug-free version. Please click HERE for detailed instructions while HERE for the zipped copy of the firmware.