I recently restored my phone to factory settings, intending to update it and re-root it and all that. I restored it, and tried updating it, but every time I try to update it, it says update failed. When I try to update it, the phone turns off, then turns back on and goes to Clockwork Recovery...