MCPcopy
hub / github.com/dortania/OpenCore-Legacy-Patcher

github.com/dortania/OpenCore-Legacy-Patcher @2.4.1 sqlite

repository ↗ · DeepWiki ↗ · release 2.4.1 ↗
1,314 symbols 3,462 edges 141 files 699 documented · 53%
README
         <img src="https://github.com/dortania/OpenCore-Legacy-Patcher/raw/2.4.1/docs/images/OC-Patcher.png" alt="OpenCore Patcher Logo" width="256" />
         <h1>OpenCore Legacy Patcher</h1>

A Python-based project revolving around Acidanthera's OpenCorePkg and Lilu for both running and unlocking features in macOS on supported and unsupported Macs.

Our project's main goal is to breathe new life into Macs no longer supported by Apple, allowing for the installation and usage of macOS Big Sur and newer on machines as old as 2007.


GitHub all releases GitHub top language Discord


Noteworthy features of OpenCore Legacy Patcher:

  • Support for macOS Big Sur, Monterey, Ventura, Sonoma and Sequoia
  • Native Over the Air (OTA) System Updates
  • Supports Penryn and newer Macs
  • Full support for WPA Wi-Fi and Personal Hotspot on BCM943224 and newer wireless chipsets
  • System Integrity Protection, FileVault 2, .im4m Secure Boot and Vaulting
  • Recovery OS, Safe Mode and Single-user Mode booting on non-native OSes
  • Unlocks features such as Sidecar and AirPlay to Mac even on native Macs
  • Enables enhanced SATA and NVMe power management on non-Apple storage devices
  • Zero firmware patching required (ie. APFS ROM patching)
  • Graphics acceleration for both Metal and non-Metal GPUs

Note: Only clean-installs and upgrades are supported. macOS Big Sur installs already patched with other patchers, such as Patched Sur or bigmac, cannot be used due to broken file integrity with APFS snapshots and SIP.

  • You can, however, reinstall macOS with this patcher and retain your original data

Note 2: Currently, OpenCore Legacy Patcher officially supports patching to run macOS Big Sur through Sonoma installs. For older OSes, OpenCore may function; however, support is currently not provided from Dortania.

Getting Started

To start using the project, please see our in-depth guide:

Support

This project is offered on an AS-IS basis, we do not guarantee support for any issues that may arise. However, there is a community server with other passionate users and developers that can aid you:

Running from source

To run the project from source, see here: Build and run from source

