If its a hardware failure that would require a new motherboard, then you would just re-install, the activation may fail, go to the phone activation and follow the prompts.
90% of the time is automated and will automatically give you a code to enter and it will be activated