Jump to content
ErmaC

Clover Problems and Solutions

2,877 posts in this topic

Recommended Posts

@Slice

 

i did test High sierra.

 

some users has ACPIPlatform error. not related clover now. just suspect. other users have to find solution

sandy, broadwell, skylake(me) seems no problem. 

 

you have to just make folder "10.13" when commit

 

i will update platformdata.c infomation and gma.c source. 

 

 

thanks in advance :)

 

 

 

sherlocks fixes.zip

Share this post


Link to post
Share on other sites
Advertisement

4080:

+ NumHighSie = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEYosECSieHighSearchEXT, sizeof(KBEYosECSieHighSearchEXT), KBEYosECSieHighReplaceEXT, 1) +
+ SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEHighSieSearchSIP, sizeof(KBEHighSieSearchSIP), KBEHighSieReplaceSIP, 1);
+ DBG_RT(Entry, "==> kernel High Sierra (DP1): %d replaces done.\n", Num);

 

should be "Num = ..."

Share this post


Link to post
Share on other sites

report bug

 

on apfs partition

seem this partition structure

/dev/disk0 (internal, physical):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      GUID_partition_scheme                        *256.1 GB   disk0

   1:                        EFI EFI                     209.7 MB   disk0s1

   2:       Microsoft Basic Data Windows 7               110.0 GB   disk0s2

   3:       Microsoft Basic Data Win Data                60.1 GB    disk0s3

   4:                 Apple_APFS Container disk1         69.1 GB    disk0s4

   5:       Apple_KernelCoreDump                         655.4 MB   disk0s5

   6:                  Apple_HFS Mac Data                16.0 GB    disk0s6

 

/dev/disk1 (synthesized):

   #:                       TYPE NAME                    SIZE       IDENTIFIER

   0:      APFS Container Scheme -                      +69.1 GB    disk1

                                 Physical Store disk0s4

   1:                APFS Volume Macintosh SSD           17.1 GB    disk1s1

   2:                APFS Volume Preboot                 19.9 MB    disk1s2

   3:                APFS Volume Recovery                521.1 MB   disk1s3

 

   4:                APFS Volume VM                      2.4 GB     disk1s4

 

clover pkg is not working install properly if use apfs partition.

 

in pkg, shown VM partition.

post-980913-0-04358800-1496818968_thumb.png

 

need to fix install script

 

result

post-980913-0-29542200-1496819136_thumb.png

 

install log

 

 

Clover EFI installer log - Wed Jun  7 16:16:15 KST 2017
Installer version: v2.4k r4082 EFI bootloader
======================================================
/dev/disk0 (internal, physical):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *256.1 GB   disk0
   1:                        EFI EFI                     209.7 MB   disk0s1
   2:       Microsoft Basic Data Windows 7               110.0 GB   disk0s2
   3:       Microsoft Basic Data Win Data                60.1 GB    disk0s3
   4:                 Apple_APFS Container disk1         69.1 GB    disk0s4
   5:       Apple_KernelCoreDump                         655.4 MB   disk0s5
   6:                  Apple_HFS Mac Data                16.0 GB    disk0s6

/dev/disk1 (synthesized):
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      APFS Container Scheme -                      +69.1 GB    disk1
                                 Physical Store disk0s4
   1:                APFS Volume Macintosh SSD           17.5 GB    disk1s1
   2:                APFS Volume Preboot                 19.9 MB    disk1s2
   3:                APFS Volume Recovery                521.1 MB   disk1s3
   4:                APFS Volume VM                      2.4 GB     disk1s4

======================================================
Backing up EFI files

======================================================
Installing BootSectors/BootLoader

Stage 0 - Don't write any of boot0af, boot0md, boot0ss to /
Stage 1 - Don't write any of boot1h2, boot1f32alt, boot1xalt to /
======================================================
Installing RC Scripts

Installing RC scripts on target volume '/'


Theme 'metal' (defined in config.plist) not found !
Using default theme 'random'
======================================================
=========== Clover EFI Installation Finish ===========
======================================================

 

 

 

added.

after used apfs(after install high sierra), can't detect recovery partition in GUI.

Share this post


Link to post
Share on other sites

There is a typo in the ../Platform/Settings.c file
 
line 5628
 

            } else if (AsciiStrStr (Prop->string, "Install%20macOS%20%High20Sierra") || AsciiStrStr (Prop->string, "Install%20macOS%2010.13")) {

should be
 

            } else if (AsciiStrStr (Prop->string, "Install%20macOS%20High%20Sierra") || AsciiStrStr (Prop->string, "Install%20macOS%2010.13")) {

"Install%20macOS%20%High20Sierra"

 

should be

 

"Install%20macOS%20High%20Sierra"

 

Cordially

ErmaC

Share this post


Link to post
Share on other sites

Hi folks,

 

i felt so free and updated the AMDController and Framebuffer infos within "ati.h" and "ati.c". so here they are:

 

ati.h:

typedef enum {
 kNull,
 /* OLDController */
 kWormy,
 kAlopias,
 kCaretta,
 kKakapo,
 kKipunji,
 kPeregrine,
 kRaven,
 kSphyrna,
 /* AMD2400Controller */
 kIago,
 /* AMD2600Controller */
 kHypoprion,
 kLamna,
 /* AMD3800Controller */
 kMegalodon,
 kTriakis,
 /* AMD4600Controller */
 kFlicker,
 kGliff,
 kShrike,
 /* AMD4800Controller */
 kCardinal,
 kMotmot,
 kQuail,
 /* AMD5000Controller */
 kDouc,
 kLangur,
 kUakari,
 kZonalis,
 kAlouatta,
 kHoolock,
 kVervet,
 kBaboon,
 kEulemur,
 kGalago,
 kColobus,
 kMangabey,
 kNomascus,
 kOrangutan,
 /* AMD6000Controller */
 kPithecia,
 kBulrushes,
 kCattail,
 kHydrilla,
 kDuckweed,
 kFanwort,
 kElodea,
 kKudzu,
 kGibba,
 kLotus,
 kIpomoea,
 kMuskgrass,
 kJuncus,
 kOsmunda,
 kPondweed,
 kSpikerush,
 kTypha,
 /* AMD7000Controller */
 kRamen,
 kTako,
 kNamako,
 kAji,
 kBuri,
 kChutoro,
 kDashimaki,
 kEbi,
 kGari,
 kFutomaki,
 kHamachi,
 kOPM,
 kIkura,
 kIkuraS,
 kJunsai,
 kKani,
 kKaniS,
 kDashimakiS,
 kMaguro,
 kMaguroS,
 /* AMD8000Controller */
 kExmoor,
 kBaladi,
 /* AMD9000Controller */
 kMalteseS,
 kLagotto,
 kGreyhoundS,
 kMaltese,
 kBasset,
 kGreyhound,
 kLabrador,
 /* AMD9300Controller */
 kFleuveSWIP,
 /* AMD9500Controller */
 kAcre,
 kDayman,
 kGuariba,
 kHuallaga,
 kOrinoco,
 /* AMD9510Controller*/
 kBerbice,
 /* AMD9515Controller */
 kMazaruni,
 kLongavi,
 /* AMD9520Controller */
 kElqui,
 kCaroni,
 kFlorin,
 kCfgEnd
} config_name_t;

and ati.c

card_config_t card_configs[] = {
  {NULL,  0},
  /* OLDController */
  {"Wormy", 2},
  {"Alopias", 2},
  {"Caretta", 1},
  {"Kakapo", 3},
  {"Kipunji", 4},
  {"Peregrine", 2},
  {"Raven", 3},
  {"Sphyrna", 1},
  /* AMD2400Controller */
  {"Iago", 2},
  /* AMD2600Controller */
  {"Hypoprion", 2},
  {"Lamna", 2},
  /* AMD3800Controller */
  {"Megalodon", 3},
  {"Triakis", 2},
  /* AMD4600Controller */
  {"Flicker", 3},
  {"Gliff", 3},
  {"Shrike", 3},
  /* AMD4800Controller */
  {"Cardinal", 2},
  {"Motmot", 2},
  {"Quail", 3},
  /* AMD5000Controller */
  {"Douc", 2},
  {"Langur", 3},
  {"Uakari", 4},
  {"Zonalis", 6},
  {"Alouatta", 4},
  {"Hoolock", 1},
  {"Vervet", 4},
  {"Baboon", 3},
  {"Eulemur", 3},
  {"Galago", 2},
  {"Colobus", 2},
  {"Mangabey", 2},
  {"Nomascus", 5},
  {"Orangutan", 2},
  /* AMD6000Controller */
  {"Pithecia", 3},
  {"Bulrushes", 6},
  {"Cattail", 4},
  {"Hydrilla", 5},
  {"Duckweed", 4},
  {"Fanwort", 4},
  {"Elodea", 5},
  {"Kudzu", 2},
  {"Gibba", 5},
  {"Lotus", 3},
  {"Ipomoea", 3},
  {"Muskgrass", 4},
  {"Juncus", 4},
  {"Osmunda",     4},
  {"Pondweed", 3},
  {"Spikerush",   4},
  {"Typha",       5},
  /* AMD7000Controller */
  {"Ramen", 6},
  {"Tako", 6},
  {"Namako", 4},
  {"Aji",  4},
  {"Buri", 4},
  {"Chutoro", 5},
  {"Dashimaki", 4},
  {"Ebi",  5},
  {"Gari", 5},
  {"Futomaki", 5},
  {"Hamachi", 4},
  {"OPM", 6},
  {"Ikura", 1},
  {"IkuraS", 6},
  {"Junsai", 6},
  {"Kani", 1},
  {"KaniS", 6},
  {"DashimakiS", 4},
  {"Maguro", 1},
  {"MaguroS", 6},
  /* AMD8000Controller */
  {"Exmoor", 6},
  {"Baladi", 6},
  /* AMD9000Controller */
  {"MalteseS", 1},
  {"Lagotto", 4},
  {"GreyhoundS", 1},
  {"Maltese", 6},
  {"Basset", 4},
  {"Greyhound", 6},
  {"Labrador", 6},
  /* AMD9300Controller */
  {"FlueveSWIP", 4},
  /* AMD9500Controller */
  {"Acre", 3},
  {"Dayman", 6},
  {"Guariba", 6},
  {"Huallaga", 3},
  {"Orinoco", 5},
  /* AMD9510Controller */
  {"Berbice", 5},
  /* AMD9515Controller */
  {"Mazaruni", 5},
  {"Longavi", 5},
  /* AMD9520Controller */
  {"Elqui", 5},
  {"Caroni", 5},
  {"Florin", 6}
};

Feel free to commit. Regards...

Already tested by myself and they seem to work - at least for me.

Share this post


Link to post
Share on other sites

@Slice

i updated clover source.

i tested source with users during 4 days.
no problem.

PMheart added ML/MAV/YOS/EL debug kext inject code.
i added code. included my source files
but once i disable debug ML/MAV/YOS/EL
Because it causes more many boot times(search code has many) than before. to reduce boot time, just commented search ML/MAV/YOS/EL kernel debug.

sorry my english

updated list
-platform data
-kabylake gpu
-framebuffer informatio
-added APFS load info
-can read FirmwareFeaturesMask in gui with use FirmwareFeaturesMask in config.plist
-gathered FirmwareFeaturesMask, PlatformFeature. will can easily deal value(maintainance)
-fixed fakecpuid
-cleaned up code.
-etc



sourceforge i don't have exprience commit in sf.. apianti gave me r/w permission. it's hard for me than github. :rolleyes:

always thanks in advance.

 

removed file to avoid confusion.

i just edited files by fred's report. 

Share this post


Link to post
Share on other sites

Hi Sherlocks

 

 

A little error in setting.c

 

 

  Prop = GetProperty (DictPointer, "FirmwareFeaturesMask");

  if (Prop != NULL) {

    //gFwFeatures = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    gFwFeaturesMask = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    DBG ("FirmwareFeaturesMask: 0x%08x\n", gFwFeaturesMask);

  }

 

Fred

Share this post


Link to post
Share on other sites

@Slice

 

i updated clover source.

 

i tested source with users during 4 days.

no problem.

 

PMheart added ML/MAV/YOS/EL debug kext inject code.

i added code. included my source files

but once i disable debug ML/MAV/YOS/EL

Because it causes more many boot times(search code has many) than before. to reduce boot time, just commented search ML/MAV/YOS/EL kernel debug.

 

sorry my english

 

updated list

-platform data

-kabylake gpu

-framebuffer informatio

-added APFS load info

-can read FirmwareFeaturesMask in gui with use FirmwareFeaturesMask in config.plist

-gathered FirmwareFeaturesMask, PlatformFeature. will can easily deal value(maintainance)

-fixed fakecpuid

-cleaned up code.

-etc

 

 

 

sourceforge i don't have exprience commit in sf.. apianti gave me r/w permission. it's hard for me than github. :rolleyes:

 

always thanks in advance.

I saw you've commented the initialization of NumMLDebug, NumMavYosDebug, NumECDebug, but you didn't really comment out these:

  else if (NumECDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEECDebugSearchEXT, sizeof(KBEECDebugSearchEXT), KBEECDebugReplaceEXT, 1) +
          SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEECDebugSearchSIP, sizeof(KBEECDebugSearchSIP), KBEECDebugReplaceSIP, 1);
    
  }
  else if (NumMavYosDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMavYosDebugSearchEXT, sizeof(KBEMavYosDebugReplaceEXT), KBEMavYosDebugReplaceEXT, 1);
          DBG_RT(Entry, "==> kernel Yosemite Debug: %d replaces done.\n", Num);
  }
  else if (NumMLDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMLDebugSearchEXT, sizeof(KBEMLDebugSearchEXT), KBEMLDebugReplaceEXT, 1);
          DBG_RT(Entry, "==> kernel Mountain Lion Debug: %d replaces done.\n", Num)
  }

So it will lead to compilation error...

Share this post


Link to post
Share on other sites

Hi Sherlocks

 

 

A little error in setting.c

 

 

  Prop = GetProperty (DictPointer, "FirmwareFeaturesMask");

  if (Prop != NULL) {

    //gFwFeatures = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    gFwFeaturesMask = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    DBG ("FirmwareFeaturesMask: 0x%08x\n", gFwFeaturesMask);

  }

 

Fred

 

So, what it should to be? The correct one Sir.. thanks..  :)

Share this post


Link to post
Share on other sites

Hi Sherlocks

 

 

A little error in setting.c

 

 

  Prop = GetProperty (DictPointer, "FirmwareFeaturesMask");

  if (Prop != NULL) {

    //gFwFeatures = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    gFwFeaturesMask = (UINT32)GetPropertyInteger (Prop, gFwFeaturesMask);

    DBG ("FirmwareFeaturesMask: 0x%08x\n", gFwFeaturesMask);

  }

 

Fred

 

eagle eye thanks fred :)

 

 

I saw you've commented the initialization of NumMLDebug, NumMavYosDebug, NumECDebug, but you didn't really comment out these:

  else if (NumECDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEECDebugSearchEXT, sizeof(KBEECDebugSearchEXT), KBEECDebugReplaceEXT, 1) +
          SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEECDebugSearchSIP, sizeof(KBEECDebugSearchSIP), KBEECDebugReplaceSIP, 1);
    
  }
  else if (NumMavYosDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMavYosDebugSearchEXT, sizeof(KBEMavYosDebugReplaceEXT), KBEMavYosDebugReplaceEXT, 1);
          DBG_RT(Entry, "==> kernel Yosemite Debug: %d replaces done.\n", Num);
  }
  else if (NumMLDebug == 1) {
    Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMLDebugSearchEXT, sizeof(KBEMLDebugSearchEXT), KBEMLDebugReplaceEXT, 1);
          DBG_RT(Entry, "==> kernel Mountain Lion Debug: %d replaces done.\n", Num)
  }

So it will lead to compilation error...

 

never get complie error. i tested complie and boot. nop

anyway num of kernel debug is not exist - never enter above code(NumECDebug, NumMavYosDebug, NumMLDebug = 0). because i commented SearchAndCount of NumECDebug, NumMavYosDebug, NumMLDebug.

 

if there are many SearchAndCount, we will get long boot time.

 

 

v2 reflected only fred's report. other is same. thanks

sherlocks cloverfixv2.zip

Share this post


Link to post
Share on other sites

Below is "APFS load info" isn't?

 

apfs loaded. log is good.

 

if you have hfs+, you can see. this is my log

 

0:130  0:001  Loading HFSPlus.efi  status=Success

0:131  0:000   - driver needs connecting
0:131  0:000  Loading AppleImageCodec-64.efi  status=Success
0:131  0:000  Loading AppleUITheme-64.efi  status=Success
0:132  0:000  Loading DataHubDxe-64.efi  status=Success
0:137  0:004  Loading AppleKeyAggregator-64.efi  status=Success
0:138  0:000  Loading apfs.efi  status=Success
0:139  0:001   - driver needs connecting
0:139  0:000  Loading FSInject-64.efi  status=Success
0:140  0:000  Loading FirmwareVolume-64.efi  status=Success
0:140  0:000  Loading EmuVariableUefi-64.efi  status=Success
0:141  0:000  EmuVariableUefi Initialize: VariableCommonInitialize = Success, orig services stored, install gEmuVariableControlProtocolGuid = Success
0:141  0:000  Loading SMCHelper-64.efi  status=Success
0:142  0:000  2 drivers needs connecting ...
0:142  0:000  PlatformDriverOverrideProtocol->GetDriver overriden
0:142  0:000  HFS+ driver loaded
0:142  0:000  APFS driver loaded

