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.wifi</string>
<!-- with wifi=1 among the kernel's arguments: has configd configure the radio's interface (src/net_test.m,
"wifi"); without, it ends at once -->
<key>ProgramArguments</key>
<array>
<string>/redwood/bin/net_test</string>
<string>wifi</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardOutPath</key>
<string>/dev/console</string>
<key>StandardErrorPath</key>
<string>/dev/console</string>
</dict>
</plist>