For a full factory reset, push a paperclip into the little hole, hold it there, and turn on the camera. After 30 seconds, the lights should start flashing and the camera should be in its factory state.