This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Apple Silicon

This section describes specific things focused on Apple Silicon platrofm. these are machines from M1 series

Apple silicon Macs inherit from iphone/ipad platform. there are many similarities and repair techniques which could be adopted from the iPhone repair community.

Apple introduced M1 machines in the year 2020. Generally, the M1 platform has very few similarities with the classical PC Intel platform. However, since the T2 platform was somewhat of a bridge to Apple’s own platform, there are lots of well-known parts from T2 circuits moved to the new platform (like Display/Backlight, SSD, trackpad and keyboard operation, battery charging controller, and many other things).

1 - Putting an Apple Silicon Mac into DFU mode — key combination and method

The key combination to put an Apple silicon Mac into DFU mode — with reliable timing, the correct port, battery notes, and the restore logs for Revive and Restore.

DFU mode (Device Firmware Update) is the prerequisite for any Revive or Restore of an Apple silicon Mac. Unlike recovery mode, the device shows no image while in DFU — no Apple logo, no display, and on MagSafe no charging LED either. The screen stays fully black; that is normal and not a fault.

Requirements

  • A second Mac (host) running macOS Sonoma 14 or later for the Finder method (or Apple Configurator 2 on older systems).
  • A USB-C cable that supports data and charging (e.g. the Apple USB-C Charge Cable) — not a Thunderbolt 3 cable, and not a charge-only cable.
  • A connection to the correct DFU port on the target (see below).
  • The target must have some charge (see the battery note below).

The key combination and timing

On Apple silicon MacBooks you use three keys plus the power button (Touch ID):

DFU key positions: left Control and Option, right Shift, and the power/Touch ID button at the top right

  • Left Control (⌃)
  • Left Option (⌥)
  • Right Shift (⇧)
  • Power button (Touch ID, top right)

Sequence:

  1. Shut the device down completely.
  2. Press Power + left Control + left Option + right Shift at the same time and hold for exactly 10 seconds (count it out deliberately).
  3. After exactly 10 seconds, release the three keys — but keep holding the power button.
  4. Keep holding power for another ~5–10 seconds, until the large DFU window appears on the host.
  5. Only then release the power button.

Which port?

Only one specific port on the target is the DFU port. On the wrong port no DFU window appears, no matter how clean your timing is. The location depends on the model and changed on the 2025 models — Apple describes each position “facing the left side of the Mac,” i.e. among the USB-C ports on the left side of the device:

  • MacBook Air up to 2024 / most MacBook Pro: the front of the two left-side ports (Apple: “the leftmost USB-C port when facing the left side”).
  • MacBook Air 2025 and later, and the 14" base-M4/M5 MacBook Pro: the other of the two left-side ports (Apple: “the rightmost USB-C port when facing the left side”) — not the right side of the device, but the second left-side port.

Apple lists the exact position per model: Identify the DFU port — support.apple.com.

The battery must be charged — and the “pre-SMC” trick

A Revive or Restore won’t work on a completely empty battery — the device needs some charge. It gets tricky when a device is stuck in the pre-SMC state: it won’t charge from the cable at all and looks “dead.”

The way out: start a Revive anyway. Even if the Revive fails on a timeout, the device loads a RAMDisk with a working SMC component during the attempt, which lets the Mac charge again. Then leave it on the cable, let it charge a bit, and try the Revive again — now with enough charge.

Detailed logs in Console (Console.app)

When the Revive/Restore is run from the Finder, macOS writes a very detailed log on the host. The whole process can be followed live and reviewed afterwards in Console (Console.app).

These logs are invaluable for proper diagnosis: they show exactly which phase a job fails in — firmware write, the transition step, or a USB problem — and give the specific error code (e.g. the 4042 error in the transition step). Without these logs a restore is guesswork; with them you can decide deliberately whether a Revive, a different IPSW, or a hardware fix is needed. Hashed source-file paths in the iBoot part of the log can be looked up in the iBoot log file hashes table.

Technical DFU without a working keyboard (jumper method)

If the device can’t be put into DFU from the keyboard — a dead keyboard, a disconnected top case, or a bare logic board on the bench — the FORCE_DFU signal can be triggered on the board directly. The signal is pulled to the correct rail (PP1V25 / 1.25 V); on most boards the pull-up resistor is not populated, so you have to work from the schematic. This method works with no keyboard at all and is far more reliable in day-to-day repair.

