Jump to content

1,535 posts in this topic

Recommended Posts

9 hours ago, Download-Fritz said:

The technical implementation is not challenging, the design considerations are. We do not wish to scan for more hardcoded paths than necessary (which is how Clover works), those are currently limited to Apple's choices. We could add Windows with one line of change, but next people will ask for GRUB or such. Hence, as it's currently not a high priority concern, ideas on how to best handle the situation are discussed privately from time to time, without a clear choice of handling so far.

If someone thinks to have an idea that conforms to OpenCore's architectural design and security philosophies, we'll be happy to hear and discuss them.

Too many letters!

Why not implement boot option as /EFI/microsoft/boot/bootmgfw.efi?

Share this post


Link to post
Share on other sites
Advertisement
17 hours ago, onemanOSX said:

Is Clover's "Tgtbridge" available in OC version?

It can be realized means OpenCore.
Skip

Count

But you have to realize that it can break work of other OS.

Share this post


Link to post
Share on other sites
Posted (edited)
4 hours ago, Andrey1970 said:

It can be realized means OpenCore.
Skip

Count

But you have to realize that it can break work of other OS.

 

Would you mind demonstrate a simple example? Take for instance this patch that I wish to achieve.Thank you.

Screenshot 2019-06-19 at 8.10.05 PM.png

Edited by onemanOSX

Share this post


Link to post
Share on other sites
1 hour ago, onemanOSX said:

Would you mind demonstrate a simple example?

I do not recommend to you it to do, but I will set an example.
You need to analyze yours ACPI tables.
You shall understand that it can do harm.

675700097_2019-06-1915_43_12.png.dce007acebad913be35515629ca995a5.png

Share this post


Link to post
Share on other sites
1 minute ago, Download-Fritz said:

@all: What are your use-cases for Info.plist patching, if any?


You mean like patching info.plist of AppleIntelLpssI2C to "Prevent Apple I2C kexts from attaching to I2C controllers"???

Share this post


Link to post
Share on other sites
51 minutes ago, Andrey1970 said:

I do not recommend to you it to do, but I will set an example.
You need to analyze yours ACPI tables.
You shall understand that it can do harm.

675700097_2019-06-1915_43_12.png.dce007acebad913be35515629ca995a5.png

 

How do you achieve count and skip values?

Share this post


Link to post
Share on other sites
1 minute ago, onemanOSX said:

 

How do you achieve count and skip values?

Open DSDT and count it manually.

It is quite useless patch. 99,9% it will break your Windows booting. Because some names are not only in DSDT but in SSDT's too. 

 

Share this post


Link to post
Share on other sites

Anyway, what does `'import sitecustomize' failed` mean when building OpenCore?

It' s just a warning that could be ignored, right? Xcode10,1 here. Thanks.

Screenshot 21.png

Share this post


Link to post
Share on other sites
9 hours ago, HmO said:

@v10x maybe something like this

 

I'm quite sure ssdtPRGen.sh is outdated and doesn't work with newer CPUs like the one I mentioned.

 

OC already has the Emulate section, the problem is that I can't find any examples on how to use it or where to get the data for the ID and Mask.

Share this post


Link to post
Share on other sites

@Andrey1970 @vandroiy2012 Took a while to figure things out. But managed to use the patch function eventually. I understand the consequence as you guys had mentioned. And this is the only way I can get I2C trackpad to work in interrupt mode (though I had no issue in polling mode). However, glad you guys showed the ropes for my learning and whomever that is reading. Thank you!

Share this post


Link to post
Share on other sites
38 minutes ago, wern apfel said:

It does not work here, only with the FN key. I know it's possible to enable the default F keys, but then the media keys will not work anymore. And I do not like this extra menu icon.

I once checked it, worked, but probably I confused the link to a fork.

You can use http://kevingessner.com/software/functionflip/ 

Share this post


Link to post
Share on other sites
Posted (edited)

