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
# Commands run by the launchd job com.hakios.demo (see com.hakios.demo.plist).
# The microphone in an application (with adsp=1 mic=4): Voice Memos opened (voicememos://), past its welcome sheet
# (Continue), and its record button pressed; it records until the run ends. For screenshots: the time running, the
# waveform of what the microphone hears, the orange dot of a microphone in use.
/redwood/bin/sound_test springboard
/redwood/bin/rwtouch wait 10
/redwood/bin/battery_test open voicememos://
/redwood/bin/rwtouch wait 10 tap 0.5 0.895 wait 10 tap 0.5 0.885 wait 30