Board-specific jumper points and schematic notes: DFU Mode Restore (Macs) — logi.wiki

Revive vs. Restore

Once the DFU window appears, two actions are offered:

  • Revive — reinstalls firmware and recoveryOS only. User data is preserved. First choice for firmware trouble after an update.
  • Restore — erases the whole device and reinstalls from scratch. All data is lost. Only when the device is meant to be wiped anyway.

A practical Revive case study: MacBook update problems after macOS 26.4.1 (DFU error 4042).

Apple’s official guide

Further reading

  • logi.wiki — technical articles on MacBook repair
  • repair.wiki — community documentation on device repair

2 - MacBook suddenly stopped working after the update to macOS 26.4.1

Your MacBook won’t boot after the 26.4.1 update. Why a restore fails with error 4042 and how to recover the machine without losing data.

Symptoms / Affected machines

John Ternus experiencing firmware failure after transporting his Mac in a backpack — no picture and full fan speed
John Ternus experiencing firmware failure after transporting his Mac in a backpack — no picture and full fan speed.

No matter how exactly update was installed, boot failure happens either right after the update or some time later.

from power perspective - 20V 0.1-0.3A, full system power with slightly warm CPU. No screen, no chime, trackpad haptic or keyboard activity. Affected machines so far:

MacBook Pro from M2 to M4, but probably might happen to MacBook Air too.

What’s actually happening

The failure is in the boot chain — the iLLB → iBoot → kernel transition. According to the speculation investigation so far, the device stops at iBoot in a non-recoverable panic state. no further evidence has been found in the logs yet, and this will be updated as more time with an affected machine allows. The device does not necessarily fail immediately: sometimes the failure only appears on a full restart — which can happen weeks after the faulty update was installed, for example once the battery has gone completely empty. So a device may still boot normally right after the update is installed and only fail weeks later, or whenever the next full reboot occurs.

The log — error code 4042

A typical excerpt from the log in Console (Console.app):

[17:59:01.7501] Finished DFU Restore Phase: Successful
[17:59:01.7505] Changing state from 'Restoring' to 'Transitioning'
[17:59:01.7505] Creating timer to monitor transition
[17:59:01.7505] Creating a timer for 10 minutes
[17:59:01.8554] DFU mode device disconnected
[17:59:01.8554] Device disconnected during transition
[18:09:01.7592] Timer fired to timeout transitioning device
[18:09:01.7596] Changing state from 'Transitioning' to 'Disappeared'
[18:09:01.7596] Device disappeared during transition
[18:09:01.7597] Device isn't booted but USB is up.
[18:09:01.7655] Restore completed, status: 4042
[18:09:01.7655] Elapsed time (in seconds): 607
[18:09:01.7655] Failure Description:
[18:09:01.7655] Depth:0 Code:4042 Error:Gave up waiting for device to transition from DFU state to DFU state.
[18:09:01.7664] AMPDevicesAgent: Restore error 4042

In plain language: LLB payload upload was successful. The device then disconnected and never came back into update mode within the 10-minute window. The process gave up and reported 4042.

The safe fix

Important warning up front: do not attempt a full Restore. Restore erases all user data and hits the same 4042 because the target firmware is the broken 26.4.1.

Revive and Restore are done from the Finder on a second Mac since macOS Sonoma (see DFU mode on Apple Silicon).

Double Revive — fallback technique

Since macOS 26.5 this path is normally no longer needed. It stays documented as a technique because it can help in similar cases which might happen:

  • If a 4042 error occurs, a Revive with an earlier IPSW can fix it. IPSW files per model: ipsw.me and the Apple Silicon IPSW database (Mr. Macintosh).
  • The double revive is an important technique for edge cases where a Revive with the latest version won’t go through.

Steps:

  1. Put the device into DFU (see DFU mode on Apple Silicon).
  2. Revive (not Restore!) using an earlier IPSW — one version back, e.g. 26.4.0 or the latest 26.3.x. Revive reinstalls firmware and recoveryOS only; user APFS volumes are untouched.
  3. The device now boots normally on the earlier firmware. Wait for the login screen.
  4. Revive again — this time with the current IPSW.
  5. Data preserved; machine is on current firmware.

