Jump to content

[pre-release] macOS Catalina


1,679 posts in this topic

Recommended Posts

On 6/4/2019 at 1:56 AM, PMheart said:

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.

Confirming,Your Lapic fix works for beta 2.

 

Ok made a mistake, it is not working turn out i was using cpus=1.

 

Edited by macq
Link to comment
Share on other sites

12 minutes ago, Sherlocks said:

anyone who can install kexts in S/L/E on beta2?

나의 SM-N960N 의 Tapatalk에서 보냄
 

I don't know I post here and no body respond

edit****

If you find some solution please tell me

 

Edited by chris1111
  • Like 1
Link to comment
Share on other sites

I don't know I post here and no body respond

 

right. i'm using my audio kext in S/L/E.

but i can't install it now. now moved in L/E.

now, i can't get audio.

there was no problem with same way on beta1

 

나의 SM-N960N 의 Tapatalk에서 보냄

 

 

 

  • Like 2
Link to comment
Share on other sites

1 minute ago, Sherlocks said:

right. i'm using my audio kext in S/L/E.
but i can't install it now. now moved in L/E.
now, i can't get audio.emoji24.png

나의 SM-N960N 의 Tapatalk에서 보냄
 

Yes but HOW to install in S/L/E ??? :angel_not:

  • Like 1
Link to comment
Share on other sites

12 hours ago, PMheart said:

Hi,

 

I hope this one works under Beta 2:

Clover-4964-lapic-1015dp2-fix.zip

 

And this is the diff for devs to review: (ONLY if it does work)


Index: rEFIt_UEFI/Platform/Settings.c
===================================================================
--- rEFIt_UEFI/Platform/Settings.c	(revision 4964)
+++ rEFIt_UEFI/Platform/Settings.c	(working copy)
@@ -6374,7 +6374,7 @@
           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
+            } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Catalina") || AsciiStrStr (Prop->string, "Install%20macOS%20Catalina%20Beta")) { // FIXME: Remove Beta after final release
               OSVersion = AllocateCopyPool (6, "10.15");
             } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Mojave") || AsciiStrStr (Prop->string, "Install%20macOS%2010.14")) {
               OSVersion = AllocateCopyPool (6, "10.14");
Index: rEFIt_UEFI/Platform/kernel_patcher.c
===================================================================
--- rEFIt_UEFI/Platform/kernel_patcher.c	(revision 4964)
+++ rEFIt_UEFI/Platform/kernel_patcher.c	(working copy)
@@ -709,10 +709,11 @@
       patchLocation = i+1394;
       DBG("Found Mojave (10.14.4 - 10.14.6) Lapic panic at 0x%08x\n", patchLocation);
       break;
-    // PMheart: 10.15.DP1
-    } else if (bytes[i+0] == 0x9E && bytes[i+1] == 0x00 && bytes[i+2] == 0x00 && bytes[i+3] == 0x74 &&
-               bytes[i+4] == 0x0E && bytes[i+5] == 0x8B) {
-      patchLocation = i;
+    // PMheart: 10.15.DP2
+    } else if (bytes[i+0]  == 0x83 && bytes[i+1]  == 0x3D && bytes[i+5]  == 0x00 && bytes[i+6]  == 0x00  &&
+               bytes[i+7]  == 0x74 && bytes[i+8]  == 0x0E && bytes[i+9]  == 0x8B && bytes[i+14] == 0x00 && 
+               bytes[i+15] == 0x85 && bytes[i+16] == 0xC0 && bytes[i+17] == 0x0F && bytes[i+18] == 0x84) {
+      patchLocation = i+7;
       DBG("Found Catalina Lapic panic at 0x%08x\n", patchLocation);
       break;
     }
@@ -724,9 +725,7 @@
   }
 
   // Already patched?  May be running a non-vanilla kernel already?