Again i make a post, @vandroiy2012, @Download-Fritz and @vit9696

Motherboard : Gigabyte Z170X Gaming 7
PRocessor : Intel Core i7 6700
GPU : MSI RX 580 Armor Edition
RAM : 8GB (2x4GB) PC19200
Bootloader : OpenCore Bootloader (latest version, i just compiled, tried and make this post) and Clover

Note : i deleted all my DSDT and SSDT from EFI/OC/ACPI, so please don't say it's about my modifed DSDT.aml. And i set all ACPI->Add, ACPI->Block, ACPI->Patch with Enabled=NO. So there is no ACPI patch with Add, Block or Patch with config.plist of OpenCore. I have uploaded my OC Folder below. Please check,

 

Problem :
I booted with OpenCore Bootloader to macOS, Windows and Linux and i get this result,

1. In Linux i get Brightness Slider, Why? I attach the picture. With CLOVER or direct boot to linux from Bios i don't get this brightness slider.
2. In Windows, i can't sleep and shutdown. But i can restart my PC. I uploaded video. But in Linux, i can sleep, restart and shutdown
3. Boot in to macOS with no DSDT.aml / SSDT.aml (i deleted it), i still can Shutdown, reboot and sleep (but instant wake when sleep, this is another problem, i just need to set HS08 to built-in/0xFF with custom SSDT later).

So, can anybody check this config.plist?. And kindly point me about my mistake :)

imageproxy.php?img=&key=c17464ef1b1b51c7Linux.png.a4dde85390d699ec7d99dac336692670.png 

 

 

OC.zip

Edited by Andres ZeroCross
Add OC folder

Share this post


Link to post
Share on other sites

@Shaneee & the team, from time to time we receive AMD questions, and do not have a good place to direct these people to. As we took the effort to implement AMD CPU detection patches recently, could you please take some time to prepare patches or what is needed for AMD boot in a closer format to OpenCore? Thanks.

 

@Andres ZeroCross, from the looks you at least do not need FadtEnableReset quirk, it is for old 775 socket based motherboards. You can also entirely remove PlatformNVRAM, SMBIOS, and DataHub sections for simplicity. I do not see any other obvious mistakes.

Share this post


Link to post
Share on other sites
Posted (edited)

Over the weekend, I managed to successfully boot all my systems (Skylake NUC6i5SYH with UEFI, and legacy GA-P55aUD3 desktop & Dell XPS M1530 laptop in my signature) with OC ver 0.0.3 on a GUID HFS+ formatted USB drive. Still testing and tweaking my configs but just about everything works as before :).  While it currently lacks many of the bells and whistles found in Clover, booting to macOS with OC is very, very fast!

 

980360235_OConXPSM1530.thumb.png.c66ecbd817fb1fc88e59b6949622d12d.png

 

Some notes on migrating to OC in legacy machines already booting with Clover

  • Generate config_imprint.plist for currently working Clover installation with clover-genconfig utility.  Device properties can then be imported into OC config.plist/DeviceProperties/Add later

 

Spoiler

 

540744442_CopyDevicePropertiesfromCloverconfig_imprint(genuconfig).thumb.png.f66f6053d9402258649aa0c94e4d4263.png

 

 

 

  • Prepare OC folder, referring to reference configuration.pdf.  Only needed ApfsDriverLoader.efi, HfsPlus.efi, and EmuVariable.efi drivers for my legacy machines.  WhateverGreen.kext basically does all the heavy work that Clover's Graphics Inject function used to do so I kept it for all my systems.
  • Use /Docs/Sample.plist provided as template for config.plist
  • Prepare config.plist with XCODE plist editor

    -Syntax very important, sometimes order of kext loading or kext anomaly prevents loading (eg most Kozlek sensors refuse to load but Slice versions seem ok) <----- Fixed in OC 0.0.4 with this commit so FakeSMC plugins now load OK
    -Kernel/Patch/RTC patches recommend to enable ---> prevent BIOS resets.  Leave MatchKernel blank to apply to all macOS
    -Kernel/Patch/ALPM IO Error AppleAHCIPort patch enable ---> prevent missing SATA drives on legacy SATA controllers eg ICH10

