How to Fix Face ID Unavailable TrueDepth Sensor Triage on iPhone 11 Pro: Complete Diagnostic Manual
1. Issue Overview & Symptoms on iPhone 11 Pro
The iPhone 11 Pro’s TrueDepth camera system comprises a flood illuminator, infrared (IR) camera, dot projector, proximity sensor, and ambient light sensor (ALS) all driven by a dedicated Secure Enclave‑managed PMIC rail (VDD_TD). When the dot projector or ALS desynchronizes—typically after a thermal event, liquid ingress, or a failed OTA update—the Secure Enclave aborts the Face ID enrollment pipeline and surfaces the “Face ID Unavailable” banner in Settings → Face ID & Passcode. Users observe:
- Immediate “Face ID Unavailable” toast on lock screen after wake.
- Enrollment UI stalls at “Move iPhone a little lower/higher” with no IR preview.
- Console logs (via
log show --predicate 'subsystem == "com.apple.BiometricKit"' --last 1h) showTrueDepthCamera: DotProjector timeout (0xdeadbeef)andALS: Calibration checksum mismatch. - Diagnostic service (Apple Service Toolkit 2) reports
TrueDepth: 0x8003 – Dot Projector DesyncandALS: 0x8005 – Gain Out of Range. - Thermal telemetry (via
pmset -g thermlog) often shows a spike to 45 °C on theVDD_TDrail moments before failure.
Because the Secure Enclave cryptographically binds the Face ID template to the hardware UID, any hardware replacement without an Apple‑authorized calibration (via the Secure Enclave Provisioning Service) will permanently disable Face ID. The guide below walks through non‑destructive software resets, firmware‑level re‑initialization, and, when necessary, the exact hardware‑level re‑calibration steps that preserve the Secure Enclave binding.
2. Subsystem Architecture & Failure Mechanics
The TrueDepth subsystem is a tightly coupled hardware‑firmware‑OS stack:
- PMIC Power Rails: The A13 Bionic’s PMIC (Apple PMU 2) supplies three dedicated rails—
VDD_TD_CORE(1.8 V),VDD_TD_IO(1.2 V), andVDD_TD_DOT(3.3 V). The dot projector driver (TI LP8860) draws peak 1.2 A onVDD_TD_DOTduring the structured‑light pattern emission. A brown‑out on this rail triggers the Secure Enclave’sTrueDepthPowerMonitorwatchdog, which forces a hard reset of the TrueDepth ISP. - Secure Enclave Firmware (SEP‑OS): The SEP runs a dedicated
TrueDepthManagerdaemon that authenticates each frame via a per‑session HMAC‑SHA256 key derived from the device UID. The daemon monitors the dot projector’sDOT_CLK(24 MHz) and ALSALS_CLK(12 MHz) PLL lock status via I²C registers0x3Aand0x4B. Loss of lock > 2 ms results inSEP_ERR_TD_DESYNC (0x8003). - Kernel‑Space Driver (AppleTrueDepth.kext): This IOKit driver exposes
IOService::matchPropertyTableentries forAppleTrueDepthCameraandAppleTrueDepthDotProjector. It registers aIOInterruptEventSourceon theGPIO_TD_INTline (GPIO 45) to receive frame‑ready interrupts. The driver maintains a ring buffer (size 8 MiB) in theIOBufferMemoryDescriptorfor IR frames; overflow triggers akIOReturnOverrunwhich the daemon translates to the user‑visible banner. - User‑Space Daemon (biometricd): Runs under
launchdlabelcom.apple.biometricd. It communicates with the SEP via XPC over thecom.apple.secureenclave.truedepthMach port. On desync, biometricd writes aDiagnosticLogentry to/var/log/diagnosticlogs/TrueDepth/and triggers theFaceIDUnavailableUI viaUIKit’s_UIFaceIDAvailabilityChangedNotification. - Thermal & Calibration Feedback Loop: The ALS provides ambient lux data to the
ThermalManagementdaemon (com.apple.thermal) which adjustsVDD_TD_DOTvoltage via the PMIC’sSMbusinterface. A corrupted ALS calibration EEPROM (address0x50on I²C bus 3) yields erroneous lux values, causing the PMIC to over‑voltage the dot projector, leading to premature aging and permanent desync.
When any of the above links break, the Secure Enclave refuses to sign new Face ID templates, and the existing encrypted template (stored in the SEP’s Keybag under kSecAttrAccessControlBiometryCurrentSet) becomes inaccessible until the hardware state is restored and the SEP re‑validates the TrueDepth health registers.
3. Pre‑Flight Diagnostic Checklist
- Verify iOS version ≥ 16.0 (Settings → General → About).
- Confirm no third‑party screen protector or case obstructing the TrueDepth window (IR transmissivity > 95 % at 940 nm).
- Inspect for liquid‑contact indicator (LCI) activation in the SIM tray slot.
- Run Apple Service Toolkit 2 (AST2) “TrueDepth Health” test; note error codes.
- Check
pmset -g thermlogfor anyVDD_TD_DOTover‑voltage events (> 3.45 V) in the last 24 h. - Ensure Secure Enclave is not in “Lockdown” mode (
sysctl kern.securelevel= 0). - Backup user data (iCloud or Finder encrypted backup) before any reset.
- Confirm the device is not enrolled in an MDM profile that disables biometric changes.
- Verify that the
TrueDepthCameraandTrueDepthDotProjectorIOKit objects are present:ioreg -l -w0 | grep -i truedepth. - Check for pending OTA updates (Settings → General → Software Update) that may contain TrueDepth firmware patches.
4. Terminal & Diagnostic Commands
# 1. Dump recent kernel panic / watchdog logs related to TrueDepth
log show --predicate 'process == "kernel" && (eventMessage CONTAINS "TrueDepth" OR eventMessage CONTAINS "dot projector")' --last 24h --style syslog
# 2. Query Secure Enclave TrueDepth health registers via SEP‑OS debug interface (requires Apple internal tooling; shown for reference)
# sepcli truedepth health --json
# 3. Capture biometricd diagnostic logs
log collect --output /tmp/biometricd_logs --start "2024-01-01" --predicate 'subsystem == "com.apple.BiometricKit"'
# 4. Inspect PMIC rail voltages (requires Apple Configurator 2 + USB‑C to Lightning debug cable)
# ioreg -r -c ApplePMU -k "VDD_TD_DOT" -k "VDD_TD_CORE" -k "VDD_TD_IO"
# 5. Verify IOKit TrueDepth objects
ioreg -l -w0 | grep -E "AppleTrueDepth(Camera|DotProjector|ALS)"
# 6. Force a TrueDepth ISP reset via private kernel API (only on development-fused devices)
# kdp-remote "call AppleTrueDepthISP::reset()"
# 7. Dump ALS EEPROM calibration data (I2C bus 3, address 0x50)
# i2cget -y 3 0x50 0x00 w # read word at offset 0x00 (gain)
# i2cget -y 3 0x50 0x02 w # read word at offset 0x02 (offset)
# 8. Check launchd status of biometricd
launchctl print system/com.apple.biometricd
# 9. Verify Secure Enclave keybag integrity
# secdump -k /var/keybags/keybag-1.plist | grep -i faceid
5. Step‑by‑Step Remediation Protocols
Protocol A – Non‑Destructive Software Reset (≈ 5 min)
- Force‑restart iPhone 11 Pro: Press & release Volume Up, press & release Volume Down, then hold Side button until Apple logo appears.
- Open Settings → Face ID & Passcode → “Reset Face ID”. Confirm with device passcode.
- Re‑enroll Face ID in a well‑lit environment (≈ 400 lux). Ensure no infrared‑blocking glasses.
- If enrollment succeeds, run
log show --predicate 'subsystem == "com.apple.BiometricKit"' --last 5mand verify noDotProjector timeoutentries.
Protocol B – Firmware‑Level TrueDepth Re‑Initialization (≈ 15 min, requires macOS 14+ with Apple Configurator 2)
- Connect iPhone 11 Pro to Mac via USB‑C → Lightning cable (must support USB 2.0 + DFU).
- Open Apple Configurator 2 → Select device → “Advanced” → “Revive Device”. This flashes the latest SEP‑OS and TrueDepth ISP firmware without erasing user data.
- After revive, device boots to “Hello” screen. Complete setup, then immediately run Protocol A steps 2‑4.
- Validate PMIC rail voltages:
ioreg -r -c ApplePMU -k "VDD_TD_DOT"should read 3.30 V ± 0.02 V.
Protocol C – Deep Hardware Re‑Calibration (Authorized Service Only, ≈ 45 min)
- Place device in Apple‑certified ESD‑safe workstation. Remove display assembly per iPhone 11 Pro Service Manual (Section 3.2).
- Disconnect TrueDepth flex (J4500) and inspect for corrosion on the 12‑pin connector. Clean with 99 % IPA and lint‑free swab.
- Using the Apple TrueDepth Calibration Fixture (part # 923‑00123), connect the flex to the fixture’s test points:
VDD_TD_DOT,DOT_CLK,ALS_SDA,ALS_SCL. - Run the calibration script on the fixture’s host Mac (Python 3.11,
truedepth_cal.py --full --serial <SN>). The script:- Writes factory gain/offset to ALS EEPROM (I²C 0x50).
- Measures dot projector optical power (target 1.2 mW ± 5 %).
- Locks PLLs and verifies
DOT_CLKjitter < 50 ps.
- Re‑assemble display, torque screws to 0.35 Nm.
- Boot device, run Protocol A. If Face ID enrolls, log
TrueDepthCalibrationPassin AST2. - If calibration fails, replace TrueDepth module (part # 821‑00456) and repeat calibration. Note: Replacement requires Secure Enclave re‑provisioning via Apple’s GSX “TrueDepth Pairing” workflow.
6. Hardware & Telemetry Parameter Matrix
| Parameter | Normal Operational Range | Failure Threshold | Measurement Point | Typical Sampling Rate | Diagnostic Source |
|---|---|---|---|---|---|
| VDD_TD_DOT Voltage | 3.30 V ± 0.02 V | > 3.45 V or < 3.15 V | PMIC rail sense resistor (RSENSE = 0.01 Ω) | 1 kHz (PMIC ADC) | ioreg ApplePMU / AST2 |
| VDD_TD_CORE Voltage | 1.80 V ± 0.01 V | > 1.85 V or < 1.75 V | PMIC core rail | 1 kHz | ioreg ApplePMU |
| DOT_CLK Frequency | 24.000 MHz ± 10 ppm | > 24.001 MHz or < 23.999 MHz | Dot projector PLL output (test point TP‑DOT) | Continuous (PLL lock monitor) | SEP‑OS TrueDepthManager |
| ALS Gain (EEPROM 0x50) | 0x01A0 ± 0x0010 (≈ 1.5×) | Deviation > 0x0030 | I²C bus 3, address 0x50, offset 0x00 | On‑demand (calibration) | truedepth_cal.py / AST2 |
| Dot Projector Optical Power | 1.20 mW ± 5 % | < 1.05 mW or > 1.35 mW | Integrating sphere on calibration fixture | Per‑calibration run | TrueDepth Calibration Fixture |
| TrueDepth ISP Frame Buffer Overrun Count | 0 per 10 s window | > 3 overruns/10 s | AppleTrueDepth.kext ring‑buffer head/tail pointers | 10 s (kernel timer) | log show (BiometricKit) |
| Thermal Sensor (TD_THERM) Temperature | 30 °C – 40 °C (idle) | > 45 °C sustained > 30 s | On‑die thermal diode (PMIC) | 100 ms | pmset -g thermlog |
7. Expert Q&A / Edge Cases
- Q1: Can a third‑party TrueDepth module be paired without Apple’s GSX provisioning?
- No. The Secure Enclave stores a per‑module HMAC key derived from the module’s unique silicon ID. Without the Apple‑signed provisioning token (delivered via GSX “TrueDepth Pairing” service), the SEP will reject the module and permanently disable Face ID. Attempting to flash a donor module’s EEPROM onto a replacement will trigger
SEP_ERR_TD_AUTH_FAIL (0x8009)and lock the biometric keybag. - Q2: After a major iOS upgrade (e.g., 17.4 → 18.0) Face ID shows “Unavailable” but AST2 reports no hardware fault. What is the likely cause?
- Major OS upgrades
Share your OS version, device model, and exact error code in our independent peer Q&A rooms.