Jump to content
About Just Joined group Read more... ×

6,435 posts in this topic

Recommended Posts

2 minutes ago, Andres ZeroCross said:


I don't see any problem in IOREG,, Did you mean random wake when sleep?? Maybe you can set proximitywake to 0.

Just check your pmset,, open terminal and type "sudo pmset -g"

I mean sometime sleep break I think random wake from sleep895012221_ScreenShot2019-10-23at7_32_06PM.jpg.8d25b91740d756a0b3ee290a0bcc7bc8.jpg

I have already set proximitywake to 0 and also tried proximitywake to 1 no luck

 

 

Share this post


Link to post
Share on other sites
Advertisement
2 minutes ago, anmool said:

I mean sometime sleep break I think random wake from sleep895012221_ScreenShot2019-10-23at7_32_06PM.jpg.8d25b91740d756a0b3ee290a0bcc7bc8.jpg

I have already set proximitywake to 0 and also tried proximitywake to 1 no luck

 

 


Use this,, your system will be sleep well..

 

DSDT.aml

Share this post


Link to post
Share on other sites

Hi all!

 

I was wondering if anyone can help me out with 2 issues:

 

I'm using a Dell 3521 i5-3317u Ivy 

 

I have open core installed and working so far, but I'm breaking down my issues and cleaning things up.

 

My keyboard and trackpad don't work, and if I do get them to work my trackpad buttons do not work.

 

Here is my config. Thanks for looking at my post!

config.plist

 

Edit: Sorry, have Catalina installed.

Edited by Jobe5150

Share this post


Link to post
Share on other sites
2 hours ago, Andres ZeroCross said:


Use this,, your system will be sleep well..

 

DSDT.aml

sleep worked fine 

how Can i fix this place 

when I add If_OSI patch in  _CRS METHOD OF TPD0  always Maciasl shows me a error

just I experience whenever if my DSDT lost then I patch from start.  just I m testing on clean DSDT

1732977565_ScreenShot2019-10-23at10_06_50PM.thumb.jpg.5e84c3bbe18a3c319cfbdecd70e058c7.jpg

 

 

Share this post


Link to post
Share on other sites
2 minutes ago, anmool said:

sleep worked fine 

how Can i fix this place 

when I add If_OSI patch in  _CRS METHOD OF TPD0  always Maciasl shows me a error

just I experience whenever if my DSDT lost then I patch from start.  just I m testing on clean DSDT

1732977565_ScreenShot2019-10-23at10_06_50PM.thumb.jpg.5e84c3bbe18a3c319cfbdecd70e058c7.jpg

 

 


It's Out Of Topic, this thread just for OpenCore

Share this post


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


It's Out Of Topic, this thread just for OpenCore

I know I m asking for OpenCore  I m testing your applied patches in my clean DSDT

Share this post


Link to post
Share on other sites

Opencore will not boot when using kvm and qemu topology(smp) and newer model rather than Penryn.

 

I digging in the code found that:

1. when cpu model is Penryn, then occpu will not lookup msr 0x35 but cpuid to get correct cpu topology

2. when cpu model is not Penryn, occpu will lookup msr 0x35 to get correct info, but QEMU/KVM do not have a msr node 0x35, it will show "1 cores 1threads" which make the xnu cpu panic.

 

I think it would be better check cpu model Penryn or "Hypervisor Present Bit:Bit 31 of ECX of CPUID leaf 0x1" (which is the feature "hypervisor" QEMU passthrough, from here), then get the topology from cpuid instead of msr 0x35.

 

The code snippet related:

// or maybe we should also check "hypervisor" cpuid
if (Cpu->MaxId >= CPUID_CACHE_PARAMS && Cpu->Model <= CPU_MODEL_PENRYN) {
    AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &CpuidCacheEax.Uint32, &CpuidCacheEbx.Uint32, NULL, NULL);
    if (CpuidCacheEax.Bits.CacheType != CPUID_CACHE_PARAMS_CACHE_TYPE_NULL) {
      CoreCount = (UINT16)GetPowerOfTwo32 (CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1);
      if (CoreCount < CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1) {
        CoreCount *= 2;
      }
      Cpu->CoreCount   = CoreCount;
      //
      // We should not be blindly relying on Cpu->Features & CPUID_FEATURE_HTT.
      // On Penryn CPUs it is set even without Hyper Threading.
      //
      if (Cpu->ThreadCount < Cpu->CoreCount) {
        Cpu->ThreadCount = Cpu->CoreCount;
      }
    }
  } else if (Cpu->Model == CPU_MODEL_WESTMERE) {
    Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT);
    Cpu->CoreCount   = (UINT16)BitFieldRead64 (Msr, 16, 19);
    Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0,  15);
  } else {
    Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT);
    Cpu->CoreCount   = (UINT16)BitFieldRead64 (Msr, 16, 31);
    Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0,  15);
  }

The oc log LEFT: using QEMU and Penryn with topology/smp set . RIGHT: using QEMU topology and IvyBridge,:

image.thumb.png.5593f67ca9b86a6b15e6b2d97592d7cd.png

Share this post


Link to post
Share on other sites

Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with borked firmware. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks.

Edited by dgsga

Share this post


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

Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with {censored} nvram implementation. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks.

system preferences startup select drive

Share this post


Link to post
Share on other sites
3 minutes ago, errorexists said:

system preferences startup select drive

I've tried that many times... no joy

Share this post


Link to post
Share on other sites

I have something weird, the inject kext (USBPorts.kext, FakePCIID.kext, FakePCIID_Intel_GBx.kext) not load at all, but according to the opencore debug log, the kext loads succuessfully.

This blocks me switch from clover.

opencore log

02:310 00:005 OCB: Matching <> args on type 1 0
02:315 00:004 OCC: Configuring behaviour 2
02:320 00:004 OCC: Setting cc mode 1 -> 1
02:326 00:006 OCABC: Only 246/256 slide values are usable!
02:331 00:004 OCABC: Valid slides - 10-255
02:337 00:006 OCC: Setting cc mode 1 -> 0
02:351 00:013 Trying XNU hook on System\Library\PrelinkedKernels\prelinkedkernel
02:362 00:011 Kext reservation size 8572928
02:816 00:453 Result of XNU hook on System\Library\PrelinkedKernels\prelinkedkernel is Success
02:832 00:016 OC: Read kernel version 19.0.0 (190000)
02:838 00:005 OCAK: algrey - cpu_topology_sort -disable _x86_validate_topology replace count - 1
02:843 00:004 OC: Kernel patcher result 0 for kernel (algrey - cpu_topology_sort -disable _x86_validate_topology) - Success
02:868 00:024 OCAK: PanicKextDump replace count - 1
02:872 00:004 OCAK: Patch success kext dump
02:920 00:047 OC: Prelink injection Lilu.kext () - Success
02:938 00:017 OC: Prelink injection VirtualSMC.kext () - Success
02:956 00:018 OC: Prelink injection WhateverGreen.kext (Video card) - Success
02:970 00:014 OC: Prelink injection FakePCIID.kext () - Success
02:986 00:016 OC: Prelink injection AppleALC.kext (Sound) - Success
02:991 00:004 OC: Prelink injection MCEReporterDisabler.kext () - Success
02:996 00:004 OC: Prelink injection FakePCIID_Intel_GbX.kext () - Success
03:008 00:011 OC: Prelink injection NullCPUPowerManagement.kext () - Success
03:012 00:004 OC: Prelink injection AGPMInjector.kext () - Success
03:026 00:013 OC: Prelink injection SMCSuperIO.kext () - Success
03:039 00:013 OC: Prelink injection SMCProcessor.kext () - Success
03:044 00:004 OC: Prelink injection USBPorts.kext () - Success
03:069 00:025 OC: Prelink injection SmallTreeIntel8259x.kext () - Success
03:099 00:030 Prelinked status - Success
03:120 00:020 OC: OcAppleGenericInputTimerQuirkExit status - Success
04:156 01:036 OC: OcAppleGenericInputKeycodeExit status - Success

kextstat says there is no fakepciid.kext loaded:

image.thumb.png.6c4b8e102bbdb53e739e658777bfa7ce.png

I checked multiple times that the config is set correctlly.

image.thumb.png.0bc8254b8bc043e11a4c45f913333910.png

 

 

Attachment is my efi folder, please give some help to make it work fEFI.zipor me.

Share this post


Link to post
Share on other sites

I'm running Catalina with OpenCore 0.51 on my Gene VIII.

 

This is my first time using OC and can anyone check my config.plist to be sure the settings are correct for my system?  I would like to keep the options to the minimum that works with my system.

 

Thanks.

config.plist

Share this post


Link to post
Share on other sites
On 10/25/2019 at 3:08 AM, dgsga said:

Does anyone know if it is possible to set the macOS partition as the default boot selection in the boot picker on Z390 boards with borked firmware. On my rig the picker always defaults to the first listed volume. I have LegacyEnable set to YES and have nvram.plist loading correctly. Any help here would be much appreciated. Thanks.

 

you have to set ShowPicker=NO. 

Share this post


Link to post
Share on other sites

@Leoyzen, it is strange, and I would suggest you use kernel logs for tracing the issue. Add some debug code to FakePCIID init/probe/start methods and see what happens. Also check whether there is anything in the kernel log early at start.

 

Side note: you may actually be ok with just injecting vendor-id/device-id through DeviceProperties.

Share this post


Link to post
Share on other sites

Hello all. I didn't see anything related to this when I hit search so I hope this helps. I've been AMD Hackintoshing with OpenCore and Vanilla Patches and I was not able to boot Windows out of the box. I solved this by adding an entry here:

 

OpenCore version: 0.5.2
Misc > Entries

 

The sample.plist config has a nice template if you use that. Here it is again for reference:

 

Source: https://raw.githubusercontent.com/acidanthera/OpenCorePkg/cd8a046ce9920e5246a427e347f64ffe1ab63e2d/Docs/SampleFull.plist

		<array>
			<dict>
				<key>Arguments</key>
				<string></string>
				<key>Name</key>
				<string>CustomOS</string>
				<key>Comment</key>
				<string>Not signed for security reasons</string>
				<key>Enabled</key>
				<false/>
				<key>Path</key>
				<string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string>
			</dict>
		</array>

Here is what I have modified:

<key>Entries</key>
        <array>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Name</key>
                <string>Windows 10</string>
                <key>Comment</key>
                <string>Not signed for security reasons</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>IDENTIFIER/\EFI\Microsoft\Boot\bootmgfw.efi</string>
            </dict>
        </array>

Here is what the identifer looks like for my machine:

<string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,16-7D-50-71-53-38-25-00)/HD(1,GPT,094B0907-C4B8-48B1-8010-8BA5BF105D0E,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi</string>

You can use gfxutil to grab this path, but the way I did it was to boot EFI shell and run the following command:

*BOOT EFI SHELL*

Shell> fs0:
fs0:\> map > maps.txt

I then mounted my ESP partition and was able to copy and paste the info into the plist file:

 

image.thumb.png.a724dbc35353f8f75c502a3d4943fc8f.png

 

I hope this helps somebody. Took me a bit of tries to get it working.

Share this post


Link to post
Share on other sites
15 hours ago, DaGr8Gatzby said:

Hello all. I didn't see anything related to this when I hit search so I hope this helps. I've been AMD Hackintoshing with OpenCore and Vanilla Patches and I was not able to boot Windows out of the box. I solved this by adding an entry here:

 


OpenCore version: 0.5.2
Misc > Entries

 

The sample.plist config has a nice template if you use that. Here it is again for reference:

 

Source: https://raw.githubusercontent.com/acidanthera/OpenCorePkg/cd8a046ce9920e5246a427e347f64ffe1ab63e2d/Docs/SampleFull.plist


		<array>
			<dict>
				<key>Arguments</key>
				<string></string>
				<key>Name</key>
				<string>CustomOS</string>
				<key>Comment</key>
				<string>Not signed for security reasons</string>
				<key>Enabled</key>
				<false/>
				<key>Path</key>
				<string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,11-22-33-44-55-66-77-88)/HD(1,GPT,00000000-0000-0000-0000-000000000000,0x800,0x64000)/\EFI\BOOT\BOOTX64.EFI</string>
			</dict>
		</array>

Here is what I have modified:


<key>Entries</key>
        <array>
            <dict>
                <key>Arguments</key>
                <string></string>
                <key>Name</key>
                <string>Windows 10</string>
                <key>Comment</key>
                <string>Not signed for security reasons</string>
                <key>Enabled</key>
                <true/>
                <key>Path</key>
                <string>IDENTIFIER/\EFI\Microsoft\Boot\bootmgfw.efi</string>
            </dict>
        </array>

Here is what the identifer looks like for my machine:


<string>PciRoot(0x0)/Pci(0x1,0x1)/Pci(0x0,0x0)/NVMe(0x1,16-7D-50-71-53-38-25-00)/HD(1,GPT,094B0907-C4B8-48B1-8010-8BA5BF105D0E,0x28,0x64000)/\EFI\Microsoft\Boot\bootmgfw.efi</string>

You can use gfxutil to grab this path, but the way I did it was to boot EFI shell and run the following command:


