Skip to content
How to Fix Bootloop without Data Loss on iPhone 15 Plus: Complete Diagnostic ManualMappleCare Community ↗

How to Fix Bootloop without Data Loss on iPhone 15 Plus: Complete Diagnostic Manual

By • • 8 min read

1. Issue Overview & Symptoms on iPhone 15 Plus

The iPhone 15 Plus bootloop manifests as an infinite restart cycle where the device powers on, displays the Apple logo (with or without the progress bar), and subsequently cuts power to the display and application processor (AP) before reaching the SpringBoard lock screen. On the A16 Bionic platform, this typically indicates a failure in the bootx / iBoot handoff to the XNU kernel, or a userspace crash in launchd (PID 1) during the early boot phase (RunLevel 1/2). Users observe a rigid 3–10 second interval between logo appearance and hard reset. Critically, the device remains enumerable on the USB 3.2 Gen 2 (10 Gbps) bus in DFU mode but disappears from the bus during the logo phase, preventing standard idevicebackup2 or ideviceinfo interrogation. No “Connect to Computer” (Recovery Mode) screen appears unless forced via hardware key combination (Volume Up, Volume Down, Hold Side Button). The Secure Enclave Processor (SEP) firmware (sep-fpga) often loads successfully—evidenced by the ability to enter DFU—but the Application Processor (AP) firmware (iBoot) fails signature verification or encounters a fatal page fault during APFS container mount (com.apple.apfs.kext). Data loss risk is high if the user inadvertently triggers “Erase All Content and Settings” via Finder/Configurator 2 or allows the battery to deplete below the PMIC’s VBAT_MIN threshold (approx 3.0V), causing NAND wear-leveling metadata corruption.

2. Subsystem Architecture & Failure Mechanics

The boot sequence on iPhone 15 Plus (D84AP) follows a strict Chain of Trust: Boot ROM (immutable) → LLB (Low Level Bootloader) → iBoot → Kernelcache → Userland. A bootloop typically originates in Stage 3 (iBoot) or Stage 4 (Kernel/Userland). The A16 Bionic’s PMIC (PMU_GRAPE / PMU_MALIBU) manages 12+ power rails (e.g., VDD_CPU, VDD_SOC, VDD_NAND). A transient voltage droop on VDD_SOC (1.05V nominal) during the kernel’s initialization of the AppleNANDConfigAccess driver can trigger a Watchdog Timeout (WDT) reset via the IOWatchdogTimer driver, presenting as a logo-loop.

On the storage layer, the APFS container (logical volume group) resides on the NVMe-over-PCIe NAND controller (Apple S8000 series). If the previous shutdown was unclean (kernel panic, thermal shutdown, or battery pull), the APFS transaction tree (checkpoint region) may be in a “dirty” state. During mount, apfs.kext attempts replay of the redo log (.j files in the container superblock). If the log contains corrupted extents—often caused by bit-flips in the NAND’s SLC cache region or a failed trim operation—the kernel triggers panic(cpu 0 caller 0x...): "APFS: invalid checkpoint". Because the panic occurs before launchd spawns logd or syslogd, no panic log is persisted to /var/log/panic-full-*.ips. The SEP, however, remains operational, maintaining UID/GID keybag encryption keys, meaning the Data Protection class keys (Class A, B, C) are intact in the Effaceable Storage area. This architecture confirms user data is cryptographically safe provided the NAND physical blocks are readable and the Secure Enclave UID is uncompromised.