-  if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00 &&
-      bytes[patchLocation + 2] == 0x00 && bytes[patchLocation + 3] == 0xEB &&
-      bytes[patchLocation + 4] == 0x22 && bytes[patchLocation + 5] == 0x8B) {
+  if (bytes[patchLocation + 0] == 0xEB && bytes[patchLocation + 1] == 0x22) {
     DBG("Lapic panic already patched, kernel file (10.15) manually patched?\n");
     return FALSE;
   } else if (bytes[patchLocation + 0] == 0x90 && bytes[patchLocation + 1] == 0x90 &&
@@ -735,9 +734,9 @@
     DBG("Lapic panic already patched, kernel file (10.6 - 10.14) manually patched?\n");
     return FALSE;
   } else {
-    if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00) {
-      bytes[patchLocation + 3] = 0xEB;
-      bytes[patchLocation + 4] = 0x22;
+    if (bytes[patchLocation + 0] == 0x74 && bytes[patchLocation + 1] == 0x0E) {
+      bytes[patchLocation + 0] = 0xEB;
+      bytes[patchLocation + 1] = 0x22;
     } else {
       bytes[patchLocation + 0] = 0x90;
       bytes[patchLocation + 1] = 0x90;

 

EDIT: Do NOT forget to enable KernelLapic patch in config.plist!!!

@PMheart

THIS did not work for me, has any one else reported success for lapic fix with this patch.

 

Any suggestions

Regards

 

Link to comment
Share on other sites

Just now, simmel said:

Did you try


# mount -o rw /

?

Not really try  

because I need good Solution inside the system because in Beta 1 that's not an issue to install on S/L/E

  • Like 1
Link to comment
Share on other sites

7 minutes ago, Sherlocks said:

i tried all of SIP. no luckemoji21.png

나의 SM-N960N 의 Tapatalk에서 보냄
 

I'm still using

<key>RtVariables</key>
<dict>
	<key>BooterConfig</key>
	<string>0x28</string>
	<key>CsrActiveConfig</key>
	<string>0x67</string>
</dict>

and that gives me write access to /S/L/E after mounting / read-write.

  • Like 1
Link to comment
Share on other sites

1 hour ago, artur_pt said:

hello sherlocks

 

clover need update platformdata.c

 

with new values for new beta CATALINA

 

thanks

I updated locally, are Catalina DP2's Platform Datas newer than 05/25/2019? Thanks.

 

 

platformdata.c.diff

r4964_PlatformData_Upd.zip

Edited by Badruzeus
Link to comment
Share on other sites

9 minutes ago, simmel said:

I'm still using


<key>RtVariables</key>
<dict>
	<key>BooterConfig</key>
	<string>0x28</string>
	<key>CsrActiveConfig</key>
	<string>0x67</string>
</dict>

and that gives me write access to /S/L/E after mounting / read-write.

 

my csr is 0x77

how can i mount mounting / read-write?

i typed that you mentioned, but i can't

sherlocks@Sherlocksui-MacBookPro ~ % sudo mount -o rw /           

Failed to stat file //AppleInternal, error No such file or directory

sherlocks@Sherlocksui-MacBookPro ~ % 

 

15 minutes ago, artur_pt said:

hello sherlocks

 

clover need update platformdata.c

 

with new values for new beta CATALINA

 

thanks

 

okay

Link to comment
Share on other sites

3 minutes ago, Sherlocks said:

sherlocks@Sherlocksui-MacBookPro ~ % sudo mount -o rw /           

 

Failed to stat file //AppleInternal, error No such file or directory

sherlocks@Sherlocksui-MacBookPro ~ %

You can ignore that. Root should be remounted properly now. It works for me and I get this error too.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Hi

 

I found that: Apple will use driverkit instead of kexts kernels. Driverkit

 

First blocked, then deprecated, good old "kexts" will give way to a new system of drivers executed in the user space. 

drivers go from "kernel mode" to "user mode", and will no longer be able to cause kernel panic. DriverKit is designed to replace the most common kernel extensions, which fall into seven categories identified by Apple:

virtualization;

  • access control apparatus (card readers ...);
  • network cards;
  • human-machine interfaces (pointing devices, accessibility devices ...);
  • network and VPN;
  • printers and scanners; serial port devices.

 


Future versions of macOS will no longer support kexts falling into these categories.

 

sorry bout my bad english

1.jpg

Edited by Matgen84
  • Like 4
  • Thanks 1
Link to comment
Share on other sites

Launchpad applications missing in macOS Catalina????

 

Try This!

 

Instead of it auto-adding apps to Launchpad, now you have to drag them there (i.e. on top of the silver icon) selecting all the apps  from your applications folder and drag it on  to Launchpad Icon.

  • Like 1
Link to comment
Share on other sites

Hi PMHeart

I installed FakePCIID.kext FakePCIID_Broadcom_WiFi.kext  worked perfectly but I couldn't patch country code which I live in saudi arab 

I tried with Airportbrcmfxup.kext but kernel panic issue on macOS Catalina 10.15 beta 2 how to patch country code by binary

Link to comment
Share on other sites

17 hours ago, PMheart said:

Hi,

 

I hope this one works under Beta 2:

Clover-4964-lapic-1015dp2-fix.zip

 

And this is the diff for devs to review: (ONLY if it does work)


Index: rEFIt_UEFI/Platform/Settings.c
===================================================================
--- rEFIt_UEFI/Platform/Settings.c	(revision 4964)
+++ rEFIt_UEFI/Platform/Settings.c	(working copy)
@@ -6374,7 +6374,7 @@
           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
+            } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Catalina") || AsciiStrStr (Prop->string, "Install%20macOS%20Catalina%20Beta")) { // FIXME: Remove Beta after final release
               OSVersion = AllocateCopyPool (6, "10.15");
             } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Mojave") || AsciiStrStr (Prop->string, "Install%20macOS%2010.14")) {
               OSVersion = AllocateCopyPool (6, "10.14");
Index: rEFIt_UEFI/Platform/kernel_patcher.c
===================================================================
--- rEFIt_UEFI/Platform/kernel_patcher.c	(revision 4964)
+++ rEFIt_UEFI/Platform/kernel_patcher.c	(working copy)
@@ -709,10 +709,11 @@
       patchLocation = i+1394;
       DBG("Found Mojave (10.14.4 - 10.14.6) Lapic panic at 0x%08x\n", patchLocation);
       break;
-    // PMheart: 10.15.DP1
-    } else if (bytes[i+0] == 0x9E && bytes[i+1] == 0x00 && bytes[i+2] == 0x00 && bytes[i+3] == 0x74 &&
-               bytes[i+4] == 0x0E && bytes[i+5] == 0x8B) {
-      patchLocation = i;
+    // PMheart: 10.15.DP2
+    } else if (bytes[i+0]  == 0x83 && bytes[i+1]  == 0x3D && bytes[i+5]  == 0x00 && bytes[i+6]  == 0x00  &&
+               bytes[i+7]  == 0x74 && bytes[i+8]  == 0x0E && bytes[i+9]  == 0x8B && bytes[i+14] == 0x00 && 
+               bytes[i+15] == 0x85 && bytes[i+16] == 0xC0 && bytes[i+17] == 0x0F && bytes[i+18] == 0x84) {
+      patchLocation = i+7;
       DBG("Found Catalina Lapic panic at 0x%08x\n", patchLocation);
       break;
     }
