Jump to content

Clover Problems and Solutions


ErmaC
3,206 posts in this topic

Recommended Posts

apfs loaded. log is good.

 

if you have hfs+, you can see 

 

Ah OK, on 1st install it was HFS+ actually, b4 I converting 10.13 partition to APFS using DiskUitlity within USB Installer.. 

#EDIT: Uhmmb, I'm using Legacy.. not sure if HFSplus.efi driver is still needed  :) (or I'm just wrong?)

Link to comment
Share on other sites

Hi,

 

Sherlocks

 

My config : SSD 2 partitions type GUID Apple, Hfs  and Apfs.

 

AFPS not seen Loaded ... but working. trace bug ?

 

PlatformDriverOverrideProtocol not found. Installing ... Success on your screenshot PlatformDriverOverrideProtocol->GetDriver overriden why ?

0:117  0:000  === [ LoadDrivers ] =======================================
0:120  0:002  Loading AppleImageCodec-64.efi  status=Success
0:121  0:001  Loading AppleKeyAggregator-64.efi  status=Success
0:123  0:001  Loading AppleUITheme-64.efi  status=Success
0:124  0:001  Loading DataHubDxe-64.efi  status=Success
0:129  0:004  Loading FirmwareVolume-64.efi  status=Success
0:130  0:001  Loading FSInject-64.efi  status=Success
0:131  0:001  Loading OsxAptioFix2Drv-64.efi  status=Success
0:133  0:001  Loading HFSplus.efi  status=Success
0:134  0:001   - driver needs connecting
0:134  0:000  Loading APFS.EFI  status=Success
0:140  0:005   - driver needs connecting
0:140  0:000  Loading OsxFatBinaryDrv-64.efi  status=Success
0:141  0:001  Loading SMCHelper-64.efi  status=Success
0:142  0:001  2 drivers needs connecting ...
0:142  0:000  PlatformDriverOverrideProtocol not found. Installing ... Success
0:142  0:000  HFS+ driver loaded
0:142  0:000  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
0:456  0:313  === [ InitScreen ] ========================================

Fred

Link to comment
Share on other sites

Hi,

 

Sherlocks

 

My config : SSD 2 partitions type GUID Apple, Hfs and Apfs.

 

AFPS not seen Loaded ... but working. bug ?

 

PlatformDriverOverrideProtocol not found. Installing ... Success on your screenshot PlatformDriverOverrideProtocol->GetDriver overriden why ?

0:117  0:000  === [ LoadDrivers ] =======================================0:120  0:002  Loading AppleImageCodec-64.efi  status=Success0:121  0:001  Loading AppleKeyAggregator-64.efi  status=Success0:123  0:001  Loading AppleUITheme-64.efi  status=Success0:124  0:001  Loading DataHubDxe-64.efi  status=Success0:129  0:004  Loading FirmwareVolume-64.efi  status=Success0:130  0:001  Loading FSInject-64.efi  status=Success0:131  0:001  Loading OsxAptioFix2Drv-64.efi  status=Success0:133  0:001  Loading HFSplus.efi  status=Success0:134  0:001   - driver needs connecting0:134  0:000  Loading APFS.EFI  status=Success0:140  0:005   - driver needs connecting0:140  0:000  Loading OsxFatBinaryDrv-64.efi  status=Success0:141  0:001  Loading SMCHelper-64.efi  status=Success0:142  0:001  2 drivers needs connecting ...0:142  0:000  PlatformDriverOverrideProtocol not found. Installing ... Success0:142  0:000  HFS+ driver loaded0:142  0:000  Searching for invalid DiskIo BY_DRIVER connects: not found, all ok0:456  0:313  === [ InitScreen ] ========================================

Fred

Your driver name APFS.EFI

My driver name apfs.efi. i followed standard name.

 

Try to change name APFS.EFI to apfs.efi

 

Sorry my english

 

 

 

나의 LG-F800S 의 Tapatalk에서 보냄

  • Like 1
Link to comment
Share on other sites

Your driver name APFS.EFI

My driver name apfs.efi. i followed standard name.

 

Try to change name APFS.EFI to apfs.efi

 

Sorry my english

 

 

 

나의 LG-F800S 의 Tapatalk에서 보냄

 

 

Name is already apfs.efi, installed in ESP.

 

Fred

Link to comment
Share on other sites

Name is already apfs.efi, installed in ESP.

 

Fred

But your log shown APFS.EFI name compared my log.

try to change strstr to stristr that cecekpawon mentioned. And test

Name is already apfs.efi, installed in ESP.

 

Fred

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Hi,

 

One other thing with Nvidia injection.

 

I've a GT 640 that have a bad EFI bios.

If I choose Nvidia injection screen is coming scrambled.

 

Need to add this injection to get OK:

                           "NVDA,noEFI", 
                            Buffer (0x05)
                            {
                                "true"
                            }, 

It should be interesting to get an option in clover to select or not for people who get same trouble like me.

 

Another point is memory size detected in in case of injection, I do this modification to get good size.

 
} else { // >= NV_ARCH_C0
        
       // ctrlr_num = nv_rd32(dev, NVC0_MEM_CTRLR_COUNT);
       // ctrlr_amt = nv_rd32(dev, NVC0_MEM_CTRLR_RAM_AMOUNT);
       // dev_priv->vram_size = ctrlr_num * (ctrlr_amt << 20);
        
//vram_size = LShiftU64(REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT), 20);
        
         vram_size = LShiftU64(2 * REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT), 20);
        
 
        
      //  vram_size = REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT);
    // vram_size *= REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT);
       // vram_size = MultU64x32(vram_size, REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT));
        //vram_size =  REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT);
 
}
 

Fred

 


But your log shown APFS.EFI name compared my log.
try to change strstr to stristr that cecekpawon mentioned. And test


나의 LG-F800S 의 Tapatalk에서 보냄

 

Same thing with StriStr. 

 

EDIT

 

i change test != to ==:

      gDriversFlags.HFSLoaded = TRUE;

    } else if (StrStr(FileName, L"apfs") == NULL) {

      gDriversFlags.APFSLoaded = TRUE;

 

And same trouble, mean that the trouble is not on this line !

 

what about that :

0:141  0:000  PlatformDriverOverrideProtocol not found. Installing ... Success

 

EDIT:

It was my fault !

I did not copy main and menu in the good directory.

Need also to change StrStr to StriStr on apfs test.

Don't know why, name is in EFI/CLOVER/drivers64UEFI apfs.efi and show APFS!

 

 

Fred

  • Like 2
Link to comment
Share on other sites

Hi,

 

One other thing with Nvidia injection.

 

I've a GT 640 that have a bad EFI bios.

If I choose Nvidia injection screen is coming scrambled.

 

Need to add this injection to get OK:

                           "NVDA,noEFI", 
                            Buffer (0x05)
                            {
                                "true"
                            }, 
It should be interesting to get an option in clover to select or not for people who get same trouble like me.

 

Another point is memory size detected in in case of injection, I do this modification to get good size.

 
} else { // >= NV_ARCH_C0
        
       // ctrlr_num = nv_rd32(dev, NVC0_MEM_CTRLR_COUNT);
       // ctrlr_amt = nv_rd32(dev, NVC0_MEM_CTRLR_RAM_AMOUNT);
       // dev_priv->vram_size = ctrlr_num * (ctrlr_amt << 20);
        
//vram_size = LShiftU64(REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT), 20);
        
         vram_size = LShiftU64(2 * REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT), 20);
        
 
        
      //  vram_size = REG32(nvda_dev->regs, NVC0_MEM_CTRLR_RAM_AMOUNT);
    // vram_size *= REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT);
       // vram_size = MultU64x32(vram_size, REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT));
        //vram_size =  REG32(nvda_dev->regs, NVC0_MEM_CTRLR_COUNT);
 
}
 
