Jump to content

1,149 posts in this topic

Recommended Posts

Alternative method to create a Catalina installer app

Download the Python script here https://github.com/munki/macadmin-scripts/blob/master/installinstallmacos.py

Run the script using the new update catalog url https://swscan.apple.com/content/catalogs/others/index-10.15seed-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz

sudo /usr/bin/python installinstallmacos.py --raw --seedprogram DeveloperSeed --catalogurl https://swscan.apple.com/content/catalogs/others/index-10.15seed-10.15-10.14-10.13-10.12-10.11-10.10-10.9-mountainlion-lion-snowleopard-leopard.merged-1.sucatalog.gz

 

Share this post


Link to post
Share on other sites
Advertisement

Here's my submission to add to the few laptops on this thread. To be honest, this was the easiest upgrade of macOS on a hackintosh I've ever had. I just ran the installer, and everything worked, which is pretty surprising considering I was upgrading from macOS Sierra. My ALPS touchpad works flawlessly with multitouch, and Audio works with my ALC292.

 

Now my big gripe, the performance. I had upgraded to Mojave Beta 1, and then a month later went back to Sierra due to the performance issues I faced, and I feel like it has gotten worse with Catalina. I think this is because of APFS, or maybe it's just because it's a beta and I should just wait for a full release. If anyone has a short term solution I can apply, though, I'd be happy to try anything (anything that isn't installing an SSD or upgrading RAM) because the last 2 macOS updates have made my hackintosh unusable.

Screen Shot 2019-06-03 at 8.35.09 PM.png

Share this post


Link to post
Share on other sites
1 hour ago, errorexists said:

-alcbeta and -lilubeta  should not be needed

 

Thanks @errorexists but im try your kext, without success...so many thanks to efforts !!!! Someone try play something with iTunes, especially radio stations? 

Share this post


Link to post
Share on other sites
Posted (edited)
8 hours ago, PMheart said:

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

 

 

Hi @PMHeart

This CPUID patch, when used, seems to hang the kernel.

Edited by Pene

Share this post


Link to post
Share on other sites
4 minutes ago, Pene said:

 

Hi @PMHeart

This CPUID patch, when used, seems to hang the kernel.

Hi, indeed, I made a very stupid typo... Sorry!

 

Please see: 

 

 

Or... Do you mean that it is even broken with my corrections?!

Share this post


Link to post
Share on other sites
7 hours ago, PMheart said:

As for Kernel Lapic patch, the code looks very different, I haven't come up with an idea how to patch it, sorry, it has been too late here, I feel like taking a nap now...

 

Sorry,

PMheart

News on Kernel Lapic:

 

Looks like the method we used to patch Lapic panic is kind of complex nowadays, and the data in 10.15 kernel really looks brand-new. For now I only want to post the patch (NOT guaranteed to work), and wait for the next Beta to check further.

 

Please try this kernel patch for 10.15 Beta 1:

9E 00 00 74 0E 8B -> 9E 00 00 EB 22 8B

Share this post


Link to post
Share on other sites

I have Catalina up and running but cannot get video kexts loaded.  I'm hoping it's just a matter of waiting for Lilu and WEG to be updated for 10.15.  Also, my Broadcom Wifi card caused a KP when using AirportBrcmFixup.kext.  When I reverted to FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext, wifi worked fine.  If anyone has any tips for loading intel IGPU kexts, let me know.

Share this post


Link to post
Share on other sites
Posted (edited)
33 minutes ago, PMheart said:

Or... Do you mean that it is even broken with my corrections?!

No, didn't notice that post.

Committed as r4940, now need to test and see.

Edited by Pene

Share this post


Link to post
Share on other sites
16 minutes ago, mnfesq said:

I have Catalina up and running but cannot get video kexts loaded.  I'm hoping it's just a matter of waiting for Lilu and WEG to be updated for 10.15.  Also, my Broadcom Wifi card caused a KP when using AirportBrcmFixup.kext.  When I reverted to FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext, wifi worked fine.  If anyone has any tips for loading intel IGPU kexts, let me know.

Have u try -lilubetall ? Works for me.. (and for sure we need updates) :)

Share this post


Link to post
Share on other sites
6 minutes ago, Pene said:

No, didn't notice that post.

 Committed as r4940, now need to test and see.

Thanks! Could you please try it? (i.e pass a value that would not trigger a panic, if you should be using your Z390 as shown in your signature, you could try 0x0306C3 (or 0x3C as how Clover/XNU parses it), which is Haswell)

 

And then run something like

 

sysctl machdep.cpu.model

 

See if the result is 60. (0x3C in hex)

Share this post


Link to post
Share on other sites

Here's a weird thing. Not that I've got it going (ACPI stall, then get to the apple logo then blank screen) but what it has done is split my volume up into the OS and data. But the data has some other stuff in it - screenshot:

 

498474286_ScreenShot2019-06-04at3_25_33PM.png.428133567fcfd13031168a588cf29b14.png

1709449383_ScreenShot2019-06-04at3_26_34PM.png.abec143e71ab88bf1726f0c2474a819b.png

No sign of the apps that were installed previous. So just to be clear, I had a few volumes - OSX, OSXbac and OSXHS now I have four - OSX and OSX data, OSXbak and OSXHS.

