Restoring to factory settings will erase all data on the phone, but the device information will not be changed.