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).
# Something to hear (RC_JOBS=rc.jobs.sound): once SpringBoard is up, a tone of three seconds (1000 Hz on the
# left, 440 Hz on the right), then the lock sound, a keyboard click and a fanfare, as SpringBoard would play
# them. What comes out of /dev/hakios-audio shows whether it worked: the kernel's "hakios-audio:" lines,
# a recording (boot-arg rec_sound=N), QEMU's sound device.
/redwood/bin/sound_test springboard wait 5 tone 3 wait 3 system 1100 wait 3 system 1104 wait 3 file /System/Library/Audio/UISounds/New/Fanfare.caf
/bin/ps -A