What NOT to do

  • Do not Restore — data loss and the same 4042 error.
  • Do not have the logic board repaired or replaced. There are numerous reports that even several Apple Authorized Service Providers wrote this off as a “hardware” defect. €800 for a new board plus data loss is, in the vast majority of cases, completely unnecessary.

If you’re not sure — find the right repair shop

If you’re not sure, look for a repair shop that knows this issue. The usual quote for such a repair should be roughly the same as what people charge for a system installation on a Windows or Mac machine — technically it is almost the same thing.

Further reading

  • logi.wiki — technical articles on MacBook repair
  • repair.wiki — community documentation on device repair

3 - iBoot log file hashes — which source file a hashed path in the iBoot log refers to

Lookup table mapping the hashed source-file paths that appear in iBoot stage 1–2 logs to the iBoot source files they stand for, with a confidence rating for each entry.

This list is based on my repairshop experience, firmware decompilation and known open sources for that matter. This helps to interpret iBoot stage 1-2 logs on all apple machines including iPhones and iPads. The practical use of that is to see where crash / boot loop comes from.

Since 2018 Apple obfuscated the log output by hashing the filename and showing the line number instead of the message. This allows quickly decoding a log if you have the source code… or not being able to decode anything if you are not. Some time of experience, observations and an older iBoot leak helped me to build some sort of list which most likely is good enough. Sometimes.

— Ripperdoc

The table

