well I'm trying to charge it but it turns on and off . . how do i flash the phone? do I lose everything inside??