Riley Freeman Posted June 6, 2017 Share Posted June 6, 2017 Also, FirmwareFeaturesMask is still showing the default Clover value of 0xC003FFFF. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436420 Share on other sites More sharing options...
mhaeuser Posted June 6, 2017 Share Posted June 6, 2017 So I guess the code is fine, but something goes wrong in these funcs/vars? Idk, I don't know or care about Clover personally, but a few buds use it, so it should be working. Can you make a build that prints os_version and the output of the single ToUint64 calls? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436422 Share on other sites More sharing options...
PMheart Posted June 6, 2017 Share Posted June 6, 2017 @PmHeart For unsupported cpu, are kernel location for various reboot fix located in the same place? TY Oops, I don't know and I don't have much time on this... Maybe tomorrow? I really appreciate for your understand. Idk, I don't know or care for Clover personally, but a few buds use it, so it should be working. Can you make a build that prints os_version and the output of the single ToUint64 calls? Not very familiar with Clover code... I guess you mean something like this? DBG_RT(Entry, "os_version: %s", os_version); By the way, time to sleep now, and I hope everything will work fine tomorrow Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436434 Share on other sites More sharing options...
Sherlocks Posted June 6, 2017 Share Posted June 6, 2017 if anyone has intel kabylake graphics, here is dvmt patch com.apple.driver.AppleIntelKBLGraphicsFramebuffer 4C 89 5D C0 76 46 4C 89 5D C0 EB 46 detail information, https://github.com/BarbaraPalvin/IntelGraphicsDVMTFixup/commit/52ccd2220532ee47ad44df980732a1b467f984cf#diff-34456cca29782c5994988c21d8a5ef26R265 also updated kabylake dvmt patches. usage lilu 1.1.4 + dvmtfixup 1.1.6 + boot flag "-igdvmtbeta", "-lilubeta" i will update kabylake gma source. thank you 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436465 Share on other sites More sharing options...
wern apfel Posted June 6, 2017 Share Posted June 6, 2017 inject_patcher.zip And then, last try... (This pkg version) test_Clover_v2.4k_r4079.zip So I guess the code is fine, but something goes wrong in these funcs/vars? Thanks PMheart, with this build kext injection is working, 10.11, 10.12 too. 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436468 Share on other sites More sharing options...
vandroiy2012 Posted June 6, 2017 Share Posted June 6, 2017 usage lilu 1.1.4 + dvmtfixup 1.1.6 + boot flag "-igdvmtbeta", "-liludbg" -lilubeta. Not -liludbg 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436482 Share on other sites More sharing options...
Fredde2209 Posted June 6, 2017 Share Posted June 6, 2017 Well, I still don't get any kext Injection :/ IntelGraphicsFixup, Lilu and AppleALC are not loading from S/L/E either :/ Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436513 Share on other sites More sharing options...
vandroiy2012 Posted June 6, 2017 Share Posted June 6, 2017 Really weird then... Hmm, well, I'm actually not familiar with these procedures, I wish someone may help me check the source code: inject_patcher.zip And then, last try... (This pkg version) test_Clover_v2.4k_r4079.zip So I guess the code is fine, but something goes wrong in these funcs/vars? This version worked for me. Sierra & High Sierra are OK Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436540 Share on other sites More sharing options...
Riley Freeman Posted June 6, 2017 Share Posted June 6, 2017 Really weird then... Hmm, well, I'm actually not familiar with these procedures, I wish someone may help me check the source code: inject_patcher.zip And then, last try... (This pkg version) test_Clover_v2.4k_r4079.zip So I guess the code is fine, but something goes wrong in these funcs/vars? Neither of these are working for me with 10.13 (they do for 10.11 and 10.12). I built a custom Clover with these kext inject files and edits for FirmwareFeaturesMask but with no working injection I can't get anywhere. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436551 Share on other sites More sharing options...
polyzargone Posted June 6, 2017 Share Posted June 6, 2017 -lilubeta. Not -liludbg Works ! -alcbeta -lilubeta From EFI/CLOVER/kexts/Other FakeSMC_LPCSensors.kext (1758) org.hwsensors.driver.LPCSensors EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\FakeSMC_LPCSensors.kext AppleALC.kext (1.1.1) as.vit9696.AppleALC EFI\CLOVER\kexts\Other\AppleALC.kext VoodooPS2Trackpad.kext (1111) org.voodoo.driver.PS2Trackpad EFI\CLOVER\kexts\Other\VoodooPS2Trackpad.kext FakeSMC.kext (1758) org.netkas.driver.FakeSMC EFI\CLOVER\kexts\Other\FakeSMC.kext tufsfs.kext (2015.11.5) com.tuxera.filesystems.tufsfs.fusefs_txantfs /Library/Filesystems/fusefs_txantfs.fs//Contents/Resources/Support/10.9/tufs/tufsfs.kext Lilu.kext (1.1.1) as.vit9696.Lilu EFI\CLOVER\kexts\Other\Lilu.kext RealtekRTL8111.kext (2.2.1) com.insanelymac.RealtekRTL8111 EFI\CLOVER\kexts\Other\RealtekRTL8111.kext AppleACPIPS2Nub.kext (1.0.0d1) com.yourcompany.driver.AppleACPIPS2Nub EFI\CLOVER\kexts\Other\AppleACPIPS2Nub.kext FakeSMC_GPUSensors.kext (1758) org.hwsensors.driver.GPUSensors EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\FakeSMC_GPUSensors.kext FakeSMC_CPUSensors.kext (1758) org.hwsensors.driver.CPUSensors EFI\CLOVER\kexts\Other\FakeSMC.kext\Contents\PlugIns\FakeSMC_CPUSensors.kext 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436581 Share on other sites More sharing options...
Slice Posted June 6, 2017 Share Posted June 6, 2017 When you're build a new Clover can you also build one with FirmwareFeatures and FirmwareFeaturesMask set to 0xFFFFFFFF? The installer is tripping up because the "firmware" isn't reporting that it supports APFS. The hope is that setting it to FFFFFFFF might pass the check. c u Oops, I think now my brain is a total mess! There was an variable error in the previous version, I hope this one should work: new_src.zip Binaries: Clover_4079_injectkext_kern_patch_test.zip That should override Num, instead of NumHighSie... Variable Num is unused here. I accepted your patch... almost.... CLOVERX64.efi-rev4080.zip 2 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436767 Share on other sites More sharing options...
Riley Freeman Posted June 6, 2017 Share Posted June 6, 2017 There's more work needed for the kext inject patch to detect 10.13. So far the only patched Clover builds that work are hard-coded for 10.13 only. This one also doesn't work (makes no attempt to patch the kernel). Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436791 Share on other sites More sharing options...
Sherlocks Posted June 6, 2017 Share Posted June 6, 2017 There's more work needed for the kext inject patch to detect 10.13. So far the only patched Clover builds that work are hard-coded for 10.13 only. This one also doesn't work (makes no attempt to patch the kernel). YesOSVersion code is not working properly in high sierra. I try to fix clearly with debug. I changed setting code and main code about osversion. Still no luck It seems strange behavior. 4080 still works only 10.12 and under. Kext injection of 10.13 is not working 나의 LG-F800S 의 Tapatalk에서 보냄 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436794 Share on other sites More sharing options...
arsradu Posted June 6, 2017 Share Posted June 6, 2017 Hi guys, Any idea why is this happening with macOS 10.13? Needless to say that OSInstall.mpkg file is there and...well, it shouldn't be damaged in any way. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436834 Share on other sites More sharing options...
polyzargone Posted June 6, 2017 Share Posted June 6, 2017 Same here. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436840 Share on other sites More sharing options...
crazybirdy Posted June 6, 2017 Share Posted June 6, 2017 Yes OSVersion code is not working properly in high sierra. I try to fix clearly with debug. I changed setting code and main code about osversion. Still no luck It seems strange behavior. 4080 still works only 10.12 and under. Kext injection of 10.13 is not working 나의 LG-F800S 의 Tapatalk에서 보냄 Is it ok to use NumHighSie for this code? kext_inject.c else if ((os_version >= AsciiOSVersionToUint64("10.13")) && (os_version < AsciiOSVersionToUint64("10.14"))) { 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); } NumHighSie should be Num here, right? Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436843 Share on other sites More sharing options...
Sherlocks Posted June 6, 2017 Share Posted June 6, 2017 hello all fixed injection enjoy i will arrange source and clear and upload source let's install gogo Is it ok to use NumHighSie for this code?kext_inject.c else if ((os_version >= AsciiOSVersionToUint64("10.13")) && (os_version < AsciiOSVersionToUint64("10.14"))) { 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); } NumHighSie should be Num here, right?Fixed try my attached file나의 LG-F800S 의 Tapatalk에서 보냄Sherlocks-injectionfix.zip 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436846 Share on other sites More sharing options...
Riley Freeman Posted June 6, 2017 Share Posted June 6, 2017 I'm in the middle of installing 10.13 so I'll check when it's finished. DId you make any changes to Clover detecting 10.13? There's also a fix needed for FirmwareFeaturesMask. See here. I added an entry for fixing the boot glitch for my HD4000 and set MatchOS to 10.13.x. Looking at the debug output it gets marked as disabled (along with the 10.11 patch) while it looks like it tries to apply the 10.12 patch instead. 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436863 Share on other sites More sharing options...
Sherlocks Posted June 6, 2017 Share Posted June 6, 2017 I'm in the middle of installing 10.13 so I'll check when it's finished. DId you make any changes to Clover detecting 10.13? There's also a fix needed for FirmwareFeaturesMask. See here. I added an entry for fixing the boot glitch for my HD4000 and set MatchOS to 10.13.x. Looking at the debug output it gets marked as disabled (along with the 10.11 patch) while it looks like it tries to apply the 10.12 patch instead. No problem. Wait. I will added all 10.13 information. 나의 LG-F800S 의 Tapatalk에서 보냄 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436864 Share on other sites More sharing options...
Guest ricoc90 Posted June 6, 2017 Share Posted June 6, 2017 Hi guys, Any idea why is this happening with macOS 10.13? IMG_0454.JPG Needless to say that OSInstall.mpkg file is there and...well, it shouldn't be damaged in any way. Same here. I thought maybe it got damaged somehow, so I remade the USB. Same problem. So I re downloaded the beta app: Optiplex-van-Rico:~ rico$ sudo /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ 10.13\ Beta --applicationpath /Applications/Install\ macOS\ 10.13\ Beta.app/ --nointeraction /Applications/Install macOS 10.13 Beta.app/ does not appear to be a valid OS installer application. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436869 Share on other sites More sharing options...
savvas Posted June 6, 2017 Share Posted June 6, 2017 Same here. I thought maybe it got damaged somehow, so I remade the USB. Same problem. So I re downloaded the beta app: Optiplex-van-Rico:~ rico$ sudo /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/Resources/createinstallmedia --volume /Volumes/Install\ macOS\ 10.13\ Beta --applicationpath /Applications/Install\ macOS\ 10.13\ Beta.app/ --nointeraction /Applications/Install macOS 10.13 Beta.app/ does not appear to be a valid OS installer application. After fail with firmware check, installation files corrupted. You should remove all installation files which was expanded on install volume, and then re-run macOS 10.13 Beta.app Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436870 Share on other sites More sharing options...
crazybirdy Posted June 6, 2017 Share Posted June 6, 2017 hello all fixed injection enjoy i will arrange source and clear and upload source let's install gogo Fixed try my attached file 나의 LG-F800S 의 Tapatalk에서 보냄 Kext injection works fine now! :thumbsup_anim: 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436879 Share on other sites More sharing options...
Sherlocks Posted June 6, 2017 Share Posted June 6, 2017 here is v2 filetry testv2 infoadd savvamitrofanov's firmware infoadd 10.13 os infoOkay fw passed. Thanks @savvamitrofanov again. Youre great!!!Enjoy Clover users.I will send source @Slice soon.In korea, too early morning, maybe upload afternoon. arrived Sherlocks-v2.zip 12 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436885 Share on other sites More sharing options...
cecekpawon Posted June 6, 2017 Share Posted June 6, 2017 DBG_RT(Entry, "os_version: %s", os_version); To debug current OSVersion string from plist I think you could do something like this VOID EFIAPI KernelBooterExtensionsPatch(IN UINT8 *Kernel, LOADER_ENTRY *Entry) { ... else { DBG_RT(Entry, "==> ERROR: NOT patched - unknown kernel (OSVersion: %a).\n", Entry->OSVersion); } } 1 Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436921 Share on other sites More sharing options...
blayze® Posted June 6, 2017 Share Posted June 6, 2017 I can't even reach the installer. Why do i keep getting "mach reboot" and appleapciplatform errors on the blackscreen when i'm trying to boot? Can, i get a sample working config or something? I'm using the latest clover posted on here. My current config worked excellent on Sierra. Link to comment https://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page/520/#findComment-2436926 Share on other sites More sharing options...
Recommended Posts