Spoiler

            <dict>
                <key>Comment</key>
                <string>ALPM IO Error AppleAHCIPort</string>
                <key>Count</key>
                <integer>0</integer>
                <key>Enabled</key>
                <true/>
                <key>Find</key>
                <data>QGACAA==</data>
                <key>Identifier</key>
                <string>com.apple.driver.AppleAHCIPort</string>
                <key>Limit</key>
                <integer>0</integer>
                <key>Mask</key>
                <data></data>
                <key>MatchKernel</key>
                <string></string>
                <key>Replace</key>
                <data>AAAAAA==</data>
                <key>ReplaceMask</key>
                <data></data>
                <key>Skip</key>
                <integer>0</integer>
            </dict>


    -Kernel/Quirks/AppleCpuPmCfgLock ---> Yes to prevent AppleIntelCPUPowerManagement kps
    -ACPI/Quirks/FadtEnableReset ---> Yes to enable shutdown on some legacy machines
    -Misc/Security/ScanPolicy set to 0 to scan all disks and volumes
    -Misc/Security/RequireSignature & RequireVault set to 0 if not using FileVault
    -Misc/Boot/Timeout to 30s better for beginners to see scanned volumes
    -Misc/Debug/Target =69 enables boot logging to file in EFI and Data Hub
    -NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82/boot-args ---> for adding boot arguments
    -NVRAM/Add/7C436110-AB2A-4BBB-A880-FE41995C9F82/csr-active-config to enable/disable SIP.  I found setting to <30783637> (0x67) disabled SIP on my UEFI Skylake NUC with working NVRAM but not for my legacy machines without hardware NVRAM
    -PlatformInfo/Automatic set to YES, filled out just Generic values (MLB, ROM, SystemProductName, SystemSerialNumber, SystemUUID from Clover's config.plist)

 

  • Install Clover first in legacy mode to GUID formatted USB (custom install into FAT32 EFI System Partition).  Delete boot file + EFI folder, replacing with OC boot file & EFI folder prepared above - Extra: @RodionS provides a number of different duet boot files for legacy BIOS systems in the Applelife forum - link post#176.  Boot_BIOS_BlockIO can be preferable in some systems ---> faster boot to OpenCore.efi.
  • Change name of entry in OC volume list by making hidden text file ".disk_label.contentDetails" with desired name eg "Linux Mint" or "Windows 10"---> place file in OS loader folder eg /EFI/BOOT, /com.apple.recovery.boot or /System/Library/CoreServices
  • For linux on legacy machines, replace /EFI/BOOT/BOOTX64.efi with grubx64.efi.  BOOTX64.efi installed by the UEFI linux installer is the shim file for secure booting ---> hang for legacy machines when you reach desktop.
  • OC has weakness for multi boot systems: OC needs separate EFI for each OS loader.  If multiple OS loaders installed in single EFI, it will only boot the one installed as /EFI/BOOT/BOOTX64.efi
  • Since Mac ACPI properties are also injected when booting Windows (unlike for Clover), Windows activation may fail if activation is OEM based.

Sample OC config for Legacy BIOS system with drivers and kexts: XPS M1530 OC config.zip (Debug ver 0.0.3)

 

Good Hack/Luck!

 

Edited by fusion71au
Link to extra duet boot files compatible with OC

Share this post


Link to post
Share on other sites
Posted (edited)
8 hours ago, vit9696 said:

@Shaneee & the team, from time to time we receive AMD questions, and do not have a good place to direct these people to. As we took the effort to implement AMD CPU detection patches recently, could you please take some time to prepare patches or what is needed for AMD boot in a closer format to OpenCore? Thanks.

 

@Andres ZeroCross, from the looks you at least do not need FadtEnableReset quirk, it is for old 775 socket based motherboards. You can also entirely remove PlatformNVRAM, SMBIOS, and DataHub sections for simplicity. I do not see any other obvious mistakes.


Yes, you're right, FadtEnableReset just for Legacy hardware with similar problem like mine. I have tried to set FadtEnableReset=NO yesterday, but i still get problem about sleep and shutdown in windows, so i try to set YES but no change. For experiment, I tried to use "ResetHwSig=YES/NO" but no change too. How about Brightness slider in Linux Ubuntu?? Any clue.

Anyway thanks reply :)

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites
7 minutes ago, Andres ZeroCross said:

