Jump to content
ErmaC

Clover problems report & features request

681 posts in this topic

Recommended Posts

1 hour ago, apianti said:

It seems to break often. It's not a big deal, the extra ones are actually discarded if the kext identifier is already in the cache, there is no way to tell from the log if they were actually injected though as that just means they were prepared to be injected. Injection happens much later and can't be printed to the log only the screen. However, Lilu+Whatevergreen kexts should always be injected. You should actually inject kexts that are required to boot, and install other kexts that are only needed for extra functionality. Detection only disables injection if FakeSMC is in the cache, this is what you'd want as you want to not inject kexts already in the cache because you also installed them but you need to install FakeSMC for it to work.

 

No, it's not a killer bug by any means, but I'd rather avoid injecting the same kexts twice and always having to make sure both locations are up-to-date. I didn't know that the log can't actually tell you whether the kext was injected or not: I assumed that was the case, given that with Detect it says something like "successfully loaded" for each kext, so thanks for the tip.

I do not agree with your advice on injection, though (sorry if I misinterpreted your words): as stated by many, there's no reason not to install every kext in /L/E, given that injected kexts live outside of the protected MacOS memory space (and some kexts do not even work correctly when injected). For this reason, I keep as few kexts as possible in Other (the ones strictly needed to run the installer). I hope the bug can be fixed soon.

Share this post


Link to post
Share on other sites
Advertisement

First, I did not say inject all of your kexts, I said inject the ones that are required for you to boot. If an extension doesn't work when injected its because it needs another kext that is not loaded, you can try to force loading those kexts. I don't know who told you the nonsense of the protected macOS memory space, that is not even a thing. The kexts are injected through a mechanism that is present in the kernel to load extensions from the boot loader, all kernel extensions are loaded into the kernel memory space or they couldn't work... There is reason to inject some kexts, as I said Lilu+Whatevergreen need to be injected to ensure they are initialized before any of the kexts they patch.

Share this post


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

Hi, I believe both No and Detect options for Inject Kexts are, once again, broken in Clover. While trying to improve my boot time, I took a look at my debug.log; I found out that, despite the fact that I've always used Detect (given that I place any extra kexts in Library/Extensions), Clover keeps loading kexts from the Other folder too. I then tried No instead of Detect, but the result is the same (with the exception that Clover skips kext injection... only to inject them just a line later).

I can't track back the version that re-introduced the bug, but it's been the case for at least the current release and the previous one, and I'm sure there's nothing wrong with my configuration (my config.plist is quite spartan and I checked it out for possible conflicts). Besides, even if there were severe issues related to my kext cache (that Clover should read in order to detect FakeSMC), Inject Kexts=No should do its work in any given condition. Last but not least, RehabMan already found out such a bug in an older Clover version, that's why I believe the feature still needs some refinement.

 

Here's a sample. To try and narrow down the issue, for this debug boot I deleted every kext in Other and set "No" for Inject Kexts. But as you can see, Clover keeps trying to inject kexts. When I actually leave some kexts in Other, they end up loading just fine (redundantly and pointlessly).


skipping kext injection (not requested)
10:358  0:010  Use origin smbios table type 1 guid.
10:374  0:015  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other
10:380  0:006  Extra kext: EFI\CLOVER\kexts\Other\WhateverGreen.kext (v.1.2.6)
10:389  0:008  Failed to load extra kext (Info.plist not found): EFI\CLOVER\kexts\Other\WhateverGreen.kext

I hope this'll be useful.

P.S. I haven't tried the current beta iteration yet (Clover 4901) because I prefer waiting for stable releases for the sake of safeness. 

Check the contents of your WhateverGreen.kext kext to see if it's like it should be

286813662_Capturedcranle2019-03-2315_32_34.png.1b2ab4df5d9553965934adee444167d5.png

Share this post


Link to post
Share on other sites
Posted (edited)
14 hours ago, chris1111 said:

Check the contents of your WhateverGreen.kext kext to see if it's like it should be

286813662_Capturedcranle2019-03-2315_32_34.png.1b2ab4df5d9553965934adee444167d5.png

 

Thank you for the suggestion but that's not the issue there: the log returns that error because I emptied my Other folder for that test (that is, WhateverGreen wasn't physically there anymore); it loads just fine, with the other ones, if I leave them in Other.

 

14 hours ago, apianti said:

First, I did not say inject all of your kexts, I said inject the ones that are required for you to boot. If an extension doesn't work when injected its because it needs another kext that is not loaded, you can try to force loading those kexts. I don't know who told you the nonsense of the protected macOS memory space, that is not even a thing. The kexts are injected through a mechanism that is present in the kernel to load extensions from the boot loader, all kernel extensions are loaded into the kernel memory space or they couldn't work... There is reason to inject some kexts, as I said Lilu+Whatevergreen need to be injected to ensure they are initialized before any of the kexts they patch.

 