Hash Source file Confidence Evidence
505938abd6cebd8 drivers/apple/spmi_common/spmi_common.c Probable 11881 user log
8d3ff3cd3759614 lib/rtbuddy/rtbuddy.c Probable 11881 user log
b5255f381ca81f9 drivers/apple/smc/power.c Probable 11881 user log
89994699affdef lib/manifest_handoff/manifest_handoff.c Probable 11881 user log
b1c4237c7bcbc28 drivers/flash_nor/spi_flash.c Probable 11881 user log
cf9b07b0b523013 drivers/apple/asmi/asmi.c Supported 11881 user log; paired in 5540
78faf5021313e82 lib/nvram/xnu_nvram/xnu_nvram.c Probable 11881 user log
ee37000f60f2e6c lib/syscfg/format/syscfg_v2/syscfg_v2.c Probable 11881 user log
e2846af5eb52553 lib/env/env.c Probable 11881 user log
29e183cf63ce738 drivers/display/summit/summit.c Probable 11881 user log
d6ff466fdb426fd lib/paint/paint.c Probable 11881 user log
44792db82801d1 drivers/usb/usb_dfu.c Supported 5540 reference
8d149238579162 apps/iBoot/upgrade.c Probable 5540 reference
a1d0368c9207c1 drivers/usb/usb_controller.c Probable 5540 reference
d321190e9bf4a4 lib/image/image.c Probable 5540 reference
ea0f64a4253252 drivers/usb/usb.c Tentative 5540 reference
1146f7662f76128 platform/t8012/init.c Probable 5540 reference
11a12b6063c71bb drivers/apple/ans2/ans2.c Supported 5540 reference
128ee05ea06efe3 drivers/apple/adbe/adbe.c Tentative 5540 reference
12fee2c9d9c358a lib/himem/himem.c Probable 5540 reference
16fc6bd46eff0a3 drivers/nvme/nvme_blockdev.c Probable 5540 reference
19e9cf362ef77c2 lib/nvram/nvram.c Probable 5540 reference
1a618789140ad84 lib/rtbuddy/rtkit_firmware.c Probable 5540 reference
1d48c592ce4f38c platform/generic/platform_dep.c Probable 5540 reference
1fc16f09f731390 lib/rtbuddy/endpoints/crashlog_decoder.c Probable 5540 reference
27bc020f86aa6d9 arch/arm64/timer.c Tentative 5540 reference
2d2fa2a9625c0de lib/rtbuddy/endpoints/syslog_ep.c Probable 5540 reference
2fa51a84caa15d9 lib/paniclog/paniclog.c Probable 5540 reference
305e555c8e4b974 lib/devicetree/devicetree.c Probable 5540 reference
3118294eda38cde lib/fs/fs.c Probable 5540 reference
32082f0991013e7 lib/rtbuddy/endpoints/ioreporting_ep.c Tentative 5540 reference
337a834f05a86eb drivers/usb/usb_core.c Probable 5540 reference
34ad2e1b005dac6 lib/nonce/nonce.c Tentative 5540 reference
383323a17a17bdd sys/hash.c Probable 5540 reference
3974bfd3d441da3 apps/iBoot/main.c Probable 5540 reference
3dbf4813d23669d drivers/usb/usb_transfer.c Probable 5540 reference
3dfcb770dc4184d lib/heap/heap.c Probable 5540 reference
4017cc8f697059e sys/halt.c Probable 5540 reference
45a054fc6ed9cb1 drivers/apple/adfe_v2/adfe_v2.c Probable 5540 reference
4fbf8fe65e3b7c6 drivers/dialog/smc/power.c Probable 5540 reference
5383366e236c433 drivers/apple/aes_v2/aes_v2.c Probable 5540 reference
55765e86f67c884 lib/sys/lock.c Probable 5540 reference
563cf8446498b88 lib/slice/slice.c Probable 5540 reference
591cbeb7309de42 platform/defaults/platform_get_default_gpio_cfg.c Tentative 5540 reference
5f1be8907cf85ae lib/trustcache/trustcache.c Probable 5540 reference
5fb389c880ed083 drivers/synopsys/usbotg/synopsys_otg.c Probable 5540 reference
62039c63193986a lib/sepfw/sepfirmware.c Tentative 5540 reference
622f0e2b53ba400 lib/fs/apfs/apfs_io.c Supported 5540 reference
6369a885c7def0d drivers/apple/aic_v1/aic_v1.c Probable 5540 reference
6476b5993bf0843 sys/boot.c Tentative 5540 reference
6974d0e64a41c38 platform/t8012/dcs_v2/dcs_misc.c Probable 5540 reference
6a6e5b077ed3d6f lib/devicetree/devicetree_load.c Probable 5540 reference
6ce7fa4a7965371 arch/arm64/handlers.c Probable 5540 reference
7072b9b7898c01e lib/libc/printf_chk.c Probable 5540 reference
7311b67eeb2cb49 drivers/apple/sart/sart.c Probable 5540 reference
75add4b21f7c211 drivers/aes/aes.c Tentative 5540 reference
788b0aeb594b95d lib/blockdev/subdev.c Probable 5540 reference
7ab90c923dae682 apps/iBoot/boot.c Probable 5540 reference
7f08e6b5656548f lib/rtbuddy/endpoints/management_ep.c Tentative 5540 reference
816e7cb5589f634 lib/blockdev/mem_blockdev.c Probable 5540 reference
83eeee7ebe28907 lib/random/random.c Probable 5540 reference
894d6ca0c83acd5 lib/macho/dt.c Probable 5540 reference
8d1d6480abe33de lib/rtbuddy/endpoints/crashlog_ep.c Probable 5540 reference
8f871f6069439d2 drivers/apple/dockchannel/dockchannel_uart.c Probable 5540 reference
9646deccc5a07df drivers/flash_nor/nor.c Tentative 5540 reference
9905b4edc794469 lib/fs/apfs/apfs.c Probable 5540 reference
9ab7ea948e501dd drivers/apple/mailbox/mailbox128/mailbox128.c Probable 5540 reference
9d29bff3de2f1d0 platform/t8012/dcs_v2/dcs_calibration.c Supported 5540 reference
9dd7a41e3b2bbad lib/handoff/handoff.c Probable 5540 reference
a3215c29bd45c79 drivers/samsung/uart/uart.c Probable 5540 reference
a3a3143604d1cbe lib/image/image4/image4_wrapper.c Probable 5540 reference
a3ca66f2d546829 drivers/apple/smc/smc.c Probable 5540 reference
a60aa294185a059 lib/syscfg/syscfg.c Probable 5540 reference
a623ae368d5800d drivers/apple/sep/sep_client.c Probable 5540 reference
ad486fa393ec77a lib/image/image4/image4_partial.c Supported 5540 reference
b2ab4e1701ff796 drivers/apple/gpio/gpio.c Probable 5540 reference
b3206497b8a9782 drivers/apple/reconfig/reconfig.c Probable 5540 reference
b347e76762be1ba platform/generic/platform_indep.c Probable 5540 reference
b3c68eb611ff63b drivers/apple/ccc/ccc.c Tentative 5540 reference
b4ebe6fdc23a646 arch/arm64/mmu.c Probable 5540 reference
bd8be62280578be sys/security.c Probable 5540 reference
c3719295753c4d3 sys/supervisor.c Probable 5540 reference
c3bf8bce75d7900 drivers/synopsys/mipi/dsim.c Probable 5540 reference
c8236b3a04ee390 lib/macho/macho.c Tentative 5540 reference
cb5568870038567 arch/arm64/task.c Probable 5540 reference
cbc0ab19870954d apps/iBoot/firmware.c Probable 5540 reference
cc41098f622d032 drivers/apple/mapper/mapper.c Tentative 5540 reference
d3867c5c5ae3d8b sys/task.c Probable 5540 reference
d50aa58e23f4d4e drivers/apple/a7iop/a7iop.c Probable 5540 reference
d64e4ac4ef51039 drivers/nvme/nvme.c Supported 5540 reference
d712657af467eb2 drivers/usbphy/usbphy.c Probable 5540 reference
dce7b01f6ef60a3 lib/macho/kernelcache.c Probable 5540 reference
e07221ad418c9d8 drivers/apple/dither/dither.c Tentative 5540 reference
e4a1138e30a0d9b drivers/apple/mailbox/mailbox64/mailbox64.c Probable 5540 reference
e51893b627f0e6e lib/power/power.c Probable 5540 reference
eaa42379f549cbe sys/debug.c Tentative 5540 reference
ec06a4d16c8adb1 drivers/apple/dcs_v2/dcs.c Probable 5540 reference
eff478cd85e2305 lib/libc/misc.c Probable 5540 reference
f09613ac754f1b8 lib/blockdev/blockdev.c Supported 5540 reference
f44c5811d66eaf6 lib/huffman/huffman.c Probable 5540 reference
f4f3c0599de776b platform/t8012/miu/miu.c Tentative 5540 reference
fa351f01526260a lib/mib/mib.c Probable 5540 reference

