Apple's open-source XNU kernel on Android phones: its own loader and drivers, Metal on the Adreno. Runs from RAM; a reboot gives the phone back to Android.
C
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.hakios.demo</string>
<key>ProgramArguments</key>
<array>
<string>/redwood/sbin/init</string>
<string>/redwood/etc/rc.jobs</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>AbandonProcessGroup</key>
<true/>
<!-- not a background job: those get their timers rounded up by a tenth of a second,
and the touch gestures replayed from here are a matter of milliseconds -->
<key>ProcessType</key>
<string>Interactive</string>
<key>StandardOutPath</key>
<string>/dev/console</string>
<key>StandardErrorPath</key>
<string>/dev/console</string>
</dict>
</plist>