Select the OSX image .raw file from the popup window.
Click to Select target and select OSX image.
Click to Flash! and allow app in popup window.
When writing is finished, remove the USB stick and plug it back in.
Setting EFI Folder
When you plug USB back, you can see EFI partition in "My Computer"
Open EFI partition.
Delete default files.
Copy downloaded EFI folder to EFI partititon.
Now you can boot from USB.
Setting BIOS Settings
Before you start, reset your BIOS settings to default.
Disable
Secure Boot
macOS Installation
Now let's turn off our computer and boot from USB. Choose the Install macOS Sonoma (whatever you have) option on OpenCore menu and go to the installation screen.
What to do on the following screens:
Select language and continue.
Open Disk Utility from the menu to prepare our disk.
Select Show All Devices from the View option and select the name of our disk and click Erase.
Rename the disk and erase as APFS/GUID.
Now close Disk Utility and select Install macOS Sonoma then next next next.
Select renamed disk and click continue.
When the installation is finished, macOS Installer option will be selected automatically every boot step until this option is gone.
After last boot, the language selection screen will welcome us. Select language and continue.
Don't login iCloud account and continue. Because we need to set our serial numbers and ROM for iCloud and iMessage.
Now we can see Desktop.
Post Installation
Open config file with Text Edit.
Search HideAuxiliary and change false value to true.
Search SecureBootModel and change Disabled value to Default.
Search boot-args and delete -v argument.
Now we have to set our serial numbers and ROM value.
Download GenSMBIOS and open .command file. If program asks Download Python download it. After that select option 3.
Now list 5 SMBIOS first. MacBookPro15,4
Select and copy first Serial.
Go check serial number. Your serial should be like this. If not, try second serial.
Search MacBookPro15,1 and replace Type > SystemProductName, Serial > SystemSerialNumber, Board Serial > MLB and SmUUID > SystemUUID values. Now we will set our ROM value.
Go System Setting > Netwotk > Ethernet > Details > Hardware. If our MAC adress is 54:1A:AF:43:70:CA remove : characters = 541AAF4370CA. Convert it to Base64.
Now we have VBqvQ3DK. Replace this with ROM value and save config file.
Restart computer and press Space key on OpenCore menu. Then enter ResetNVRAM. After that BIOS settings may change. Check it and boot macOS.
Now you can login iCloud, iMessage or other apple services and you can use macOS.