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).
# wifid's way of keeping a network's password (RC_JOBS=rc.jobs.wifipw, with WIFID=1 and
# OSLOG="com.apple.wifid com.apple.securityd" for their side): once the system has settled, a made-up
# network's password into the keychain the way wifid puts it there, back, and away again; then
# keychain_test's own item for comparison.
/redwood/bin/net_test wait 40
/redwood/bin/wifipw_test
/redwood/bin/keychain_test