3. Pre-Flight Diagnostic Checklist

  • USB-C Port Integrity: Inspect for liquid intrusion (LCI tripped) or bent pins (USB 3.2 TX/RX differential pairs). Use a USB-C breakout board to verify VBUS (5V/9V/15V/20V PD negotiation) and CC1/CC2 pull-downs (5.1kΩ).
  • Host Machine Setup: macOS 14.5+ (Sonoma) or 15.0+ (Sequoia) with Apple Configurator 2.15+, libimobiledevice (brew install libimobiledevice), and idevicerestore compiled with --enable-curl for IPSW fetching.
  • IPSW Verification: Download signed IPSW for iPhone 15 Plus (Identifier: iPhone16,2) for target iOS version (e.g., 18.2 / 22C152). Verify SHSH2 blobs via tsschecker if targeting unsigned firmware (downgrade impossible on A16 without SEP exploit).
  • DFU Enumeration Test: Enter DFU (Vol Up, Vol Down, Hold Side 10s, Release Side, Hold Vol Down 5s). Verify lsusb -v -d 05ac:1281 shows “Apple Mobile Device (DFU Mode)” with bcdDevice matching iBoot version.
  • Battery Health: If accessible via idevicediagnostics in Recovery Mode, check BatteryCurrentCapacity > 20% and BatteryCycleCount < 800. Deep discharge (< 2.8V) requires 30min trickle charge before DFU stability.
  • Backup Status: Confirm last iCloud/Computer backup timestamp via idevicebackup2 info on last known good boot.

4. Terminal & Diagnostic Commands

Execute the following on the macOS host terminal with the device connected via USB-C. Requires sudo for syslog and USB kernel extension access.

# 1. Monitor USB enumeration/disconnect cycles in real-time (Kernel level)
log stream --style syslog --predicate 'subsystem == "com.apple.iokit" AND category == "USB"' --level debug
# 2. Capture panic logs if device manages to write to NAND before reset (Recovery Mode required)
# Boot into Recovery Mode (Vol Up, Vol Down, Hold Side until Cable/Computer icon)
idevicecrashreport list
idevicecrashreport copy  ~/Desktop/panic_logs/
# Parse latest panic for APFS/Storage keys
grep -a -E "APFS|NAND|checkpoint|transaction|IOPCIDevice" ~/Desktop/panic_logs/*.ips | head -40
# 3. Diagnose NAND health via NVMe SMART log (Requires jailbreak or Apple Internal Diags - limited external access)
# Proxy via idevicediagnostics (Recovery Mode only)
idevicediagnostics diagnostics | grep -A 20 -i "storage\|nand\|wear"
# 4. Attempt APFS Container Mount Read-Only via libimobiledevice (AFC2 not available in bootloop)
# This fails if OS doesn't boot, but validates USB/AMS link
ideviceinfo -k UniqueDeviceID -k ProductVersion -k BuildVersion -k FirmwareVersion
# 5. Check TSS/Signing status for current/restore firmware (Critical for Protocol 2 & 3)
tsschecker -d iPhone16,2 -i 18.2 -o -s --buildid 22C152 | grep -E "APTicket|Nonce|Generator"
# 6. Low-level DFU payload upload test (Verify USB 3.0 PHY link training)
# Use irecovery (libirecovery) for interactive shell
irecovery -q
# Expected: HW_MODEL: D84AP, HW_STR: iPhone16,2, ECID: 0x..., CPID: 0x8015 (A16), BDID: 0x0A
# Upload a dummy payload to test SRAM write stability
irecovery -f /dev/null -c "go"

5. Step-by-Step Remediation Protocols

Protocol 1: Forced Recovery Mode Update (Non-Destructive, Preserves User Partition)

  1. Connect iPhone 15 Plus to macOS host via USB-C (Thunderbolt 3/4 cable preferred for signal integrity).
  2. Enter Recovery Mode: Press Volume Up → Release. Press Volume Down → Release. Press and Hold Side Button. Do not release when Apple logo appears. Continue holding until “Connect to Computer” screen (Recovery Mode) displays.
  3. Open Finder (macOS 10.15+) or Apple Configurator 2. Select device in sidebar.
  4. Hold Option (⌥) key and click Update (not Restore). Select the downloaded iPhone16,2_18.2_22C152_Restore.ipsw.
  5. Finder verifies signature with Apple TSS server (requires internet). It patches iBoot, Kernelcache, and RootFS (dm-verity) but preserves /private/var (User Data APFS Volume) and /private/preboot.
  6. Monitor progress bar on device. If it stalls at “Waiting for iPhone” > 15 mins, or errors 4013 (NAND write timeout) / 4005 (SEP firmware mismatch), abort to Protocol 2.
  7. Post-update: Device boots to Lock Screen. Immediately verify Settings > General > iPhone Storage shows Photos/App data intact.

Protocol 2: Futurerestore with Custom IPSW (Preserves Data via SEP/Baseband Compatibility)

Prerequisite: Valid SHSH2 blobs (APTicket) for target iOS saved via tsschecker or blobsaver while Apple was signing. A16 requires matching SEP + Baseband firmware compatibility.

  1. Extract BuildManifest.plist from target IPSW: unzip -j iPhone16,2_18.2_22C152_Restore.ipsw BuildManifest.plist -d ~/fw/.
  2. Verify SEP/Baseband compatibility: grep -A 5 -B 5 "SepFirmware\|BasebandFirmware" ~/fw/BuildManifest.plist. Ensure SepFirmware version matches currently running SEP (check via irecovery -q in DFU: SEP_VERSION).
  3. Build custom IPSW preserving User Data (Advanced): Use ipsw tool (Go binary) to create “Data Preserving” IPSW. ipsw custom --data-preserve --ipsw ~/fw/iPhone16,2_18.2_22C152_Restore.ipsw --output ~/fw/custom.ipsw. Note: This modifies the Restore.plist to skip EraseUserData step.
  4. Enter DFU Mode (Vol Up, Vol Down, Hold Side 10s, Release Side, Hold Vol Down 5s). Screen stays black.
  5. Execute Futurerestore (compiled with libfragmentzip and libpartialzip):
    futurerestore -t ~/shsh2/iPhone16,2_18.2_22C152.shsh2 \
        --latest-sep --latest-baseband \
        --no-reboot \
        ~/fw/custom.ipsw
  6. Monitor irecovery logs for “Waiting for device” → “Sending iBEC” → “Sending Kernelcache” → “Mounting RootFS”. If “Mounting RootFS” fails with ERROR: AMRecoveryModeDeviceCreate 0x1, NAND controller is rejecting write commands (Protocol 3).
  7. Device reboots to Lock Screen. Validate data.

Protocol 3: Hardware-Level NAND Intervention (Specialist Only – Micro-soldering / ISP)

Indicated if Protocol 1/2 fail with NAND errors (0xE8008001, 0xE8000065) or device enters DFU but fails to enumerate NAND geometry (irecovery -q shows NAND: 0MB).

  1. Diagnosis: Remove logic board. Measure VCC_NAND (1.8V) and VCCQ_NAND (1.2V/1.8V) rails at PMIC output inductors (L1200/L1201) with multimeter in diode mode (board unpowered) and voltage mode (battery connected). Check for short to GND on NAND_CE0, CLE, ALE, RE#, WE# lines.
  2. ISP (In-System Programming) Dump: Solder enameled wire (0.05mm) to NAND BGA test points (CLK, D0-D7, CE#, RB#) or use Z3X ISP adapter for BGA152/132. Use nandpro or FlashcatUSB to dump raw NAND physical image (LUN0/LUN1).
  3. APFS Forensic Reconstruction: Load raw dump into apfs-fuse or mac_apt on Linux workstation. Locate APFS Container Superblock (magic NXSB). Verify Checkpoint 1 & 2 validity. If dirty, manually replay journal using apfs_journal_replay tool (custom script) targeting the /private/var volume UUID.
  4. Keybag Extraction: Dump Effaceable Storage region (Block 0-10 usually) to retrieve EMF (Effaceable Master Key) and Class Keys wrapped by SEP UID. Required if SEP is functional but AP NAND controller is dead.
  5. Transplant / Repair: If NAND die is faulty, transplant to donor board (requires BGA reballing, SN/ECID/Bluetooth/WiFi calibration via Apple Service Toolkit 2). Re-flash corrected raw image.
  6. Reassembly & Validation: Boot device. If successful, immediately backup via idevicebackup2 backup --full ~/RescueBackup.

6. Hardware & Telemetry Parameter Matrix

Parameter Subsystem / Rail Nominal Spec (iPhone 15 Plus / A16) Failure Threshold / Bootloop Indicator Measurement Point / Tool Diagnostic Relevance
VDD_SOC (CPU/GPU Core) PMIC (PMU_MALIBU) Buck 0

Still running into this issue on your iPhone or Mac?

Share your OS version, device model, and exact error code in our independent peer Q&A rooms.

Ask in Community Forum →