@@ -724,9 +725,7 @@
   }
 
   // Already patched?  May be running a non-vanilla kernel already?
-  if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00 &&
-      bytes[patchLocation + 2] == 0x00 && bytes[patchLocation + 3] == 0xEB &&
-      bytes[patchLocation + 4] == 0x22 && bytes[patchLocation + 5] == 0x8B) {
+  if (bytes[patchLocation + 0] == 0xEB && bytes[patchLocation + 1] == 0x22) {
     DBG("Lapic panic already patched, kernel file (10.15) manually patched?\n");
     return FALSE;
   } else if (bytes[patchLocation + 0] == 0x90 && bytes[patchLocation + 1] == 0x90 &&
@@ -735,9 +734,9 @@
     DBG("Lapic panic already patched, kernel file (10.6 - 10.14) manually patched?\n");
     return FALSE;
   } else {
-    if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00) {
-      bytes[patchLocation + 3] = 0xEB;
-      bytes[patchLocation + 4] = 0x22;
+    if (bytes[patchLocation + 0] == 0x74 && bytes[patchLocation + 1] == 0x0E) {
+      bytes[patchLocation + 0] = 0xEB;
+      bytes[patchLocation + 1] = 0x22;
     } else {
       bytes[patchLocation + 0] = 0x90;
       bytes[patchLocation + 1] = 0x90;

 

EDIT: Do NOT forget to enable KernelLapic patch in config.plist!!!

Hi. Just tried it and it still doesn't work. I keep getting the Local APIC panic without cpus=1. Please check my CLOVER folder and let me know if I'm missing something.

CLOVER.zip

17 hours ago, PMheart said:

Hi,

 

I hope this one works under Beta 2:

Clover-4964-lapic-1015dp2-fix.zip

 

And this is the diff for devs to review: (ONLY if it does work)


Index: rEFIt_UEFI/Platform/Settings.c
===================================================================
--- rEFIt_UEFI/Platform/Settings.c	(revision 4964)
+++ rEFIt_UEFI/Platform/Settings.c	(working copy)
@@ -6374,7 +6374,7 @@
           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
+            } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Catalina") || AsciiStrStr (Prop->string, "Install%20macOS%20Catalina%20Beta")) { // FIXME: Remove Beta after final release
               OSVersion = AllocateCopyPool (6, "10.15");
             } else if (AsciiStrStr (Prop->string, "Install%20macOS%20Mojave") || AsciiStrStr (Prop->string, "Install%20macOS%2010.14")) {
               OSVersion = AllocateCopyPool (6, "10.14");
Index: rEFIt_UEFI/Platform/kernel_patcher.c
===================================================================
--- rEFIt_UEFI/Platform/kernel_patcher.c	(revision 4964)
+++ rEFIt_UEFI/Platform/kernel_patcher.c	(working copy)
@@ -709,10 +709,11 @@
       patchLocation = i+1394;
       DBG("Found Mojave (10.14.4 - 10.14.6) Lapic panic at 0x%08x\n", patchLocation);
       break;
-    // PMheart: 10.15.DP1
-    } else if (bytes[i+0] == 0x9E && bytes[i+1] == 0x00 && bytes[i+2] == 0x00 && bytes[i+3] == 0x74 &&
-               bytes[i+4] == 0x0E && bytes[i+5] == 0x8B) {
-      patchLocation = i;
+    // PMheart: 10.15.DP2
+    } else if (bytes[i+0]  == 0x83 && bytes[i+1]  == 0x3D && bytes[i+5]  == 0x00 && bytes[i+6]  == 0x00  &&
+               bytes[i+7]  == 0x74 && bytes[i+8]  == 0x0E && bytes[i+9]  == 0x8B && bytes[i+14] == 0x00 && 
+               bytes[i+15] == 0x85 && bytes[i+16] == 0xC0 && bytes[i+17] == 0x0F && bytes[i+18] == 0x84) {
+      patchLocation = i+7;
       DBG("Found Catalina Lapic panic at 0x%08x\n", patchLocation);
       break;
     }
@@ -724,9 +725,7 @@
   }
 
   // Already patched?  May be running a non-vanilla kernel already?