4 - Signal-line analysis for diagnosing bootloops on Apple Silicon devices

Using a logic analyzer on the management buses (I²C, SPMI)

Scope

On Apple-Silicon-class devices, signal-line analysis — probing the device’s internal management buses with a logic analyzer — is a way to gather diagnostic information before resorting to an SoC swap. CPU swap is often overestimated despite being generally a dangerous procedure. Even if done on controlled BGA Soldering station, CPU and NAND will get thermal shock which might harm and even destroy them - you will never know.

I will try to describe some methods and ideas about such diagnostics.

iPhone iOS / iPadOS is a diagnostic nightmare if no panic log available.

The iPad Pro 2020 uses the A12Z, a CPU quite similar to the M1 — the Apple DTK (Developer Transition Kit) even ran macOS on the same A12Z silicon.

Despite that hardware closeness, iPadOS is a very closed box, with close to zero possibility to troubleshoot bootloops. Recovery and DFU are firmware/restore states, not a usable OS — there is no terminal and no way to mount or read the user data partition, unlike macOS Recovery. The user data is also cryptographically out of reach: on A12-class SoCs (the A12Z included) the Secure Enclave Boot ROM locks the passcode seed bit the moment the device enters DFU or Recovery, so Data Protection class A/B/C data stays encrypted in those modes, and the file-system key hierarchy is rooted in the SEP’s fused UID key, which never leaves the AES engine (src: Apple Platform Security). This leaves a very limited set of diagnostic possibilities. If you don’t have panic log which requires you to have mostly functional device, if device goes through soft-update well - you are almost blind, at least it seems bareboard soft-updates quite well, in many cases - iPhone will go through that being halved from its modem board. This is actually a big difference to macOS - macOS would boot with half board dead (sensors, peripherals, controllers) but won’t go through software update and fail with useful log entry. Unlike Macs you can’t even try old IPSW — every restore needs a fresh Apple-signed ticket tied to the device ECID, and Apple stops signing old versions, so downgrades fail outside the signing window (or without saved SHSH2 blobs).

