Jump to content

Clover General discussion


ErmaC
30,155 posts in this topic

Recommended Posts

 best i could do with the info from here if you guys want to add anything feels free to comment in the comments of the video 

Thanks for the video, but sorry as I said this is a poor method, should not be encourage. Why? That way some files are taken from the host OS, did not know all they are. So its ok the first time 10.12 comes out.. but this is a job for the Apple Installer. Otherwise also Apple should adopt this method... but..

Once the bootloader is Ok this must be avoided!

Sorry :P

i see injection kext is working.

 

but my skylake mstolen bin patch not work. i'm not sure. 

 

anyways loaded kext.

 

aha you added osx check code?

I'm out of Home, but within an our I'll share the working file, almost based on your patches!

Link to comment
Share on other sites

Thanks for the video, but sorry as I said this is a poor method, should not be encourage. Why? That way some files are taken from the host OS, did not know all they are. So its ok the first time 10.12 comes out.. but this is a job for the Apple Installer. Otherwise also Apple should adopt this method... but..

Once the bootloader is Ok this must be avoided!

Sorry :P

I'm out of Home, but within an our I'll share the working file, almost based on your patches!

once a better way comes out i will update the video by making a new one 

  • Like 1
Link to comment
Share on other sites

i see injection kext is working.

 

but my skylake mstolen bin patch not work. i'm not sure. 

 

anyways loaded kext.

 

aha you added osx check code?

 

Make sure you boot without caches (then rebuild cache).  Clover cannot patch a kext that is loaded by the system later...

 

In the case of transitioning from base-graphics (VESA drivers), for example, to Skylake framebuffer, the kext will load outside Clover's control and will not be patched.  So, for that first boot in transition (from bogus FakeID/ig-platform-id to valid ig-platform-id inject), you need to boot without caches so the Clover patch can be applied.  After you rebuild cache, your KextsToPatch can apply to the kext now in kernel cache.

Link to comment
Share on other sites

Make sure you boot without caches (then rebuild cache).  Clover cannot patch a kext that is loaded by the system later...

 

In the case of transitioning from base-graphics (VESA drivers), for example, to Skylake framebuffer, the kext will load outside Clover's control and will not be patched.  So, for that first boot in transition (from bogus FakeID/ig-platform-id to valid ig-platform-id inject), you need to boot without caches so the Clover patch can be applied.  After you rebuild cache, your KextsToPatch can apply to the kext now in kernel cache.

 

i'm sure that boot without caches is panic, so i put patched skylakeframebuffer.kext in s/l/e usb installer. this patch is work about kp. i dont know why exist difference.

also iq-platform id is good in el capitan. so i use it. still i dont get installer windows. var/empty log flood.

Link to comment
Share on other sites

 

yes kext injection works but that var/empty is still a issue 

Yep, but now I'm 100%sure is a Apple bug. For me worked, just waiting a bit. Remind the same issue with 10.11 when createinstallmedia process was failing with the DP1? this issue for me is better.

 

 

Scritto dal mio Samsung Galaxy S5 Mini con Tapatalk

  • Like 1
Link to comment
Share on other sites

 

Yep, but now I'm 100%sure is a Apple bug. For me worked, just waiting a bit. Remind the same issue with 10.11 when createinstallmedia process was failing with the DP1? this issue for me is better.

 

 

Scritto dal mio Samsung Galaxy S5 Mini con Tapatalk

 

 

how long wait?

Link to comment
Share on other sites

 

Yep, but now I'm 100%sure is a Apple bug. For me worked, just waiting a bit. Remind the same issue with 10.11 when createinstallmedia process was failing with the DP1? this issue for me is better.

 

 

Scritto dal mio Samsung Galaxy S5 Mini con Tapatalk

 

oh i waited for 30 mins no luck 

Link to comment
Share on other sites

It would be better a patch diff, but hurry :D .. these are the patched files ready:

kernel_patcher.c.zip

kext_inject.c.zip


Here I send a photo with my problem, after apply mkdir /var/empty I don´t show any errors with icloud.deviced that is good, but it stills hangs on other line.

Sure you have no rush? :whistle:

BTW XPC is a socket, bootstrap_check_in() it is a related function, that usually I'm using in my apps, and basically regarding launchd and some Helper Tools. That's why I'm sure that this is a Apple bug.

Also they seems to not use NSXPCConnection, meant they are using deprecated methods. Sure because you can create an installer for Sierra in Lion... so sure thing. For me is normal, DP2 will be better

Link to comment
Share on other sites

It would be better a patch diff, but hurry :D .. these are the patched files ready:

attachicon.gifkernel_patcher.c.zip

attachicon.gifkext_inject.c.zip