Credits

  • Acidanthera
  • OpenCorePkg, as well as many of the core kexts and tools
  • DhinakG
  • Main co-author
  • Khronokernel
  • Main co-author
  • Ausdauersportler
  • iMacs Metal GPUs Upgrade Patch set and documentation
  • Great amounts of help with debugging, and code suggestions
  • vit9696
  • Endless amount of help troubleshooting, determining fixes and writing patches
  • EduCovas
  • non-Metal patch set for nVidia Tesla/Fermi/Maxwell/Pascal, AMD TeraScale 1/2, and Intel Core 1st/2nd Generation GPUs
  • 3802 Metal patch set and MetallibSupportPkg for nVidia Kepler and Intel Core 3rd/4th Generation GPUs
  • Metal bundle patches and shims for nVidia Kepler, AMD GCN 1 - 4, and AMD GCN 5 (Vega)
  • IOSurface offset patches for nVidia Kepler, AMD GCN 1 - 5, and Intel Core 3rd - 6th Generation GPUs
  • legacy Wi-Fi patch set restores functionality for Wi-Fi cards in all 2007 - 2017 models
  • T1 patch set restores Touch ID, Apple Pay, and other secure functionality in 2016 - 2017 models
  • AppleGVA downgrade for accelerated video decoding on 2012 - 2016 models
  • OpenCL and OpenGL downgrade for AMD GCN
  • USB 1 patch
  • ASentientHedgehog
  • non-Metal patch set for nVidia Tesla/Fermi/Maxwell/Pascal, AMD TeraScale 1/2, and Intel Core 1st/2nd Generation GPUs
  • ASentientBot
  • non-Metal patch set for nVidia Tesla/Fermi/Maxwell/Pascal, AMD TeraScale 1/2, and Intel Core 1st/2nd Generation GPUs
  • Metal bundle interposer for AMD GCN 1 - 5 and Intel Core 5th/6th Generation GPUs
  • dsce and shared code used by some other patches
  • cdf
  • Mac Pro on OpenCore Patch set and documentation
  • Innie and NightShiftEnabler
  • Syncretic
  • AAAMouSSE, telemetrap and SurPlus
  • dosdude1
  • Main author of the original GUI
  • Development of previous patchers, laying out much of what needs to be patched
  • parrotgeek1
  • VMM Patch Set
  • BarryKN
  • Development of previous patchers, laying out much of what needs to be patched
  • mario_bros_tech and the rest of the Unsupported Mac Discord
  • Catalyst that started OpenCore Legacy Patcher
  • arter97
  • SimpleMSR to disable firmware throttling in Nehalem+ MacBooks without batteries
  • Mr.Macintosh
  • Endless hours helping architect and troubleshoot many portions of the project
  • flagers
  • Aid with Nvidia Web Driver research and development
  • non-Metal patch set for nVidia Tesla/Fermi/Maxwell/Pascal, AMD TeraScale 1/2, and Intel Core 1st/2nd Generation GPUs
  • Metal bundle interposer for AMD GCN 1 - 5 and Intel Core 5th/6th Generation GPUs
  • LegacyRVPL, SnapshotIsKill, etc. to aid in rapid testing and development
  • joevt
  • FixPCIeLinkrate
  • Jazzzny
  • Research and various contributions to the project
  • UEFI Legacy XHCI research and development
  • NVIDIA OpenCL research and development
  • MacBook5,2 research and development
    • LegacyKeyboardInjector
  • Pre-Ivy Bridge Aquantia Ethernet Patch
  • Non-Metal Photo Booth Patch for Monterey+
  • GUI and Backend Development
    • Updater UI
    • macOS Downloader UI
    • Downloader UI
    • USB Top Case probing
    • Developer root patching
  • Vaulting implementation
  • macOS 15 3802 Helios Research
  • UEFI bootx64.efi research
  • universal2 build research
  • Various documentation contributions
  • Amazing users who've graciously donate hardware:
  • JohnD - 2013 Mac Pro
  • SpiGAndromeda - AMD Vega 64
  • turbomacs - 2014 5k iMac
  • vinaypundith - MacBook7,1
  • ThatStella7922 - 2017 13" MacBook Pro (A1708)
  • zephar - 2008 Mac Pro
  • jazo97 - 2011 15" MacBook Pro
  • And others (reach out if we forgot you!)
  • MacRumors and Unsupported Mac Communities
  • Endless testing and reporting issues
  • Apple
  • for macOS and many of the kexts, frameworks and other binaries we reimplemented into newer OSes

Core symbols most depended-on inside this repo

enable_kext
called by 108
opencore_legacy_patcher/efi_builder/support.py
start
called by 40
opencore_legacy_patcher/wx_gui/gui_entry.py
get_kext_by_bundle_path
called by 36
opencore_legacy_patcher/efi_builder/support.py
get_item_by_kv
called by 29
opencore_legacy_patcher/efi_builder/support.py
get
called by 29
opencore_legacy_patcher/support/network_handler.py
write_property
called by 24
opencore_legacy_patcher/support/global_settings.py
from_ioregistry
called by 21
opencore_legacy_patcher/detections/device_probe.py
_is_gpu_architecture_present
called by 19
opencore_legacy_patcher/sys_patch/patchsets/hardware/base.py

Shape

Method 1,020
Class 198
Function 96

Languages

Python100%

Modules by API surface

opencore_legacy_patcher/constants.py139 symbols
opencore_legacy_patcher/detections/device_probe.py89 symbols
opencore_legacy_patcher/support/utilities.py40 symbols
opencore_legacy_patcher/wx_gui/gui_settings.py31 symbols
opencore_legacy_patcher/detections/ioreg.py29 symbols
ci_tooling/build_modules/package_scripts.py29 symbols
opencore_legacy_patcher/wx_gui/gui_support.py28 symbols
opencore_legacy_patcher/sys_patch/patchsets/detect.py26 symbols
opencore_legacy_patcher/sys_patch/sys_patch.py23 symbols
opencore_legacy_patcher/support/network_handler.py23 symbols
opencore_legacy_patcher/wx_gui/gui_macos_installer_flash.py19 symbols
opencore_legacy_patcher/sys_patch/patchsets/hardware/base.py18 symbols

Dependencies from manifests, versioned

@vuepress/plugin-back-to-top1.9.8 · 1×
@vuepress/plugin-medium-zoom1.9.8 · 1×
markdown-it-multimd-table4.2.0 · 1×
markdown-link-check3.10.3 · 1×
markdownlint-cli0.33.0 · 1×
run-script-os1.1.6 · 1×
spellchecker-cli6.1.1 · 1×
vuepress1.9.8 · 1×
vuepress-plugin-fulltext-search2.2.1 · 1×
vuepress-theme-succinct1.7.2 · 1×

For agents

$ claude mcp add OpenCore-Legacy-Patcher \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact