Jump to content

Clover problems report & features request


ErmaC
953 posts in this topic

Recommended Posts

10 hours ago, Slice said:

It will be more informative if you provide Clover preboot.log in the situation.

Thank you for reply. Sorry, is not available anymore cause in the meantime I re-installed from scratch. The problem was that I have activated filevault. Now it's working fine without filevault, just wondering what extra drivers should I add to UEFI folder to be able to boot with filevault on. 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,
I stuck on loading Clover r5118 logo in Scan entries, 

system info :

ASUS VivoBook K571GT Laptop
Intel® Core™ i7 9750H
Intel UHD 630, NVIDIA GeForce GTX 1650

 

what I did :
1. set BIOS Setting :

  • first Set to Default setting.
  • Network Stack = Disabled.
  • Secure Boot = Disabled.
  • SATA Mode = AHCI.
  • VT-d Option = Disabled
  • Intel Virtualization Technology = Enabled
  • Fast Boot = Disabled

2. copy install Catalina in USB flash 
3. Installed Clover_r5118.pkg UEFI mode on USB flash
4. Placing required kexts in the EFI partition
5. Use config_UHD630 from RehabMan OS-X-Clover-Laptop-Config
6. Then I edit config.plist as said in for coffee lake CPU config.plist
Test the USB but it stuck on loading Clover logo in Scan entries AGAIN

I installed mac OS Catalina on another ASUS Laptop (K556UQ model) Before so I know what o do, but Never stuck in this state and I don't know where this error come from, search in google but can't find a way to pass it.

I Upload EFI Folder here : google drive EFI.zip and attach Debug.log file

debug.log.zip

Link to comment
Share on other sites

On 6/9/2020 at 6:59 PM, Slice said:

Add EmuVariableUefi.efi to drivers.

I add it and worked. then I choose "Boot macOS Install", after a while screen glitched with a white 'no entry icon' on it

Last Lines of debug is :

 

223:530  0:093  ->Extra kext: EFI\CLOVER\kexts\Other\Lilu.kext (v.1.3.9)
223:612  0:081  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10
224:775  1:163  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10_install
225:241  0:465  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15
225:342  0:100  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15_install
225:410  0:067  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15.1
226:915  1:505  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15.1_install
227:031  0:116  Custom boot screen not used because entry has unset use graphics
227:097  0:065  Closing log
227:164  0:066  start image 'boot.efi'
227:231  0:067  Using load options 'boot.efi dart=0 nv_disable=1 -disablegfxfirmware -cdfon -igfxnohdmi -v debug=0x100 keepsyms=1 '

I thought it might be USB related so I add these patches in kernel and kext patching tab :

 

Name*: com.apple.iokit.IOUSBHostFamily
Find*: 83FB0F0F
Replace*: 83FB3F0F

Name* com.apple.driver.usb.AppleUSBXHCI
Find*: 83F90F0F
Replace*: 83F93F0F

 

BUT same problem still exist .... 


 

config.plist

debug.log.zip

Edited by Biglibigli
Link to comment
Share on other sites

3 hours ago, Biglibigli said:

I add it and worked. then I choose "Boot macOS Install", after a while screen glitched with a white 'no entry icon' on it

Last Lines of debug is :

 


223:530  0:093  ->Extra kext: EFI\CLOVER\kexts\Other\Lilu.kext (v.1.3.9)
223:612  0:081  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10
224:775  1:163  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10_install
225:241  0:465  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15
225:342  0:100  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15_install
225:410  0:067  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15.1
226:915  1:505  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.15.1_install
227:031  0:116  Custom boot screen not used because entry has unset use graphics
227:097  0:065  Closing log
227:164  0:066  start image 'boot.efi'
227:231  0:067  Using load options 'boot.efi dart=0 nv_disable=1 -disablegfxfirmware -cdfon -igfxnohdmi -v debug=0x100 keepsyms=1 '

I thought it might be USB related so I add these patches in kernel and kext patching tab :

 

Name*: com.apple.iokit.IOUSBHostFamily
Find*: 83FB0F0F
Replace*: 83FB3F0F

Name* com.apple.driver.usb.AppleUSBXHCI
Find*: 83F90F0F
Replace*: 83F93F0F

 

