Jump to content
ErmaC

Clover General discussion

21,364 posts in this topic

Recommended Posts

Random musings, no idea if anyone will understand who I am talking to but eh...

 

I am confused why you are not using the device path to show the booted device as well, so you can actually tell what volume it is since there are often multiple EFI partitions. It should be probably hidden by default but maybe the debug options can enable it as well as a specific option (unless that option is false then don't enable at all).

 

The thing about stack allocation vs. dynamic allocation, the stack size can be set and may not be set to something reasonable for a large usage like multiple kilobytes. So allocating large chunks of memory dynamically is way better, also slice's solution allows the strings to be any size that can be allocated, the other truncates the string to the static size.

 

You can't write c++ code because of the standard c++ library it would require writing a standard library for almost every significant version of every compiler to match the internal structures of how the the library and objects are initialized and destroyed. It can be done but it's not pleasant and compiler changes could break it, like you would need four different versions for VS 2012/13, 2015, 2017, and 2019. You would also need them for different versions of xcode/clang and gcc.

 

Do the tables match before and after you set them manually? I notice it says Set 1, 2, 3, and 4, I don't think you should have more than 2 sets (the unpopulated ones should have a zero...), since you should probably only have a dual channel memory controller. What are you table 16's, 19's, and 20's in each of these cases?

 

Ok, I'm going to disappear into the night again.

Share this post


Link to post
Share on other sites
Advertisement
On 12/26/2019 at 4:18 PM, telepati said:

is EmuVariableUefi.efi mandatory for the Z390 motherboard?

I just switched my config over to the one located here:

It works perfectly right now. I have been trying for months to get rid of the OsxAptioFix2Drv-free2000.efi driver and absolutely nothing worked until now.

 

I am using the VirtualSMC now but want to go back to FakleSMC. Not entirely sure why other than sensors.

 

 

Share this post


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

It looks like all needed kexts are successfully loaded including VoodooI2C and VoodooPS2. I just don't know why both should be used. AFAIK PS2 is a bus and I2C is another bus. You should use one or another, but I don't know the logic of these kexts. You should ask something else.

At my side Clover does all work.

I tested with rehanbman's Clover_v2.4k_r4701.RM-4963.ca6cca7c worked fine during installation and post installation 

I think that clover has changed something related VoodooI2C or bug  

Share this post


Link to post
Share on other sites
On 12/14/2019 at 6:14 AM, maleorderbride said:

I am attempting to inject some thunderbolt AAPL,PathProperties via .efi, but am unable to do so in Clover. OpenCore supports it, but Clover does not yet.

 

Even removing this partial implementation in Clover would be an improvement since then I could use EfiDevicePathPropertyDatabase.efi to enable AAPL,PathProperties injection via .efi, which used to work in older versions of Clover before Clover partially enabled this feature.

I was able to do this without using OpenCore or Clover on my MacPro3,1 Mac Pro (Early 2008) running Catalina 10.15.

 

There's a set of nvram properties starting at 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:AAPL,PathProperties0000 and counting up 0001, 0002, etc. I made a script to do the following:

1) convert nvram properties to binary

2) translate that to plist using gfxutil

3) find ioregistry device tree plane paths of upstream bridge of Thunderbolt controllers

4) use output from gfxutil to convert ioregistry device tree plane paths to efi device paths

5) modify plist with new properties using those efi device paths

6) convert plist to binary using gfxutil

7) convert binary to nvram properties

 

The attached example includes my modified/updated version of gfxutil (rewritten to use edk2 device path library). It adds PCI-Thunderbolt properties to my four Thunderbolt controllers. This is not sufficient to improve or change any behavior (there is no difference in behavior with or without this property). This is probably an incorrect use of device properties because the PCI-Thunderbolt property is normally set by a function in an ACPI SSDT and is therefore stored in the IO Registry as type Number. The Apple Device Properties Protocol can only create IO Registry properties of type Data (just a series of bytes). A proper solution will require a kext or SSDT. In the case of an SSDT, something like Clover or OpenCore is required, therefore you might as well use them to set properties instead of this method...

 

https://github.com/acidanthera/gfxutil

joevt_gfxutil.zip

Share this post


Link to post
Share on other sites
11 hours ago, Slice said:

It looks like all needed kexts are successfully loaded including VoodooI2C and VoodooPS2. I just don't know why both should be used. AFAIK PS2 is a bus and I2C is another bus. You should use one or another, but I don't know the logic of these kexts. You should ask something else.

At my side Clover does all work.


I don't know maybe this information will be useful
image.thumb.png.e81b900ff51be2be8fcfa292b51a9dca.png

Share this post


Link to post
Share on other sites

The kexts are loaded by the directory file name ordering which is not in any sorted order on a (V)FAT volume, just in the order of creation. I'm guessing that the order is not correct anymore for the prerequisite kexts or something? There should maybe be an option to set the order of the injection... You can however force kexts/dependencies to be loaded.

Share this post


Link to post
Share on other sites
20 hours ago, Pene said:

Hi,

What memory info did you add exactly?

Also, how does dmi dump look after you added memory info?

 

sorry for late.

i tested mojave and catalina. perfect working. previously, my desktop depended on memory info by clover without custom memory info in smbios.

 

 


0:102  0:000  === [ Get Smbios ] ========================================
0:102  0:000  Type 16 Index = 0
0:102  0:000  Total Memory Slots Count = 4
0:102  0:000  Type 17 Index = 0
0:102  0:000  SmbiosTable.Type17->Speed = 2133MHz
0:102  0:000  SmbiosTable.Type17->Size = 8192MB
0:102  0:000  SmbiosTable.Type17->Bank/Device = BANK 0 DIMM_A1
0:102  0:000  SmbiosTable.Type17->Vendor = Samsung
0:102  0:000  SmbiosTable.Type17->SerialNumber = 9935F68A
0:102  0:000  SmbiosTable.Type17->PartNumber = M378A1K43BB1-CPB    
0:102  0:000  Type 17 Index = 1
0:102  0:000  Ignoring insane frequency value 0MHz
0:102  0:000  SmbiosTable.Type17->Speed = 0MHz
0:102  0:000  SmbiosTable.Type17->Size = 0MB
0:102  0:000  SmbiosTable.Type17->Bank/Device = BANK 1 DIMM_A2
0:102  0:000  SmbiosTable.Type17->Vendor = <null string>
0:102  0:000  SmbiosTable.Type17->SerialNumber = <null string>
0:102  0:000  SmbiosTable.Type17->PartNumber = <null string>
0:102  0:000  Type 17 Index = 2
0:102  0:000  Ignoring insane frequency value 0MHz
0:102  0:000  SmbiosTable.Type17->Speed = 0MHz
0:102  0:000  SmbiosTable.Type17->Size = 0MB
0:102  0:000  SmbiosTable.Type17->Bank/Device = BANK 2 DIMM_B1
0:102  0:000  SmbiosTable.Type17->Vendor = <null string>
0:102  0:000  SmbiosTable.Type17->SerialNumber = <null string>
0:102  0:000  SmbiosTable.Type17->PartNumber = <null string>
0:102  0:000  Type 17 Index = 3
0:102  0:000  Ignoring insane frequency value 0MHz
0:102  0:000  SmbiosTable.Type17->Speed = 0MHz
0:102  0:000  SmbiosTable.Type17->Size = 0MB
0:102  0:000  SmbiosTable.Type17->Bank/Device = BANK 3 DIMM_B2
0:102  0:000  SmbiosTable.Type17->Vendor = <null string>
0:102  0:000  SmbiosTable.Type17->SerialNumber = <null string>
0:102  0:000  SmbiosTable.Type17->PartNumber = <null string>
0:102  0:000  Boot status=0
0:102  0:000  Running on: 'System Product Name' with board 'B150M-A_M.2'
 

 

i added like this

		<key>Memory</key>
		<dict>
			<key>Channels</key>
			<integer>2</integer>
			<key>Modules</key>
			<array>
				<dict>
					<key>Frequency</key>
					<integer>2133</integer>
					<key>Part</key>
					<string>M378A1K43BB1-CPB</string>
					<key>Serial</key>
					<string>9935F68A</string>
					<key>Size</key>
					<integer>8192</integer>
					<key>Slot</key>
					<integer>0</integer>
					<key>Type</key>
					<string>DDR4</string>
					<key>Vendor</key>
					<string>Samsung</string>
				</dict>
			</array>
			<key>SlotCount</key>
			<integer>4</integer>
		</dict>

 

10:778  0:095  === [ PatchSmbios ] =======================================
10:778  0:000  insert table 9 for dev 0:0
10:778  0:000  insert table 9 for dev 0:1
10:778  0:000  insert table 9 for dev 0:0
10:778  0:000  Injecting user memory modules to SMBIOS
10:778  0:000  Channels: 2
10:778  0:000  Interleave: 0 2 1 3 4 6 5 7 8 10 9 11 12 14 13 15 16 18 17 19 20 22 21 23
10:778  0:000  BANK 0 DIMM0 2133MHz 8192MB(Ext:0MB)
10:778  0:000  BANK 1 DIMM0 EMPTY
10:778  0:000  BANK 0 DIMM1 EMPTY
10:778  0:000  BANK 1 DIMM1 EMPTY
10:778  0:000  mTotalSystemMemory = 8192
10:778  0:000  NumberOfMemoryDevices = 4
10:778  0:000  Type20[0]->End = 0x7FFFFF, Type17[0] = 0x2000

 

strangely i can't get DMI dump.

but eveything is great without problem.

 

Edited by Sherlocks

Share this post


Link to post
Share on other sites
On 12/26/2019 at 8:46 PM, pkdesign said:

Originally I used Hackintool to download Clover 5101. not sure hwre they get it from. Then I checked https://github.com/CloverHackyColor/CloverBootloader  and downloaded from there. Both have the same result.

 

BTW, it also reverts to "Christmas" theme which is VERY annoying.

Delete Christmas and New Year themes in your Clover EFI folder: problem solved!

Share this post


Link to post
Share on other sites

Anyone have an issue with no audio devices when moving from r5101 to r5102?

 

I switched back to my backup of r5101 and they are back.

 

I can include logs if required.

Share this post


Link to post
Share on other sites
9 minutes ago, D-an-W said:

Anyone have an issue with no audio devices when moving from r5101 to r5102?

 

I switched back to my backup of r5101 and they are back.

 

I can include logs if required.

 

I update Clover from r5101 to r5102 on my IvyBridge config: there is no issue with audio device (HDMI output)

Share this post


Link to post
Share on other sites

I don't use HDMI audio just the onboard audio and AppleALC.kext

 

From looking at the boot log, it seems something changed. Perhaps the "Log audio devices" change?

 

r5101 Boot Log - Search for Audio (Working Audio)

0:199  0:000  Loading AudioDxe.efi  status=Success
6:073  0:000  found 2 handles with audio
15:429  0:000  found 2 handles with audio
17:752  0:000  found 2 handles with audio

 

 

r5102 Boot Log - Search for Audio (Not Working Audio)

0:200  0:000  Loading AudioDxe.efi  status=Success
6:081  0:000  found 2 handles with audio
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
6:084  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
22:614  0:000  found 2 handles with audio
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
22:617  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
25:174  0:000  found 2 handles with audio
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
25:176  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8

 

Share this post


Link to post
Share on other sites
13 minutes ago, D-an-W said:

I don't use HDMI audio just the onboard audio and AppleALC.kext

 

From looking at the boot log, it seems something changed. Perhaps the "Log audio devices" change?

 

r5101 Boot Log - Search for Audio (Working Audio)


0:199  0:000  Loading AudioDxe.efi  status=Success
6:073  0:000  found 2 handles with audio
15:429  0:000  found 2 handles with audio
17:752  0:000  found 2 handles with audio

 

 

r5102 Boot Log - Search for Audio (Not Working Audio)


0:200  0:000  Loading AudioDxe.efi  status=Success
6:081  0:000  found 2 handles with audio
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
6:084  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
22:614  0:000  found 2 handles with audio
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
22:617  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
25:174  0:000  found 2 handles with audio
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
25:176  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8

 

 

I can only test HDMI because no others output devices. 

 

Share this post


Link to post
Share on other sites
On 12/28/2019 at 10:17 PM, apianti said:

You can't write c++ code because of the standard c++ library

I am currently experimenting a C++ switch. It's already working and will be committed in a branch. C++ doesn't need the STL or any kind of library.

C++ is a language that you can separate from it's "tools".

I've used C++ for many years, always without std lib. So I have plenty of object like string, vector etc.

This confusion about standard library and standard language is often made, because both are standardized by the same organisation.

I'll post here when I'll have committed...

Share this post


Link to post
Share on other sites
3 hours ago, D-an-W said:

I don't use HDMI audio just the onboard audio and AppleALC.kext

 

From looking at the boot log, it seems something changed. Perhaps the "Log audio devices" change?

 

r5101 Boot Log - Search for Audio (Working Audio)


0:199  0:000  Loading AudioDxe.efi  status=Success
6:073  0:000  found 2 handles with audio
15:429  0:000  found 2 handles with audio
17:752  0:000  found 2 handles with audio

 

 

r5102 Boot Log - Search for Audio (Not Working Audio)


0:200  0:000  Loading AudioDxe.efi  status=Success
6:081  0:000  found 2 handles with audio
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
6:084  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
6:084  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
6:084  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
6:084  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
22:614  0:000  found 2 handles with audio
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
22:617  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
22:617  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
22:617  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
22:617  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8
25:174  0:000  found 2 handles with audio
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 0
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 1
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 2
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 3
25:176  0:000  Found Audio Device Realtek ALC899 (LineOut) at index 4
25:176  0:000  Found Audio Device Realtek ALC899 (Headphones) at index 5
25:176  0:000  Found Audio Device Realtek ALC899 (SPDIF) at index 6
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 7
25:176  0:000  Found Audio Device Intel Panther Point HDMI (HDMI) at index 8

 

This is my compilation with no changes from the master and the audio is working properly:

AudioDxe.efi.zip

CLOVERX64.efi.zip

BOOTX64.efi.zip

please try and let me know.

Share this post


Link to post
Share on other sites

Just the same sorry, no audio devices detected.

 

One thing to point out is boot time audio still worked ok.

 

r5101

1130845773_Screenshot2019-12-31at08_33_08.thumb.png.209253f02f1097b0a79519a4bcc4e93f.png

 

r5102

1169539330_Screenshot2019-12-31at13_33_20.png.92182c94da183f438400422541f5b678.png

Edited by D-an-W

Share this post


Link to post
Share on other sites
4 minutes ago, D-an-W said:

One thing to point out is boot time audio still worked ok.

Oh sorry, but my changes regard only about logging devices in the boot-log, if audio is working at boot time then your problem is another (other changes between 5101 <->5102). 

Edited by vector sigma

Share this post


Link to post
Share on other sites
10 minutes ago, D-an-W said:

Is it possible to build specific commits so I can see with which one it last worked?

 

to build clover:

cd ~/Desktop/
git clone https://github.com/CloverHackyColor/CloverBootloader.git
cd CloverBootloader
. ./edksetup.sh
./ebuild.sh -fr

then to build a specific commit:

git checkout <commit_id> (eg: git checkout 12d559aef62a33ad65e38ab9210872d63d815815 or git checkout 12d559ae)
./ebuild.sh -fr

this command shows you every commit between 5101 and 5102:

git log --oneline 5101^..5102

 

Edited by Florin9doi

Share this post


Link to post
Share on other sites

@Jief_Machak, the below function:

BOOLEAN checkOSBundleRequired(UINT8 loaderType, TagPtr dict)
{
    BOOLEAN inject = TRUE;
    TagPtr  osBundleRequired;
    CHAR8   osbundlerequired[256];
    
    osBundleRequired = GetProperty(dict,"OSBundleRequired");
    if (osBundleRequired)
        toLowerStr(osbundlerequired, osBundleRequired->string);
    else
        osbundlerequired[0] = '\0';

    if (OSTYPE_IS_OSX_RECOVERY(loaderType)) {
        if (AsciiStrnCmp(osbundlerequired, "root", 4) &&
            AsciiStrnCmp(osbundlerequired, "local", 5) &&
            AsciiStrnCmp(osbundlerequired, "console", 7) &&
            AsciiStrnCmp(osbundlerequired, "network", 7)) {
            inject = FALSE;
        }
    } else if (OSTYPE_IS_OSX_INSTALLER(loaderType)) {
        if (AsciiStrnCmp(osbundlerequired, "root", 4) &&
            AsciiStrnCmp(osbundlerequired, "local", 5) &&
            AsciiStrnCmp(osbundlerequired, "console", 7)) {
            inject = FALSE;
        }
    }
    
    return inject;
}

is still callled even for 10_install and 10_recovery, so some kexts maybe excluded anyway. Should not those extensions be injected with KextPatcherRegisterKexts() (i.e. with FSInject) instead of AddKext()?

Share this post


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

Delete Christmas and New Year themes in your Clover EFI folder: problem solved!

I certainly did, but to automatically and without permission change my theme is not right at all.

On 12/20/2019 at 7:21 AM, Slice said:

I made the follow change.

If VolumeName begins with # then the line will not shown.

So, create a file .VolumeLabel.txt in the EFI partition with a name for this volume

"EFI" or "ESP" or "My USB Stick" or "#EFI" or anything else.

In the case of "#..." the message "Clover booted from XXX" will disappear.

Good?

This still does not work with 5102. It now just says "5102, booted from EFI" in the lower right corner.

Share this post


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

@Jief_Machak, the below function:


BOOLEAN checkOSBundleRequired(UINT8 loaderType, TagPtr dict)
{
    BOOLEAN inject = TRUE;
    TagPtr  osBundleRequired;
    CHAR8   osbundlerequired[256];
    
    osBundleRequired = GetProperty(dict,"OSBundleRequired");
    if (osBundleRequired)
        toLowerStr(osbundlerequired, osBundleRequired->string);
    else
        osbundlerequired[0] = '\0';

    if (OSTYPE_IS_OSX_RECOVERY(loaderType)) {
        if (AsciiStrnCmp(osbundlerequired, "root", 4) &&
            AsciiStrnCmp(osbundlerequired, "local", 5) &&
            AsciiStrnCmp(osbundlerequired, "console", 7) &&
            AsciiStrnCmp(osbundlerequired, "network", 7)) {
            inject = FALSE;
        }
    } else if (OSTYPE_IS_OSX_INSTALLER(loaderType)) {
        if (AsciiStrnCmp(osbundlerequired, "root", 4) &&
            AsciiStrnCmp(osbundlerequired, "local", 5) &&
            AsciiStrnCmp(osbundlerequired, "console", 7)) {
            inject = FALSE;
        }
    }
    
    return inject;
}

is still callled even for 10_install and 10_recovery, so some kexts maybe excluded anyway. Should not those extensions be injected with KextPatcherRegisterKexts() (i.e. with FSInject) instead of AddKext()?

 

+1.

some kexts not loaded. strangely i lost load of ApplePS2SmartTouchPad.kext in recovery. i have to use voodoops2.

my folder structure is same like before

Others

10.15

 

Edited by Sherlocks

Share this post


Link to post
Share on other sites
3 hours ago, D-an-W said:

Just the same sorry, no audio devices detected.

 

One thing to point out is boot time audio still worked ok.

 

r5102

1169539330_Screenshot2019-12-31at13_33_20.png.92182c94da183f438400422541f5b678.png

 

 

With r5102 compiled by myself, I've got this:

 

 

