iPad mini 2 (j85, A7, iPadOS 12.5.8): checkra1n-booted iPadOS panics with "AMC Error" 24–55 s in, then restarts without the loader (cause of #382?)

Aperta
#401 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, macos, python

Direzione di ricerca

Start by reading issue #382 and tracing orchard's checkra1n launch path, especially the WaitingForIpados state and the point where it waits for port 49720. Compare the run logs with the attached panic logs to identify what the installer can detect or report when patched iPadOS panics before the loader starts. Done means the cause or a reproducible diagnostic is established; the issue offers to provide run logs or test builds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

On an iPad mini 2 (Wi-Fi), the storage-split step never reaches checkra1n's loader. checkm8, PongoOS and the kernel boot succeed, but the patched iPadOS kernel panics 24–55 s into the boot with an AMC Error (A7 memory controller), and the device then restarts into stock iPadOS. From the installer's side this matches #382 (WaitingForIpados, "nothing listens on port 49720", then checkra1n's SSH server did not come up). The panic logs may explain the symptom reported there, including the A7 iPad Air (j72) case in its comments.

Device

  • iPad mini 2 (Wi-Fi), board j85, iPad4,4, CPID 0x8960, BDID 0x0A
  • iPadOS 12.5.8 (16H88), freshly set up, paired and trusted
  • Memory ID (from the panic log): 0x6

Host

  • MacBook with an M2 (T8112), macOS 27, USB-A to Lightning cable through a USB-C adapter, "Allow accessories to connect" set to Always
  • orchard 0.3.8 to 0.3.12 (CLI and the Install Omarchy A app), Omarchy A 0.4.3
  • checkra1n 0.1337.3 (preview), launched by orchard as checkra1n --cli -v, PongoOS 2.6.3-7ddd2752, KPF checkrain-kpf2-12.0,16.4

The panic (6 of 6 identical)

Every patched boot that got past bootx and wrote a panic log has the same panic string, with the same register values and the same faulting address (MCCAFERRLOG0 = 0x80082bc0):

panic(cpu 0 caller 0xfffffff00f0c290c): "AMC Error! AMC_IRERRDBG_STS=0x1020000, MCCTAGPARLOG1/2=0/0, MCCDATERRLOG=0, MCCAFERRLOG0/1=0x80082bc0/0x30808, CH0RNKCFG0/1=0x1/0, CH1RNKCFG0/1=0x1/0"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/AppleS5L8960X_kext/AppleS5L8960X-159/AppleS5L8960XPlatformErrorHandler.cpp:145
Debugger message: panic
Memory ID: 0x6
OS version: Not set yet
Kernel version: Darwin Kernel Version 18.7.0: Fri Aug 19 23:28:24 PDT 2022; root:xnu-4903.272.5~1/RELEASE_ARM64_S5L8960X
Kernel UUID: 34D9E33E-2316-306B-86F4-C9F080FAAD50
iBoot version: pongoOS-2.6.3-7ddd2752
secure boot?: YES
Panic log Time since boot Panic string
panic-full-2026-12-01-135854.714 23.9 s identical
panic-full-2026-12-01-171216 25.3 s identical
panic-full-2026-12-01-173333.378 55.4 s identical
panic-full-2026-12-01-173548.665 23.7 s identical
panic-full-2026-12-01-180650 23.7 s identical
panic-full-2026-12-01-190628.171 31.3 s identical

The same faulting address every time and OS version: Not set yet suggest a deterministic access during early boot of the patched kernel, not failing DRAM. Booted normally, the iPad runs iPadOS without any problems. The last run was started by hand with checkra1n --cli -v -V (verbose boot). The boot printed text, then showed a red screen and the Apple logo, and that run produced the 19:06 panic above.

Other boots in the same session hung on "Booting" without restarting, or restarted silently. Those left no panic log, and I can't tell whether they are the same fault.

What works on this device

  • DFU entry, checkm8, download mode, PongoOS (Pongo USB error: e00002ed (-status_bootx) after bootx each time, which looks expected)
  • The Orchard launcher's route (checkra1n → PongoOS → m1n1) on the same device and host reached m1n1 uartproxy and the NothingInstalled state. So only the path that boots the patched iPadOS kernel fails.

Side notes from the same session

  • Leftover checkra1n: after a failed attempt, the Install Omarchy A app keeps its checkra1n child running and starts a second one on the next attempt. The new one then logs Unable to open device: e00002c5 while the old one drives the device. Quitting the app and running pkill -f checkra1n before each attempt avoids this.
  • Download mode / PongoOS reconnects on macOS: these often time out (Timed out waiting for download mode, Timed out waiting for PongoOS). Replugging the cable at the device a few seconds after Checkmate!, or at PongoOS's "Enabling USB… Done!", reliably gets them through.
  • Linux host: on an HP EliteBook (Intel Skylake xHCI, Debian 13, kernel 6.12) checkm8's trigger stage always timed out (Timed out waiting for exploit trigger stage), also with ORCHARD_BUSY_CPU=1 and with apple_mfi_fastcharge unloaded and fwupd masked. The Mac host gets past it every time.

Logs

The six panic logs, with crashReporterKey redacted, are in the zip attached below. I can also send the orchard and checkra1n run logs, or run test builds. The device is untouched (still iPadOS 12.5.8).

Lingua principale
Python
Stelle
102
Fork
27
Merge medio
10h 43m
PR unite (30g)
293

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di OrchardLinux/orchard

Tutte le issue di OrchardLinux/orchard

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.