Returns it to the state you got it in when you first removed it from its box, which means you lose all your apps, settings and data that's stored on internal storage.
Awe I see, I read in a random post that they. Reflash the firmware which cannot be done at home.