Well, the "one" who told me, corroborated by a couple other devs, is a guide on the site of the one who shall not be named (but is active in the developers' corner): can't link anything because I don't want a ban, but I trust him deeply, and most of the times his guides and advice are a step ahead of everyone else's.
 

Anyway, adding what Slice said to the mix, if I were in your shoes I'd either remove the functionality or fix it: it's going to be confusing for new users who won't be able to wrap their head around it, and old ones like me will keep believing it's a forgotten bug. Besides, if what has been said about injecting kexts is true, is there a master list of kexts that need injection and kext who do not? Because GitHub pages never mention anything of the sort.

Edited by Power Mac

Share this post


Link to post
Share on other sites

Literally every single one of them is wrong then. There is no possible other place for the extensions to be loaded except into the kernel memory space. Especially since there is only kernel and user memory spaces, kernel extensions don't really make much sense outside of the kernel.... Inject kexts that you need to boot successfully, any kext that needs to be initialized first before another kext and perform some action on that kext, needs to be injected since boot loader kernel extensions are initialized first. I don't really have time to deal with any issues currently and if slice says it's working right then, idk.

Share this post


Link to post
Share on other sites
Posted (edited)

Sorry guys, anyway.. I just finished migrating from OS X 10.11.6 + Xcode 8.2.1 to macOS 10.13.6 + Xcode 10.1.

Now, I'm having this issue when building Clover using: ./ebuild.sh -fr then on ./makepkg:

 

Building CloverUpdater application...
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; its version (10.6) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk; its version (10.7) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk; its version (10.8) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.201 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; its version (10.10) is below required minimum (10.11) for the macosx platform.
** BUILD FAILED **


The following build commands failed:
	Ld /Users/badruzeus/src/UDK2018/Clover/CloverPackage/CloverUpdater/build/CloverUpdater.app/Contents/MacOS/CloverUpdater normal x86_64
(1 failure)
make: *** [CloverUpdater] Error 65
MacBook-Pro:CloverPackage badruzeus$ 

..and yes, I use multiple SDK's on /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

(10.6 upto 10.14), MinimumSDKVersion on '../MacOSX.platform/Info.plist' is 10.11.

Any missing step with Xcode 10? Thanks.

Edited by Badruzeus

Share this post


Link to post
Share on other sites
Posted (edited)
8 hours ago, Badruzeus said:

Sorry guys, anyway.. I just finished migrating from OS X 10.11.6 + Xcode 8.2.1 to macOS 10.13.6 + Xcode 10.1.

Now, I'm having this issue when building Clover using: ./ebuild.sh -fr then on ./makepkg:

 


Building CloverUpdater application...
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk; its version (10.6) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.199 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk; its version (10.7) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk; its version (10.8) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.200 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk; its version (10.9) is below required minimum (10.11) for the macosx platform.
2019-03-25 05:19:22.201 xcodebuild[58708:503021] [MT] DVTSDK: Skipped SDK /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk; its version (10.10) is below required minimum (10.11) for the macosx platform.
** BUILD FAILED **


The following build commands failed:
	Ld /Users/badruzeus/src/UDK2018/Clover/CloverPackage/CloverUpdater/build/CloverUpdater.app/Contents/MacOS/CloverUpdater normal x86_64
(1 failure)
make: *** [CloverUpdater] Error 65
MacBook-Pro:CloverPackage badruzeus$ 

..and yes, I use multiple SDK's on /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/

(10.6 upto 10.14), MinimumSDKVersion on '../MacOSX.platform/Info.plist' is 10.11.

Any missing step with Xcode 10? Thanks.

 

Hi

 

Sometimes ago, I've the same problem after migrate to Mojave + Xcode 10.1

 

I've forgotten to remove previous Xcode command tools and install tools for Xcode 10.1

Capture d’écran 2019-03-25 à 07.45.39.png

Edited by Matgen84

Share this post


Link to post
Share on other sites
53 minutes ago, Matgen84 said:

 

Hi

 

Sometimes ago, I've the same problem after migrate to Mojave + Xcode 10.1

 

I've forgotten to remove previous Xcode command tools and install tools for Xcode 10.1

Capture d’écran 2019-03-25 à 07.45.39.png

Ok, no worry.. my bad; I had issue with /Applications dir permissions before installing XCode. No problem after repair. Thanks.

Share this post


Link to post
Share on other sites
Posted (edited)

Hi

 

Don't try with Xcode 10.1. After installing Xcode 10.2 and command lines tools 10.2 under Mojave 10.14.4: I've this issue to build Clover r4906

[CC] b64cdecode
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:60:9: error: redefinition of 'Netmodel' with a different type: 'CHAR8 *[4]' vs 'CHAR8 *' (aka 'char *')
CHAR8*  Netmodel[4];
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:33:9: note: previous definition is here
CHAR8*  Netmodel;
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:35: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                  ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:69: note: passing argument to parameter 'Addr1' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                    ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:49: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                                ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:88: note: passing argument to parameter 'Addr2' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                                       ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:696:33: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
            Netmodel[net_count] = get_net_model(deviceid);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~
                                  *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2914:20: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
    Netmodel[card] = get_net_model((FakeVen << 16) + FakeID);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2988:25: error: incompatible pointer to integer conversion passing 'UINT32 [4]' to parameter of type 'UINT32' (aka 'unsigned int') [-Werror,-Wint-conversion]
    aml_add_dword(root, NetworkADR1);
                        ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:27:52: note: passing argument to parameter 'value' here
AML_CHUNK* aml_add_dword(AML_CHUNK* parent, UINT32 value);
                                                   ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2998:9: error: address of array 'NetworkADR2' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    if (NetworkADR2) {
    ~~  ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2999:22: error: ordered comparison between pointer and integer ('UINT32 *' (aka 'unsigned int *') and 'int') [-Werror]
      if (NetworkADR2> 0x3F)
          ~~~~~~~~~~~^ ~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:3031:33: error: incompatible integer to pointer conversion passing 'CHAR8' (aka 'char') to parameter of type 'CHAR8 *' (aka 'char *'); take the address with & [-Werror,-Wint-conversion]
    aml_add_string_buffer(pack, Netmodel[card]);
                                ^~~~~~~~~~~~~~
                                &
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:43:71: note: passing argument to parameter 'string' here
AML_CHUNK* aml_add_string_buffer(AML_CHUNK* parent, /* CONST*/ CHAR8* string);
                                                                      ^
9 errors generated.
make: *** [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/FixBiosDsdt.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -

 

Edited by Matgen84

Share this post


Link to post
Share on other sites
46 minutes ago, Matgen84 said:

Hi

 

Don't try with Xcode 10.1. After installing Xcode 10.2 and command lines tools 10.2 under Mojave 10.14.4: I've this issue to build Clover r4906


[CC] b64cdecode
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:60:9: error: redefinition of 'Netmodel' with a different type: 'CHAR8 *[4]' vs 'CHAR8 *' (aka 'char *')
CHAR8*  Netmodel[4];
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:33:9: note: previous definition is here
CHAR8*  Netmodel;
        ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:35: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                  ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:69: note: passing argument to parameter 'Addr1' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                    ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:693:49: error: incompatible pointer types passing 'UINT32 (*)[4]' to parameter of type 'UINT32 *' (aka 'unsigned int *') [-Werror,-Wincompatible-pointer-types]
            GetPciADR(DevicePath, &NetworkADR1, &NetworkADR2, NULL);
                                                ^~~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:536:88: note: passing argument to parameter 'Addr2' here
VOID GetPciADR(IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, OUT UINT32 *Addr1, OUT UINT32 *Addr2, OUT UINT32 *Addr3)
                                                                                       ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:696:33: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
            Netmodel[net_count] = get_net_model(deviceid);
                                ^ ~~~~~~~~~~~~~~~~~~~~~~~
                                  *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2914:20: error: incompatible pointer to integer conversion assigning to 'CHAR8' (aka 'char') from 'CHAR8 *' (aka 'char *'); dereference with * [-Werror,-Wint-conversion]
    Netmodel[card] = get_net_model((FakeVen << 16) + FakeID);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                     *
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2988:25: error: incompatible pointer to integer conversion passing 'UINT32 [4]' to parameter of type 'UINT32' (aka 'unsigned int') [-Werror,-Wint-conversion]
    aml_add_dword(root, NetworkADR1);
                        ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:27:52: note: passing argument to parameter 'value' here
AML_CHUNK* aml_add_dword(AML_CHUNK* parent, UINT32 value);
                                                   ^
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2998:9: error: address of array 'NetworkADR2' will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
    if (NetworkADR2) {
    ~~  ^~~~~~~~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:2999:22: error: ordered comparison between pointer and integer ('UINT32 *' (aka 'unsigned int *') and 'int') [-Werror]
      if (NetworkADR2> 0x3F)
          ~~~~~~~~~~~^ ~~~~
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/FixBiosDsdt.c:3031:33: error: incompatible integer to pointer conversion passing 'CHAR8' (aka 'char') to parameter of type 'CHAR8 *' (aka 'char *'); take the address with & [-Werror,-Wint-conversion]
    aml_add_string_buffer(pack, Netmodel[card]);
                                ^~~~~~~~~~~~~~
                                &
/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/Platform/AmlGenerator.h:43:71: note: passing argument to parameter 'string' here
AML_CHUNK* aml_add_string_buffer(AML_CHUNK* parent, /* CONST*/ CHAR8* string);
                                                                      ^
9 errors generated.
make: *** [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit/OUTPUT/Platform/FixBiosDsdt.obj] Error 1


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/mathieu/src/UDK2018/Build/Clover/RELEASE_XCODE8/X64/Clover/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/mathieu/src/UDK2018/Clover/rEFIt_UEFI/refit.inf [X64, XCODE8, RELEASE]

- Failed -

 

I C

Share this post


Link to post
Share on other sites

Thanks @Slice build succeeded after r4907, booting fine as usual, GFX model detection is also working (I think).

I just don't get what does r4904 commit mean related to HDEF, what's changed?

Screen Shot 4.png

Share this post


Link to post
Share on other sites

@Slice,

 

From that code, NetName is not referenced anywhere else in code, why does it exist?

 

@Badruzeus,

 

The difference is that it changed from fixing the device name and injecting properties to merely just fixing the device. The properties are added with hda injection enabled instead.

Share this post


Link to post
Share on other sites
Posted (edited)
9 hours ago, Slice said:

Because of 4908 :yes:

 

You should use only one string instead then and when you make the device in aml, set the fourth character to the card number like

STATIC CHAR8 NetName[5] = "ETH0";
...
NetName[3] = '0' + (CHAR8)card;
dev = aml_add_device(root, NetName);

That changes the amount of binary memory space used from more than twenty bytes including instructions to like ten bytes including instructions. Any list of strings that behaves like this should be changed as it will reduce the binary size and performs appropriately the same.

 

EDIT: Typo.

Edited by apianti

Share this post


Link to post
Share on other sites
Posted (edited)

Hi guys,

 

I noticed that I started getting CMOS resets on my legacy Ga-P55aUD3 desktop (system 2 in my sig) after updating to 10.14.4.  This was fixed by replacing the AppleRTC.kext in 10.14.4 with the vanilla kext from 10.14.3 (and rebuilding kextcache/pre-linked kernel).

 

Maybe one of the Clover developers can update Clover's automatic AppleRTC.kext patching to handle the newer version - attached are the vanilla kexts from 10.14.3 and 10.14.4 :angel_not:...

 

AppleRTC_10.14.3.kext.zip

AppleRTC_10.14.4.kext.zip

 

Edit1

On 3/29/2019 at 8:04 AM, ctich said:

 

Thanks very much @ctich :thumbsup_anim:

 

Adding the following code from @RodionS in Clover's config.plist/KernelAndKextPatches/KextsToPatch prevents my BIOS/CMOS from resetting when booting into 10.14.4...

 

<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>AppleRTC for 10.14.4</string>
				<key>MatchOS</key>
				<string>10.14.x</string>
				<key>Find</key>
				<data>dTMPtw==</data>
				<key>Name</key>
				<string>com.apple.driver.AppleRTC</string>
				<key>Replace</key>
				<data>6zMPtw==</data>
			</dict>

 

Edit2

Issue fixed in Clover r4911+, thanks to @Sherlocks :).

Edited by fusion71au
Issue fixed in Clover r4911+

Share this post


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

Yes, but it is not even used by anything, so it is not required to checkout.

Ok thanks for clarified

Share this post


Link to post
Share on other sites
Posted (edited)

i report bug about MatchOS 

5:951  0:000   - [01]: Disable panic kext logging on 10.14-10.14.3 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14 | MatchBuild: no] ==> allowed by OS
5:951  0:000   - [02]: Disable panic kext logging on 10.14.4-10.14.6 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14.5 | MatchBuild: no] ==> allowed by OS

 

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/Platform/Settings.c#l1469

 

here is introduction

/* example for valid matches are:

10.7, only 10.7 (10.7.1 will be skipped)
10.10.2 only 10.10.2 (10.10.1 or 10.10.5 will be skipped)
10.10.x (or 10.10.X), in this case is valid for all minor version of 10.10 (10.10.(0-9))
*/
 
10.7, only 10.7 (10.7.1 will be skipped) . <----- it's not working
 
EDIT1
i will fix this bug
 
EDIT2
fixed
7:753  0:000   - [01]: Disable panic kext logging on 10.14-10.14.3 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14,10.14.1,10.14.2,10.14.3 | MatchBuild: no] ==> not allowed by OS
7:753  0:000   - [02]: Disable panic kext logging on 10.14.4-10.14.6 Release kernel (c) vit9696 :: [OS: 10.14.5 | MatchOS: 10.14.4,10.14.5,10.14.6 | MatchBuild: no] ==> allowed by OS
Edited by Sherlocks

