Jump to content

Clover Problems and Solutions


ErmaC
3,206 posts in this topic

Recommended Posts

bdmesg >boot.log  -- all activities will be shown.

As well. If we press F2 then preboot.log will be written on HDD after OS call. Even if this is Windows.

But to catch hang you should set Boot->Debug=true

What's the difference between debug.log and preboot.log?

 

What about debug for KernelAndKextPatches? It currently outputs only to console (the screen) and has 5 second pauses (so the user can read it) which slows the boot process. Is it not possible to save that output to disk? If not, then what about sending that output to serial port? Many Hackintoshs have a serial or COM port that can be connected to another computer with a serial cable. They might not have a working EFI driver for the serial port that is suitable for redirecting the console. edk2 has some serial drivers but they may need some changes to work correctly.

Link to comment
Share on other sites

Eerghm.. Found another problem here while testing the new cool radiobutton. Switching theme (with anime title/label, ex: BGM <=> Shield) new option anime title doesnt applied. About & Help anime title are working correctly. Need to switch to another theme (without anime) to clear prev anime. Maybe expert can review this problem..

 

** screenshot

Edited by cecekpawon
Link to comment
Share on other sites

Eerghm.. isnt "embedded" should be internal / bundled with the binary @droples? And that "random" too? You dont need to manually drop/create on your Clover folder. Embedded is for fallback mode, before randomize. I think Clover should prevent to indexing themes with this kind of names..  :wallbash: 

Link to comment
Share on other sites

Eerghm.. isnt "embedded" should be internal / bundled with the binary @droples? And that "random" too? You dont need to manually drop/create on your Clover folder. Embedded is for fallback mode, before randomize. I think Clover should prevent to indexing themes with this kind of names..  :wallbash:

Clover contains almost empty folders for embedded and random to have a possibility to choose such theme from PrefPanel.

Link to comment
Share on other sites

Nice to see improvements to the UI :)

 

One thing I've noticed is an issue with BGM256 when BootCampStyle=True.

 

On initial drawing of the UI, I see only 4 volume icons but 5 text labels.
post-331032-0-11522600-1468613902_thumb.jpg
 
The text labels also do not update when scrolling to view more volumes.
post-331032-0-37898100-1468613917_thumb.jpg
 
I don't get much free time for hack stuff atm so maybe Needy can spot the issue before I get time to take a look?
 
The BGM256 theme is not intended to be used with the BootCampStyle but I was just testing the new options.
Link to comment
Share on other sites

 

Nice to see improvements to the UI :)

 

One thing I've noticed is an issue with BGM256 when BootCampStyle=True.

 

On initial drawing of the UI, I see only 4 volume icons but 5 text labels.
 
The text labels also do not update when scrolling to view more volumes.
 
I don't get much free time for hack stuff atm so maybe Needy can spot the issue before I get time to take a look?
 
The BGM256 theme is not intended to be used with the BootCampStyle but I was just testing the new options.

 

Hello there,

 

Thank you for testing the BootCampStyle implementation.

 

The last icon is missing because it's probably absent in the theme, BootCampStyle has nothing to do with the entry's icon. Could you post the theme here?

An additional check is missing, I'll fix that.

 

Something odd is the absence of the indicator. Did you fill in, under Selection, the Indicator attribute? If yes, did you provide the indicated image?

 

Could you please test the uploaded files?

 

Best regards.

entriesfix.zip

Edited by Needy
Link to comment
Share on other sites

Thanks for supplying a revised file.

 

On initial draw, I now only see four text labels one for each visible volume which is good.

However, when scrolling, the text labels still don't update and I end up with the 5th text label showing again.

 

The indicator would be present but as this theme was not designed for an indicator I used a blank image file for it.

 

I'm gonna be out all day now, but may have time to look later this evening/tomorrow.

 

If you want to test, I'm using the BGM256 theme from the Clover package, just with BootCampStyle set to true.

Link to comment
Share on other sites

From example:

 

 

 

<key>Theme</key>
<dict>
  <key>BootCampStyle</key>
  <true/>
  <key>Selection</key>
  <dict>
    <key>Indicator</key>
    <string>arrow-64.png</string>
    ...
  </dict>
  ...
</dict>

 

Did you encounter problems with that?

 

Thanks for supplying a revised file.

 

On initial draw, I now only see four text labels one for each visible volume which is good.

However, when scrolling, the text labels still don't update and I end up with the 5th text label showing again.

 

The indicator would be present but as this theme was not designed for an indicator I used a blank image file for it.

 

I'm gonna be out all day now, but may have time to look later this evening/tomorrow.

 

If you want to test, I'm using the BGM256 theme from the Clover package, just with BootCampStyle set to true.

The bug has been fixed and the new code will be released soon.

 

Thank you for the feedback.  :) 

 

Best regards.

Link to comment
Share on other sites

Did you encounter problems with that?

 

No sir, with BGM

 

r3636

Introduce KERNELTOPATCH config entries (user custom kernel patches data). Activate from lib.h (will remove if we found it useful):

#define ENABLE_KERNELTOPATCH 1

 

 