*BOOT EFI SHELL*

Shell> fs0:
fs0:\> map > maps.txt

I then mounted my ESP partition and was able to copy and paste the info into the plist file:

 

image.thumb.png.a724dbc35353f8f75c502a3d4943fc8f.png

 

I hope this helps somebody. Took me a bit of tries to get it working.

 

It becomes simply with BlessOverride.

Share this post


Link to post
Share on other sites
On 10/21/2019 at 7:31 PM, moozuki said:

1. Holdover from Clover, sorry

2. My hardware NVRAM works just fine

3. SSDT-PLUG.aml was adjusted for my board

4. no way in BIOS

5. All my drives are SATA.

 

Had to make USB installer and re-install Catalina to get it to boot again, not the best solution.

It seems everytime I update kexts or OC , it gets the unable to load kernel cache error.

 

Solved the problem! Had a bad copy of VirtualSMC.

Share this post


Link to post
Share on other sites
2 hours ago, Andrey1970 said:

 

It becomes simply with BlessOverride.

 

This did not work for me. I just tested it. I'm booting Windows and Catalina off of the same drive and I already tried setting HideSelf to False. The only way I was able to get boot working is with this entry, which is why I posted it.

 

Good suggestion though!

Share this post


Link to post
Share on other sites
12 minutes ago, DaGr8Gatzby said:

 

This did not work for me. I just tested it. I'm booting Windows and Catalina off of the same drive and I already tried setting HideSelf to False. The only way I was able to get boot working is with this entry, which is why I posted it.

 

Good suggestion though!

 

ScanPolicy 

(bit 10) — OC_SCAN_ALLOW_FS_ESP, allows scanning of EFI System Partition file system.

Share this post


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

 

ScanPolicy 

(bit 10) — OC_SCAN_ALLOW_FS_ESP, allows scanning of EFI System Partition file system.

Custom Entries are the way to get your particular boot entry to show up, changing ScanPolicy to allow Scanning ESP is not a good idea, there's are potentially my drives and multiple EFI partitions from a system, it will pollute the boot menu with multiple additional unwanted entries.

Share this post


Link to post
Share on other sites
39 minutes ago, n.d.k said:

Custom Entries are the way to get your particular boot entry to show up, changing ScanPolicy to allow Scanning ESP is not a good idea, there's are potentially my drives and multiple EFI partitions from a system, it will pollute the boot menu with multiple additional unwanted entries.

 

If you have booter files on others ESP, means they to you are necessary. Otherwise why they there.)

Share this post


Link to post
Share on other sites

