Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to Root Patch with non-OpenCore Legacy Patcher Macs/Hackintoshes #348

Closed
khronokernel opened this issue Jun 28, 2021 · 0 comments
Closed

Comments

@khronokernel
Copy link
Member

khronokernel commented Jun 28, 2021

As requested a few times by both Micropatcher and Hackintosh users, decided to write a mini guide on root patching with non-OCLP'd machines.

  • Note that we do not officially support non-OCLP machines so bug reports will most likely be ignored as we prioritize our own supported machines and methods.
    • However our Root Patcher has no SMBIOS model, OpenCore or patcher type checks for acceleration so could be used with third party solutions
  • Additionally have all your data backed up, Dortania and any other party associated with these patch sets are not responsible for potential data loss

Prerequisites

Main requirements for patching the root volume with OpenCore

  • OpenCore Legacy Patcher downloaded
  • Graphics Card supported by root volume patches, ex:
    • Monterey:
      • Intel Ivy Bridge, Sandy Bridge, Ironlake
      • Nvidia Tesla, Kepler, Maxwell, Pascal
      • AMD/ATI TeraScale 1/2
    • Big Sur:
      • Nvidia Tesla, Maxwell, Pascal
      • AMD TeraScale 1/2
      • Intel Ironlake/Sandy Bridge
  • OS Installed and booted
    • Patcher must be booted into the OS you wish to patch as it does not patch installers or non-booted disks
  • SIP must be correctly disabled including Authenticated Root
    • For Macs without OpenCore Legacy Patcher, simply run csrutil disable and csrutil authenticated-root disable in RecoveryOS
    • For hackintoshes, set csr-active-config to 030A0000 (0xA03) and ensure this is correctly applied
      • You may use RecoveryOS instead however remember that NVRAM reset will wipe this var and require you to re-disable it
      • Big Sur/Monterey (0xA03):
        • CSR_ALLOW_UNTRUSTED_KEXTS
        • CSR_ALLOW_UNRESTRICTED_FS
        • CSR_ALLOW_UNAPPROVED_KEXTS
        • CSR_ALLOW_UNAUTHENTICATED_ROOT
      • Mojave/Catalina (0x203):
        • CSR_ALLOW_UNTRUSTED_KEXTS
        • CSR_ALLOW_UNRESTRICTED_FS
        • CSR_ALLOW_UNAPPROVED_KEXTS
  • AMFI must be disabled if installing OpenGL Acceleration patches
    • Add amfi_get_out_of_my_way=1 to your boot-args
  • FileVault must be disabled
    • FileVault prevents the usage of mounting and patching the root volume
  • Web Driver Specifics:

Patching the root volume

To patch the root volume with OpenCore Legacy Patcher is quite simple, run the OpenCore-Patcher.app (GUI) and select "Post-Install Volume Patch":

  • Do not build/install OpenCore or change model, this has no affect on root patching

Screen Shot 2022-08-12 at 5 46 12 PM

Once selected, the patcher will report on what patches your system needs and whether the patcher can start root patching:

  • If you receive "Cannot Patch" reasons, you will need to resolve these yourself. Dortania does not provide any support for unsupported setups such as hackintoshes.

Screen Shot 2022-08-12 at 5 47 10 PM

Once you've passed all the requirements, you can continue patching the root volume. On completion, you'll be prompted to reboot.

  • Nvidia Web Driver note: Due to using 3rd party drivers, you'll need to also approve the kexts within System Preference -> Security and Privacy
@dortania dortania locked as resolved and limited conversation to collaborators Jun 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant