Dissecting a Phantom Logic Board Short: Live iOS Console Forensics Across BFU, Wi-Fi LQM, and USB-C PD
When an iPhone 16 stopped negotiating USB-C Power Delivery and spiked hot over the A18 SoC on boot, isolating BFU vs. AFU states, wifid Link Quality Metrics, and live macOS Console logs uncovered two independent software bugs masquerading as one dead logic board.
Compound software failures are dangerous because they impersonate catastrophic hardware faults. When two independent subsystem regressions strike at the same time, Occam’s Razor nudges you toward a single physical explanation—often an expensive and wrong one.
One evening, my iPhone 16 exhibited three symptoms simultaneously:
- Zero-watt rejection on USB-C Power Delivery: Plugged into a known-good laptop USB-C PD brick, it drew
0Wand refused to initiate charging. - Legacy trickle fallback over host USB: Connected via USB-C to a MacBook Pro, it barely trickled upward.
- Immediate top-third thermal spike: Seconds after booting, the upper third of the chassis—directly over the A18 SoC and logic board—grew rapidly hot.
Taken together, failed USB-C PD negotiation on CC1/CC2 plus localized heat over the main logic board looks exactly like a shorted Power Management IC (PMIC) or damaged USB-C controller dumping current as heat. Before condemning the board or risking battery swelling on high-wattage rails, we treated the device like a black-box production incident and isolated each boundary one layer at a time.
Symptoms that mimicked a dead logic board
A true power-rail short or PMIC fault conducts regardless of whether user-space daemons are running. Conversely, an operating system daemon storm only burns power once its execution context is unlocked and scheduled.
Rather than guessing or factory-wiping diagnostic evidence, we structured the triage around four strict boundaries:
- Physical charging path: Inductive MagSafe rails vs. wired USB-C
CC1/CC2Power Delivery negotiation. - Cryptographic boot boundary: Before First Unlock (BFU) vs. After First Unlock (AFU).
- Radio physical/link layer: Airplane Mode vs. Cellular/Bluetooth vs. 5 GHz Wi-Fi Link Quality Metrics (
wifidLQM). - Booted kernel power stack vs. powered-off firmware: Wired USB-C charging with iOS booted vs. powered completely off.
Step 1: Isolating power rails and BFU vs. AFU
First priority was verifying whether an electrical short existed on the battery or wireless charging rails:
- Inductive rail check: Placed on a MagSafe puck, the phone charged smoothly up to its
90%limit in normal time with zero abnormal heat. - Before First Unlock (BFU) soak: Next, I powered the iPhone on and left it sitting on the passcode screen—before entering the passcode for the first time since boot—for roughly an hour. In
BFU, Data Protection (NSFileProtectionComplete/CompleteUntilFirstUserAuthentication) keeps user-space vaults encrypted and prevents third-party background daemons and sync queues from initializing. The chassis stayed completely cool. - After First Unlock (AFU) trigger: The exact second I entered my passcode (
AFU), the top third over the SoC spiked hot. I powered the phone down immediately and placed it back on MagSafe; it cooled down almost instantly.
That three-step test cleared the battery, wireless charging circuitry, and idle standby power rails without opening the enclosure. The heat source was unequivocally an active software workload launching across the BFU -> AFU decryption boundary.
Step 2: Streaming live Console logs and filtering red herrings
Instead of speculating about which process woke up on unlock, I connected the locked iPhone to macOS Console.app over USB-C, started live unified log streaming, and entered the passcode to capture the exact BFU -> AFU transition.
Filtering initially on thermal surfaced an immediate trap—thermalmonitord throwing two <Error> lines every 5 seconds on the clock:
error thermalmonitord <Error> could not find `cpu-avg-limiter-input-w2r property
error thermalmonitord <Error> Failed to read `cpu-avg-limiter-input-w2r
In live triage, periodic error logs from a thermal daemon look like a smoking gun. In reality, missing cpu-avg-limiter-input-w2r property lookups fire routinely on completely cool, healthy iPhones. Relying on keyword-matched error logs without checking baseline behavior guarantees chasing ghosts.
Pivoting the Console filter to exclude thermalmonitord (Process != thermalmonitord) also let us check IOAccessoryManager and PortManager: there was no hardware interrupt storm from the USB-C port controller—ruling out a shorted port spamming the CPU with interrupts—though two isolated power-stack errors appeared during AFU initialization that would become crucial later:
error accessoryd Auth timeout setAuthenticationStatus: failed!
error kernel AppleSMCFamily::handleSMCResult ERROR in _writeKeyGated. WAFC kSMCBadArgumentError(0x89)
Step 3: Peeling back layer one (VPN ENOBUFS and Shortcuts)
With thermalmonitord excluded, the AFU error stream exposed a real user-space collision: a wedged utun VPN tunnel (Connect On Demand) failing IPv6 configuration and flooding kernel socket buffer exhaustion (ENOBUFS, errno 55) while colliding with a recurring BackgroundShortcutRunner automation and starving system cloud daemons (cloudd, akd) into -1001 request timeouts:
error kernel utun_output - ctl_enqueuembuf failed: 55
error kernel Sandbox: BackgroundShortcutRunner(<PID>) deny(1) file-issue-extension ...
error cloudd NetworkingError NSURLErrorDomain/-1001
Alongside a looping Home Screen widget hitting chronod reload watchdogs, this was classic background churn. I disabled Connect On Demand on the VPN profile, turned off the Shortcuts automations, and removed the looping widget.
The utun_output ENOBUFS storm vanished immediately from Console. Yet the top third of the phone still ran hot. Layer one was real noise, not the primary thermal driver.
Step 4: Per-radio isolation and clearing Wi-Fi silicon via LQM
Next, I isolated the wireless radios one at a time while monitoring chassis heat and the live Console stream:
- Airplane Mode (Wi-Fi, Bluetooth, Cellular off): Cool, completely normal idle temperatures.
- Bluetooth + Cellular on (Wi-Fi off): Slight, expected baseline warmth.
- Wi-Fi toggled on: Instant top-third heat spike accompanied by a burst of Console activity.
At face value, “phone overheats exclusively when Wi-Fi is enabled” points straight to a failing Wi-Fi/Bluetooth module struggling to maintain association or amplifying retransmissions at max TX power.
Reading the wifid Link Quality Metric (LQM) telemetry in Console disproved that hardware hypothesis immediately:
wifid LQM-WiFi: WeightAvgLQM rssi=-52 snr=35 txRate=866667 rxRate=780000
wifid LQM-WiFi: (HighBand) txRTSFail=0 txPhyError=0
wifid WiFiLQAMgrLinkRecommendationNotify: ... txPer=0.0%
A -52 dBm RSSI, 35 dB SNR, 866 Mbps 5 GHz link rate, zero PHY errors (txPhyError=0), zero RTS failures, and 0.0% transmit packet error rate (txPer=0.0%) is a textbook healthy RF path. The Wi-Fi silicon wasn’t damaged—it was being saturated.
Looking two lines deeper in wifid and nsurlsessiond showed why:
wifid LQM-WiFi: TX(<BSSID>) AC<...> BK<2026 0 0 0 0 0 0 0 0 0 0> (5001ms)
nsurlsessiond nw_flow_notify [... unsatisfied (Interface type 'cellular' is prohibited by parameters)]
Every 5 seconds, wifid was pushing 1,176 to 2,026 WMM Background (BK) access-category transmit frames over encrypted 5 GHz Wi-Fi. The moment I toggled Wi-Fi off, nsurlsessiond aborted six parallel multi-megabyte QUIC/HTTP3 uploads explicitly flagged Interface type 'cellular' is prohibited by parameters.
That single constraint explained the entire radio matrix: Airplane Mode and Cellular stayed cool because the runaway background session was forbidden from touching cellular interfaces, waiting silently until high-band Wi-Fi came online to peg the SoC TLS/QUIC encryption pipeline and 5 GHz transmitter.
Step 5: Using Low Data Mode to catch the 130 MB upload storm
Because iOS marks discretionary background NSURLSession transfers as constrained-network aware, I ran a targeted isolation check: enabling Low Data Mode specifically on the 5 GHz Wi-Fi network (Settings > Wi-Fi > (i) > Low Data Mode).
Temperatures dropped almost immediately. In Console, wifid background (BK) transmit frames fell from 2,026 per 5-second window straight to 0:
wifid LQM-WiFi: TX(<BSSID>) AC<...> BK<0 0 0 0 0 0 0 0 0 0 0> (4999ms)
maild [01] Task ReSyncMailbox has been running for 353 s. Still running
maild Could not get url for mailboxID 0
Quieting the Wi-Fi flood also unmasked a secondary stuck IMAPS (port 993) maild task that had been spinning on mailboxID 0 for nearly 6 minutes (353 s), which we cleared by disabling Mail sync on that account.
To confirm Low Data Mode was truly gating the heat rather than Low Power Mode masking it, I turned Low Power Mode off. Unthrottling the CPU on iOS 27.3 beta (24C5049d) surfaced a flurry of beta-seed sandbox denials from biomesyncd, yet temperatures stayed calm as long as Wi-Fi Low Data Mode remained enabled. The moment I toggled Low Data Mode off, five persistent nsurlsessiond tasks immediately roared back to life, pushing ~130.7 MB outbound (led by an 81.1 MB stream and a 37.8 MB stream) before aborting with -1005 [1:53] when Low Data Mode was re-engaged:
kernel 107 duplicate reports for System Policy: biomesyncd(<PID>) deny(1) file-read-metadata /private/var/mobile/Library/Biome/streams/...
nsurlsessiond Task <TASK_A>.<71> HTTP load failed, 81136839/0 bytes (error code: -1005 [1:53])
nsurlsessiond Task <TASK_B>.<60> HTTP load failed, 37750596/0 bytes (error code: -1005 [1:53])
Step 6: Pivoting log verbosity to unmask the owning client
Why hadn’t nsurlsessiond named the offending app yet? Because nsurlsessiond executes out-of-process transfers on behalf of client apps, and its <Error> lines only log the session/task UUIDs (<TASK_A>.<71>) and byte counts—redacting or omitting the client bundleID unless Default and Info messages are enabled.
I enabled Action -> Include Info Messages in macOS Console, filtered specifically by the 81.1 MB task prefix (<TASK_A>), and toggled Wi-Fi Low Data Mode off for just 10 seconds.
Console caught the client red-handed:
default nsurlsessiond NDSession <SESSION_UUID> Task <TASK_A>.<71> current discretionary status for com.google.photos is discretionary (opt-in: 1)
default nsurlsessiond Task <TASK_A>.<71> summary for pending retry {transaction_duration_ms=728516, response_status=-1, request_bytes=81136839, response_bytes=0}
default powerd Process nsurlsessiond.<PID> Created SystemIsActive "NSURLSessionTask <TASK_A>" id:<ASSERTION_ID> [System: PrevIdle SysAct]
com.google.photos (Google Photos) owned an orphaned background NDSession (<SESSION_UUID>) wedged in a 12-minute (728,516 ms) response_status=-1 upload retry loop pushing 81,136,839 bytes (0 bytes acknowledged) under a 7-day (604,800 s) session timeout—acquiring nonstop powerd SystemIsActive wake assertions ([System: PrevIdle SysAct]) whenever unconstrained Wi-Fi was available.
Because nsurlsessiond persists background sessions at the OS level even if you force-quit the app in the switcher, force-closing the app accomplishes nothing. Pausing backup, uninstalling and reinstalling Google Photos (which tears down orphaned NDSession state in nsurlsessiond), and disabling Background App Refresh for the app permanently flushed the queue.
We left the phone online overnight with Low Power Mode off and Low Data Mode off. By morning, it was completely cool.
Step 7: Closing the wired USB-C PD mystery powered off
With the SoC thermal runaway completely solved, one piece of the initial incident remained: why had wired USB-C charging failed on the laptop PD brick and crawled on the Mac?
Even with the phone cool and idle the next morning, wired USB-C charging still crawled:
- Laptop USB-C PD brick (booted, normal temps): Climbed just
+3%over 25 minutes (63% -> 66%)—no longer0W, but stuck in ~5W legacy fallback. - Second independent USB-C wall adapter + fresh cable (booted & idle, cool): Climbed only
+2%(66% -> 68%). That ruled out a faulty charger or damaged cable.
MagSafe worked at full speed, while three separate wired USB-C sources crawled. At that point, damaged CC1/CC2 pins or a degraded USB-C controller IC still looked plausible—until we ran one final boundary test.
Keeping the iPhone plugged into that exact same second wall adapter and USB-C cable, I powered the iPhone completely off (Volume Up + Side -> slide to power off) for 25 minutes, letting the hardware PMIC and standalone USB-C controller negotiate Power Delivery without the booted iOS kernel in the loop.
When booted back to BFU 25 minutes later, the battery had jumped from 68% to 80% (+12% in 25 minutes) while staying completely cool.
That single A/B comparison (+2% booted vs. +12% powered off on identical hardware, brick, and cable) exonerated the physical USB-C port, CC pins, charging IC, and battery. The wired charging throttle was strictly a booted OS power-stack regression in the iOS 27.3 developer beta seed (24C5049d)—matching the accessoryd authentication timeout and AppleSMCFamily kSMCBadArgumentError(0x89) write error we captured at AFU in Step 2 (a seed build Apple subsequently replaced days later with 24C5049f).
Diagnostic checklist before condemning hardware
Two completely independent software faults—an orphaned 130.7 MB nsurlsessiond upload loop in com.google.photos and an iOS beta accessoryd/SMC USB-C PD negotiation bug—happened to overlap on the same evening, mimicking a single fatal logic board short.
Before writing off an overheating, slow-charging iPhone as dead silicon or authorizing a board swap, run four non-destructive isolation checks:
- Compare
BFUvs.AFUthermals: Reboot and leave the device untouched on the initial passcode screen (BFU) for 30–60 minutes. IfBFUstays cool and heat spikes only after unlocking (AFU), your board and battery lack a physical standby short—you are hunting an unlocked daemon or background queue. - Check
wifidLQM before blaming the Wi-Fi chip: Stream macOS Console over USB and inspectLQM-WiFi. ZerotxPhyErrorandtxPer=0.0%alongside thousands ofBK<...>frames means the radio is healthy and being saturated by backgroundNSURLSessiontraffic. - Use Wi-Fi Low Data Mode +
Infologs to unmasknsurlsessiondclients: Enable Low Data Mode on your Wi-Fi SSID to pause discretionary queues (-1005), switch Console to Include Info Messages (since<Error>logs omit client bundle IDs), filter by the heavy task UUID, and toggle Low Data Mode off briefly to catch the owning bundle ID (com.google.photosor similar)—then reinstall that app to purge its OS-managedNDSession. - Test wired USB-C charging powered completely off: If wired USB-C charging crawls while booted across known-good cables and adapters, power the phone completely off for 20–30 minutes on the same brick. Normal charge gain while powered off clears the USB-C port and PMIC hardware, isolating the fault to booted OS
accessoryd/SMC power management.
https://tedcraft.dev/blog/ios-thermal-charging-forensics/