Announcements

  • Similar Content

    • By MaLd0n
      -OpenCore Vanilla TUTORIAL-
       
       
      -USB Port Mapping TUTORIAL-
       
        1 -Create a USB bootable
       
      Create your usb installer, use this tool and download Catalina or Big Sur from Apple servers
       
      Catalina
      installScript_allfullapp.zip
       
      Big Sur
      installScript_1016fullapp.zip
       
      Credits: crazybirdy
       
      Copy Catalina / Big Sur installer to Applications folder, open terminal and run
       
      Catalina
       
       
      Big Sur
       
       
      If you want check one step by step, check here
       
      -Opencore Vanilla Tutorial
      https://tinyurl.com/ycvcnp8h
       
      2- EFI folder USB installation
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition in your USB STICK
      https://tinyurl.com/y6avuxsv
       
       
      3- EFI folder SSD
       
      -EFI OpenCore Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD 
      https://tinyurl.com/ybwr9kq3
       
      -EFI Clover Folder Desktop 10th Intel Processors
      Paste this EFI folder in EFI partition SSD
      https://tinyurl.com/yxsw7d3t
       
      4- Start Fine Tune
       
      Run this app and post full dump here for full ACPI solution
       
      RunMe.app
      https://tinyurl.com/y9562hz7
       
       
      If you like a SSDT way, here we go
      SSDT-OLARILA.aml.zip
       
      5- USB Solution
      USB INTEL SERIE 400.zip
       
      Use these kexts, enable XHCI port limit patch and follow this tutorial for remap USB ports
       
       
       
      --DSDT PATCHES--
       
      -FIX ERRORS AND WARNINGS -FIX ACPI ERRORS -REMOVE UNUSED SCOPES / DEVICES -HIGH PRECISION EVENT TIMER -SATA SERIE ID -DMAC -REMOVE LINES, PROBLEMATIC and UNUSED -FIX K.P in REBOOT -NVRAM -REAL TIME CLOCK -SLPB -DARWIN / WINDOWS -XHCI -PLUGIN TYPE -HDEF -ARTC -IPIC -TIMR -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -UAR1 -LAN -FWHD -USBX -PMCR -PPMC -XSPI -kUSBCompanionIndex -io-device-location -IMEI -EC -PNLF -ARPT -GFX0 -NVME -ACPI-WAKE-GPE -DTGP -HDMI / HDAU  
      --SCREENSHOTS--































      -If you want to buy me a beer - Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      Big Thanks to XLR and your Badass Motherboard, Ultrafast CPU, Coolest Heatsink, Huge Graphics Card, Tonnes of RAM,
      Gigantic Hard Drive, Lightspeed Disk Burner, Professional Sound Card, Massive LCD Display.
       
       
      -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!
      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 and many, many, many others!

      We're all here to have fun and learn from each other!
    • By amirali mahmoudi
      hi
      i have a problem since updated my opencore to 0.6.2
      My audio output is set to headphones, and every time i turn on the pc , i need set this on internal speakers
      and the other problem is that sometimes my hackintosh wake up from sleep after 2 second and sometimes its work fine
      i've checked my config.plist in sanity checker and dortania and its all good but these problems still exist 
      Can you help me out please ?
       
      asus z390 p 
      i7 9700k
      rx 590 8gb
      wifi/bt/handoff works fine
      catalina 10.15.7
      opencore 0.6.2
    • By VortexisTV
      Hi, I made sure I got the right kexts and bios settings for my system, and followed every step I could take on Dortania's opencore github guide but I was met with kernel panic. I sanity checked my config.plist and made sure I had the exact settings for my Whiskey Lake laptop. I've dumped my DDST and generated SSDTs using the SSDTTime method, except XOSI (I tried manually recompiling the GPIO SSDT but I also got the same kernel error). I made sure I deleted unnecessary kexts and ACPIs. I'm thinking that my Zenbook laptop has a specific way of handling Hackintosh. If anyone could take a look into my EFI folder and find what's causing them It would be greatly appreciated.
       
      EFI and kernel panic picture is attached below
       
      ASUS Zenbook UX331FN
      i5-8265U
      Intel UHD Graphics 620
      8GB of SDDR4
      Opencore 0.6.2
      Kernel_Panic.zip

    • By dadamaja
      Hi all!!
       
      After using my old Dell Clover convert for a few years, I recently built a new Catalina box using OpenCore.  Everything works perfectly and has been very stable.  The only thing that is not working is unlocking with my Apple Watch.  The screen says "Unlocking with Apple Watch" with the spinning graphic and then just prompts for my password.  It does not shake or anything as if the password is incorrect.  My 2014 MBP unlocks without issue and they both use the same iCloud account.  I purchased the Fenvi FV-T919 pci-e adapter and BT, WIFI, Handoff, and Airdrop are all working without issue.  I confirmed in system preferences that unlock is supported and made sure that automatic login is disabled in my profile.  I have cleared keys out of the keystore, restarted a number of times, logged out and back into iCloud all to no avail.  Anyone else having this issue?  Thanks in advance!!
       
      More info my build:
      Asus PRIME z370-A II
      Core i7 9700K
      32 GB PC3200 Crucial Ballistix RAM
      Sapphire Pulse RX380 
      Samsung 970 Evo Plus
      Fenvi FV-T919
      2x Seagate Barracuda 4TB
      CoolerMaster MasterLiquid ML240L V2
       
    • By rvilbert
      Hi all,
       
      I have been trying to install Big sur on Opencore and i believe i'm almost there but i get stuck on a grey screen with my mouse pointer just before i can see the installer screen.
      I have applied the various SSDT patches for X99. I thought that was linked to VirtualSMC which I replaced by FakeSMC but same issue. I also declared my graphic card in config.plist as i thought it could come from there but that's not the issue (Radeon RX 570).
      I have been scratching my head for some time now. Any idea from anyone please.
       
      I have attached my EFI folder and my ioreg extract. Let me know if you need anything else.
       
      Thanks a million.
       
      My config:
      Asus X99 Deluxe
      Core-i7 5960x
      Radeon RX 570
       
      @RemB
      @jmacie
      I would appreciate your help please. Any views of what could be wrong? Thanks a lot
       
      OpenCore 0.6.2 for X99 BIG SUR.zip
      X99 iMac Pro.ioreg.zip
×