[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-113423":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":25,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},113423,"hao-patcher","lythka\u002Fhao-patcher","lythka","Builds macOS 27 (Golden Gate) for Intel Macs. First target: MacBook Pro 13-inch, Mid 2012 (HD 4000). Developer preview.",null,"Python",275,23,9,58,0,12,50,135,48,94.14,"MIT License",false,"main",[],"2026-11-24 07:39:58","2026-11-24 15:01:52","# hao-patcher\n\nhao-patcher builds disk images of **macOS 27 (Golden Gate) for Intel x86_64 Macs**. The current build is\nmacOS 27.2.1 (26B131).\n\nmacOS 27 does not support Intel Macs, so the image is built in layers: Golden Gate's own System and Data, the Intel\nkernel extensions, drivers and boot files macOS 26 (Tahoe) still ships, legacy hardware support from OpenCore Legacy\nPatcher, a set of compatibility fixes, and [hao-runtime](https:\u002F\u002Fgithub.com\u002Flythka\u002Fhao-runtime), which runs Golden\nGate's ARM-only programs on the Intel CPU.\n\n![macOS 27.2.1 on a 2012 MacBook Pro: About This Mac, Control Center and widgets](docs\u002Fimages\u002Fdesktop-intel.jpg)\n\n[Gallery](docs\u002Fgallery.md) · [Progress](docs\u002Fprogress.md) · [Building](docs\u002Fbuilding.md) ·\n[Buy me a coffee](https:\u002F\u002Fbuymeacoffee.com\u002Flythka)\n\n### Accelerated Metal on the Intel HD 4000\n\nMaps draws its satellite view and 3D buildings with Apple's shader libraries, repaired so the HD 4000's legacy Metal\ncompiler accepts them ([cache\u002Fmetallib](cache\u002Fmetallib)). Weather's maps need argument buffers and ASTC textures,\nwhich that legacy stack lacks; hao-patcher adds both to the shader compiler and the driver\n([tools\u002Fmetal-argbuf](tools\u002Fmetal-argbuf)):\n\n\u003Cp>\n\u003Cimg src=\"docs\u002Fimages\u002Fgallery\u002Fmaps-3d-buildings.jpg\" alt=\"Maps satellite view with 3D buildings on the HD 4000\" width=\"49%\">\n\u003Cimg src=\"docs\u002Fimages\u002Fgallery\u002Fweather-temperature-map.jpg\" alt=\"Weather temperature map on the HD 4000\" width=\"49%\">\n\u003C\u002Fp>\n\nMore in the [gallery](docs\u002Fgallery.md): Safari and YouTube, the wind and air-quality maps, WebGPU and SceneKit.\n\n## Status\n\nPre-alpha. Developed and tested on a 2012 13-inch MacBook Pro (MacBookPro9,2: Ivy Bridge, Intel HD 4000); other\nIntel Macs are untested. Tested with macOS 27.2.1 (26B131).\n\n| Area | What works |\n|---|---|\n| Startup | Apple logo only; screen on about 46 s after the kernel starts (about 50 s on the first start-up); Setup Assistant, account creation, automatic login |\n| Desktop | Menu bar, Dock, Finder, Liquid Glass, Control Center, Spotlight indexing, login window, lock screen |\n| Graphics | Accelerated Metal on the HD 4000, argument buffers, ASTC textures, hardware video decoding (YouTube 1080p) |\n| Connectivity | Wi-Fi (joins from Setup Assistant and System Settings, remembered networks at startup), Ethernet, Bluetooth, AirDrop, AirPlay display discovery, sound on AirPlay speakers |\n| Audio and input | Speakers, camera and microphone, brightness keys, keyboard backlight, built-in keyboard and trackpad; external USB keyboard and mouse |\n| Power and ports | Sleep and wake (including the lid), battery level and charging, USB 3 at USB 3 speed, SD card slot |\n| Apps | Safari (YouTube, WebGPU), Maps (3D globe, satellite, 3D buildings), Weather (forecasts; temperature, air-quality and wind maps), Photos, Music, TV, Podcasts, Calendar, Preview, App Store, Books, News, Stocks, Terminal, System Settings |\n| 3D | SceneKit scenes with materials, shadows and reflections; Quick Look and Preview open SceneKit scenes |\n| Accounts | iMessage; App Store sign-in and installs |\n| ARM-only programs | macOS 27's ARM-only programs and apps built only for Apple silicon run on the Intel CPU through hao-runtime |\n\n**Releases:** none yet. The next is v0.0.9 (pre-alpha); planned versions are the\n[milestones](https:\u002F\u002Fgithub.com\u002Flythka\u002Fhao-patcher\u002Fmilestones).\n\n**Installing:** not yet a supported path for users; [Building an image](docs\u002Fbuilding.md) describes the developer path.\n\n[Progress](docs\u002Fprogress.md) has the detailed lists, what's new and every fix.\n\n## Risks\n\nUse hao-patcher only on a **dedicated test Mac** whose contents you can lose.\n\n- Installing an image overwrites the whole target disk.\n- The image weakens macOS security on purpose: AMFI is off, SIP is lowered and authenticated root is off\n  (`csr-active-config` 0x803), Secure Boot is disabled, System programs are re-signed ad hoc, and OpenCore loads\n  third-party kexts.\n- hao-runtime changes System files in place and has no uninstaller; see its\n  [Read first](https:\u002F\u002Fgithub.com\u002Flythka\u002Fhao-runtime#read-first). Its binary translation is experimental and can\n  crash programs or damage their data.\n- To recover: hold Option at startup and boot another disk or Internet Recovery (Command-Option-R), reset NVRAM\n  (Command-Option-P-R), then erase the disk and reinstall a supported macOS or restore a backup.\n\n## Requirements\n\n- **Target:** an Intel x86_64 Mac.\n- **Build Mac:** an Intel Mac started from a hao image. The build runs as root, with System Integrity Protection's\n  filesystem protection off and AMFI relaxed (`amfi_get_out_of_my_way=1`); a hao image starts that way.\n- **Software:** nothing to install for the build. The assets folder carries an x86_64 CPython 3.12, and the source\n  is GitHub's archive of a commit (no git). `.\u002Fhao` on its own (`create-installer`, `report`) runs on the Python 3\n  of the Xcode Command Line Tools (`xcode-select --install`).\n- **Inputs:** the assets folder: the macOS 27.2.1 (26B131) IPSW, the Tahoe 25G342 installer and Kernel Debug Kit,\n  OCLP support files and a hao-runtime payload ([Build inputs](docs\u002Finputs.md)). Apple's files are not in this\n  repository.\n- **Disk space:** the assets folder (34 GB), the build's work folder and the 80 GiB image file.\n\n## Building\n\nOn the build Mac, with the assets folder in place (`A`). No Apple silicon Mac and no virtual machine are needed.\n\n```sh\ncurl -L https:\u002F\u002Fcodeload.github.com\u002Flythka\u002Fhao-patcher\u002Ftar.gz\u002Fmain -o hao-patcher.tar.gz\nmkdir hao-patcher py && tar -xzf hao-patcher.tar.gz -C hao-patcher --strip-components 1\ntar -xzf $A\u002Fartifacts\u002Fpython-x86_64-*\u002Fcpython-*-x86_64-apple-darwin-install_only.tar.gz -C py\ncd hao-patcher; P=..\u002Fpy\u002Fpython\u002Fbin\u002Fpython3.12; I=~\u002FDesktop\u002FmacOS-27.2.1-MacBookPro9,2.img\n$P -I tools\u002Fhao\u002Fhao assets check $A --model MacBookPro9,2 --here                    # every input, by hash\nsudo $P -I tools\u002Fhao\u002Fhao build-image $I --model MacBookPro9,2 --assets $A --here    # build it\n```\n\n[Building an image](docs\u002Fbuilding.md) covers the inputs, what the build does and testing in QEMU;\n[architecture](docs\u002Farchitecture.md) explains how the pieces fit, and [CONTRIBUTING.md](CONTRIBUTING.md) the tests\nand conventions.\n\n| Path | Contents |\n|---|---|\n| `pipeline\u002F` | Image assembly, input rows, targets and patch sets |\n| `patches\u002F` | Installation recipes, one folder per fix ([catalog](docs\u002FPATCHES.md)) |\n| `tools\u002F` | Fix builders, input preparation, image and QEMU tools |\n| `cache\u002F` | Metal library and shader generators |\n| `docs\u002F` | Status, architecture, inputs and build guide |\n\n## Credits\n\nBuilt on [OpenCore Legacy Patcher](https:\u002F\u002Fgithub.com\u002Fdortania\u002FOpenCore-Legacy-Patcher),\n[OpenCore](https:\u002F\u002Fgithub.com\u002Facidanthera\u002FOpenCorePkg),\n[Lilu](https:\u002F\u002Fgithub.com\u002Facidanthera\u002FLilu),\n[MacKernelSDK](https:\u002F\u002Fgithub.com\u002Facidanthera\u002FMacKernelSDK),\n[MetallibSupportPkg](https:\u002F\u002Fgithub.com\u002Fdortania\u002FMetallibSupportPkg),\n[Apple's XNU sources](https:\u002F\u002Fgithub.com\u002Fapple-oss-distributions\u002Fxnu) and\n[QEMU](https:\u002F\u002Fwww.qemu.org\u002F). Each tool's NOTICE.md lists the third-party source it carries.\n\nThis product includes software developed by Dortania and the OpenCore Legacy\nPatcher contributors.\n\n## License\n\nOriginal code is available under the [MIT license](LICENSE). Third-party code and\nApple components keep their own terms; see [NOTICE.md](NOTICE.md).\n","hao-patcher 是一个为 Intel 架构 Mac（如 2012 款 MacBook Pro）构建 macOS 27（Golden Gate）可运行镜像的工具。它通过分层集成方式实现兼容：复用 macOS 26 的 Intel 内核扩展与驱动、注入 OpenCore Legacy Patcher 的旧硬件支持、添加自研兼容性补丁，并依赖 hao-runtime 实现 ARM-only 应用在 x86_64 上的运行。核心能力包括 HD 4000 显卡的 Metal 加速（支持 argument buffers 和 ASTC 纹理）、硬件视频解码、Wi-Fi\u002F蓝牙\u002FAirDrop 等外设功能。适用于希望在经典 Intel Mac 上体验新版 macOS 功能（如 Maps 3D、Weather 地图、WebGPU）的技术用户与系统爱好者，当前处于预 Alpha 阶段，仅验证支持特定机型。",2,"2026-11-25 04:50:47","CREATED_QUERY"]