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
2.1 KB
Raw Blame
HakiOS

Two licenses apply, by directory:

1. The kernel: xnu/hakios.patch and everything under xnu/files/ and drivers/ are a derivative work of
   Apple's XNU and are licensed under the Apple Public Source License, Version 2.0, whose full
   text is in LICENSE.APSL. Per its terms the modifications are published here as source and
   Apple's notices are kept in the files they belong to.

2. Everything else that is ours (the boot loader in xnuloader/, the user-space code in
   userland/src/, the tools, the scripts, the documentation, the device layer under devices/)
   is licensed under the MIT License below.

Third-party components and their licenses are listed in NOTICE. Apple's operating system and its
firmware images (IPSW), Apple's trademarks and the phone's own firmware are not part of this
repository and are not licensed by it; every user obtains them from their own device and their own
copy of the firmware.

----------------------------------------------------------------------------------------------

MIT License

Copyright (c) 2025-2026 the HakiOS authors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.