Fred

 

 

 

Same thing with StriStr.

 

EDIT

 

i change test != to ==:

gDriversFlags.HFSLoaded = TRUE;

} else if (StrStr(FileName, L"apfs") == NULL) {

gDriversFlags.APFSLoaded = TRUE;

And same trouble, mean that the trouble is not on this line !

what about that :

0:141 0:000 PlatformDriverOverrideProtocol not found. Installing ... Success

EDIT:

It was my fault !

I did not copy main and menu in the good directory.

Need also to change StrStr to StriStr on apfs test.

Don't know why, name is in EFI/CLOVER/drivers64UEFI apfs.efi and show APFS!

 

 

Fred

V2 is no problem. I tested for 4days.

 

Anyway thank you for report.

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Thanks for your hard work, accepted.

@Slice

 

i added debug smbios "FirmwareFeatures", "FirmwareFeaturesMask", "PlatformFeature"

 

clover now doesn't exactly show these keys behavior. so i started debug and made clean source. and checked whether all values work or not.

i checked ioreg, dump

post-980913-0-09853600-1497423077_thumb.png

post-980913-0-79288900-1497423128_thumb.png

 

it will help debug for high sierra to get fail case.

 

here is result and source.

smbios setting in my config.plist

0:403 0:000 ChassisType: 0x9

0:403 0:000 FirmwareFeatures: 0xE907F537

0:403 0:000 FirmwareFeaturesMask: 0xFFFFFFFF

0:403 0:000 PlatformFeature: 0xFFFF

 

my behavior in clover gui

9:082 8:229 applied FirmwareFeatures=0xE907F538

9:082 0:000 EDITED: 0xE907F538

10:568 1:486 applied FirmwareFeaturesMask=0xFFFFFFF1

10:568 0:000 EDITED: 0xFFFFFFF1

16:698 6:130 applied PlatformFeature=0x3

16:698 0:000 EDITED: 0x0003

 

tested it in r4088.

 

PlatformFeature that we can use both 0x3 or 3 in config.plist.

 

sorry my english

 

 

thanks in advance and enjoy.

sherlocks_smbios fix.zip

  • Like 4
Link to comment
Share on other sites

it seemes that if i select a different config and try to get back to os selection screen clover freezes on clover 4089. the only thing i changed was i updated clover.

Try with this one

CLOVER.efi.zip

Did you use apfs?

Cause in my opinion something strange with apfs driver

Okay... I found issue, one moment..

Link to comment
Share on other sites

Try with this one

attachicon.gifCLOVER.efi.zip

Did you use apfs?

Cause in my opinion something strange with apfs driver

Okay... I found issue, one moment..

I too have updated from 4084 to 4088 and can't seen to boot as the screen just goes blank. Same if I change config it just freezes

Any idea what it could be or how to fix?

Link to comment
Share on other sites

I too have updated from 4084 to 4088 and can't seen to boot as the screen just goes blank. Same if I change config it just freezes

Any idea what it could be or how to fix?

Upload your config with removed private info and clover bootlog

 

나의 LG-F800S 의 Tapatalk에서 보냄

Link to comment
Share on other sites

Upload your config with removed private info and clover bootlog

 

나의 LG-F800S 의 Tapatalk에서 보냄

I just tried to boot without the apfs.efi and it boots like before without a problem, however if I try and boot with the apfs I just get a blank screen

any ideas what it could be?

Link to comment
Share on other sites

I just tried to boot without the apfs.efi and it boots like before without a problem, however if I try and boot with the apfs I just get a blank screen

any ideas what it could be?

Try BOOTX64 attached above

Link to comment
Share on other sites

savvamitrofanov

ok the bootx64 slice quoted above lets me select config and go back to os selection menu so that fixed my problem. but what did you fix to correct that issue because clover 4090 reverts back to broken config menu. cannot get back to os choice menu once you select config.

Link to comment
Share on other sites

×
×
  • Create New...