Share this post


Link to post
Share on other sites
Posted (edited)
6 hours ago, kuruu said:

 

Hi. I have a problem that I think is related to Clover.
 
I have a Z370N motherboard with 4 SATA ports. I have a PCI-E card with 2 SATA ports. They are all populated with 8TB disks in a mirrored ZFS array.

Boot drive is NVMe and I am using the latest Clover installer (4910) and Mojave 10.14.4

Upon booting after a CMOS reset/BIOS update, the disks appear in MacOS Mojave as expected. Upon subsequent reboots, the 4 ports on the motherboard do not register the disks. Sometimes, the disks randomly appear after a reboot.

Upon testing with APFS SATA disks, there is no such problem. This appears to be a problem limited to recognising ZFS disks on the motherboard SATA ports. The PCI-E attached disks are unaffected. 
 
It seems to be an issue with Clover because upon startup after a CMOS reset, Clover takes a while to scan disks and does not recognise my "LastBootedVolume" - upon subsequent boots, there is no lengthy scan it boots right up.

Has anyone experienced this? Any thoughts on a fix?

 

 

I have the same issue... I do see in the clover debug log (after a restart, not a shutdown) that clovers DOES see the discs, but but booting through to macOS the SATA drives are not there (both NVMe's are ok). Not even in system information....

Edited by Sander Spilleman

Share this post


Link to post
Share on other sites
Posted (edited)
On 3/30/2019 at 9:34 AM, kuruu said:

 

Hi. I have a problem that I think is related to Clover.
 
I have a Z370N motherboard with 4 SATA ports. I have a PCI-E card with 2 SATA ports. They are all populated with 8TB disks in a mirrored ZFS array.

Boot drive is NVMe and I am using the latest Clover installer (4910) and Mojave 10.14.4

Upon booting after a CMOS reset/BIOS update, the disks appear in MacOS Mojave as expected. Upon subsequent reboots, the 4 ports on the motherboard do not register the disks. Sometimes, the disks randomly appear after a reboot.

Upon testing with APFS SATA disks, there is no such problem. This appears to be a problem limited to recognising ZFS disks on the motherboard SATA ports. The PCI-E attached disks are unaffected. 
 
It seems to be an issue with Clover because upon startup after a CMOS reset, Clover takes a while to scan disks and does not recognise my "LastBootedVolume" - upon subsequent boots, there is no lengthy scan it boots right up.

Has anyone experienced this? Any thoughts on a fix?

 

 

I somehow managed to get this fixed om my rig.... Updated to the latest version and fiddles around with bios settings. See attached, my bios settings. I cant remember which settings I changed in my latest iteration, hence I'm sending you my whole BIOS profile. I'm on clover v4914 beta now....

ctrl-f2_setting.txt

Edited by Sander Spilleman

Share this post


Link to post
Share on other sites
On 3/24/2019 at 10:23 AM, Power Mac said:

Well, the "one" who told me, corroborated by a couple other devs, is a guide on the site of the one who shall not be named (but is active in the developers' corner): can't link anything because I don't want a ban, but I trust him deeply, and most of the times his guides and advice are a step ahead of everyone else's.

 

Let me second that real quick, utter rubbish, please stop spreading FUD. The kext data to link, i.e. the executable and the Info.plist, are put in a buffer that resides in the booter's Device Tree memory, then it is picked up by the kernel from there and linked into the kernel space, as any kext is. The mechanism used to inject kexts now is literally the Apple mechanism to boot without kextcache several versions ago.

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 rtke333
      Acer Aspire V15 V5-591G - Mojave 10.14.4
       
      (Note: mine is 55TU version, but the bootpack will work fine with another versions of 591G, for example: V5-591G-71K2, -764Z, -59PU, etc.)
      Specifications:
      - Motherboard: USOPP_SLS (Skylake-H PCH)
      - BIOS:Insyde Corp. v 1.15
      - CPU:Intel Core i5-6300HQ 2.3 GHz (Skylake)
      - GPU: NVIDIA GeForce GTX 950M 2 GB (Optimus) & Intel HD Graphics 530
      - RAM:SK hynix 4 GB DDR4 (Later I bought + KINGSTON 4 GB) 2133 MHz
      - WiFi + Bluetooth:Qualcomm Atheros QCNFA344A 5 GHz (Later -> Broadcom BRCM94352Z M.2 5 GHz WiFi + 4.0 Bluetooth)
      - Audio:Realtek HD Audio: ALC 255 
      - Ethernet: Realtek RTL8168/8111
      - Card Reader:Realtek USB 2.0 Card Reader (USB2.0-CRW)
      - Webcam:HD Webcam
      - HDD:TOSHIBA MQ01ACF032 320 GB HDD
      - SSD:SPCC M.2 230 GB SSD
      - Display:1366x768 (15.6", Matte)
      - Battery: 6 cell 56Wh / 5040mAh
      - Connectors: 
      1x SD Card Reader 2x USB 3.0 (1x USB Charging), 1x USB 2.0 1x VGA 1x HDMI 1x 3.5mm microphone/audio combined jack connector 1x Ethernet (Rj-45) - Keyboard & Touchpad:Multi-Touch & Multi-gestures ELAN 501 Touchpad, Backlight Keyboard.
      Working:  
      - Wi-Fi (with BCM94352Z)
      - Bluetooth hand-off (With BCM94352Z)
      -Full Graphics enabled on HD 530: ig-platform-id: 0x191b0000 (HD 530 Mobile)
      - Display: if default colour profile is corrupted (blue is not actual blue but purplish) Use "Rec. ITU-R BT. 709-5" Color Profile (System Pref. -> Displays -> Color)
      -HDMI & VGA Outputs: AppleGraphicsDevicePolicy.kext Clover patch
      - Audio (ALC 255):(Internal Speakers, Internal Microphone, Headphone jack with AppleALC, ALCPlugFix -> layout-id=17)
      - Ethernet Realtek 8168/8111: RealtekRTL8111.kext
      - App Store, Messages, FaceTime, Siri, iCloud(native)
      - Integrated webcam(native)
      - 3.0 USB (native)
      - Touchpad and Keyboard(ELAN501): Fn keys are good, the weird thing is the Brightness key. On my keyboard it's Pause Break:Br-up, Fn+F12:Br-dwn-> To fix this try Karabiner (VoodoPS2Controller.kext), - for gestures try SmartTouchpad drivers
      - Battery info:Install ACPIBatteryManager.kext with Kext Utility or other installer.
      - Sleep Mode
      - SSD with TRIM enabled (to enable trim, open Terminal and write "sudo trimforce enable")
      Not working:
      - Original Wi-Fi (Qualcomm Atheros QCNFA344A):  unsupported, you need switch to BCM94352Z or just use a mini usb wifi dongle.
      - NVIDIA GeForce GTX 950M: Optimus not supported.
      - Card Reader: Unsupported -> Can't really fix because I don't have any SD Card at the moment, maybe can be fixed by adding Prod & Ven IDs to AppleStorageDevices.kext, I never used it anyway. name: "USB2.0-CRW" Prod ID: "0x0129" Ven ID: "0x0bda  (Realtek Semiconductor Corp.)"
      For Wi-Fi:
      - 1st method:You can choose an external USB wifi dongle (I used TP-Link Archer T1U (5GHz support), TP-Link has official macOS drivers, you just need to install it
      -2nd and I think the best method:Replace your M.2 Qualcomm Card with a compatible BCM94352Zcard (you will have hand-off Bluetooth too), just install the kexts (enabled with BrcmFirmwareData.kext, BrcmPatchRAM2.kext, FakePCIID.kext, FakePCIID_Broadcom_WiFi.kext, they're all in my attached zip). You could buy this card from ebay, aliexpress, or amazon
       
      Issues:
      - None
      BIOS Settings:
      - BIOS version 1.15 (irrelevant)
      - Secure Boot: Disabled
      - Touchpad: Advanced
      - Boot mode:UEFI
      Getting ready for Installation:
      - Download the install zip (bootpack & postinstall): Click here -> acer_aspire_v591g_installfiles.zip
      Installation:
      - Create an installer with any method you know (- Mac: createinstallmedia - Windows: Transmac, Vmware, Win32diskimager)
      - Copy my Clover folder to the USB's EFI folder
      - Boot with the Installer USB
      - If you stuck in boot, reboot and in the Clover bootloader select "config_debug.cfg" -> you'll have more informations about the freeze
       
      Please open the README.rtf in my install zip for more informations about the USB Installer & Post installation!
      If you have a single RAM and getting panic at boot, then you need to edit the "config.plist" with these (SMBIOS->after "Version 1.0"):
      ->Edit "Frequency" and "Size" to match your RAM values
      <key>Version</key> <string>1.0</string> <key>Memory</key> <dict> <key>Channels</key> <integer>1</integer> <key>SlotCount</key> <integer>1</integer> <key>Modules</key> <array> <dict> <key>Slot</key> <integer>0</integer> <key>Size</key> <integer>8192</integer> <key>Frequency</key> <integer>2133</integer> <key>Type</key> <string>DDR4</string> </dict> </array> </dict> </dict>  
      PowerManagement  fix:
      Set HWPEnable=YES in Clover (already set), CPUFloor to "700", Frequency to "2300" and "3200"(Normal and Turbo, if you have i7-6700HQ version then it should be "2600", "3500") and "FrequencyVectors" from "0x0d000000" to "0x07000000" in "S/L/E/IOPlatformPluginFamily.kext/Contents/PlugIns/X86PlatformPlugin.kext/Contents/Resources/Mac-A5C67F76ED83108C.plist", MSR _xcpm_idle Patch to KernelToPatch in Clover (If you have High Sierra, change "MatchOS" to 10.13):

      <key>KernelToPatch</key> <array> <dict> <key>Comment</key> <string>MSR 0xE2 _xcpm_idle instant reboot(c) Pike R. Alpha</string> <key>Disabled</key> <false/> <key>Find</key> <data> ILniAAAADzA= </data> <key>MatchOS</key> <string>10.14</string> <key>Replace</key> <data> ILniAAAAkJA= </data> </dict> </array> Reboot, and it's 800MHz in idle state, same on Windows.
       

       
      Elan SmartTouchpad
      I only use scrolling, one-, double- & tripletap
      If you want to try other gestures go to this link for more informations, options (v4.7 beta 5) ->  DETAILS ABOUT THE SMART TOUCHPAD DRIVER FEATURES
      Fn Brightness keys not working with this, tried several things without success. With VoodoPS2Controller it's working, but you'll have no gestures (neither scrolling).
       
       
      Before updating to a new version of Mojave please update kexts (and clover if necessary) to newer versions to avoid kernel panics.
      Generate a serial number with Clover Configurator.app (open up your config.plist with CC then -> SMBIOS -> Serial Number -> Generate New)
       
      Mojave & Windows 10 Dual-Boot:
      Dual-boot clean install (on one drive), UEFI Only:
       
       Boot into your Mac installer, Create 2 partitions in GUID table (1 for Win (I used FAT32 but I think it doesn't matter what you choose), 1 for Mac),   Install Mac, boot with your USB, mount your EFI partition (use terminal or an EFI mounter app), create an EFI folder (if there is no folder), copy the CLOVER folder I attached to the EFI folder, restart,  Boot into your Win installer, Format the partition you created for Win, install.   Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       5.  You're done! It will booting into Clover when you start the system, and you can select Win or Mac (or another OS if installed on a 3rd partition).
       
      Dual-boot with Windows installed first (on one drive), UEFI Only:
      If you already have Windows and you don't want to lose all your data there is a hope:
      I created a video from this restore method: [Hackintosh] Dual-Boot High Sierra & Windows - when Windows already installed - no data waste - UEFI
      You need bootable Mac Installer and a full system restore image (link is in my video's description).
      (You may see errors if your EFI partition is not 200 MB)
       Boot into your Windows, resize your partition or create one for Mac.  Boot into your Mac installer and in Disk Utility format the partition you created.  Restore from image: select your full system restore image.  When it's finished restoring you just need to restart, then boot to the system with your usb.  When you successfully booted to Mac desktop, mount your EFI partition (use terminal or an EFI mounter app), open EFI, you will see there is a Microsoft folder already (don't touch that!). Copy my CLOVER folder to the EFI folder then Restart.  Now, it's automatically booting into Windows. To use Clover open cmd in administrator, type:  bcdedit /set {bootmgr} path \EFI\CLOVER\CLOVERX64.efi       7.  You're done! You can select your old Windows and your new macOS!
      (Only tried with Windows 8/8.1/10. I don't know Windows 7,etc.)
       
      IF YOU GETTING ERRORS DURING MAC RESTORE:
      - Make sure you have partitions in GPT
      - Windows using 100 MB EFI and will annoy the Mac restore. Don't worry, just ignore the errors.
       
      IF YOU GETTING ERRORS DURING WINDOWS INSTALLATION (could not be formatted, etc):
      - Make sure you have GPT partitions, and GPT (UEFI) installer, also disconnect all external storage drives (except the installer USB)
       
      IF YOU USED RESTORE METHOD THEN CAN'T MOUNT YOUR EFI PARTITION (No EFI partition found):
      - It's because your EFI is not 200 MB or not an "Apple" original EFI,  but do not worry, try another EFI mounter, or mount from terminal (I used EFI mounter v3: Getting errors, but you can mount and use without problem)
      - You also could "mount" the EFI from Windows:
      1st method: open cmd in administrator mode and type:
      diskpart
      list vol (Now select the "System" volume,(FAT 32) For example I select 4)
      sel vol 4
      list part(Select System type partition, for example 2)
      sel part 2
      assign letter=b(This will "mount" your EFI partition)
      Open Explorer++ or TotalCommander in administrator mode to manage EFI
      remove letter=b (This will "unmount" your EFI)
      2nd method: open cmd in administrator mode and type:
      mountvol b: /s (This will mount your EFI)
      Open Explorer++ or TotalCommander in administrator mode to manage EFI
      mountvol b: /d (This will unmount your EFI)
      Thanks to all OSXLatitude members for helping me out! (Jake Lo, Hervé, Bronxteck, black.dragon74)!
      Notes:
      2019.04.25: Optimized touchpad scrolling -> updated install files
      2019.03.30: Fixed USB 3.0 ports, fixed Bluetooth crashes after sleep -> updated bootpack
      2019.03.28: Updated to 10.14.4. Unexpected crashes while updating to 10.14.4 -> fixed by updating Clover to the latest (v4910) version. Bluetooth crashes appeared -> fixed by downgraded Brcm*.kexts. Updated bootpack.
      2019.02.24: Bluetooth crashes after sleep -> fixed, updated bootpack. 
      2019.02.22: Updated to 10.14.3. Fixed HDMI Audio by installing "FakePCIID_Intel_HDMI_Audio.kext" -> fixed freezing during boot. Fixed brightness levels by installing "AppleBacklightFixup.kext". Also updated bootpack & postinstall zip down in attachments.
      2019.01.21: Removed FakeSMC.kext, SMCHelper-64.efi, replaced by VirtualSMC.kext, VirtualSMC.efi because I got random freezes when booting system (kextd stall[0], (120s): 'AppleACPICPU' -> CPU is at 100%, fans are spinning fast), also updated bootpack in the attachments "acer_aspire_v591g-55tu_clover.zip"-> Freeze continued, brought back FakeSMC, deleted VirtualSMC (caused BT crashes).
      2019.01.18: HDMI Audio is fixed, I didn't do anything HDMI Audio is not fixed, sometimes it worked but most likely not. (no idea why)
      2018.12.09: Updated to 10.14.2 -> did without any complication
      2018.11.28: Fixed combo-jack garbage sound output by installing ALCPlugFix and CodecCommander.kext
      2018.11.01: Updated to 10.14.1 -> HDMI & VGA ports are gone again. -> Fixed by "AppleIntelSKLGraphicsFramebuffer.kext" rollback from 10.14.
      2018.09.28: Updated to Mojave 10.14 -> Fixed HDMI & VGA Outputs by adding "AppleGraphicsDevicePolicy.kext" patches to config.plist, HDMI audio not working
    • By Gorec
      Hi.
      I apologize in advance if I didn't post in the right category and if my title and description aren't specific enough :c
       
      My config in a nutshell:
      CPU: i7 5820k GPU: MSI GTX 1060 3GB RAM: 16 GB MOBO: MSI X99 SLI PLUS I attached RunMe output with all the details of my built.
       
      Some background:
      I have my Hackintosh for about half a year. That time I managed to make it works and fix major issues, but some of them left unresolved since then and I ignored them until now.
      I use my Hackintosh for Adobe projects (PR, AE, PS, IL, AU and a lot more) - most of them connected with video editing of course browsing with Chrome and other small tasks.
       
      Problems:
      Random restarts - this is the biggest one. I'm starting to work on bigger and bigger projects and at this time I think I can't allow this to happen that often. In the past, they happened like once a day or a couple of times a week. However, now it's just frustrating when it happens even 5 or more times a day. I've tried to observe and find out what can be the cause but I haven't managed to find any connections. I thought it happens when Premiere or another app is using GPU, but I haven't seen increased usage when it restarts. I think that it can be connected with GPU, memory or PSU or... meh, anything else. I don't have resources to check if it'll work with other components. There should be some fix for this. I will really appreciate any help with this :c Restart instead of shutdown & sleep doesn't work. I've tried to look through some Google results for this and tried many solutions (as you can see in attached Clover folder), but I think the right one for many of these issues is to make my own DSDT. Glitches, freezes and other things while encoding a video. It happens very often when I try to do this. Maybe it is an issue with GPU or (hopefully) only with GPU drivers which can be fixed with some patch. Today my headphones stopped working. I have a multi-output device configured in the Audio MIDI Setup app which includes my headphones (HyperX Cloud via USB) and Soundflowerbed virtual audio device for capturing system audio. Today while I was trying (like 15 times) to encode a video in Media Encoder in the background and watch video on YouTube I stopped hearing anything from my system. Of course, it restarted a couple of times as always, but even this didn't solve this. If I plug them directly with mini jack (not via USB Soundcard which was in the box and which I always used) in the front IO or the back I only hear some loud noise It takes EX-Fat formatted volumes a few minutes to mount after each restart. I found a workaround to format it with NTFS since I have Tuxera installed and I will reformat these volumes when I will find time for this, but maybe there is some fix for this. GPU is a little bit hot. HW Monitor shows it is only 45-55 degrees, but for my hand is a little bit hot, idk. Also related to GPU - glitch after POST but before entering Clover boot menu. It is a black screen with little white squared glitches for a few seconds. Maybe it indicates the GPU drivers are loading, but maybe it shouldn't be like this. And if I can ask about that - I can't make all applications hide on startup. I, obviously, have "Hide" checkbox checked on every login item in settings, but it doesn't work, none of the apps is hidden in the dock. Is there a way to fix this? Also a small but annoying problem - I can't turn off permanently Mojave update notification (since I tried to install it, and I had to reverse to High Sierra because I had a black screen and I didn't have time for repairing all of them. Tags are not working in Finder - every time I tag a file or folder and make a change in it (for example save a text file) the tag disappears.  
      So, with knowing all of that, is there a way to make a proper DSDT file for my Hackintosh? I tried to look through some guides on how to make it but I think I reached my abilities to understand how Mac OS works and what all of these things are, so I'm asking you guys politely, would someone like to help me? At least with these random restarts? :/
      I really begin to think that I'm a newbie in configuring all of that Clover things - even after what I managed to do with my PC. Help me, pleease... :c
       
      If you have any questions post it below, I will really appreciate any help <3
      Send me MBP-Gorec.home.zip
    • By ciriousjoker
      TLDR:
      I'm trying to boot MacOS on a Chromebook without UEFI. I'm stuck at getting the bootloader (Chameleon/Clover) to work.  
      My setup / context:
      I have an Acer Chromebook Spin 13.
      Available ports:
      2 x USB-C 1 x USB-A 3.0 MicroSD Slot No USB A 2.0 (I've read that Clover has problems with USB 3.0) Firmware:
      There's no UEFI firmware available and by default, it doesn't even allow booting anything other than ChromeOS. Thanks to MrChromebox (big shoutouts!), I flashed a custom legacy bios that allows me to boot anything linux related. This bios is flashed into the RW_LEGACY section of the existing bootloader (coreboot afaik) and doesn't have any configuration options. If I have to change a setting, I could try compiling his bios payload myself with the specific setting enabled.  
      What I've tried so far:
      Chameleon attempts:
      Only selected setting was "Install chameleon on the chosen path", rest was unselected.
       
      1 - Install chameleon first without restoring the basesystem:
      Output:
      > boot0: GPT
      > boot0: done
      (hangs; pressing power button once shuts down
      Chameleon installation log is attached as "Chameleon_Installer_Log_BEFORE".
       
      2 - Install Chameleon after restoring the base system:
      Output:
      > boot0: GPT
      > boot0: GPT
      > boot0: doneboot1: /boot       <- Exactly like that, no line break in between
      (hangs; pressing power button once shuts down)
       
      I haven't been able to reproduce #2 after wiping the drive and doing the same thing again. Subsequent attempts have resulted in either #1 of either Chameleon or Clover.
      Chameleon installation log is attached as "Chameleon_Installer_Log_AFTER".
       
      Clover attempts:
      I tried multiple settings and configurations, but all of them boiled down to either one of these.
       
      1 - Doesn't do anything, just hangs at "Booting from usb..."
      2 - Boots into the blue/grey mode as shown in the attached images.
      According to MrChromebox, this could be an old Tianocore DUET It doesn't detect anything (cpu frequency, ram, partitions or disks)  
      I've read pretty much every article, github readme and other types of documentation for coreboot, tianocore, clover, chameleon and MrChromebox' rw_legacy payloads and right now, I'm totally clueless as to what to try next...
       
      A few questions that came up:
      Why does chameleon hang? What is it looking for, /boot was clearly written to the disk by the Chameleon installer? What exactly is the blue/grey image? According to MrChromebox, it could be Tianocore DUET Where does it come from? Clover? The mainboard itself? Why does the blue/grey thing not detect my processor frequency or any partitions/drives? Can I use some sort of DUET bootloader to chainload Clover?  
      If you guys could answer any of them or if you have any other guesses or information as to what's happening, I'd be really happy!
      Chameleon_Installer_Log_BEFORE.txt
      Chameleon_Installer_Log_AFTER.txt





    • By outdoormagic
      Short Version:
      I have two drives with the exact same EFI folder (and I can boot into Clover from either one), shouldn't I be able to boot into MacOS from either one?
       
      More Detail:
      I've done a few hacks so far and this never happened. (Gigabyte z370 / 8700k / Vega, Asus z390 / i5-9600k / 1080). Now, I'm setting up a ThinkPad X1 Gen 6. (Yes, I do expect problems on laptops, but that's not the question).
       
      Mojave 10.14.4 now boots from the internal SSD. So far, so good. Here's the problem.
       
      I installed Mojave on a USB drive (for backup / rescue) and copied the entire EFI partition of my boot drive to the EFI partition on the USB drive. So... I should be able to boot from the USB drive, right? Wrong. Ran Clover installer on the USB itself. Same outcome.
       
      With F12, I can boot from the USB into Clover and select the OS on the USB. The boot sequence hangs on End Random Seed, but before the usual '++++++++' line.
      So, boot into Clover on internal boot drive, then select OS on USB. Same thing.
       
      Read the forums, I saw the posts about AptioMemoryFix, so I tried the various other drivers on the USB. No go.
       
      I haven't found the solution yet to the USB boot issue, but what puzzles me is that if I have two drives with the exact same EFI folder (and I can boot into Clover from either one), shouldn't I be able to boot into MacOS from either one?
       
       
×