Capture d’écran 2019-12-31 à 17.56.04.png

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Simon's InsaneMac
      Hi, I'm kind of lost when scrolling to Clover Configurator, so I decided to use an EFI from the web and just configure the most basic stuff. But that sadly didn't work, im always getting the attached screen IMG_0054.HEIC (and I don't know whether all the errors are listed, as I can't scroll). 
      Anyways I thought it'd be better to do a custom setup. Can anyone give me some help with what to choose in the settings? Here's my rig:
      i7 8700k
      Asus z370-G (Rog Strix)
      gtx 1060 6gb
      samsung ssd (SATA)
      WD hard drive
       
      Your help would be much appreciated!
    • By kylon
      A big thanks to wegface for teaching me a lot of things.
       
       
      Tested on Catalina 10.15.4 and Clover EFI 5104 (Catalina Patcher)
       
      Not Working:
      - realtek sd card reader (pm me if you have a fix)
       
      Notes:
      **CPU patches are disabled, if you are using a locked BIOS you must enable them**
       
      Clover EFI:
      - Install it in UEFI Mode and change your hdd partition table to GPT.
      - You will be able to install ANY OS in EFI mode, even if this pc does not support EFI at all! (No guide available for this)
       
      You will need:
      My unlocked BIOS (OPTIONAL) (here) Latest Clover config from CCE Bank (here) (asus k53sj-kylon) Rehabman Voodoo PS2 Controller (here) acidanthera AppleALC (here) acidanthera Lilu (here) acidanthera VirtualSMC (here) acidanthera SMCBatteryManager (here) acidanthera SMCLightSensor (here) acidanthera WhateverGreen (here) Mieze Realtek RTL8111 (here)
    • By Rohan20
      Opencore is running really really slow on Catalina 10.15.4. So It was running perfectly before I put the ssdt-pnlf for enabling Brightness control. it is running really slow and I verified my config with the sanity checker and its all correct. can someone please help. I am attaching my oc folder.

       
      https://www.dropbox.com/s/drkek0eaz19ina5/OC.zip?dl=0
       
    • By y010204025
      Disclaimer: All files of this article are from itpwd.com and rehabman ’s github.com

       
      After Testing:
       
      Graphics card: NVIDIA K1000M / K2000M / K2100M / K3000M / K3100M / K4000M / M1000M (ordinary TN1600x900 or 1920x1080), AMD W5170M / W7170M (DC2 or 4K), Intel HD4000 (ordinary TN1600x900 or 1920x1080) can be driven normally, but NVIDIA graphics card Brightness adjustment is disabled. AMD W5170m and w7170m are the best choices on 8570W and 8770W. The brightness can be adjusted normally and the graphics performance is very good. For WX7100m and WX4170m, the graphics card fans cannot be controlled, and other methods are required to control the fans. CPU: 3rd generation Intel Core i3, i5 and i7 (Ivy Bridge architecture, including all dual-core and quad-core. Celeron and Pentium are not supported), frequency conversion is normal. In general: If you have 8570W, 8770W, and hope you can get the best Hackintosh experience, it is recommended to replace the CPU with i7-3840QM / i7-3940XM, 8570W is recommended to choose W5170M, 8770W, and it is recommended to choose W7170M. In addition: If you want to have a 4K experience or perfect HIDPI, W5170m / W7170M supports 4K output, you can choose a suitable 4K screen to replace, but because 4K screens are mostly edp interface, and 8570W / 8770W motherboard is lvds interface, This requires a custom screen cable, which seems to be a difficult choice, but you can choose to do it yourself or buy it separately. In China, taobao.com is almighty and may be more suitable for you than eBay.
       
      EFI features:
      out of the box, the relevant hardware can be driven after the OS is installed, and it is easy to use without code operation.
      Supported models: HP EliteBook 8470p, 8570p, 8570w, 8770w (click the model for official specifications)
      Wireless network card: Recommended: BCM94360cd (requires ipex4 to ipex1,3 antenna 1300mbps), BCM94352HMB / DW1550 (2 antennas, 867mbps)
      Wireless characteristics: no white list, wireless network card with Bluetooth does not support the Bluetooth function of the wireless network card (also does not need to shield the pins), but the wireless normal use, you need the Bluetooth function to use this machine comes with Bluetooth:
      Clover version: 5103, keyboard mapping has been added Command key = Alt key, Option key = Win key
      Supported systems: macOS Mojave 10.14.6 (18G103)-macOS Catalina 10.15.x,
       
      Notes on known issues:
      1. The touchpad and the left and right keys under the touchpad are normal, the pointing stick and the left and right keys above the touchpad are temporarily unavailable (recommended to use the second generation of Apple Magic Trackpad)
      2. Indicator display problem (can be ignored, function is normal): Caps light is sometimes not switched in time, mute / wireless key may be yellow
      3.AMD graphics card / Intel nuclear display has supported sleep and 15 levels of brightness adjustment, NVIDIA has no
      4. If the AMD graphics card enters Huaping, refer to editing the Clover startup parameters, and add the Boot parameter radpg = 15 (the EFI file that has been configured with this parameter has been uploaded, refer to the following EFI-guided download link)
      5. Using the above NVIDIA graphics card with a normal TN screen 1600x900 or 1920x1080 can not enter the installation interface, please check whether the VBiOS of the graphics card is exclusively for HP, thank you for your test face K1000M
      6. Due to product design defects, the MSata positions of 8570w and 8770w cannot be used as boot disks, so EFI boot can only be placed on the main hard disk (turn the machine over and open the hard disk in the lower left corner of the cover, which is the main hard disk). Put on msata plate
      +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
      Hardware requirements:
      Model: 8470p, 8570p, 8570W, 8770W 1 or more, it is recommended to use another notebook for emergency Hard disk: It is recommended to choose an SSD hard disk of 240g or more. Samsung or Intel SATA hard disk is a good choice. Wireless card: BCM94352HMB, DW1550, BCM94360CD, miniPCIe slot U disk: 1 for 16g and above, another winPE emergency USB disk is recommended If you use a rescue USB flash drive, it means that you read this post carefully
       
      Make and install a USB flash drive:
      Get the mirror: please do it your way Making and installing a USB flash drive: macOS command line production is recommended, whether it is a real macOS model or a virtual machine (although this is not allowed to be discussed in many forums)Or you can choose to use TransMac or ether under Windows. This is not recommended, but it is simple enough for those new to Hackintosh. Make boot U disk: If you know how to put the boot into the installation U disk, unzip the EFI file and put it in the EFI partition, or you can choose a fat32 format U disk to store the EFI file separately Note: EFI is an unzipped folder, not a zip or ISO suffix file.
       
      BIOS settings From RehabMan
      To start, set BIOS to defaults.
      Then insure:
      UEFI boot is enabled (hybrid/with CSM for best result) secure boot is disabled disable fast boot IGPU graphics memory set to 64mb, if available disable the serial port via BIOS option, if available disable "LAN/WLAN switching", if available disable "Extended Idle Power States" if you find it under "Power Management Options" disable "Wake on LAN" and "Wake on USB" disable Firewire/IEEE 1394, if your laptop has it for Skylake and KabyLake laptop, enable "Launch Hotkeys without Fn keypress" Note: If you have a laptop with switchable graphics, leave it enabled. You can still use it on Windows, although the discrete card will be disabled when running OS X by the ACPI patches provided here. If you want to also disable it in Windows (via BIOS option), make sure you read about the DGPU option in your model specific SSDT (source is in SSDT-HACK.dsl), as in the scenario where the DGPU is disabled by BIOS, DGPU should be set to zero.
       
      Install:
      Please modify according to the above BIOS settings: Press F9 after booting, select the boot efi to file option, which is generally the last item. Enter your boot USB disk to find the location of cloverx64.efi, select cloverx64.efi, press Enter, and enter the clover boot interface. Select the location of the install entry and press Enter. Enter the macOS interface, use the disk tool to format the partition you need to install to hfs + or apfs format, do not choose the encryption option, this will make your efforts in vain. Note: The disk must be in gpt format, and the remaining EFI space is greater than 200M, 300mb + is recommended. If it is not, please try to modify it in WindowsPE environment. This may cause you to lose the Windows system boot and disk data. Please prepare for backup.
      After formatting the partition successfully, close the disk tool and select install, you will find the partition you installed, and follow the interface prompts. When the installation reaches a certain progress, it will restart. When restarting, select F9, enter from the boot U disk, select the disk partition where you installed macOS (no longer the U disk installation), the installation will continue, and it may restart 2 ~ 3 times Every time, you need F9 to select the boot. After entering the installation interface, except for the first installation, select the U disk, and then select the disk installation partition. Eventually you will enter the settings interface. After following the interface prompts, you will enter the macOS system interface. Remember the system password and turn off the Find my mac option.  
      Post install:
       
      After the installation is complete, you need to hang the EFI partition of the disk, copy the EFI file of the U disk to the EFI partition of the disk, so that you can directly use the disk to boot, otherwise you need to select the U disk to boot each time. The mount tool can choose cloverconfigurator. If after copying the EFI file to the disk, the computer cannot recognize your clover boot, you can use the custom boot option of bios: set the custom boot path to \efi\clover\cloverx64.efi, and set it as the first boot, Use bootice or easyUEFI to increase the clover boot option under Windows and set it as the first boot. If you do not have a wireless network card available temporarily, you can use the USB binding function of your Android phone to share the network. This may require the HoRndis driver. It is not recommended to use a US wireless network card. If you need Windows or Linux, you can install it normally. Be careful not to let Windows overwrite your boot files.  
      For other uses of macOS and brew, please pay attention to forums and other communities. Hackintosh is just the beginning.
       
      Finally, I would like to thank rehabman, vit9696 and others who contributed to Hackintosh. I also thank Cwen for his efforts to modify files and hardware tests. I hope that Hackintosh will be eternal.
       
      Please comply with the laws and regulations of your country or region. My description may not be clear or professional, but I think it is necessary. I think the existence of Hackintosh is everyone's technical hobby and experience macOS, not as a substitute for macOS cheap hardware.

      EFI_8x70_5103_W7170m_20200116 .zip
    • By StarFighter_77
      I built this hack years ago now. Started with Lion, now on El Cap. I want to update now to High Sierra.

      I think I messed up my Clover when I downloaded the update .pkg and just installed it without taking my time or customizing the install. Was on Clover r3423, now I think I'm on r5104

      I've been searching and reading this site and others for a few days before making this thread, but I need help compiling what I've learned to get my system running correctly again and ready to update to High Sierra. Then, eventually, I want to update my graphics card, switch to UEFI (if necessary) and update to Mojave.

      I couldn't get system to boot. Could get to Clover and all the options, except the Shell... I hit enter on the Shell and I get black screen and nothing.

      The only way I got it to boot was to add -v to boot args, and change smbios from 14,2 to 13,2. Not sure why that worked still. Also I'm running two monitors, but I can only now run one of them off the Intel 3000 Graphics and the second one off my GFX Card.

      So now I'm afraid to shut down or reboot.... I could really use some help with Clover.

      I'm pretty sure my config file in Clover is not right. Also, some of the files in my Clover backups are not in the new Clover install. (2.5k 5104)

      If someone could please take a look at the files I've attached and help me sort this out, I would be grateful. Thank you, Thank you, Thank you.

      I've attached
      - The last boot log
      - The current Clover folder from the EFI partition after performing Clover update. (.zip)
      - The Clover backup that was working before Clover update (.zip)
      - Library/Extensions Folder (screen shot)
      - System/Library/Extensions Folder (.zip)

      Here is my current hardware:

      Mobo: GIGABYTE GA-Z68MX-UD2H-B3

      CPU: Intel Core i7-2600K

      GPU: GIGABYTE ATI Radeon HD6870 1GB DDR5 2DVI/HDMI/2x

      RAM: Corsair Vengeance Blue 16 GB DDR3 SDRAM Dual Channel Memory Kit CMZ16GX3M4A1600?C9B

      HD0 (for OS and Apps): OCZ Technology 120 GB Vertex Series SATA II Solid State Drive

      HD1 (file storage, Adobe scratch disk): Samsung 1 TB Spinpoint 7200 RPM 32MB Cache SATA

      BURNER: LG CD/DVD Burner Model GH22NS50

      CPU COOLER: Corsair Cooling Hydro Series H50 All in One High-performanc?e CPU Cooler CWCH50-1

      P/S: Antec CP-850 850 Watt CPX Power Supply Unit

      CASE: Antec Performance One P183 V3 Case
      CLOVER.zip
      CloverBackup.zip
      bootlog.txt

      S_L_E.zip
×