Jump to content

5,130 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
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
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
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

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 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.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By STLVNUB
      Script file to clone and help build Clover, Opencore (official and unofficial) repos
      Script will create link to itself in /usr/local/bin/bob
      Wouldn't hurt to check there are no "Bob"'s there, i "Hope" there isn't.
       
      Then you only need to type bob. and a parameter
      "n" for NDK repo, unofficial
      "a" for ACID repo, official
      "c" for CLOVER
      It also takes "all" for ALL, if your game
      Currently NDK Repo has problems so "all" and "n" DON'T WORK
       
      Easier typing bob than.....usual stuff
      Enjoy
       
    • By cvad
      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.
       
      Anyone who likes the program, please support its Community Score.
       
       
      Feel free to "Rate File"
    • By blackosx
      Do you want to quickly find your boot log, or ever wanted to know which version of bootloader is installed on your disk(s), had the need to dump your BIOS from OS X, just curious about your own system setup or been asked to provide your setup information to others when asking for assistance?
       
      DarwinDumper is a useful collection of readily available tools, and scripts wrapped in an application framework giving you a convenient method to quickly gather a system overview of your hack or Mac. And rest assured that enabling the privacy option will mask sensitive data like the IOPlatformSerialNumber, IOPlatformUUID, IOMACAddress(s), USB Serial Number(s), SystemSerialNumber, serial-number, fmm-mobileme-token-FMM, MLB and ROM efi vars and CustomUUID in the dumped files and report.
       
      Current Release Version: 3.0.4, though latest beta DarwinDumper_v3.1.0b6



      The system dumps are saved to a folder or your choice, but defaulting to the same directory as the main application. You can choose to setup a symlink to make it simple to run DarwinDumper from the Terminal.
       
      There is an option to create an html report showing a complete overview of the dumps. This report will mostly just contain the text dumps as you'll find in the main dump directory, but for some dumps there is extra processing to try to present the information in a better way. For example, the Disk Partitions and Unique ID's dump will show a visual map of the disk layout, and the DMI Tables (SMBIOS) dump will show the data split by table type.
       

       
      Note: The html report does not contain all files from a complete dump so if seeking assistance for a problem and you wish to send someone a DarwinDump then you will want to send the complete dump directory and not just the .html report file.
       
      The following can be read and dumped by DarwinDumper:
      - ACPI tables.
      - Audio codec and further info.
      - Boot loaders and configuration files.
      - CPU info.
      - Device-properties.
      - Disk partition structure / info.
      - Disk sectors (hex).
      - DMI (SMBIOS).
      - EDID.
      - I/O Kit Registry.
      - EFI Memory Map.
      - EFI vars (some).
      - Kernel information
      - Kexts - (list of currently loaded kexts).
      - Memory.
      - NVRAM (both Apple specific and UEFI firmware variables).
      - SMC Keys.
      - LSPCI (PCI vendor & device codes) dumps.
      - Power (Sleep/Hibernate) settings.
      - RTC.
      - System Profiler.
      - System BIOS.
      - System Log(s).
      - Video BIOS.
       
      License:
      DarwinDumper is licensed under GNU General Public License, version 3.0 (GPLv3).
       
      Tools included:
      AnalyseVBIOS
      Copyright: Not Known. License: Not known Source: http://www.insanelymac.com/forum/topic/211294-information-on-vesa-modes-in-atinvidia-bios/   AppleIntelInfo Copyright: © 2012-2017 Pike R. Alpha. All rights reserved. License: Creative Commons Attribution-NonCommercial https://github.com/Piker-Alpha/AppleIntelInfo   atomdis Copyright: Michael Larabel @ Phoronix.com License: GPL Version 2 Source: http://www.phoronix.com/scan.php?page=article&item=amd_atombios_dumper   bgrep Copyright 2009 Felix Domke <tmbinc@elitedvb.net>. All rights reserved.   Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:      1. Redistributions of source code must retain the above copyright notice, this list of       conditions and the following disclaimer.      2. Redistributions in binary form must reproduce the above copyright notice, this list       of conditions and the following disclaimer in the documentation and/or other materials       provided with the distribution.   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the copyright holder.   Source: https://github.com/tmbinc/bgrep   bdmesg Copyright 2010 by Islam M. Ahmed Zaid. All rights reserved. License: GPL Version 2 Source: http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/i386/util/bdmesg.c   cmosDumperForOsx Created by rafirafi, revised extensively by STLVNUB License: Information not available Source: http://www.projectosx.com/forum/index.php?showtopic=2432&st=0&p=21522&&do=findComment&comment=21522   csrstat Created by Piker-Alpha Copyright: © 2015-2017) by Pike R. Alpha License: Information not available Source: https://github.com/Piker-Alpha/csrstat   dmidecode http://www.nongnu.org/dmidecode/ License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2488   dumpACPI Created by blackosx. Idea taken from PHPdev32's MacIASL. Source: https://bitbucket.org/blackosx/dumpacpi   edid-decode Created by Adam Jackson, revised by Andy Vandijck License: Information not available Original Source: http://cgit.freedesktop.org/xorg/app/edid-decode Revised Source: http://bit.ly/1qAzqxb   fdisk440 Apple Computer, Inc. License: APSL v2.0 Source: http://forge.voodooprojects.org/p/chameleonApplications/source/tree/HEAD/trunk/fdisk.tproj   FirmwareMemoryMap script Amit Singh (showbootermemorymap) License: Information not available Source: http://www.projectosx.com/forum/index.php?showtopic=2447&st=120&p=19329&&do=findComment&comment=19329   flashrom http://flashrom.org/Flashrom License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2485&view=findpost&p=40285   getcodecid Copyright © 2012 AnV Software. All rights reserved. License: Information not available Source: http://www.insanelymac.com/forum/topic/285277-getcodecid-command-line-tool-to-detect-codec-id/   getdump Created by fassl?, modifications by Slice and AutumnRain? License: Information not available Source: https://svn.code.sf.net/p/voodoohda/code/tranc/getdump.c   gfxutil Copyright 2008 mcmatrix. All rights reserved. License: Information not available http://forum.netkas.org/index.php?PHPSESSID=q2isd338ihjjpcgbng7tne08pdv7tr4f&topic=64.0 Source: https://dl.dropbox.com/u/222155/gfxutil_source.zip   iasl Copyright © 2000 – 2014 Intel Corporation. License: Information not available Source: https://github.com/acpica/acpica   ioregwv Apple Computer, Inc. License: APSL v2.0 Source: https://bitbucket.org/blackosx/ioregwv   lzma Copyright © 2013 Igor Pavlov. License: GNU Lesser General Public License Source: http://www.7-zip.org/sdk.html   lzvn Copyright: © 2014 Apple Computer, Inc. All rights reserved. License: APSL Credit: Piker-Alpha, Andy Vandijck, MinusZwei. https://github.com/Piker-Alpha/LZVN   MacGap2 Created by Tim Debo. All rights reserved. License: MIT Source: https://github.com/MacGapProject/MacGap2   nvram Apple Computer, Inc. License: APSL v2.0 Source: https://bitbucket.org/blackosx/nvram   oclinfo Copyright © 2009 cmf License: GPL Version 2 Source: http://www.insanelymac.com/forum/topic/170796-opencl-info/   pciutils driver (DirectHW.kext) DirectHW is Copyright © 2008-2010 coresystems GmbH License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2480   pciutils lspci Copyright © 1997--2008 Martin Mares License: GPL Version 2 Source Code: https://kernel.googlesource.com/pub/scm/utils/pciutils/pciutils.git/+/master   Macpmem driver (Macpmem.kext) Copyright © 2007-2011 Volatile Systems. Copyright 2013-2014 Google Inc. All Rights Reserved. License: GPL Version 2 Source Code: https://github.com/google/rekall/tree/master/tools/osx/MacPmem]https://github.com/google/rekall/tree/master/tools/osx/MacPmem   RadeonDump Created by Dong Luo. Copyright 2008. All rights reserved. Modified by Andy Vandijck License: Information not available Source: http://www.insanelymac.com/forum/topic/282794-darwindumper/page__st__120?do=findComment&comment=1920068   radeon_bios_decode Created by Dong Luo. Copyright 2008. All rights reserved. License: Information not available Source: http://www.insanelymac.com/forum/topic/282794-darwindumper/page__st__120?do=findComment&comment=1920068   smbios-reader http://www.nongnu.org/dmidecode/ License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2208   SMC_util3 Copyright © 2006 devnull  License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2447&view=findpost&p=23230   VoodooHDA.kext Created by fassl?, modifications by Slice and AutumnRain? License: https://sourceforge.net/p/voodoohda/code/HEAD/tree/tranc/License.h]https://sourceforge.net/p/voodoohda/code/HEAD/tree/tranc/License.h Source: https://sourceforge.net/p/voodoohda/code/HEAD/tree/]https://sourceforge.net/p/voodoohda/code/HEAD/tree/   x86info Written to succeed CPUID by Phil Karn (KA9Q). Contributed to by various people. OS X compatability by Slice License: GPL Version 2 Original Source: https://github.com/kernelslacker/x86info Revised Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2447&view=findpost&p=41134  
       
      Running DarwinDumper from the command line:
      From Terminal, you can initiate DarwinDumper by running the following script directly.
       
       
       
      /DarwinDumper.app/Contents/Resources/public/bash/script.sh To help with this, the UI has a Symlink option which you can click to create a symbolic link which points to the above script. DarwinDumper can then be subsequently run from the command-line by loading a new Terminal window and typing darwindumper followed by return.

      Credits (in alphabetical order):
      Adam Jackson, Amit Singh, Andy Vandijck, Apple Inc., arsradu, bcc9, blackosx, cmf, DieBuche, dmazar, Dong Luo, droplets, ErmaC, Felix Domke, Google Inc., Intel Corporation, InsanelyDeepak, JrCs, Kabyl, Kynnder, Martin Mareš, mcmatrix, Michael Larabel, Mickey1979, phcoder, Phil Karn, Piker-Alpha, rafirafi, гык-sse2, Slice ,sonotone, STLVNUB, THe KiNG, Trauma, Volatile Systems, xsmile, !Xabbu.
       
      DarwinDumper was originally inspired as an open project by Trauma, it has remained an open project and please keep it an open project, so if you make any changes or additions to it then please share your work here.
       
      Please report any feedback, requests or bugs.
       
      Please note:
      DarwinDumper v3 requires OS X 10.9 and newer to run in the Finder, though it should work from the command line okay on older OS versions.

      The following link retains the download for v2.9.9.2 for older OS versions.

      DarwinDumper Download
×