Worth noting: on checkm8 / bootrom-exploitable devices (up to A11 - iPhone X and earlier) this is a completely different story. There checkm8 lets you ramdisk-boot and even dump SEP memory, so partial filesystem / BFU (before first unlock) extraction is on the table and you can actually do real diagnostics - the box is barely closed. A12 patched that bootrom hole for good, so on the A12Z (and anything newer) none of it works anymore. That’s exactly why this iPad is such a pain - it sits right on the wrong side of that line. User data is secure from being restored.

It is therefore understandable that standard iPhone/iPad “data recovery” often ends up with no diagnostic at all and simply a swap. However, a CPU swap carries a certain risk of further damage even when done properly. General rule of thumb: avoid heating SOC + NAND more than 200C unless completely necessary. Always cover such parts, put heatsinks.

The case

An iPad Pro 12.9″ (2020) that caught a bootloop close to the end of boot. Sidenote: Usually iPads and iPhones are out of my scope, but customer was referred to me and my knowledge (unfortunately) on scam “standards” of many data recovery companies convinced me to give it a shot.

TLDR - I recommended customer to wait till major software update after I fixed DFU mode. That was sort of “gut feeling” but also I did not know symptoms how it went off.
After few weeks of struggle/analyze, finding a clue in GPU failure, then replacing PMIC, I contacted one very reputable and kind repair colleague with broader expertise (link below) in Apple mobiles, and told me that IS, in fact, most likely a SOFTWARE problem and “swap” won’t do anything good to this device, we should wait. Full circle. Hope it works :) .

How it died

The device was low on battery, and the GPU supposedly crashed: a grayed-out UI with a loading circle, which indicates the system waiting on a response from the hardware GPU driver — supposedly blinked few times and went off.

The bootloop clearly happens exactly on the display-resolution change that shortly precedes the crash. iPads SoC clearly has two video modes, similar to the Intel iGPU platform: the GPU is only powered and utilized when there is GPU load (only short power check during SiliconInit EFI POST). I guess GPU is always needed to render the fancy-wobbly translucent Liquid Glass UI of iPadOS 26, but it is not used in the recovery state.

iPad recovery screen: “This iPad encountered an issue while starting”, iPadOS Version 26.4.2 (Build 23E261)

The built-in recovery state — a low-load screen where the GPU is not utilized. Trying to “recover” immediately “fails” which might actually indicate a software issue. Soft-update ends up with “swipe up to recover data, then falls back to the same bootloop.

Findings in this unit

