Jump to content

How to Create Beta Preview of OCLP 0.6.8 for Dummies


ichelash
41 posts in this topic

Recommended Posts

In this dummy guide, i am going to show you how to create the beta preview of Opencore Legacy Patcher (OCPL 0.6.8 BETA). I'll go straight to the point on this.

First head on to Dortania github repo as show in the image below.

ycAjusB.png

 

Next you'll need to have XCODE 15 Beta, python 3.6 and above, Kernel Debug Kit installed on your system

 

 

Now open your Terminal and clone the "sonoma-development Branch" As show below.

git clone -b sonoma-development https://github.com/dortania/OpenCore-Legacy-Patcher.git

i5cjTBp.png

It will Download an Opencore-Legacy patcher from "sonoma-development"  branch to your Hack.

o1YS6ab.png

 

Next locate the Directory where you downloaded the OCLP in your system (for me it's in cd /Users/yourname/OpenCore-Legacy-Patcher)

FMvgIqa.png

On Terminal also make sure you have (cd) into the Opencore-Legacy-Patcher dir as show below

cd /Users/yourname/OpenCore-Legacy-Patcher

zBS2YGv.png

 

Install Python dependencies used by the project--> run the code below to install them

pip3 install -r requirements.txt

 

After the installation of dependencies is done. Time to generate our app.

 

Generating prebuilt binaries

The main goal of generating prebuilt binaries is to strip the requirement of a local Python installation for users. For developers, there's very little benefit besides enabling dark mode support in the GUI. For development, simply use the OpenCore-Patcher-GUI.command file with a Python 3 installation.

With OCLP directory open in terminal, use the code below to build the latest version of OCLP

python3 Build-Binary.command

When done, your Opencore-legacy-Patcher will have few things added as shown below

NyVRSiB.png

Also your OCLP app will be created at (dist) folder

0d7OesS.png

 

To the the required kexts, Go to ---> Payload folder--> Kexts  Open the folder

 

o8cnCJI.png

 

(Here for example for only Broadcom patching)---> Open "Wi-Fi" folder under Payloads-->kexts-->Wifi

 

QVlGjm5.png

 

Copy them somewhere you can access...extract them and add them to your EFI's kexts folder

e7Wo18T.png

 

0viIuZk.png

 

Next on the "Kernel" of your config.plist Go to "Block" tab and add as shown if the image below..

com.apple.iokit.IOSkywalkFamily

fJPhk6t.png

 

Enabling Patching support for modern Broadcom Cards (Click to Expand)

To use our current patches, you'll need to ensure the following:

System Integrity Protection is set to 0x803csr-active-config | data | 03080000

Reset NVRAM or add csr-active-config to Delete to ensure the new variable is set

AMFI is disabled

boot-args | string | amfi=0x80

Secure Boot Model is set to Disabled

Following kexts are blocked:

com.apple.iokit.IOSkywalkFamily and the strategy must be set to Exclude.

Set MinKernel to 23.0.0 to ensure patches only apply on Sonoma

Following kexts are injected:

IOSkywalk.kext

IO80211FamilyLegacy.kext

Kext has a child, AirPortBrcmNIC.kext, ensure this is injected as well

Set MinKernel to 23.0.0 to ensure patches only apply on Sonoma

Once these are injected, you can run OpenCore-Patcher's Post-Install option and root patch. On reboot, Wireless support should be restored assuming your machine was configured correctly to the above.

 

Hope it somehow helps.

 

 

 

 

 

  • Like 6
  • Thanks 2
Link to comment
Share on other sites

4 minutes ago, surenmunoo said:

Thanks for the detailed explanation but 😁 Where do I find this part "Enabling Patching support for modern Broadcom Cards (Click to Expand)" 

 

Thanks in advance

You'll just open the "dist" folder and open your OCLP app, run it..it will detect the required patches for your system.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

@ichelash Uhhhm, you can skip all this compiling business and just download the prebuild app that is linked in the Comment, @antuneddu posted earlier :D

 

https://github.com/dortania/OpenCore-Legacy-Patcher/pull/1077#issuecomment-1646934494

 

Look for "Latest validated builds for the sonoma-development branch can be found below: "

Edited by cankiulascmnfye
Link to comment
Share on other sites

49 minutes ago, cankiulascmnfye said:

@ichelash Uhhhm, you can skip all this compiling business and just download the prebuild app that is linked in the Comment, @antuneddu posted earlier :D

 

https://github.com/dortania/OpenCore-Legacy-Patcher/pull/1077#issuecomment-1646934494

 

Look for "Latest validated builds for the sonoma-development branch can be found below: "

I tried to use that nightly build..and it gave me errors..like shown below..so I just wrote what worked for me. If the prebuilt works for you go ahead and use it.

 

1053213313_Screenshot2023-07-24at12_43_23.png.301535cef427cd8755e1e7f28b249b3f.png

 

Edited by ichelash
  • Like 3
  • Thanks 1
Link to comment
Share on other sites

Yoo @Cyberdevs if this post is not worth it..you can delete it. No offense.

2 minutes ago, surenmunoo said:

I am giving up on SonoWifi, My Sonoma just won't boot with those 3 kexts enabled, only way it boots is with the NIC.kext turned off and then I still get no wifi 

How are things looking up on your EFI?

Link to comment
Share on other sites

4 minutes ago, ichelash said:

Yoo @Cyberdevs if this post is not worth it..you can delete it. No offense.

How are things looking up on your EFI?

Configured exactly as notes say but with that 1 kext enabled my Asus Z790 ProArt will not boot Sonoma. It boots Ventura okay. I turn it off and Sonoma boots, wifi icon on top right starts flashing like trying to connect but goes to greyed out and Broadcom module does not show in Hackintool

  • Like 1
Link to comment
Share on other sites

14 minutes ago, ichelash said:

Yoo @Cyberdevs if this post is not worth it..you can delete it. No offense.

How are things looking up on your EFI?

Nah, it's OK, it's good for the troubleshooting proposes, people will end up in the same situation so it's going to teach them not to get frustrated if things didn't work out as they planned.

 

@surenmunoo

post your EFI I'll take a look when I get back home.

  • Like 2
Link to comment
Share on other sites

1 minute ago, Cyberdevs said:

Nah, it's OK, it's good for the troubleshooting proposes, people will end up in the same situation so it's going to teach them not to get frustrated if things didn't work out as they planned.

 

@surenmunoo

post your EFI I'll take a look when I get back home.

Thanks, will do

Link to comment
Share on other sites

16 minutes ago, Cyberdevs said:

Nah, it's OK, it's good for the troubleshooting proposes, people will end up in the same situation so it's going to teach them not to get frustrated if things didn't work out as they planned.

 

@surenmunoo

post your EFI I'll take a look when I get back home.

Hi Mate, EFI to big to share so I put it in my One Drive, link below. Thanks again in advance.

 

https://1drv.ms/f/s!AoOizZoZoHe1vD_58iHBZB9juEub?e=Wi82ZO

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, ichelash said:

You'll just open the "dist" folder and open your OCLP app, run it..it will detect the required patches for your system.

 

Great Thanks to ALL!!!!!

 

Guys, im always desire that GOD bless all of you!!! 

 

Works finally, after this last START ROOT PATCHING

 

Its Amazing!!!!! 

 

AIDROP and WIRELESS

 

:guitar:

  • Like 4
Link to comment
Share on other sites

image.png.01a3afd222647f63f70a69f60c949abc.png

 

AIDROP

 

WIFI

 

Not forget after reinstall root 

 

 

image.png.8d9343aeee0e570100d5a85421d12cb0.png

 

Dist folder and Run OCLP

 

Ohhh  im so glad about it!!! 

 

 

 

 

 

Captura de Tela 2023-07-24 às 07.23.41.png

 

IM and FT

 

image.thumb.png.d17278b35acfee5a126199dbfe914682.png

Edited by Max.1974
  • Like 3
Link to comment
Share on other sites

19 minutes ago, SavageAUS said:

What about airportbrcm kext if it was used?

Is that no longer required?

 

Im not used for Fenve T-1919

 

Works nice without it

 

NOT WORKS TO ME IF I USE IT 

 

 

 

image.thumb.png.4bda8f6f75e9ca635099ecb52884ec1b.png

 

 

Captura de Tela 2023-07-24 às 07.36.37.png

Edited by Max.1974
  • Like 2
Link to comment
Share on other sites

7 minutes ago, SavageAUS said:

What about airportbrcm kext if it was used?

Is that no longer required?

 

I think you need all the Brcm kexts you needed previouslly, plus the IO802Family and Sywalk kexts. Unfortunately, either my brcm card of the PCI slot of my old laptop is dead so I can't test it.

Link to comment
Share on other sites

Pretty sure I followed the first post to the letter but still SoNoWiFi.

 

I have the Wifi icon without an exclamation mark now but it is off and cannot turn on.

 

I have even tried adding in AirportBrcmFixup.kext.

 

Maybe AirportBrcmFixup.kext needs to come before the OCLP kexts?

  • Like 1
Link to comment
Share on other sites

18 minutes ago, SavageAUS said:

Pretty sure I followed the first post to the letter but still SoNoWiFi.

 

I have the Wifi icon without an exclamation mark now but it is off and cannot turn on.

 

I have even tried adding in AirportBrcmFixup.kext.

 

Maybe AirportBrcmFixup.kext needs to come before the OCLP kexts?

It should 

Link to comment
Share on other sites

×
×
  • Create New...