Sure you have no rush? :whistle:

BTW XPC is a socket, bootstrap_check_in() it is a related function, that usually I'm using in my apps, and basically regarding lauchd and some Helper Tools. That's why I'm sure that this is a Apple bug.

Also they seems to not use NSXPCConnection, meant they are using deprecated methods. Sure because you can create an installer for Sierra in Lion... so sure thing. For me is normal, DP2 will be better

 

 

aha, i dont see blow code, because i had done your request. i check clover kext_inject.c source. my code patch is good. we have to simply add code to operate my code.

if i see this code line, maybe more fast fix. anyways micky good  :)

 

 

    else if (NumYos == 1) {

 Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEYosSearch, sizeof(KBEYosSearch), KBEYosReplace, 1) +
SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEECSearch, sizeof(KBEECSearch), KBEECReplace, 1) +
      /* Micky1979, was a pain to place F/R here */
      SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBESieSearch, sizeof(KBESieSearch), KBESieReplace, 1);
    DBG_RT(Entry, "==> kernel Yosemite/El Capitan/Sierra: %d replaces done.\n", Num);
  }

please link the fakesmc you have working 

 

 

https://sourceforge.net/projects/hwsensors3.hwsensors.p/files/

 

here. i use r33.

but no luck, i have var/empty loop

Link to comment
Share on other sites

It would be better a patch diff, but hurry :D .. these are the patched files ready:

attachicon.gifkernel_patcher.c.zip

attachicon.gifkext_inject.c.zip

Sure you have no rush? :whistle:

BTW XPC is a socket, bootstrap_check_in() it is a related function, that usually I'm using in my apps, and basically regarding lauchd and some Helper Tools. That's why I'm sure that this is a Apple bug.

Also they seems to not use NSXPCConnection, meant they are using deprecated methods. Sure because you can create an installer for Sierra in Lion... so sure thing. For me is normal, DP2 will be better

 

 

you upload old kernel_patcher.c

 

you have to edit code blow

    // sherlocks: change for 10.12 DP1
    else if (/* 0x00033900000000E2ULL */ 0x00003390000000E2ULL == (*((UINT64 *)Ptr))) {
        (*((UINT64 *)Ptr)) = 0x0000000000000000ULL;
        DBG("Kernel power management patch 10.12 DP1 found and patched\n");
        return TRUE;
    }
 
to
 

 

    // sherlocks: change for 10.12 DP1

    else if (0x00003390000000E2ULL == (*((UINT64 *)Ptr))) {
        (*((UINT64 *)Ptr)) = 0x0000000000000000ULL;
        DBG("Kernel power management patch 10.12 DP1 found and patched\n");
        return TRUE;
    }

 

 

remove this code /* 0x00033900000000E2ULL */

it's my mistake

more clearly code

Link to comment
Share on other sites

 

you upload old kernel_patcher.c

 

you have to edit code blow

 
to
 

 

 

remove this code /* 0x00033900000000E2ULL */

it's my mistake

more clearly code

 

no need, I'm not a Clover dev... it's just a comment ;)

Link to comment
Share on other sites

I see that, I'm going to try

 

Yours does :

 

 

0:100  0:000  Starting Clover rev 3557 on American Megatrends EFI

 


10:126  0:007  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other

10:128  0:002    Extra kext: EFI\CLOVER\kexts\Other\FakePCIID_XHCIMux.kext

10:130  0:002    Extra kext: EFI\CLOVER\kexts\Other\FakePCIID.kext

10:133  0:003    Extra kext: EFI\CLOVER\kexts\Other\FakeSMC.kext

10:138  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext

10:142  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext

10:145  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext

10:149  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext

10:155  0:006    Extra kext: EFI\CLOVER\kexts\Other\RealtekRTL8111.kext

10:163  0:008  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.12

10:165  0:002    Extra kext: EFI\CLOVER\kexts\10.12\FakePCIID_XHCIMux.kext

10:167  0:001    Extra kext: EFI\CLOVER\kexts\10.12\FakePCIID.kext

10:170  0:003    Extra kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext

10:176  0:005      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\ACPISensors.kext

10:179  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\CPUSensors.kext

10:182  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\GPUSensors.kext

10:187  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\LPCSensors.kext

10:195  0:007    Extra kext: EFI\CLOVER\kexts\10.12\RealtekRTL8111.kext

 

Kext patching aswell since TRIM patch works on my rig ;).

  • Like 1
Link to comment
Share on other sites

@Sherlocks  for confirmation i replaced Kozlek FakeSMC With Slice , and again my USB is in loop so i can confirm issue with slice fakesmc atleast in my case , i have successfully installed it screenshots are #Post #10321  with Kozlek FakeSMC @WarDoctor already uploaded 

 

 