How about Brightness slider in Linux Ubuntu?? Any clue.

 

For Linux your hackintosh with OpenCore is a regular iMac with built-in display. Unlike Clover OpenCore inject SMBIOS data for all Operating Systems, not only for macOS.  So i think Brightness slider is normal in this case. I'll try one of my builds with Linux and report back. And you can try change your model to MacPro6,1 and check Brightness slider in Linux.:)  

Share this post


Link to post
Share on other sites
1 minute ago, vandroiy2012 said:

 

For Linux your hackintosh with OpenCore is a regular iMac with built-in display. Unlike Clover OpenCore inject SMBIOS data for all Operating Systems, not only for macOS.  So i think Brightness slider is normal in this case. I'll try one of my builds with Linux and report back. And you can try change your model to MacPro6,1 and check Brightness slider in Linux.:)  

Thanks, will try changing SMBIOS profile for testing purpose in Linux.

Share this post


Link to post
Share on other sites
32 minutes ago, vandroiy2012 said:

 

For Linux your hackintosh with OpenCore is a regular iMac with built-in display. Unlike Clover OpenCore inject SMBIOS data for all Operating Systems, not only for macOS.  So i think Brightness slider is normal in this case. I'll try one of my builds with Linux and report back. And you can try change your model to MacPro6,1 and check Brightness slider in Linux.:)  

No change,, still get Brightness SLider with MacPro6,1. 

Screenshot from 2019-06-20 15-38-15.png

Share this post


Link to post
Share on other sites
Posted (edited)
9 hours ago, vit9696 said:

You can also entirely remove PlatformNVRAM, SMBIOS, and DataHub sections for simplicity. I do not see any other obvious mistakes.


Just need clarify,,
if i set PlatformInfo->Automatic = YES, the OC will read data from Generic, right??? So, if i fill PlatformNVRAM, SMBIOS and DataHub will be ignored by OC and no harm to configuration (not a mistake). Sometime i just need to use ManualData. Because with Automatic i got "Boot ROM Version: 166.0.0.0.0" for iMac17,1. Newest Firmware is 168.0.0.0.0

But for testing purpose (because i got problem with Sleep and Shutdown in Windows), i just set Automatic = YES.
Thanks :)

Edited by Andres ZeroCross

Share this post


Link to post
Share on other sites

@Andres ZeroCross, correct.

 

