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
# drivers/wifi/conf: Wi-Fi.
# CONFIG_HAKIOS_<NAME>=y in a defconfig builds a driver into the kernel; "standard" files are always built.
# tools/hakios-config.py reads this file; docs/drivers-config.md says what each word means and how it reaches XNU.
driver WIFI
file bsd/dev/hakios.wifi.c
file bsd/dev/hakios.wlfw.c
file bsd/dev/hakios.lx.c
file bsd/dev/hakios.sta.c
file bsd/dev/hakios.apple80211.c
file iokit/Kernel/hakios.wlan.cpp iokitcpp
requires QMI
help Wi-Fi of the WCN6750 (wifi=1, wifi_step=N): the DSP that runs the radio's firmware, Linux's ath11k
help (its object, made by tools/mk-ath11k.sh, is linked in only with this), a station, and the Apple80211
help surface Darwin's wifid talks to. Needs fw-wifi/ from the phone