-  if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00 &&
-      bytes[patchLocation + 2] == 0x00 && bytes[patchLocation + 3] == 0xEB &&
-      bytes[patchLocation + 4] == 0x22 && bytes[patchLocation + 5] == 0x8B) {
+  if (bytes[patchLocation + 0] == 0xEB && bytes[patchLocation + 1] == 0x22) {
     DBG("Lapic panic already patched, kernel file (10.15) manually patched?\n");
     return FALSE;
   } else if (bytes[patchLocation + 0] == 0x90 && bytes[patchLocation + 1] == 0x90 &&
@@ -735,9 +734,9 @@
     DBG("Lapic panic already patched, kernel file (10.6 - 10.14) manually patched?\n");
     return FALSE;
   } else {
-    if (bytes[patchLocation + 0] == 0x9E && bytes[patchLocation + 1] == 0x00) {
-      bytes[patchLocation + 3] = 0xEB;
-      bytes[patchLocation + 4] = 0x22;
+    if (bytes[patchLocation + 0] == 0x74 && bytes[patchLocation + 1] == 0x0E) {
+      bytes[patchLocation + 0] = 0xEB;
+      bytes[patchLocation + 1] = 0x22;
     } else {
       bytes[patchLocation + 0] = 0x90;
       bytes[patchLocation + 1] = 0x90;

 

EDIT: Do NOT forget to enable KernelLapic patch in config.plist!!!

Hi. Just tried it and it still doesn't work. I keep getting the Local APIC panic without cpus=1. Please check my CLOVER folder and let me know if I'm missing something.

Link to comment
Share on other sites

5 hours ago, Sherlocks said:

anyone who can install kexts in S/L/E on beta2?

나의 SM-N960N 의 Tapatalk에서 보냄
 

 

What about using the terminal?

 

e.g :

 


sudo cp -R /path_to_your_kext /System/Library/Extensions

 

It worked for me without having to remount the drive (with SIP disabled ofc).

  • Like 1
Link to comment
Share on other sites

10 minutes ago, polyzargone said:

 

What about using the terminal?

 

e.g :

 

 


sudo cp -R /path_to_your_kext /System/Library/Extensions

 

It worked for me without having to remount the drive (with SIP disabled ofc).

Thats not work see other forum like unsupported Mac, its the same for all

 

New command from AsentientBot

sudo mount -uw /

killall Finder

Edited by chris1111
  • Like 1
Link to comment
Share on other sites

Well, it did for me :

 


polyzargone@MacBook-Optimus ~ % sudo cp -R /Volumes/ESP/EFI/CLOVER/kexts/Other/BrcmBluetoothInjector.kext /System/Library/Extensions
Password:
polyzargone@MacBook-Optimus ~ %

 

914625274_Capturedecran2019-06-18a19_43_44.thumb.png.a0bbbf54c3ed94842e958adf97e9061b.png

 

CsrActiveConfig is set as 0x3E7

 

Unsupported Mac are… Mac so maybe that explains why it fails…

  • Like 1
Link to comment
Share on other sites

5 minutes ago, polyzargone said:

Well, it did for me :

 

 


polyzargone@MacBook-Optimus ~ % sudo cp -R /Volumes/ESP/EFI/CLOVER/kexts/Other/BrcmBluetoothInjector.kext /System/Library/Extensions
Password:
polyzargone@MacBook-Optimus ~ %

 

 

 

CsrActiveConfig is set as 0x3E7

 

Unsupported Mac are… Mac so maybe that explains why it fails…

I have Mac Book Pro and 4 Hackintosh and its not working on beta 2 here so you are lucky

Edited by chris1111
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...