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
rc.jobs.flashcheck: the battery asked for at the end, once the audio DSP's battery manager has answered
vcvkkbcd5a8fe270c
diff --git a/userland/rc.jobs.flashcheck b/userland/rc.jobs.flashcheckindex ab15b4a..64b39d2 100644--- a/userland/rc.jobs.flashcheck+++ b/userland/rc.jobs.flashcheck@@ -1,13 +1,18 @@# Commands run by the launchd job com.redwood.demo (see com.redwood.demo.plist).# The iOS root volume on the phone's flash as the root, everything in RAM as APFS (flashboot.apfs resident,-# root.apfs with the kernel; root_apfs=ufs_darwin ufs=2 ufs_native=1 adsp=1 sound=4 rec_sound=12 wifi=1):-# what is mounted from where, the firmware on /fw, something to hear (a tone of three seconds, the lock-# sound, a click, a fanfare: ./xl sound), the network over the phone's Wi-Fi (an address by DHCP, a name,-# a page over HTTPS) -- what packfs did, done with APFS alone.+# root.apfs with the kernel, built with GL=1; root_apfs=ufs_darwin ufs=2 ufs_native=1 gpu=1 adsp=1 sound=4+# rec_sound=12 wifi=1, and no battery=1, which keeps the battery from the audio DSP off): what is mounted+# from where, the firmware on /fw, the battery as iOS has it, something to hear (a tone of three seconds,+# the lock sound, a click, a fanfare: ./xl sound), the network over the phone's Wi-Fi (an address by+# DHCP, a name, a page over HTTPS) -- what packfs did, done with APFS alone. The results also go to a+# file shown at the end, where the kernel's log keeps them./sbin/mount/redwood/bin/vol_ls fs / /redwood /private/preboot /private/preboot/Cryptexes/OS/redwood/bin/vol_ls ls /fw-/redwood/bin/net_test show dhcp en0 waitaddr en0 60 store-/redwood/bin/net_test resolve example.com fetch https://example.com/ fetch https://www.apple.com/library/test/success.html+/redwood/bin/net_test show dhcp en0 waitaddr en0 60 >> /private/var/results+/redwood/bin/net_test resolve example.com fetch https://example.com/ fetch https://www.apple.com/library/test/success.html >> /private/var/results/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+/redwood/bin/battery_test 1 >> /private/var/results+/redwood/bin/vol_ls sysctl kern.redwood_memory >> /private/var/results/bin/ps -A+/redwood/bin/vol_ls cat /private/var/results 262144