Skip to content

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
891 B
Raw Blame
# Commands run by the launchd job com.hakios.demo (see com.hakios.demo.plist).
# The phone's speakers (boot-arg sound=4 with adsp=1, drivers/audio/hakios.sound.c): once SpringBoard is up, what Darwin
# plays in the ways that matter to the amplifiers, which are on only while there is sound -- a tone of three
# seconds (1000 Hz left, 440 Hz right), the lock sound, keyboard clicks four seconds apart (each one starts the
# amplifiers anew: after three seconds of silence they are stopped), three clicks half a second apart (they
# stay on), a fanfare. The kernel's "sound:" and "speaker:" lines say when the amplifiers started and stopped.
/redwood/bin/sound_test springboard route wait 3 tone 3 wait 4 system 1100 wait 4 system 1104 wait 4 system 1104 wait 4 system 1104 wait 0.5 system 1104 wait 0.5 system 1104 wait 4 file /System/Library/Audio/UISounds/New/Fanfare.caf wait 5
/bin/ps -A