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 four cameras, one after the other (RC_JOBS=rc.jobs.cameras, with cam=5): camera_test cycle asks the kernel's
# /dev/hakios-camera for the macro, the wide, the front and the ultra-wide camera in turn (HAKIOS_CAMERA_SENSOR),
# 30 frames of each, and says what came of each and how long each change took; twice over. The kernel's "camera:"
# lines say each sensor's packets and errors at the end of its frames.
/redwood/bin/sound_test springboard
/redwood/bin/camera_test cycle 30
/redwood/bin/camera_test cycle 30