<key>KernelAndKextPatches</key>
<dict>
  <key>KernelToPatch</key>
  <array>
    <dict>
      <key>Comment</key>
      <string>startupExt 10.12 DP2</string>
      <key>Disabled</key>
      <false/>
      <key>Find</key>
      <data>
      6CUAAADrBeh+BQAA
      </data>
      <key>MatchOS</key>
      <string>10.12</string>
      <key>Replace</key>
      <data>
      6CUAAACQkOh+BQAA
      </data>
    </dict>
    <dict>
      <key>Comment</key>
      <string>rootlessKext 10.12</string>
      <key>Disabled</key>
      <false/>
      <key>Find</key>
      <data>
      w0iF23RxSIsDSInf/1AoSA==
      </data>
      <key>Replace</key>
      <data>
      w0iF2+sSSIsDSInf/1AoSA==
      </data>
      <key>Count</key>
      <integer>1</integer>
    </dict>
  </array>
</dict>

 

 

  • Like 2
Link to comment
Share on other sites

No problem here @blackosx, thanks for massive updates.

Sorry cannot locate your problem @tluck, maybe other friends here. Tested with Timeout = 25, without NoEarlyProgress & DefaultVolume. My logs:

 

 

 

0:101  0:000  Clover load options size = 4 bytes
0:101  0:000  Found Plist String = , parse XML in LoadOptions
0:101  0:000  Xml in load options is bad
0:110  0:008  Using OEM config.plist at path: EFI\CLOVER\config.plist
0:110  0:000  EFI\CLOVER\config.plist loaded: Success
0:112  0:002  Found theme directory: BGM
0:120  0:007  Found theme directory: Shield
0:125  0:005  Found theme directory: KEAT
0:130  0:004  Found theme directory: Space
0:133  0:003  Found theme directory: steampunkblack
0:136  0:003  Found theme directory: THINKPAD
0:138  0:002  Loading early settings
0:138  0:000  timeout set to 25
0:138  0:000  Custom boot CUSTOM_BOOT_DISABLED (0x0)
0:138  0:000  KextsToPatch: 8 requested
0:138  0:000   - [0]: AppleHDA (XXX Sleep 2) :: patch disabled, skipped
0:138  0:000   - [1]: AppleHDA (XXX ASSERTION) :: patch disabled, skipped
0:138  0:000   - [2]: AppleUSBXHCIPCI (NoLabel) :: patch disabled, skipped
0:138  0:000   - [3]: AppleIntelFramebufferCapri (DP [to] HDMI) :: patch disabled, skipped
0:138  0:000   - [4]: AppleHDA (XXX AD1988) :: patch disabled, skipped
0:138  0:000   - [5]: IOGraphicsFamily (NoLabel) :: patch disabled, skipped
0:138  0:000   - [6]: AppleHDA (XXX AD1988 , AD1984) :: Matched OSes: 10.11.4,10.11.5 :: BinPatch :: data len: 4
0:138  0:000   - [7]: AppleHDA (Zero 892 10.12 spaces) :: Matched OSes: 10.12 :: BinPatch :: data len: 4
0:138  0:000  KernelToPatch: 3 requested
0:138  0:000   - [0]: startupExt disabled :: patch disabled, skipped
0:138  0:000   - [1]: startupExt :: Matched OSes: 10.12 :: data len: 12
0:138  0:000   - [2]: rootlessKext :: data len: 16
0:138  0:000  Default theme: BGM

 

 

  • Like 2
Link to comment
Share on other sites

@blackosx & @cecekpawon,

 

The "indicator" can be anything you wish, for instance a dot or a line or a mysterious alien symbol. The only limitation is the size of the image, 52x52 and perhaps your imagination. ?

 

Best regards.

  • Like 2
Link to comment
Share on other sites

I have started seeing some major issues on my Lenovo T460 with i5-6300U (skyLake) on recent Clover builds.

 

it will boots UEFI (or with MBR/Legacy on USB)

but it need EmuVariable.efi, to get an  NVRAM.

also needs this - OsxAptioFix2Drv or OsxAptioFixDrv.efi

 

so now i am having some major Clover issues failures:

     

1) Clover DefaultVolume and count down is breaks from 3636-3639

but can select OSX volume and boot...

seems to have trouble reading from NVRAM?

the Clover.Theme variable shows up garbled (every other character for the word: ThinkPad.

 

2) Now Clover completly hangs form 3640-3642 (latest) right after OsxAptioFix2 drive and hangs on the +++++++ line

 

here some logs.

Tested 3636-3642 by changing just BootX64.efi and CLoverX64.efi

 

3635 - last working version

3639 - sort of works (cannot find boot volume automatically.)

 

Note: all these builds work on my Lenovo T420 (UEFI + native NVRAM)

T460-Clover-logs-3635-3639.zip

  • Like 1
Link to comment
Share on other sites

@tluck

The behavior may change if you include DataHubDxe.efi still ignored by you.

Erase nvram.plist from all volumes and try again.

 

Does the hang depends on chosen theme?


Are you sure this patch should be enabled booting 10.11.6?

5:481  0:000   - [3]: disable:IOGraphicsFamily (Boot graphics glitch, 10.12.dp1 (credit denskop)) :: BinPatch :: [OS: 10.11.6 | MatchOS: All] ==> allowed

Link to comment
Share on other sites

Also having issues with the latest Clover build r3642 on my Skylake NUC6i5SYH/i5-6260U/Iris540.

After selecting OSX (either 10.11.6 or 10.12DP3) and verbose boot at the Clover main menu, loads OsxAptioFix2Drv-64.efi —-> see ++++ on screen ——> automatic reboot.

If I revert to r3633 (just the BOOTX64.efi file), the system boots normally again.

Boot logs from r3642 vs r3633 on a FAT32 Clover USB attached.

Note: no issues with legacy booting either 10.11.6 or 10.12PB using r3642 on my XPS M1530 (see sig).

NUC6i5SYH Clover debug logs.zip

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...