Whether you’re looking to buy a new iPhone or have your eye on one of the best Android phones, you must wipe your old phone before you can sell it or pass it on. A factory reset will remove any personal data and return the phone to the state it was in when you first took it out of the box.