Flashing the MAIN resets the phone.

Master reset can be done through settings.