BUT same problem still exist .... 


 

config.plist

debug.log.zip

 

find the problem :

       No EC0 rename is added. Add EC0 rename.

and now I'm in installer, more info will be added soon as I go forward ...

 

Edited by Slice
Don't cry
Link to comment
Share on other sites

  • 1 month later...

@Slice

I know I said I won't bother since my hardware is quite old (X58A-UD5) but can't help but wonder why in hangs on boot now.This is the error that I get with anything past 5116. Plz tell me what is obvious that I'm missing :(

 

 

Spoiler

Boot Failure.jpeg

 

Link to comment
Share on other sites

12 hours ago, Dajjal said:

@Slice

I know I said I won't bother since my hardware is quite old (X58A-UD5) but can't help but wonder why in hangs on boot now.This is the error that I get with anything past 5116. Plz tell me what is obvious that I'm missing :(

 

Spoiler

Boot Failure.jpeg

 

 

I have this ACPI issue before.

After I cancel all ACPI, it works fine for me.

 

Spoiler

acpi.thumb.jpg.8765c40fb045e917079a5fa180f0d363.jpg

 

 

  • Like 1
Link to comment
Share on other sites

Clover's DSDT Fixes are based on artificial intelligence so they may be wrong. If you encounter an error then you have two ways:

1. Found an exact reason and improve clover's sources.

2. Switch off DSDT fixes.

  • Like 2
Link to comment
Share on other sites

On 7/13/2020 at 3:08 AM, Dajjal said:

@Slice

I know I said I won't bother since my hardware is quite old (X58A-UD5) but can't help but wonder why in hangs on boot now.This is the error that I get with anything past 5116. Plz tell me what is obvious that I'm missing :(

 

In the Clover changes thread, DropOEM_DSM methods were excluded after commit Rev 5116 0b7eed38f14400c8501228a30dcc023e1132cec3 by @Slice.

 

For my legacy BIOS desktop (GA-P55aUD3, No 2 in my signature), I had to add Clover DSDT patch "Rename oem_DSM to ZDSM" to avoid ACPI errors with newer Clover r5116+...

 

Spoiler

1766640867_Renameoem_DSMtoZDSM.png.d0e0917a2af90ec8f4894ed5146c4fc4.png

 

Good Luck!

  • Like 2
Link to comment
Share on other sites

  • 1 month later...
13 hours ago, D-an-W said:

I think the latest commit of Clover is broken, when I try and build the .app.pkg is corrupt and if I try and boot with it I get a CPU Halted error.

Some more information? I have booted with latest commit.

Link to comment
Share on other sites

2 hours ago, Slice said:

Some more information? I have booted with latest commit.

 

Morning Slice, I will try again but the first thing I noticed was the installer for the Clover.app seemed way too small and didn't actually work.

  • Sad 1
Link to comment
Share on other sites

28 minutes ago, D-an-W said:

 

Morning Slice, I will try again but the first thing I noticed was the installer for the Clover.app seemed way too small and didn't actually work.

true

145006781_Schermata2020-08-31alle12_13_01.thumb.png.ed8f35f7c8b9b8a26e5b6c4b645ce7c3.png

  • Thanks 1
  • Sad 1
Link to comment
Share on other sites

Hi @Slice

I build latest commit 1963d37 (Mojave/ Xcode as usual) with my personal script: the different size seems to be good, if I'm not mistaken. I did not try to install and boot.

 

Clover app standalone + Clover app.pkg

 

Capture d’écran 2020-08-31 à 12.35.13.png

 

 

Clover app.pkg content from Pacifist

 

Capture d’écran 2020-08-31 à 12.36.06.png

Edited by Matgen84
Link to comment
Share on other sites

I tried again with 1963d37 but got the same result...

1148757825_Screenshot2020-08-31at16_19_11.png.38b349ddea6053b48eb9aa52c1ab0ae3.png

 

Tried again with latest commit, gives the same error with .app going to see if it boots now...

