Jump to content

736 posts in this topic

Recommended Posts

4 hours ago, obus said:

Hi @Andrey1970

Need "_xcpm_pkg_scope_msrs_PMhart".and FakeCPUID 0x0506E4 to boot my rig with working XCPM.

Now booting with "xcpm_bootstrap © Pike R. Alpha" but with no PM.

Is there a way to inject FakeCPUID?

 

You can inject your fakeid through a kernel patch, see here:

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/kernel_patcher.c#l418

Share this post


Link to post
Share on other sites
Advertisement
Posted (edited)
11 minutes ago, Badruzeus said:

Hi @Andrey1970, referring to this:

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/cpu.c#l1310

My CPU is Intel Core i3-2330M (SandyBridge) = 0x903.

Is this correct if using Integer (Number) on config.plist - PlatformInfo - SMBIOS (?) It's just cosmetic for sure.


<key>ProcessorType</key>
<integer>2307</integer>

Thanks.

Set 0, ProcessorType will be added automatically.

<key>ProcessorType</key>
<integer>0</integer>
Edited by Andrey1970

Share this post


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

Set 0, ProcessorType will be added automatically.


<key>ProcessorType</key>
<integer></integer>

I previously was using "0", and got "Unknown". No different with "2307". Yeah, SMBios used by my laptop is "MacBookPro10,1".. the real one uses Core i5 IvyBridge actually, but this is the closest one to my laptop specs for compatibilities (especially Nvidia GFX). Not really sure bcoz of this, will try another SMBIOS'es. Thanks.

Share this post


Link to post
Share on other sites
14 minutes ago, Badruzeus said:

I previously was using "0", and got "Unknown". No different with "2307". Yeah, SMBios used by my laptop is "MacBookPro10,1".. the real one uses Core i5 IvyBridge actually, but this is the closest one to my laptop specs for compatibilities (especially Nvidia GFX). Not really sure bcoz of this, will try another SMBIOS'es. Thanks.

Not <integer></integer>

Set <integer>0</integer>

Share this post


Link to post
Share on other sites

Good to see this project getting to much attention

Share this post


Link to post
Share on other sites
Posted (edited)
57 minutes ago, fabiosun said:

is it something similar to this clover kernel patch?

1402488325_ScreenShot2019-04-28at6_03_41PM.png.164f873b52481619235c4ede34c33abb.png

thank you for previous link

 

@obus,

 

No, this is a different patch. The link I gave explains that it is replacing the cpuid fetched cpuid with the fake id. That patch is changing the cpuid information for xcpm because the cpu is unsupported, yours should be supported if you never used that patch before and had xcpm. That patch is more useful for cpus that don't support features of their closest supported model. If you have a cpu that just needs to be recognized as that other model use the method from the link.

 

6 minutes ago, Hackmac101 said:

 

They were asking if they were equivalent patches, not how to perform the patches but I'm sure they will find that useful too.

 

EDIT: Accidentally quoted the wrong person and can't quote in an edit.... lol

Edited by apianti

Share this post


Link to post
Share on other sites

@vit9696 Questions:

1. Any log for OpenCore on Boot - Firmware? I mean; similar to `bdmesg` to show bootloader used on it, maybe.

2. Can we use OpenCore on real macs?

Thanks.

Share this post


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

Log.

nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log | awk '{gsub(/%0d%0a%00/,"");gsub(/%0d%0a/,"\n")}1'

nvram: Error getting variable - '4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:boot-log': (iokit/common) data was not found

 

Share this post


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

Working hardware nvram is necessary.

Hmmb, I believe NVRAM is working as I could write & load `sudo nvram [value]` from it.

Is it complicated with installed Clover rc.script, do I need to remove it first?

Share this post


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

Emulation nvram is not supported.

Is this due to my UEFI 2.0 Firmware limitation that nvram emulation is, not natively supported (though, vars are loaded)?

Share this post


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

Enable logging to Data Hub.

Target 23

 

Log.

ioreg -lw0 -p IODeviceTree | grep boot-log | sort | sed 's/.*<\(.*\)>.*/\1/' | xxd -r -p

Are you referring to this?

<key>Debug</key>
	<dict>
		...
		<key>Target</key>
		<integer>23</integer>
	</dict>

Uhmmb, do I need using OpenCore.efi debug version for this? Guessing, I need to learn lot of things from Configuration.pdf, I believe I missed those explanations. Thanks anyway. :)

Edited by Badruzeus

Share this post


Link to post
Share on other sites
Posted (edited)

any one using a samsung 970 pro nvme m.2 with OpenCore as it doesnt seem to show in the boot selector only the ssd's will show

Edited by errorexists

Share this post


Link to post
Share on other sites
18 hours ago, uglyJoe said:

...

I did an update from 10.13.3 to 10.13.6 and the BootPicker was hiding the macOS entry during the process.

Only 'Install macOS' and Recovery was shown and direct after the reboots, there where some debug output like 'Start LoadRamDisk' that was blowing away my apple-logo, progress bar was still there.

I don't use verbose and with a normal boot there are no such messages. 

 

Now I got this debug messages at every boot. They appear at the first stage and before the Mac OS GPU driver kicks in.

For testing I disabled everything I found in the config about logging, debug=0, target=0 etc... but the messages are still there...

Share this post


Link to post
Share on other sites
5 hours ago, uglyJoe said:

 

Now I got this debug messages at every boot. They appear at the first stage and before the Mac OS GPU driver kicks in.

For testing I disabled everything I found in the config about logging, debug=0, target=0 etc... but the messages are still there...

 

Look at first page of this topic. I post some options to remove screen debug.

 

Fred

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 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.
    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
       
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By ErmaC
      Slice is glad to present a new EFI bootloader.
      CLOVER
      Now version 2 rEFIt based.


      It is open source based on different projects: Chameleon, rEFIt, XNU, VirtualBox. The main is EDK2 latest revision.
      I also want to thank all who help Slice with the development. Credits and copyrights remain in the sources.
      http://cloverefiboot.sourceforge.net/

      Main features:


      If you have a question please provide outputs from DarwinDumper (formed from Trauma tool). Thanks Trauma!
      Continued by blackosx and STLVNUB.
      CloverGrower Downloads Installation How to do UEFI boot How to use - common words Calculator for Automatic DSDT fix Instructions for GraphicsInjector ATIConnector patching Any kexts patching with some Samples CustomEDID Hiding unnecessary menu entries Instruction for DSDT corrections to do DeviceInjection works Development Themes About kexts injection Instructions for P- and C-states generator Patching DSDT to get Sleep working CPU settings and geekbench ACPI tables loading DSDTmini Custom SMBios F.A.Q. iCloudFix Using mouse. How to make orange icons to be metallic How to make software RAID (by Magnifico) How to modify InstallESD.dmg (by shiecldk) Config.plist settings Using extra kexts and skipping kernelcache Choosing EFI drivers Configuration files Automatic config.plist creating Custom DSDT patches How to do sleep/wake working with UEFI BOOT DeviceID substitution (FakeID) Using Custom OS Icons Hibernation Floating regions Error allocating pages while starting OS -----------------
×