Halfway through the last update my iPhone 12 restarted and now it boots to the Apple logo, shows a progress bar, then restarts again. It has done this about eight times.
I really want to avoid wiping it. Is there a way to get it back without losing photos?
Start with a forced restart — on iPhone 8 or later: press and release Volume Up, press and release Volume Down, then hold the side button until the Apple logo appears. If it boots, go straight to Settings → General → Software Update and check whether a follow-up update is available.
If it loops again, connect it to a computer and use Finder or iTunes. Put the phone in recovery mode (the same button sequence, but keep holding the side button until the recovery screen) and choose **Update**. That reinstalls iOS while preserving your data. Do not choose Restore unless Update fails.
If Update reports an error, try a different cable and a different USB port first — a flaky connection during recovery is a surprisingly common cause. Only consider a restore once you have accepted that anything not in a backup may be lost.