Jump to content
ErmaC

Clover General discussion

22,198 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   1 member

  • Similar Content

    • 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
    • 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
       
      Easier typing bob than.....usual stuff
      Enjoy
       
    • By MaLd0n
      -Donations with PayPal
      https://tinyurl.com/r2bvzm7
       
      -Donations with Bitcoin
      33HeGCuCSh4tUBqdYkQqKpSDa1E7WeAJQ3
       
      -Donations with PicPay 
      @danielnmaldonado
       
      ---TUTORIAL---
      https://www.olarila.com/topic/5794-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
       
      --Original Post--
      https://www.olarila.com/topic/6531-olarila-hackbeast-z390-designare-thunderbolt-full-dsdt-patches-clover-opencore/
       
      --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---
      https://olarila.com/files/Clover.Folder/EFI CLOVER Z390 DESIGNARE.zip
      *Use this folder with FULL DSDT PATCHED
       
      ---OPENCORE FOLDER---
      https://www.olarila.com/topic/6364-mojave-catalina-on-mobos-series-100200300-with-opencore-bootloader/
      *Use this folder with FULL DSDT PATCHED
       
       
      ---Extract one Full dump for DSDT edits, post files---
       
      RunMe.app
       
       
       
      ---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 heiza
      Ryzen 7 2700X
      ASUS Prime X470 Pro
      32GB G.Skill Ripjaws V DDR4-3200
      ASRock Phantom Gaming Vega 56
       
      My motherboard doesn’t have an option for 4G encoding. And boot modes are listed as ”Windows UEFI Mode” and “Other OS”.
       
    • By Myfz
      Hi all,

      I recently build my hackintosh, I got Win10 on my 1st disk and MacOS Catalina on the 2nd disk.
       
      Unfortunately my Win10 disk was defective and I will need to change it.
       
      I was thinking to :
       
      - Remove my Win10 disk and replace by my new one
      - Temporarily remove my MacOS Disk (Clover)
      - Reinstall Win10 on my new disk
      - Put back my MacOS Disk

      I believe clover will still start, and I will still be able to boot on the new Win10 disk, what do you think ?

      Thank in advance for your help,
      regards
×