Ensure the battery is charged to at least 50% to prevent the phone from powering off during the process.