- Building Clover.app package installer..
2020-08-31 17:21:27.566 defaults[44736:1764656] 
The domain/default pair of (/Users/dan/src/CloverBootloader/CloverApp/build/Clover.app/Contents/Info.plist, CFBundleShortVersionString) does not exist
pkgbuild: Reading components from package.plist
pkgbuild: Adding component at Applications/Clover.app
pkgbuild: error: Path "/Users/dan/src/CloverBootloader/CloverApp/build/package/temp/Applications/Clover.app" is not a valid bundle component (using destination path "/Users/dan/src/CloverBootloader/CloverApp/build/package/temp")
productbuild: warning: No package found for distribution URL "file:///Users/dan/src/CloverBootloader/CloverApp/build/package/CloverApp.pkg"
productbuild: Wrote product to /Users/dan/src/CloverBootloader/CloverPackage/sym/Clover.app_v.pkg

 

EDIT: 5121 now boots ok, thanks folks. It's just the Clover.app package issue now here.

Edited by D-an-W
Link to comment
Share on other sites

1 hour ago, Slice said:

Looks like headers became inaccessible because they changed. All structures should be redefined for Clover.app .

I guess this commit is the reason, on top of the header some 'imports' are also commented out. Can't work. Maybe Jief has posted something about it but I didn't realize he modified the bridging header,  which reproduce some Clover's definitions. Restored. 

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

Tried to check the latest commit but got the errors below...

Spoiler



[CC] Data
Section 1 .text mCoffOffset=576(0x240) mCoffOffsetNew=576(0x240) diff=0(0x0)
Section 5 .eh_frame mCoffOffset=25600(0x6400) mCoffOffsetNew=26560(0x67c0) diff=960(0x3c0)
Section 3 .data mCoffOffset=26560(0x67c0) mCoffOffsetNew=25600(0x6400) diff=-960(0xfffffc40)
[GENFW] CsmVideoDxe
[CC] ShellParametersProtocol
[CPP] stdio
[CC] FileExplorer
[CPP] string
[CC] ShellProtocol
[CPP] strlen
[SLINK] Shell
[CC] UpdatePage
[CPP] wchar
[CC] Variable
In file included from /Users/dan/src/CloverBootloader/rEFIt_UEFI/Platform/../../CloverApp/Clover/Clover-Bridging-Header.h:22,
                 from /Users/dan/src/CloverBootloader/rEFIt_UEFI/Platform/Settings.cpp:8078:
/Users/dan/src/CloverBootloader/rEFIt_UEFI/Platform/../../CloverApp/Clover/NSWindowFix.h:9:9: fatal error: Cocoa/Cocoa.h: No such file or directory
    9 | #import <Cocoa/Cocoa.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
make: *** [/Users/dan/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit/OUTPUT/Platform/Settings.obj] Error 1
[VFR] BdsDxe


build.py...
 : error 7000: Failed to execute command
	make tbuild [/Users/dan/src/CloverBootloader/Build/Clover/RELEASE_GCC53/X64/rEFIt_UEFI/refit]


build.py...
 : error F002: Failed to build module
	/Users/dan/src/CloverBootloader/rEFIt_UEFI/refit.inf [X64, GCC53, RELEASE]

- Failed -
Build end time: 06:30:50, Sep.01 2020
Build total time: 00:00:59

dan@Dans-Mac-mini ~ % 


 

 

  • Like 1
Link to comment
Share on other sites

Hi @Slice@vector sigma 

I can't build latest commit e4d1a40 (Mojave/ Xcode as usual) 

 

Spoiler

[CC] uncompr
In file included from /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/Settings.cpp:8078:
In file included from /Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/../../CloverApp/Clover/Clover-Bridging-Header.h:22:
/Users/mathieu/src/Cloverbootloader/rEFIt_UEFI/Platform/../../CloverApp/Clover/NSWindowFix.h:9:9: fatal error: 'Cocoa/Cocoa.h' file not found
#import <Cocoa/Cocoa.h>
        ^~~~~~~~~~~~~~~
[CC] zlib_uefi
[SLINK] OcCompressionLib
Building ... /Users/mathieu/src/Cloverbootloader/MemoryFix/OcQuirks/OcQuirks.inf [X64]
1 error generated.
make: *** [/Users/mathieu/src/Cloverbootloader/Build/Clover/RELEASE_XCODE8/X64/rEFIt_UEFI/refit/OUTPUT/Platform/Settings.obj] Error 1


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


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

- Failed -
 

 

 

Link to comment
Share on other sites

×
×
  • Create New...