Share this post


Link to post
Share on other sites

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?)

Share this post


Link to post
Share on other sites

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

 

The log shows the process of loading the driver like hfs+. 

enjoy

Share this post


Link to post
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

Share this post


Link to post
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에서 보냄

Share this post


Link to post
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

Share this post


Link to post
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에서 보냄

Share this post


Link to post
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

Share this post


Link to post
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에서 보냄

Share this post


Link to post
Share on other sites

  • Recently Browsing   1 member

  • Similar Content

    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
    • By Teress
      I get a lot of questions about HOW TO BACKUP A HACKINTOSH. So I decided to create Complete Guide with 5 methods described in detail, how to easily make bootable clones of Hackintosh system disks, or backup your data. Full step by step tutorial is here:
       
       
    • By Anirban Mandal
      Hello everyone.
       
      I am new to this hackintosh world (about 1 week now) and I am very impressed with the sort of results it has yielded in my workflow. I use my laptop for guitar DSP and recording audio and have been able to come up with a good enough mackintosh build for it (using High Sierra 10.13.1 now).
       
      For the past one week I have been trying to get rid of an annoying popup "your computer was. restarted because of an error". If you take a look at the error report you shall notice Darwin 18.0.0 as being mentioned, which I presume is Mojave.
       
      What I had done is install 10.13.1 -> 10.13.3 -> 10.13.5 -> 10.14 Beta, where the 10.14 Beta failed and since then the error started popping up. After that I have reinstalled 10.13.1 multiple times, installed it to a different hard disk, used 'shred' from a linux live session on my laptops HDD and installed and still that error message won't go away.
       
      Everything functions fine, the error message is just annoying. If someone can help me get rid of it, it would just make the hackontish build cooler.
       
      PFA Error report.
       
      Cheers.
      Error Report.rtf
    • By STLVNUB
      Reviving my old INSTAHackintosh, it's been a while....
      Purpose:
      Create User Custom Install iso/dmg with bootloader, apps and user-settings.
      Create Live iso/usb.
      What Versions:
      Tiger-Current ( bit ambitious but hey I like a challenge ).
      Why:
      Because I can!
      I'm not too impressed with the way Apple and others handle their installs.
      Support for 4 Bootloaders:
      Chameleon
      Clover Legacy
      Refit Ozmosis
      Clover UEFI
      Keep you informed as I progress from scratch.
      This could take a while, it's NOT my priority.
      Will probably release in Os versions, starting at Mojave and working backwards.
    • By FernandoCoverdale
      Buenas!
      recuerdo que cuando empece a instalar el clover para hacer mi hackintosh el boot de clover tenia una cuenta atrás en la que pasado “no se si eran 5 o 6 segundos”se iniciaba la opcion de arranque de high sierra del disco duro que es la que se marca por defecto, seguramente habré instalado un theme que me lo deja fijo y no recuerdo como volver activarlo.
      gracias de antemano!!!
      adjunto foto

×