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
hakios-device.py sync: a clone whose origin is not the manifest's repository (moved, renamed) is pointed at it before the fetch
shimokudaa8ee4b46ab
diff --git a/tools/hakios-device.py b/tools/hakios-device.pyindex 895af44..13216c6 100755--- a/tools/hakios-device.py+++ b/tools/hakios-device.py@@ -378,6 +378,11 @@ def cmd_sync(a):print("hakios-device: %s: cloning %s" % (name, repository))git("clone", "-q", repository, top)else:+ # the manifest says where the repository is: a clone made before it moved or was renamed follows it+ origin = subprocess.run(["git", "remote", "get-url", "origin"], cwd=top, capture_output=True, text=True).stdout.strip()+ if origin != repository:+ print("hakios-device: %s: origin was %s, now %s (as the manifest says)" % (name, origin or "(none)", repository))+ git("remote", "set-url" if origin else "add", "origin", repository, cwd=top)git("fetch", "-q", "origin", cwd=top)if revision:git("checkout", "-q", revision, cwd=top)