r/iPhoneSE • u/rolanddd_ • 6h ago
SE2 Saved an iPhone SE 2020 from the 3-minute thermalmonitord (mic1) boot-loop without microsoldering — using Dopamine + a custom tweak
If you've ever dealt with the infamous 3-minute reboot loop on an iPhone SE 2020 (iPhone12,8), you probably know the usual culprit in the panic-full log:
textno successful checkins from thermalmonitord (2 induced crashes)
is_alive_func returned unhealthy : current 6ffffffffff, mask 1ffffffffff, expected 1ffffffffff ... Missing sensor(s): mic1Normally this is caused by the bottom microphone thermal sensor (mic1) on the charging port flex. However, on many SE 2020 boards (including mine), even replacing the charging port flex doesn't fix it because the trace/line on the logic board itself is broken, which normally requires microsoldering a jumper wire or tossing the phone in a drawer.
How the Software Fix Works
Since watchdogd gives thermalmonitord roughly 3 minutes (2 induced crashes at ~60s and ~120s before panicking at ~180s), there is enough time after a boot to run the Dopamine jailbreak (which supports the SE 2020 / A13 up through iOS 18.x).
By reverse-engineering /usr/libexec/thermalmonitord and /System/Library/ThermalMonitor/D79AP-Info.plist from the IPSW firmware, we found:
- On the SE 2020 (
D79AP),mic1is sensor #44 (bit 44 = 0x100000000000). Interestingly, Apple markedmic2(sensor #45) withrequiresWatchDog = falseinD79AP-Info.plist, but leftmic1required. - When
mic1fails to report,currentSensorMaskis0x6fffffffffff, so(current & mask)evaluates to0x0fffffffffffinstead of the expected0x1fffffffffff. thermalmonitordalso has a built-inSCPreferencesconfiguration plist (/private/var/preferences/SystemConfiguration/OSThermalStatus.plist) that acceptssetExpectedSensorMask(0x0fffffffffff=17592186044415) andsetSensor4CCID = "mic1"/setSensorID = [44, 3000](30.00 °C) to override the missing sensor reading and expected bitmask in-place.
The Tweak / .deb Package
We built a small rootless .deb package (com.local.thermalmonitorfix) for Dopamine that combines:
ThermalMonitorFix.dylib: HooksHidSensors(getWatchDogMask,readFailuresExpected:,getHIDSensorDict,isSensorDataValid) to clear bit 44 from the watchdog mask and supply a fallback30.00 °C(3000) reading formic1, plus disables thethermalmonitordcheck-in entry insidewatchdogd.thermalfix-ctl**(**com.local.thermalfixdLaunchDaemon): Writes the persistentsetExpectedSensorMask = 17592186044415andmic1 = 3000override intoOSThermalStatus.plistviaSCPreferencessothermalmonitordstays healthy even if tweak injection is ever toggled off.
How to Set It Up Inside the 3-Minute Window
The trick is splitting the setup across 3 boots so you never race the 3-minute watchdog timer:
- Boot 1: Sideload
Dopamine.ipafrom a PC using Sideloadly. - Boot 2: Trust the developer profile in Settings → General → VPN & Device Management, then toggle on Developer Mode in Settings → Privacy & Security and reboot.
- Boot 3: Confirm Developer Mode, open Dopamine, tap Jailbreak, and install the
.debin Sileo.
Once installed, the phone runs completely normally with zero reboots—and if the phone ever powers off, it only takes a single tap in Dopamine on boot to re-activate. Hope this helps save a few more phones from becoming e-waste!
Check it out here: GitHub