Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/04/2019 in all areas

  1. As for DVMT - I doubt it works with a raw patch, please wait for the update of WhateverGreen. If you still need it, OK, please tell me which exact FB kext you'd like to patch? (Or rather all?! ) Regarding USB patches, I am not sure either, just made these patches based off what we have done under 10.14.5: EDIT: Please see And do NOT use the ones below! IOUSBHostFamily #1 Find: 83FB0F0F87 Repl: 83FB3F0F87 IOUSBHostFamily #2 Find: 83E30FD3E34109DF Repl: 83E33FD3E34109DF AppleUSBXHCI #1 Find: 0F0F83 Repl: 3F0F83
    5 points
  2. Hopefully this would be the changes for XCPM, I don't want to duplicate the usage again, please see my old posts for 10.13 and 10.14 as well: https://www.insanelymac.com/forum/topic/334898-pre-release-macos-mojave/?page=2&tab=comments#comment-2616660 (10.14) https://www.insanelymac.com/forum/topic/324194-pre-release-macos-high-sierra/?page=3#entry2435885 (10.13) And these are the new patches: XCPM patches 10.15 _cpuid_set_info Find: 72 3c d0 77 50 0f b6 c0 Repl: xx 3c d0 77 50 0f b6 c0 _xcpm_bootstrap Find: 8D 43 C4 3C 22 77 22 Repl: 8D 43 xx 3C 22 77 22 _xcpm_SMT_scope_msrs #1 Find: BE060000005DE908000000 Repl: BE060000005DC390909090 _xcpm_SMT_scope_msrs #2 Find: 31 D2 E8 3E FD FF FF Repl: 31 D2 90 90 90 90 90 _xcpm_core_scope_msrs Find: 31 D2 E8 51 FD FF FF Repl: 31 D2 90 90 90 90 90 _xcpm_pkg_scope_msrs Find: 31 D2 E8 74 FD FF FF Repl: 31 D2 90 90 90 90 90 disable all msrs above Find: BE 06 00 00 00 5D E9 08 00 00 00 0F 1F 84 00 00 00 00 00 55 Repl: BE 06 00 00 00 5D E9 08 00 00 00 0F 1F 84 00 00 00 00 00 C3 Performance patch (credit to @vit9696) Find: C1E3084863D389D048C1EA20 Repl: C1E308B800FF000031D29090
    5 points
  3. olá dev preview de 10.15 Catalina Tudo muito novo para dizer alguma coisa .. bom hack
    4 points
  4. First beta... macOS Catalina 10.15 beta (19A471t) Release Notes!!! Useful information: macOSDeveloperBetaAccessUtility.dmg.zip (thanks to gengik84) Clover r4945 (thanks to Cyberdevs) Lilu_plugins (thanks to gengik84) Port Limit Patch (thanks to daliansky) older non metal nVidia and Intel cards (thanks to fusion71au) MBR installation on macOS Catalina (thanks to crazybirdy) - workaround!!! Mac Downloader (thanks to ricoc90) Stuck boot in Beta 5 (thanks to MaLd0n)
    4 points
  5. @r!ppz It is not that easy. The first two "waves" of NVRAM issues were due to macOS physically relocating memory, which is a concept not covered by the UEFI specification and can very well be seen as a specification breach (UEFI PI) in a way. However, that should not be a factor anymore with the current AptioMemoryFix implementation. The current problem is that a core gets stuck in an UEFI deadloop and thus shutting down kernel panics and obviously changed NVRAM values to not physically apply.
    3 points
  6. Thanks @chris1111 and @blackosx for the files. Here's macOS Catalina icon on my case, I mean.. the Left one #LoL
    3 points
  7. The result of the final confirmation is that only two patches are required. #1 com.apple.iokit.IOUSBHostFamily Find: 83FB0F0F Replace: 83FB3F0F #2 com.apple.driver.usb.AppleUSBXHCI Find: 83F90F0F Replace: 83F93F0F
    3 points
  8. No need if you compiled the latest Lilu and plugins.. Available Here In case, -lilubetaall does it all
    3 points
  9. Hi, I have updated XCPM patches in kernel_patcher.c (is there still anyone using KernelXCPM now? ...) and checked some parts (RTC and PCI) in kext_patcher.c (although it turned out that all the old patches still remain available, I'd still like to do this renaming, just for confirmation. ) Index: rEFIt_UEFI/Platform/kernel_patcher.c =================================================================== --- rEFIt_UEFI/Platform/kernel_patcher.c (revision 4940) +++ rEFIt_UEFI/Platform/kernel_patcher.c (working copy) @@ -896,6 +896,11 @@ STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 }; STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC1, 0x3C, 0x22 }; applyKernPatch(kern, find, sizeof(find), repl, comment); + // PMheart: attempt to add 10.15 compatibility + } else if (os_version < AsciiOSVersionToUint64("10.16")) { + STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 }; + STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC1, 0x3C, 0x22 }; + applyKernPatch(kern, find, sizeof(find), repl, comment); } DBG("Searching _xcpm_pkg_scope_msr ...\n"); @@ -1051,12 +1056,17 @@ STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 }; STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC6, 0x3C, 0x22 }; applyKernPatch(kern, find, sizeof(find), repl, comment); + // PMheart: attempt to add 10.15 compatibility + } else if (os_version < AsciiOSVersionToUint64("10.16")) { + STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 }; + STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x3C, 0x22 }; + applyKernPatch(kern, find, sizeof(find), repl, comment); } comment = "_cpuid_set_info_rdmsr"; - // PMheart: attempt to add 10.14 compatibility - if (os_version >= AsciiOSVersionToUint64("10.12") && os_version < AsciiOSVersionToUint64("10.15")) { - // 10.12 - 10.14 + // PMheart: bytes seem stable as of 10.12 + if (os_version >= AsciiOSVersionToUint64("10.12")) { + // 10.12+ STATIC UINT8 find[] = { 0xB9, 0xA0, 0x01, 0x00, 0x00, 0x0F, 0x32 }; STATIC UINT8 repl[] = { 0xB9, 0xA0, 0x01, 0x00, 0x00, 0x31, 0xC0 }; applyKernPatch(kern, find, sizeof(find), repl, comment); @@ -1138,6 +1148,11 @@ STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 }; STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC6, 0x3C, 0x22 }; applyKernPatch(kern, find, sizeof(find), repl, comment); + // PMheart: attempt to add 10.15 compatibility + } else if (os_version < AsciiOSVersionToUint64("10.16")) { + STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 }; + STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x3C, 0x22 }; + applyKernPatch(kern, find, sizeof(find), repl, comment); } DBG("KernelIvyBridgeXCPM() <===\n"); @@ -1279,8 +1294,13 @@ } else if (os_version < AsciiOSVersionToUint64("10.15")) { // 10.13/10.14 STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 }; - STATIC UINT8 repl[] = { 0x89, 0xD8, 0xC2, 0xC1, 0x3C, 0x22 }; + STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC1, 0x3C, 0x22 }; applyKernPatch(kern, find, sizeof(find), repl, comment); + // PMheart: attempt to add 10.15 compatibility + } else if (os_version < AsciiOSVersionToUint64("10.16")) { + STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 }; + STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC1, 0x3C, 0x22 }; + applyKernPatch(kern, find, sizeof(find), repl, comment); } DBG("KernelIvyE5XCPM() <===\n"); Index: rEFIt_UEFI/Platform/kext_patcher.c =================================================================== --- rEFIt_UEFI/Platform/kext_patcher.c (revision 4940) +++ rEFIt_UEFI/Platform/kext_patcher.c (working copy) @@ -410,9 +410,9 @@ STATIC UINT8 MavMoj3Search[] = { 0x75, 0x2e, 0x0f, 0xb6 }; STATIC UINT8 MavMoj3Replace[] = { 0xeb, 0x2e, 0x0f, 0xb6 }; -// RodionS: 10.14.4+ -STATIC UINT8 Moj4Search[] = { 0x75, 0x33, 0x0f, 0xb7 }; -STATIC UINT8 Moj4Replace[] = { 0xeb, 0x33, 0x0f, 0xb7 }; +// RodionS: 10.14.4+ / 10.15 DB1 +STATIC UINT8 Moj4CataSearch[] = { 0x75, 0x33, 0x0f, 0xb7 }; +STATIC UINT8 Moj4CataReplace[] = { 0xeb, 0x33, 0x0f, 0xb7 }; // // We can not rely on OSVersion global variable for OS version detection, @@ -442,7 +442,7 @@ NumLion_X64 = SearchAndCount(Driver, DriverSize, LionSearch_X64, sizeof(LionSearch_X64)); NumML = SearchAndCount(Driver, DriverSize, MLSearch, sizeof(MLSearch)); NumMavMoj3 = SearchAndCount(Driver, DriverSize, MavMoj3Search, sizeof(MavMoj3Search)); - NumMoj4 = SearchAndCount(Driver, DriverSize, Moj4Search, sizeof(Moj4Search)); + NumMoj4 = SearchAndCount(Driver, DriverSize, Moj4CataSearch, sizeof(Moj4CataSearch)); } else { NumLion_i386 = SearchAndCount(Driver, DriverSize, LionSearch_i386, sizeof(LionSearch_i386)); } @@ -469,7 +469,7 @@ Num = SearchAndReplace(Driver, DriverSize, MavMoj3Search, sizeof(MavMoj3Search), MavMoj3Replace, 1); DBG_RT(Entry, "==> Mav/Yos/El/Sie/HS/Moj3 X64: %d replaces done.\n", Num); } else if (NumMoj4 == 1) { - Num = SearchAndReplace(Driver, DriverSize, Moj4Search, sizeof(Moj4Search), Moj4Replace, 1); + Num = SearchAndReplace(Driver, DriverSize, Moj4CataSearch, sizeof(Moj4CataSearch), Moj4CataReplace, 1); DBG_RT(Entry, "==> Mojave4 X64: %d replaces done.\n", Num); } else { DBG_RT(Entry, "==> Patterns not found - patching NOT done.\n"); @@ -841,8 +841,8 @@ STATIC UINT8 BroadwellE_IOPCI_Repl_SieHS[] = { 0x48, 0x81, 0xFB, 0x00, 0x00, 0x00, 0x80 }; // Mojave -STATIC UINT8 BroadwellE_IOPCI_Find_Moj[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x40 }; -STATIC UINT8 BroadwellE_IOPCI_Repl_Moj[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x80 }; +STATIC UINT8 BroadwellE_IOPCI_Find_MojCata[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x40 }; +STATIC UINT8 BroadwellE_IOPCI_Repl_MojCata[] = { 0x48, 0x3D, 0x00, 0x00, 0x00, 0x80 }; VOID BDWE_IOPCIPatch(UINT8 *Driver, UINT32 DriverSize, CHAR8 *InfoPlist, UINT32 InfoPlistSize, LOADER_ENTRY *Entry) { @@ -864,7 +864,7 @@ } else if (os_ver < AsciiOSVersionToUint64("10.14")) { count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find_SieHS, sizeof(BroadwellE_IOPCI_Find_SieHS), BroadwellE_IOPCI_Repl_SieHS, 0); } else { - count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find_Moj, sizeof(BroadwellE_IOPCI_Find_Moj), BroadwellE_IOPCI_Repl_Moj, 0); + count = SearchAndReplace(Driver, DriverSize, BroadwellE_IOPCI_Find_MojCata, sizeof(BroadwellE_IOPCI_Find_MojCata), BroadwellE_IOPCI_Repl_MojCata, 0); } if (count) { Thanks!
    3 points
  10. Great! Thanks a lot! Hi, Just want to get everyone's forgiveness. FakeCPUID is totally broken under Clover r4939, and r4940 is fine as confirmed by @Pene If possible, please remove it and re-upload r4940! Thanks, PMheart
    3 points
  11. Hi @Slice Thanks for merging, but I made a very stupid typo in FakeCPUID patch, which can be checked here: https://sourceforge.net/p/cloverefiboot/code/4939/tree//rEFIt_UEFI/Platform/kernel_patcher.c#l569 https://sourceforge.net/p/cloverefiboot/code/4939/tree//rEFIt_UEFI/Platform/kernel_patcher.c#l578 &HSieMojSearchModel[0] and &CataSearchModel[0] got reversed by accident, and I think you know the correct order. By the way, I also missed a prompt line like DBG_RT(Entry, "...done!\n"); Please fix it! Thanks! PMheart
    3 points
  12. 3 points
  13. EDIT: Merged in Clover r4938. OK, and this is the binary to test (for kext injection under 10.15): Clover-4937-1015-kext-injection.zip (Please DO NOT use this now!) @Slice This is the basic diff, please review it, I am too lazy to post it again on Clover thread : Index: rEFIt_UEFI/Platform/Settings.c =================================================================== --- rEFIt_UEFI/Platform/Settings.c (revision 4937) +++ rEFIt_UEFI/Platform/Settings.c (working copy) @@ -6373,6 +6373,8 @@ if (Prop != NULL && Prop->string != NULL && Prop->string[0] != '\0') { if (AsciiStrStr (Prop->string, "Install%20OS%20X%20Mavericks.app")) { OSVersion = AllocateCopyPool (5, "10.9"); + } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Catalina") || AsciiStrStr (Prop->string, "Install%20macOS%2010.15%20Beta")) { // FIXME: Remove Beta after final release + OSVersion = AllocateCopyPool (5, "10.15"); } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Mojave") || AsciiStrStr (Prop->string, "Install%20macOS%2010.14")) { OSVersion = AllocateCopyPool (6, "10.14"); } else if (AsciiStrStr (Prop->string, "Install%20macOS%20High%20Sierra") || AsciiStrStr (Prop->string, "Install%20macOS%2010.13")) { Index: rEFIt_UEFI/Platform/kext_inject.c =================================================================== --- rEFIt_UEFI/Platform/kext_inject.c (revision 4937) +++ rEFIt_UEFI/Platform/kext_inject.c (working copy) @@ -623,8 +623,8 @@ UINT8 KBEMLDebugSearchEXT[] = { 0xE8, 0x3E, 0x00, 0x00, 0x00, 0xE9, 0x09, 0x00, 0x00, 0x00, 0x48, 0x8B, 0x7D, 0xE0, 0xE8 }; UINT8 KBEMLDebugReplaceEXT[] = { 0xE8, 0x3E, 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90, 0x48, 0x8B, 0x7D, 0xE0, 0xE8 }; -// Yosemite -// PMheart: Universal for 10.10 - 10.13, maybe still ok for furture ver +// Yosemite - High Sierra +// PMheart: Universal for 10.10 - 10.13 UINT8 KBEYosECSieHighSearchEXT[] = { 0xE8, 0x25, 0x00, 0x00, 0x00, 0xEB, 0x05, 0xE8 }; UINT8 KBEYosECSieHighReplaceEXT[] = { 0xE8, 0x25, 0x00, 0x00, 0x00, 0x90, 0x90, 0xE8 }; @@ -659,28 +659,35 @@ UINT8 KBESieDebugSearchSIP[] = { 0x31, 0xC9, 0x39, 0xC1, 0x0F, 0x85, 0x3C, 0x00, 0x00, 0x00, 0x48, 0x8B, 0x85 }; UINT8 KBESieDebugReplaceSIP[] = { 0x31, 0xC9, 0x39, 0xC1, 0xEB, 0x80, 0x90, 0x90, 0x90, 0x90, 0x48, 0x8B, 0x85 }; -// Mojave (EXT) -// PMheart: checked KBEMoja*EXT -// Need to pair with KBEHighSieMoja*SIP -UINT8 KBEMojaSearchEXT[] = { 0xE8, 0xAF, 0x00, 0x00, 0x00, 0xEB, 0x05, 0xE8 }; -UINT8 KBEMojaReplaceEXT[] = { 0xE8, 0xAF, 0x00, 0x00, 0x00, 0x90, 0x90, 0xE8 }; +// Mojave / Catalina (EXT) +// PMheart: checked KBEMojaCata*EXT +// Need to pair with KBEHighSieMoja*SIP (10.13 / 10.14) / KBECata*SIP (10.15) +UINT8 KBEMojaCataSearchEXT[] = { 0xE8, 0xAF, 0x00, 0x00, 0x00, 0xEB, 0x05, 0xE8 }; +UINT8 KBEMojaCataReplaceEXT[] = { 0xE8, 0xAF, 0x00, 0x00, 0x00, 0x90, 0x90, 0xE8 }; // High Sierra / Mojave 10.14 - 10.14.3 (SIP) // PMheart: for 10.14.4+, see KBEMoja4SearchSIP and KBEMoja4ReplaceSIP below // PMheart: checked KBEHighSieMoja3*SIP -// Need to pair with KBEMoja*EXT +// Need to pair with KBEMojaCata*EXT UINT8 KBEHighSieMoja3SearchSIP[] = { 0xC3, 0x48, 0x85, 0xDB, 0x74, 0x69, 0x48, 0x8B, 0x03, 0x48, 0x89, 0xDF, 0xFF, 0x50, 0x28, 0x48 }; UINT8 KBEHighSieMoja3ReplaceSIP[] = { 0xC3, 0x48, 0x85, 0xDB, 0xEB, 0x12, 0x48, 0x8B, 0x03, 0x48, 0x89, 0xDF, 0xFF, 0x50, 0x28, 0x48 }; // Mojave 10.14.4+ (SIP) // PMheart: checked KBEMoja4*SIP -// Need to pair with KBEMoja*EXT +// Need to pair with KBEMojaCata*EXT UINT8 KBEMoja4SearchSIP[] = { 0x48, 0x85, 0xC0, 0x74, 0x6C, 0x48, 0x89, 0xC3, 0x48, 0x8B, 0x00, 0x48, 0x89, 0xDF, 0xFF, 0x50, 0x28, 0x48 }; UINT8 KBEMoja4ReplaceSIP[] = { 0x48, 0x85, 0xC0, 0xEB, 0x15, 0x48, 0x89, 0xC3, 0x48, 0x8B, 0x00, 0x48, 0x89, 0xDF, 0xFF, 0x50, 0x28, 0x48 }; +// Catalina (SIP) +// PMheart: checked +// Need to pair with KBEMojaCata*EXT +UINT8 KBECataSearchSIP[] = { 0x00, 0x85, 0xC0, 0x0F, 0x84, 0x87, 0x00, 0x00, 0x00, 0x49 }; +UINT8 KBECataReplaceSIP[] = { 0x00, 0x85, 0xC0, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x49 }; + // Mojave 10.14 - 10.14.3 // Avoid race condition in OSKext::removeKextBootstrap when using booter kexts without keepsyms=1. // by vit9696 +// Need to pair with KBEMojaCata*EXT and KBEHighSieMoja3*SIP UINT8 KBEMoja3SearchKxldUnmap[] = { 0x00, 0x0F, 0x85, 0xB2, 0x01, 0x00, 0x00, 0x48 }; UINT8 KBEMoja3ReplaceKxldUnmap[] = { 0x00, 0x90, 0xE9, 0xB2, 0x01, 0x00, 0x00, 0x48 }; @@ -687,9 +694,18 @@ // Mojave 10.14.4+ // Avoid race condition in OSKext::removeKextBootstrap when using booter kexts without keepsyms=1. // by PMheart, based on vit9696's work +// Need to pair with KBEMojaCata*EXT and KBEMoja4*SIP UINT8 KBEMoja4SearchKxldUnmap[] = { 0x00, 0x0F, 0x85, 0xB1, 0x01, 0x00, 0x00, 0x48 }; UINT8 KBEMoja4ReplaceKxldUnmap[] = { 0x00, 0x90, 0xE9, 0xB1, 0x01, 0x00, 0x00, 0x48 }; +// Catalina +// Avoid race condition in OSKext::removeKextBootstrap when using booter kexts without keepsyms=1. +// by PMheart, based on vit9696's work +// Need to pair with KBEMojaCata*EXT and KBECata*SIP +UINT8 KBECataSearchKxldUnmap[] = { 0x00, 0x0F, 0x85, 0x7E, 0x01, 0x00, 0x00, 0x48 }; +UINT8 KBECataReplaceKxldUnmap[] = { 0x00, 0x90, 0xE9, 0x7E, 0x01, 0x00, 0x00, 0x48 }; + + // // We can not rely on OSVersion global variable for OS version detection, // since in some cases it is not correct (install of ML from Lion, for example). @@ -718,6 +734,7 @@ UINTN NumHighSieMoja3SIP = 0; // 10.13.X - 10.14.3 UINTN NumMojaEXT = 0; // 10.14.X UINTN NumMoja4SIP = 0; // 10.14.4+ + UINTN NumCataSIP = 0; // 10.15 DBG_RT(Entry, "\nPatching kernel for injected kexts...\n"); @@ -734,8 +751,9 @@ NumSieSIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBESieSearchSIP, sizeof(KBESieSearchSIP)); NumSieDebugSIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBESieDebugSearchSIP, sizeof(KBESieDebugSearchSIP)); NumHighSieMoja3SIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBEHighSieMoja3SearchSIP, sizeof(KBEHighSieMoja3SearchSIP)); - NumMojaEXT = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBEMojaSearchEXT, sizeof(KBEMojaSearchEXT)); // general EXT patch, for all 10.14.x - NumMoja4SIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBEMoja4SearchSIP, sizeof(KBEMoja4SearchSIP)); // SIP patch, ONLY for 10.14.4+ + NumMojaEXT = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBEMojaCataSearchEXT, sizeof(KBEMojaCataSearchEXT)); // general EXT patch, for all 10.14.x + NumMoja4SIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBEMoja4SearchSIP, sizeof(KBEMoja4SearchSIP)); // SIP patch, ONLY for 10.14.4+ + NumCataSIP = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBECataSearchSIP, sizeof(KBECataSearchSIP)); } else { NumSnow_i386_EXT = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBESnowSearchEXT_i386, sizeof(KBESnowSearchEXT_i386)); NumLion_i386_EXT = SearchAndCount(Kernel, KERNEL_MAX_SIZE, KBELionSearchEXT_i386, sizeof(KBELionSearchEXT_i386)); @@ -750,9 +768,14 @@ } // X64 - if (NumMojaEXT == 1) { + if (NumCataSIP == 1) { + Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMojaCataSearchEXT, sizeof(KBEMojaCataSearchEXT), KBEMojaCataReplaceEXT, 1) + + SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBECataSearchSIP, sizeof(KBECataSearchSIP), KBECataReplaceSIP, 1) + + SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBECataSearchKxldUnmap, sizeof(KBECataSearchKxldUnmap), KBECataReplaceKxldUnmap, 1); + DBG_RT(Entry, "==> kernel Catalina: %d replaces done.\n", Num); + } else if (NumMojaEXT == 1) { // apply EXT patch first - Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMojaSearchEXT, sizeof(KBEMojaSearchEXT), KBEMojaReplaceEXT, 1); + Num = SearchAndReplace(Kernel, KERNEL_MAX_SIZE, KBEMojaCataSearchEXT, sizeof(KBEMojaCataSearchEXT), KBEMojaCataReplaceEXT, 1); // then apply corresponding patches based on what we found if (NumMoja4SIP == 1) { // firstly, try to patch 10.14.4+ Index: rEFIt_UEFI/refit/main.c =================================================================== --- rEFIt_UEFI/refit/main.c (revision 4937) +++ rEFIt_UEFI/refit/main.c (working copy) @@ -635,7 +635,8 @@ AsciiStrnCmp(InstallerVersion, "10.11", 5) && AsciiStrnCmp(InstallerVersion, "10.12", 5) && AsciiStrnCmp(InstallerVersion, "10.13", 5) && - AsciiStrnCmp(InstallerVersion, "10.14", 5)) { + AsciiStrnCmp(InstallerVersion, "10.14", 5) && + AsciiStrnCmp(InstallerVersion, "10.15", 5)) { InstallerVersion = NULL; // flag known version was not found } if (InstallerVersion != NULL) { // known version was found in image Thanks!
    3 points
  14. Download legit copy of macOS 10.15 and create bootable ... right from apple Get macOS 10.15 even you are not apple developer. hahahaha Build version: 10.15.0.0.0.1559284795
    3 points
  15. This is how the new macOS separates system data from user's data which actually interesting to separate theme into two volumes.
    2 points
  16. I had a KP with Airport. I removed the Airport Fixup Kext and replaced it with FakePCIID.kext and the Broadcom FakePCIID.kext. That worked for me.
    2 points
  17. Thank you @Cyberdevs. Currently updating my Clover Themes.
    2 points
  18. Install succeed (audio HDMI, ethernet, etc) I disable WEG at start, wait new WEG release
    2 points
  19. Lovely photos!. Thanks chris Here you go files.zip
    2 points
  20. 2 points
  21. Yes, the latest 10.15 usb port limit is confirmed to require only these two patches.and my English is also very bad.
    2 points
  22. @zhengshiqi, HPET is unused on all(?) systems that use XCPM power management from Broadwell or about that time. It looks like my memory failed me, and I provided some outdated news. For DMAR we are preparing a kernel quirk, which will disable VT-d on macOS level. We believe it is a better place than DMAR dropping given that one day we should probably make APTIO VT-d support compatible with macOS. Added as DisableIoMapper in this commit. To support CPU PM in macOS modern boards (starting with Haswell at the very least) using XCMP do not need table dropping for CPU PM support. Legacy systems works fine with dropping. For particular legacy systems (we currently do not have) we believe it should be doable to write compatible ACPI tables with both Windows and macOS. @applCore, OpenCore is supposed to work on Apple hardware just fine, and I will be surprised if it does not. However, you will have to be very careful with UI, it needs to be set to Text mode to make boot picker visible.
    2 points
  23. Successfully installed Catalina 10.15.0 beta_19A471t on my Skylake NUC6i5SYH (Desktop 1 in my signature)... Make sure to update Clover to r4940 and latest Lilu + Plugin kexts. I cloned the system using Disk Utility and was able to boot the cloned disk on my Gigabyte P55a UD3 (Desktop 2 with unsupported non metal ATI HD 5770 graphics). Unsupported MacPro5,1 SMBIOS still works with boot flags -no_compat_check and -nehalem_error_disable... Some Observations on my old Wifi Cards Unfortunately, the Wireless Networking Utility for my ASUS N10 USB wifi no longer works in 10.15, even though the associated RTL8192.kext loads OK (had worked previously from 10.6 to 10.14). Anyone with a USB wifi dongle working in 10.15? I also needed to replace IO80211Family, corecapture and CoreCaptureResponder kexts to get my Atheros 9287/TL-WN881ND Wifi card to work - unlike in Mojave, adding just AirPortAtheros40.kext from 10.13.6 was not enough. Clover_v2.4k_r4940.pkg.zip Kexts.zip
    2 points
  24. The latest TINU seems to work for macOS 10.15 Catalina beta, but i will also make a new version of TINU later this month. In September/October i plan to release a new version of TINU made with the new xcode 11 and the swift 5 language.
    2 points
  25. anyone who test lapic? LAPIC FIX.zip
    2 points
  26. I edited my post and uploaded r4940.
    2 points
  27. try it: #1: com.apple.driver.usb.AppleUSBXHCI find: 83E40F0F replace: 83E43F0F #2: com.apple.driver.usb.AppleUSBXHCI find: 83F90F0F replace: 83F93F0F
    2 points
  28. Available here: https://github.com/Dids/clover-builder/releases
    2 points
  29. At the end, my opinion about your challenge is that if your goal is to be “as fast as you can” you have to provide evidences of it.
    2 points
  30. Here it is Clover_v2.4k_r4945.zip
    2 points
  31. You will need to set up your own EFI. Check the Manual for full details As stated in the manual: Note: Given the above description, 0xF0103 value is expected to allow scanning of SATA, SAS, SCSI, and NVMe devices with APFS file system, and prevent scanning of any devices with HFS or FAT32 file systems in addition to not scanning APFS file systems on USB, CD, USB, and FireWire drives. I use zero to allow all devices and all filesystems.
    2 points
  32. Finally, the end of MBR, and HFS+. It seems we can only use APFS for Catalina, no more patch available for MBR and HFS+ now.
    2 points
  33. EDIT: Sorry! I am extremely stupid! Please see for corrections! Alright, so this would be the fix for FakeCPUID under 10.15 (But sorry, I cannot test!): --- orig-kernel_patcher.c 2019-06-04 05:26:39.000000000 +0800 +++ patched.c 2019-06-04 05:24:43.000000000 +0800 @@ -483,6 +483,18 @@ STATIC UINT8 HSieMojSearchModel[] = {0x89, 0xc1, 0xc0, 0xe9, 0x04}; // Need to use YosECSieSearchExt, LionReplaceModel +// Catalina +/* + This patch searches + mov eax, r12 || mov eax, r12 + shr al, 0x4 || shr eax, 0x10 + and replaces to + mov eax, FakeModel || mov eax, FakeExt + nop || nop +*/ +STATIC UINT8 CataSearchModel[] = {0x44, 0x89, 0xE0, 0xC0, 0xE8, 0x04}; +STATIC UINT8 CataSearchExt[] = {0x44, 0x89, 0xE0, 0xC1, 0xE8, 0x10}; +STATIC UINT8 CataReplaceMovEax[] = {0xB8, 0x00, 0x00, 0x00, 0x00, 0x90}; // mov eax, val || nop BOOLEAN PatchCPUID(UINT8* bytes, UINT8* Location, INT32 LenLoc, UINT8* Search4, UINT8* Search10, UINT8* ReplaceModel, @@ -552,14 +564,22 @@ return; } // High Sierra/Mojave patterns -// Sherlocks: 10.13/10.14.DP1 +// Sherlocks: 10.13/10.14 DBG_RT(Entry, "CPUID: try High Sierra/Mojave patch...\n"); - if (PatchCPUID(kernelData, &StrMsr8b[0], sizeof(StrMsr8b), &HSieMojSearchModel[0], + if (PatchCPUID(kernelData, &StrMsr8b[0], sizeof(StrMsr8b), &CataSearchModel[0], &YosECSieSearchExt[0], &LionReplaceModel[0], &LionReplaceModel[0], sizeof(HSieMojSearchModel), Entry)) { DBG_RT(Entry, "...done!\n"); return; } +// Catalina patterns +// PMheart: 10.15.DP1 + DBG_RT(Entry, "CPUID: try Catalina patch...\n"); + if (PatchCPUID(kernelData, &StrMsr8b[0], sizeof(StrMsr8b), &HSieMojSearchModel[0], + &CataSearchExt[0], &CataReplaceMovEax[0], &CataReplaceMovEax[0], + sizeof(CataSearchModel), Entry)) { + return; + } } // new way by RehabMan 2017-08-13 @Slice Please review this too, thanks!
    2 points
  34. Here's Lilu 1.3.7. Built on Sierra. Untested as I'm still downloading Catalina. 1.3.7 (RELEASE).zip
    2 points
  35. Only @PMheartsolve it for us <3
    2 points
  36. Thanks a lot! EDIT: Please see https://sourceforge.net/p/cloverefiboot/code/4938/ Looks like the logic has slightly been changed, please try this kernel patch (temporarily) with Clover KernelToPatch: find 00 85 C0 0F 84 87 00 00 00 49 repl 00 85 C0 90 90 90 90 90 90 49 Hopefully Clover kext injection works after patching, if it does, I will update the source.
    2 points
  37. Anyone could send me the kernel? Thanks a lot! By the way, boot 10.15 directly with OpenCore As for Clover, I will check the kernel asap
    2 points
  38. FakeSMC+ACPIBattery is no problem for indicator 나의 SM-N960N 의 Tapatalk에서 보냄
    1 point
  39. @all artists Please provide os_cata.icns for your themes!
    1 point
  40. 1 point
  41. hi, @PMheart I have confirmed, remove the #1 patch, just add the #2 patch. It works just like your patch.
    1 point
  42. Sure. Yes, it seems to be working fine,
    1 point
  43. Thanks @PMheart and @arsradu Done
    1 point
  44. OK. So OpenCore boots latest beta macOS 10.15 without any problem! Kext injection is working without any interference. Thanks @vit9696
    1 point
  45. @digital_is_now @Hifi33 Had a further look into this, here is a fix. I don't use sleep myself but glad you flagged this up. See update CodecCommander.kext.zip SSDT-ALC1220.aml.zip
    1 point
  46. NEW BIOS 00.02.77 Rev.A 16.1 MB Apr 30, 2019 https://support.hp.com/nz-en/drivers/selfservice/hp-elitedesk-800-g1-small-form-factor-pc/5387475
    1 point
  47. Great. Thanks for the confirmation. I'll update CloverThemeManager this week. EDIT: Current version is working fine under 10.15 beta 1
    1 point
  48. That's really helpful. I will make sure to re-read your post in future when I decide to return to the macOS scene. And you are definitely correct about the guide being outdated now.
    1 point
×
×
  • Create New...