I'll try a clean install now :)

This is on my Zenbook

Share this post


Link to post
Share on other sites
6 hours ago, foxlet said:

R9 270x acceleration still works under Catalina.568600255_ScreenShot2019-06-03at9_14_29PM.thumb.png.c47983b385d889fab7970bfc86c3ea0a.png

Does this mean OpenGL still works? Have you tried OpenGL only apps.

Share this post


Link to post
Share on other sites
52 minutes ago, PMheart said:

Thanks! Could you please try it? (i.e pass a value that would not trigger a panic, if you should be using your Z390 as shown in your signature, you could try 0x0306C3 (or 0x3C as how Clover/XNU parses it), which is Haswell)

 

And then run something like

 

sysctl machdep.cpu.model

 

See if the result is 60. (0x3C in hex)

Sure.

Yes, it seems to be working fine,

Share this post


Link to post
Share on other sites
2 minutes ago, Pene said:

Sure.

Yes, it seems to be working fine,

Great! Thanks a lot!

21 minutes ago, Cyberdevs said:

Hi,

 

Just want to get everyone's forgiveness. :P

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

Share this post


Link to post
Share on other sites
28 minutes ago, PMheart said:

Great! Thanks a lot!

Hi,

 

Just want to get everyone's forgiveness. :P

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

you are a hero! So what's the dvmt and Usb port limit patch in 10.15 db1 please :blush:

Share this post


Link to post
Share on other sites
Posted (edited)
2 hours ago, Ricky1994 said:

you are a hero! So what's the dvmt and Usb port limit patch in 10.15 db1 please :blush:

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?! :D)

 

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

 

Edited by PMheart

Share this post


Link to post
Share on other sites

try it:

#1:
com.apple.driver.usb.AppleUSBXHCI
find: 83E40F0F
replace: 83E43F0F

#2:
com.apple.driver.usb.AppleUSBXHCI
find: 83F90F0F
replace: 83F93F0F

 

Xnip2019-06-04_16-40-42.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By eliot6001
      I don't know whether my LAN device will work on MAC and Which version of mac but i still want to run MAC on my PC, Also i checked my CPU-GPU and it turned out that i can Run MAX High sierra but i realized that some people have trouble with Sound and Internet connection so Here's the NAME of my LAN device:
       
      PCI\VEN_10EC&DEV_8136&SUBSYS_012310EC&REV_05\4&45F2A70&0&00E1 as (LAN DEVICE took the name from device manager in  windows). 
      also from compatibleIds i got this:
      PCI\VEN_10EC&DEV_8136&REV_05
       
      Is it Supported on any version of macOS ?
    • By Aldaro
      I have been running macOS Mojave on my system for 3 months and everything was working pretty well.  After taking an update for clover, my entire system got wrecked, and I cannot even boot to an installation environment anymore (which I really need to do since I am starting back at square one).  I still have the old EFI folder backed up, but I know it'll only be a matter of time before Apple introduces an update that requires me to update Clover in order to work correctly.  I have tried all the available memory fixes, but none of them seem to work.  I was previously using the original osxaptiofix; so, I gave v2, and v3 a try, but to no success.  I read somewhere on the main discussion board for clover that AptioMemoryFix was no longer going to be supported and I therefor decided to skip over it (not to mention it isn't even available in newer clover installation packages).
       
      System specs:
      Motherboard: GIGABYTE Z390 M GAMING
      CPU Intel core i5 9600k @ stock 3.7GHz
      RAM 32GB DDR4 2667MHz
      GPU AMD Radeon RX 580 with 8GB of GDDR5
      SSD Intel 660p 512GB NVME
      NIC: Intel i210 10/100/1000 as it is natively supported in macOS
       
      I have been using the iMac 19,1 SMBIOs as I built this machine to match it as close as humanly possible.  As for my UEFI settings, I did the usual:
      Disabled Windows specific features and secure boot
      Enabled XHCI hand off
      Enabled Above 4G decoding
      Disabled onboard NIC since it is made irrelevant by my intel i210
       
      --INJECT KEXTS--
      FakeSMC
      Lilu
      WhateverGreen
      AppleALC
      USBInjectAll -- WITH PATCHED SSDT in /EFI/CLOVER/ACPI/patched
      Below are images of the errors I am receiving when trying to boot the macOS Mojave installer.
       
      with original osxaptiomemoryfix

       
      osxaptiofixv2

       
      osxaptiofixv3

       
      Anyway, if somebody can help me figure out what's going on, that'd be greatly appreciated.  My ultimate goal is to get an install with minimal clover patches as to be better prepared when the winds of change from Apple come roaring.
       
      p.s: I have also attached a copy of my EFI folder
       
       
      EFI.zip
    • By kalpesh2804
      Laptop Inbuilt Wifi and Battery Indicator not working in Catalina. (HP Pavilion 15t-au 100 Laptop)
       
       
      Laptop Config:
      HP Pavilion 15t-au100 * i7-7500u 2.90Ghz * Intel HD 620 Graphic Adapter * Intel Dual Band Wireless AC-3168 * Kingston SATA3 SSD 500 GB * HP Camera
×