Two distinct issues were found:

  1. A damaged CD3217B12 IC: shorted middle D+/D- pair — most likely from ESD, and totally unrelated to the actual boot problem. With it damaged, the device was not visible or recognizable over USB in DFU mode. This chip unfortunately has OTP (configures BUS_POWER behaviour), so you need to source it (preferably with rom) from the same platform (in my case, iPad Air was compatible enough).

    Thanks to David Lecomte and his strap i2c config/BUS_POWER fix method, briefly: (https://logi.wiki/index.php/CD3217_and_T2_Power_on_Sequence), fully:(https://repair.wiki/w/Apple_ACE2_Controllers) Mac OTP was solved, but iPads have clearly a different firmware behaviour (for example, 15V is only negotiated quite deep into iPadOS boot, which is very different). CD3217 also does not have a “dumb” no-smc mode. Also “clean unused” CD3217 with blank OTP tend to work until battery is completely depleted once. It looks like BUS_POWER should be also physically strapped to usb-powered LDO for it to properly work but decided shortcut and replace it from donor.

  2. An absent VDD_GPU during the whole boot phase, together with a clear overheating “rainbow” on the VDD_GPU edge of the main PMIC. Turned out to be a useless move, but I replaced the PMIC. I seen such PMIC failed on MacBooks, so why not.

The main PMIC of the iPad Pro 12.9″ under the microscope ( 343S00832)

The main PMIC (343S00832). The oily stain around the chip came from the degraded thermal pad (a bit mixed with IPA), but a clear “rainbow”-like pattern + delaminated corner at pin1 is clearly visible

Boardview and schematic of the iPad Pro 12.9″ (820-01798): the GPU power rail PPVDD_GPU around the SoC U8100; inductor L8112 tagged GPU VDD, L8480 tagged GPU SRAM

Boardview/schematic (820-01798): the GPU power rail PPVDD_GPU at the SoC (U8100) — inductor L8112 → GPU VDD, L8480 → GPU SRAM. Both DrMOS drivers are placed on “rainbow” edge of the chip.

Bus diagnostics

This is where signal-line analysis might (not?) help. The possible paths are I²C and the SPMI diagnostic. The SPMI work is based on available sources — SPMI kext decompilation and a bit documentation available from IC manufacturer.

Logic analyzer wired to the management-bus lines of the opened iPad Pro 12.9″ on the bench

Logic analyzer tapped onto the bus lines of the opened iPad. To get to some pads I had to cut metal cover around Logicboard with sidecutters. Since this is data recovery case, optics does not matter and it is the most safe method to get access to both CD3217 ROM and SPMI bridge points. I’m not a fan of drilling shield away since metal dust is a bad spice on such tiny board.

I²C

The I²C lines were also checked to rule out a bad audio codec and similar. iPad played the charging chime, but it was a bit shorter than normal. I first removed the shields to clearly see if one amp could spike warmspot during chime, but unfortunately they were all completely fine. Bad Amp can cause random shutdown or glitch on power supplies. To be 100% sure, I checked if all Amps are responding ACK during init / chime.

(Here is a video explaining the method on MacBooks, but that’s effectively almost identical circuit and Speakeramp on iPad.)

SPMI (work in progress)

SPMI (System Power Management Interface) is a two-wire serial bus defined by the MIPI Alliance for communication between a system processor and power-management ICs (PMICs). — MIPI Alliance, SPMI specification

This matters going forward: new Macs, iPads and iPhones use SPMI mostly as the internal management interface. For example, our not so beloved SN25 communicates solely on SPMI.

A logic-analyzer dump still makes it possible to recognize which device failed to respond or returned an error code. Unlike I²C, there is currently no public information on what addresses the devices use, also not listed in schematics — but the mapping could be discovered the old-school way, by artificially blocking devices one by one during analysis. But unfortunately this won’t help to split power domains on PMICs.

What I found: Master (SoC SMC element) communicates to 3 slave devices, also there is authentication step. Auth step is basically a very very thin ice - we are already zero steps away from finding that PMIC chips became tied to concrete board (this will effectively end half of repairs/swap method). It already seems to be the case with SN25* on most recent MacBooks (rom+sn25 pairing) but it requires better community-based investigation.

SIDs found in traffic are not just devices but functional domains. I believe each power block (CPU, GPU, Auxiliary etc) represents a separate domain/SID. This makes SID identification way harder, maybe partially doable with perfectly synced thermal camera or logic analyzer connected to power outputs.

Good level of decoding will potentially allow to catch power issues and even current sense/voltage values from each power rail. Currently i am working on simple streaming adapter to scan SPMI directly.

Hardware repair becomes weird “firmware hacking” with no light ahead

The efficiency of this method may be marginal on Apple mobile devices. But since SPMI became more or less main way of communicating, decoding might become a replacement of enable signals (effectively SPMI completely substitutes such signals). This tendency could also be observed in Intel PC Laptop domain: instead of normal s0-s5 signals some laptops already implement “virtual wire” signals over eSPI. (see Intel’s documentation: the eSPI Interface Base Specification and the PCH datasheet’s eSPI section, where sleep/power-state signals such as SLP_S3#/S4#/S5# are carried as eSPI “virtual wires” instead of dedicated pins), S* becomes just a GPIO-driven indicator/testpoint.

Special thanks

Special thanks to Rico Cerva - a true and honest professional. Unfortunately, when i started to dig into the iPad/iPhone data recovery scene, i found scammers and “swap-monkeys” to absolutely dominate the market. Meeting such people restores my belief in our trade.