Tbh, I do not have an idea what can be broken. What I know for sure is that OC will not do anything if you disable all the options and quirks. Perhaps it is the right way to find out what exactly causes your strange behaviour in both operating systems. But I would say it is extremely strange...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By MaLd0n
      ---TUTORIAL---

      https://olarila.com/forum/viewtopic.php?f=50&t=8685
       
      --Original Post--
       
      https://olarila.com/forum/viewtopic.php?f=97&t=11237
       
      --Bios/UEFI Settings--
       
      *Update bios/uefi to F7+*
      1- Go to M.I.T./Advanced Frequency Settings tab
       
      Extreme Memory Profile (X.M.P.) - Profile 1
       
      2- Go to BIOS tab
       
      CSM Support - Disabled
       
      3- Go to Peripherals/Thunderbolt(TM) Configuration tab
       
      Security Level - No Security
      Thunderbolt USB Support - Enabled
      GPIO3 Force Pwr - Enabled
       
      4- Go to Chipset tab
       
      Internal Graphics - Enable
       
      ---CLOVER FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI CLOVER Z390 DESIGNARE.zip
       
      ---OPENCORE FOLDER---
      *Use this folder with FULL DSDT PATCHED
      EFI OPENCORE Z390 DESIGNARE.zip
       
      ---DSDT patch requests is here---
       
      https://olarila.com/forum/viewtopic.php?f=19&t=1131
       
      ---HARDWARE---
       
      --MOBO

      GIGABYTE Z390 DESIGNARE
      -Link
      https://www.amazon.com/Z390-DESIGNARE-Gigabyte-Thunderbolt-Motherboard/dp/B07K8RJZRG/ref=sr_1_1?keywords=Z390+DESIGNARE&qid=1565492390&s=electronics&sr=1-1

      --PROCESSOR

      Intel Core i9-9900K
      -Link
      https://www.amazon.com/Intel-i9-9900K-Desktop-Processor-Unlocked/dp/B005404P9I/ref=sr_1_1_sspa?keywords=Intel+Core+i9-9900K&qid=1553358099&s=gateway&sr=8-1-spons&psc=1

      --COOLER

      CORSAIR H100i RGB PLATINUM AIO Liquid CPU Cooler
      -Link
      https://www.amazon.com/CORSAIR-H100i-PLATINUM-Liquid-Cooler/dp/B07JWB5BSN/ref=sr_1_4?keywords=WATER+COOLER+CPU&qid=1565492509&s=gateway&sr=8-4

      --MEMORY

      Corsair CMW32GX4M2C3200C16 Vengeance RGB PRO 32GB (2x16GB) DDR4 3200 (PC4-25600)
      -Link
      https://www.amazon.com/Corsair-CMW32GX4M2C3200C16-Vengeance-PC4-25600-Desktop/dp/B07GTG2T7L/ref=sr_1_15?keywords=memory+ddr4+32&qid=1553358238&s=gateway&sr=8-15

      --GPU

      MSI RX Vega 64 AIR Boost 8G OC
      -Link
      https://www.amazon.com/MSI-RX-64-AIR-8G/dp/B07DH7S1X1/ref=sr_1_2?keywords=vega+64+gigabyte&qid=1565492819&s=electronics&sr=1-2

      --SSD

      Samsung 970 EVO 1TB SSD (MZ-V7E1T0BW) NVMe M.2 V-NAND
      -Link
      https://www.amazon.com/Samsung-970-EVO-1TB-MZ-V7E1T0BW/dp/B07BN217QG/ref=sr_1_1?keywords=s+samsung+970+evo+1tb&qid=1565493002&s=electronics&sr=1-1

      --POWER SUPPLY

      EVGA Supernova 1000 P2 80+ Platinum, 1000W ECO Mode Fully Modular 
      -Link
      https://www.amazon.com/EVGA-Supernova-Platinum-Crossfire-220-P2-1000-XR/dp/B00EKJQM5E/ref=sr_1_3?keywords=power+supply+1000w&qid=1565493196&s=gateway&sr=8-3

      --WIRELESS

      TP-Link Archer T9E
      -Link
      https://www.amazon.com/TP-Link-Archer-T9E-Beamforming-Technology/dp/B00TQEX7AQ/ref=sr_1_1?keywords=TP-Link+Archer+T9E&qid=1553358397&s=gateway&sr=8-1

      --CASE

      Thermaltake Core P5 Tempered Glass Black Edition ATX Open Frame Panoramic Viewing
      -Link
      https://www.amazon.com/Thermaltake-Tempered-Panoramic-Certified-CA-1E7-00M1WN-03/dp/B01N4IGVSC/ref=sr_1_2?keywords=Thermaltake+Core+P5&qid=1565493567&s=gateway&sr=8-2

      --DSDT Patches--
      -FIX ACPI ERRORS -FIX OEM SSDTs to AVOID ERRORS AND WARNINGS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA -DMAC -REMOVE PROBLEMATIC AND UNUSED DEVICES -FIX K.P in REBOOT -SLPB -DARWIN / WINDOWS 2015 -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -REAL TIME CLOCK -ARTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -FWHD -USBX -PMCR -PPMC -XSPI -CNVW -GMM -IMEI -EC -PNLF -ARPT -GFX0 -NVME -DTGP -ACQUIRE MUT0 0XFFFF -MUTEX MUT0 0x00 -EXTERNAL REFERENCES -UNKNOWNOBJ -HDMI / HDAU -FULL RENAMED DEVICES ---SCREENSHOTs---




















      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      Thanks to KGP for SSDT Thunderbolt
      Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad, Sampath007, onemanosx, erroruser, Jenny David, Olarila Facebook Community, Hackintosh Facebook Community and many others!
      We're all here to have fun and learn from each other!
    • By kylon
      Cloud Clover Editor is an open source application that allows you to manage various Hackintosh Bootloaders configs everywhere.

      Open Cloud Clover Editor
       
      Cloud Clover Editor Wiki
      Cloud Clover Editor Sources
       
       
      Features
      Supports Clover EFI, Ozmosis, Chameleon, OpenCore GUI and Text Editor Mode CCE Bank Mobile friendly  
      Officially supported browsers
      Chrome 42+ Microsoft Edge 14+ Firefox 39+ Safari 10+ Opera 29+ Opera Mobile 12+ Chrome for Android 75+ Firefox for Android 67+  
       
      Credits
      mackie100 - took some ideas from his app Clover EFI dev team Eric Slivka - new serial number Virtual1 - new serial number cecekpawon - PHP 5.3.3 patch, , help with the ACPI Loader Mode flag and more Micky1979 - Clover flying editor  (Discontinued) crusher. - Help with the ACPI Loader Mode flag Download-Fritz - Help with the ACPI Loader Mode flag Pavo - Ozmosis fields and values stehor - Ozmosis fields and values Sherlocks - General help and support gujiangjiang - General help and support  
      Please let me know if i forgot you!
    • By Slice
      OK, 4988 released.
      Now, @vector sigma, what have we do to update translations?
    • By dracoflar
      So you've been reading the forum on this brand new boot loader called OpenCore hoping to try it out but you take one look at the configurations PDF and take a step back in shock at the complexity! Well if you've been feeling a bit intimidated by the DOCS well you've come to the right place:
       
      OpenCore Vanilla Desktop Guide
       
      If you have any issues or suggestions please feel free to comment
       
      - Your local neighbourhood Hackintosh Slav
    • By vit9696
      OpenCorePkg / Documentation / Configuration Template / Bugtracker   Discussion and installation should be done in a separate thread! This thread is for development only!
      Current status as of April 2019: Support for UEFI and DuetPkg (legacy) booting APFS and HFS+ compatibility ACPI patcher (adding, dropping, binary patching, relocation) Apple-compatible bless implementation DeviceProperties injection DataHub and SMBIOS generation Symbolic kext and kernel patcher Direct kext injection/patching/blocking within prelinkedkernel Installation/Recovery/FileVault 2 support  Configuration in config.plist with open documentation Simple boot picker for quick launch Direct boot from dmg images  
      Known defects live here.  
      For those, who are not familiar with the history, OpenCore is a project initially born in HermitCrabs Lab that unfortunately almost died before its birth. This release is both a rebirth and a complete rewrite of OpenCore, which brings a number of new ideas, and tries to preserve the smart moves incorporated by iNDi and his team. Other than that, I wish to express my deepest words of gratitude to Acidanthera and WWHC members: your participation was and remains the key for project success, and you are simply the best.
×