my old laptop cpu is sandybridge.

slice r33 supported 10.6~10.12 now for me. i love slice's fakesmc because he's driver supports all osx. i confimed it

slice fakesmc loaded

 

3:041  0:002    Force kext: System\Library\Extensions\IONetworkingFamily.kext

3:046  0:005      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\AppleBCM5701Ethernet.kext

3:051  0:004      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\AppleIntel8254XEthernet.kext

3:054  0:003      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\AppleIntelI210Ethernet.kext

3:058  0:003      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\AppleVmxnet3Ethernet.kext

3:061  0:003      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\AppleYukon2.kext

3:066  0:004      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\Intel82574L.kext

3:069  0:003      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\IOEthernetAVBController.kext

3:072  0:002      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\mDNSOffloadUserClient.kext

3:075  0:002      Force PlugIn kext: System\Library\Extensions\IONetworkingFamily.kext\Contents\PlugIns\nvenet.kext

3:078  0:003  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\Other

3:078  0:000    Extra kext: EFI\CLOVER\kexts\Other\ACPIBatteryManager.kext

3:081  0:002    Extra kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext

3:086  0:005      Extra PlugIn kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Controller.kext

3:087  0:000      Extra PlugIn kext: EFI\CLOVER\kexts\Other\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Keyboard.kext

3:090  0:002    Extra kext: EFI\CLOVER\kexts\Other\EAPDFix.kext

3:092  0:002    Extra kext: EFI\CLOVER\kexts\Other\FakeSMC.kext

3:094  0:002      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\HWInfo.kext

3:096  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\IntelCPUMonitor.kext

3:098  0:002    Extra kext: EFI\CLOVER\kexts\Other\RealtekRTL8111.kext

3:103  0:004  Preparing kexts injection for arch=x86_64 from EFI\CLOVER\kexts\10.12

3:104  0:000    Extra kext: EFI\CLOVER\kexts\10.12\ACPIBatteryManager.kext

3:109  0:005    Extra kext: EFI\CLOVER\kexts\10.12\ApplePS2SmartTouchPad.kext

3:113  0:004      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Controller.kext

3:115  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\ApplePS2SmartTouchPad.kext\Contents\PlugIns\ApplePS2Keyboard.kext

3:117  0:002    Extra kext: EFI\CLOVER\kexts\10.12\EAPDFix.kext

3:120  0:002    Extra kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext

3:123  0:003      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\HWInfo.kext

3:124  0:001      Extra PlugIn kext: EFI\CLOVER\kexts\10.12\FakeSMC.kext\Contents\PlugIns\IntelCPUMonitor.kext

3:126  0:002    Extra kext: EFI\CLOVER\kexts\10.12\RealtekRTL8111.kext

3:141  0:015  Removed efi-boot-device-data variable: Not Found

3:141  0:000  Custom boot screen not used because entry has unset use graphics

3:141  0:000  Closing log

 

 

i upload file above post

Link to comment
Share on other sites

Hi guys,

I am online. What files are proved to include to Clover? From Micky1979?

 

hello. slice

 

i want to clear code like this

 

Quote

    // sherlocks: change for 10.12 DP1
    else if (/* 0x00033900000000E2ULL */ 0x00003390000000E2ULL == (*((UINT64 *)Ptr))) {
        (*((UINT64 *)Ptr)) = 0x0000000000000000ULL;
        DBG("Kernel power management patch 10.12 DP1 found and patched\n");
        return TRUE;
    }
 
to
 

Quote

 

    // sherlocks: change for 10.12 DP1

    else if (0x00003390000000E2ULL == (*((UINT64 *)Ptr))) {
        (*((UINT64 *)Ptr)) = 0x0000000000000000ULL;
        DBG("Kernel power management patch 10.12 DP1 found and patched\n");
        return TRUE;
    }

 

 

remove this code /* 0x00033900000000E2ULL */

this is my mistake code

more clearly code

 

thanks in advanced

 

 

add1

you mistake commit 3561

 

 

+ } else if (AsciiStrStr (OSVersion, "10.12") != 0) {

+ // El Capitan

+ OSIconName = L"sierra,mac";

} else if (AsciiStrStr (OSVersion, "10.11") != 0) {

// El Capitan

OSIconName = L"cap,mac";

 

 

to

 

 

 

+ } else if (AsciiStrStr (OSVersion, "10.12") != 0) {

+ // Sierra

+ OSIconName = L"sierra,mac";

} else if (AsciiStrStr (OSVersion, "10.11") != 0) {

// El Capitan

OSIconName = L"cap,mac";

  • Like 2
Link to comment
Share on other sites

×
×
  • Create New...