Jump to content
tonyx86

Catalina on Dell Latitude E6410 (Nvidia Graphics) With Working Sleep

242 posts in this topic

Recommended Posts

27 minutes ago, tonyx86 said:

 

I just noticed that you ordered a Brcm module different from the one I'm using.  There were reasons I selected Broadcom BCM 94352HMB after a bit of research and I'm sure there are others that will work, too.  Let us know how the 94360 works for you.

 

I have one BRM9460CS2 board and can confirm that it works nicely with a properly adaptation with a original MacBook antenna plug. The antennas plugs are different to connect to Dell Latitude. Apple use a "mini" connector that wont fits on the E6XXX series and another laptops (case that I believe is the same used in the BRM94360HMB board ordered by @unilock, unfortunatley). Besides, this model of card, from the images I researched, has 3 connectors for the antennas and the laptop has only two. I don't know how much work it will take to figure out how to make it work fully. Good luck.

Share this post


Link to post
Share on other sites
Advertisement
57 minutes ago, vbmota said:

 

I have one BRM9460CS2 board and can confirm that it works nicely with a properly adaptation with a original MacBook antenna plug. The antennas plugs are different to connect to Dell Latitude. Apple use a "mini" connector that wont fits on the E6XXX series and another laptops (case that I believe is the same used in the BRM94360HMB board ordered by @unilock, unfortunatley). Besides, this model of card, from the images I researched, has 3 connectors for the antennas and the laptop has only two. I don't know how much work it will take to figure out how to make it work fully. Good luck.

Attached is a picture of the BCM94352HMB in my Latitude E6410.  My laptop has 3 mini-coax cables, but I only used two of them as shown.  The original Intel card had 3 coax connectors.

BCM94352HMB.jpg

Share this post


Link to post
Share on other sites

@tonyx86 @vbmota

 

My BCM94360HMB (AW-CB160H) arrived today. Indeed, it has three MHF4 antennae rather than two U.FL antennae, the latter of which being what the E6410 is equipped for. I now have some adapter cables on the way; they're shipping from China, so they'll probably get here within my lifetime.

In the meantime, Wi-Fi seems to work well enough without antennae, as my router is located directly beside my desk. Bluetooth, too, works short range, though it should be noted that I had to tape over the Bluetooth disable pins (5 and 51) in order to get it to power on under any OS. I also had to disable Bluetooth in BIOS (to turn off the built-in module). I can now turn Bluetooth on/off from the menubar, though!

Unfortunately, I'm running into the issue where it takes a few minutes after boot for the Wi-Fi hardware to turn on. I have the latest Lilu + BrcmPatchRAM3 + BrcmBluetoothData + BrcmBluetoothInjector installed, so I'm not sure what the issue is.

 

I've been messing with my accursed modular bay HDD caddy, as well. I tried putting my boot drive in it, from which macOS started just fine, but it still ended up at the expected white screen after a while. When it's not crashing the system, whatever HDD I have plugged into the bay is properly recognized by model under System Information.app. I have no idea what the problem could be here.

 

On an unrelated note, I tried turning on my WWAN card in BIOS to see if macOS would recognize it. Surprisingly, it does; however, it shows up in System Information.app only as a USB device, not a WWAN device. Oh well. Maybe it would work better if I had a SIM card installed in my laptop.

Share this post


Link to post
Share on other sites

@unilock If you'd like opinions on your issues, please attach your Black.Dragon problem reporting files to your post.

 

EDIT: have your researched the expected signal attenuation caused by the adapter cables?

Edited by tonyx86

Share this post


Link to post
Share on other sites

EDIT 2: If you are unable to turn-on Bluetooth, see Known Issues in Post #1.

 

EDIT: I have isolated this bluetooth issue to occur only if I turn-off bluetooth before shutting down.  If I leave bluetooth on (or at least make sure bluetooth is on before shutting down), bluetooth is reliably available after each boot and I am able to turn bluetooth off and back on within a session.  I hadn't seen this before, because I was leaving bluetooth on.  I will continue to monitor to see if I can isolate more specifics about this behavior on my Latitude E6410 with BCM94352HMB.

 

There is something wrong with bluetooth after I switched from Brcm kexts version 2.5.0 to 2.5.1.  I had guessed that it was a firmware update issue, but I don't think that is the problem (at least I don't think it's the only problem).  I also am not certain that this started with 2.5.1, since I didn't test bluetooth very rigorously for version 2.5.0.  I am not always able to turn-on bluetooth after a  cold boot and don't know the problem. Will look at this more when I have time and welcome testing help from others.  My system is currently running with version 2.5.1 Brcm kexts in /L/E.

 

Bluetooth in Mojave on my Latitude E6410 is solid, so this problem is specific to Catalina.  I have no problems with Wi-Fi.

Edited by tonyx86

Share this post


Link to post
Share on other sites

@tonyx86 Attaching logs would help, wouldn't it? My bad.

I've generated three archives using gen_debug.zip:

debug_no-bay.zip = generated without modular bay HDD caddy inserted

debug_bay-data.zip = generated with modular bay HDD caddy inserted, containing a secondary HDD for data

debug_bay-boot.zip = generated with modular bay HDD caddy inserted, containing the boot SSD

(the sum of the archives exceeds InsanelyMac's upload size limit)

 

The adapter cables are only 5cm long, so I can't imagine they'll contribute much to signal attenuation. If they do, then the signal will still likely remain "good enough" for my purposes. Hell, I can get a tolerable signal as it is.

Edited by unilock

Share this post


Link to post
Share on other sites

Upgrade to 10.15.3 is painless.  I followed my instructions in Post #1 to update Catalina from 10.15.2 to 10.15.3.  So far, I haven't found the need to re-apply the Legacy Video patch.

 

Keep using VoodooHDA.kext with 10.15.3.  Use of AppleALC causes delayed Wi-Fi connection.

 

Bluetooth and Wi-Fi appear to work perfectly following sleep / wake with no delay in availability of bluetooth and Wi-Fi after wake.  In fact, bluetooth and wi-fi are available immediately after wake in 10.15.3.  Credit to @RehabMan's USBInjectAll.kext and his custom SSDT instructions for leading to the perfect USB behavior on this Dell Latitude E6410.

Screen Shot 2020-01-28 at 11.40.11 PM.png

Edited by tonyx86
Removed incorrect reference to delayed Wi-Fi connection

Share this post


Link to post
Share on other sites
53 minutes ago, james487 said:

Hey ! My problem screen is resolved but I have a new problem :-(  I have a graphics problem and my display is not detect is unknow (inconnu in french) ! and I find that the computer is slow

 

Please post your problem reporting files which you can obtain using Black.Dragon's problem reporting tool (Google it).  Thank you.

Share this post


Link to post
Share on other sites
9 hours ago, tonyx86 said:

 

Please post your problem reporting files which you can obtain using Black.Dragon's problem reporting tool (Google it).  Thank you.

Where’s the tool ? I can't find it with google :-( 

Edited by james487

Share this post


Link to post
Share on other sites
5 hours ago, james487 said:

Where’s the tool ? I can't find it with google :-( 

@james487 - Making a Hackintosh work and then maintaining it so that it continues to work is challenging - it is NOT easy.  By far, the easiest step in solving your issues is Googling for the black.dragon problem reporting tool.  That's not meant to intimidate you or discourage you - I'm just setting your expectations so that you understand the work that you'll be expected to do to solve your issues.  That said, Google 'GENERATE PROPER PROBLEM REPORTING FILES black.dragon74.'

Edited by tonyx86

Share this post


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

 This is a joke - right?

 

 do you have a video that explains how we do it? maybe check my computer with anydesk software

Thank you a lot
 
 
 

Share this post


Link to post
Share on other sites

I can confirm that the same Wi-Fi issue occurs with the BCM94360HMB (AW-CB160H), although this is true for 10.15.2 as well.

As far as I know, these are the only two chipsets that are "natively" supported by macOS Catalina. Note that I've yet to update to 10.15.3, although I doubt much will change, considering @tonyx86 is facing the same issue on that version.

Share this post


Link to post
Share on other sites
On 2/1/2020 at 11:42 AM, unilock said:

I can confirm that the same Wi-Fi issue occurs with the BCM94360HMB (AW-CB160H), although this is true for 10.15.2 as well.

As far as I know, these are the only two chipsets that are "natively" supported by macOS Catalina. Note that I've yet to update to 10.15.3, although I doubt much will change, considering @tonyx86 is facing the same issue on that version.

 

Deleting my original response now that I understand the problem.  Use VoodooHDA 2.9.2 v14 installer package and NOT AppleALC.

Edited by tonyx86
Corrected response to indicate that AppleALC is the problem

Share this post


Link to post
Share on other sites

I have determined that the delayed Wi-Fi problem is related to sound.  This sounds as crazy to me as it sounds to you (no pun intended :) ).  Use VoodooHDA 2.9.2 v14 pkg installer (select classic install method) and NOT AppleALC.  I have installed VoodooHDA version 2.9.2 v14 and it is working well for me.  I discovered this sound-related issue when I switched back to Catalina 10.15.2 and still had the delayed Wi-Fi problem.

 

I have added a note to post #1 in this thread indicating that AppleALC should be avoided.

 

Details:

When I reverted to 10.15.2 after having the "delayed Wi-Fi" problem in 10.15.3, I had the same problem.  I did a clean install of 10.15.2 and had not yet installed sound.  I tried AppleALC and while sound worked, Wi-Fi acquisition was still delayed.  I removed AppleALC and installed VoodooHDA and the Wi-Fi problem is resolved.  

 

While trying to figure out the Wi-Fi problem, I noticed that Wi-Fi would connect immediately after there was an AppleHDA event that I observed in IORegistryExplorer.  I suspect that the Wi-Fi problem is "fixed" when VoodooHDA installs AppleHDADisabler.

Edited by tonyx86

Share this post


Link to post
Share on other sites

EDIT: I have updated post #1 to the new baseline for 10.15.3.

 

EDIT 2: See Known Issues in Post #1 for Bluetooth work-around

 

I can confirm that Wi-Fi, Bluetooth, sleep ... all works perfectly after upgrading to 10.15.3.  Continue to use VoodooHDA 2.9.2 v14 and don't use AppleALC.

 

My current baseline includes the following (I'll update post #1 after further testing):

  • Catalina 10.15.3
  • CLOVER v2.5k r5103
  • DosDude Catalina Patcher: v1.3.0
  • Lilu.kext 1.4.1
  • BrcmFirmwareRepo.kext 2.5.1
  • BrcmBluetoothInjector.kext 2.5.1
  • BrcmPatchRAM3.kext 2.5.1
  • IntelMausiEthernet.kext 2.5.0

  • VoodooHDA.kext 2.9.2 v14 (NOT AppleALC)

Edited by tonyx86

Share this post


Link to post
Share on other sites
12 minutes ago, james487 said:

hi ! I have a problem with my dell E6410 my display is Unknown :( Thank you for your support

my efi is here 

https://www.mediafire.com/file/2hbr1x3rwepgbn3/EFI.zip/file

MacBook Pro de Jean.ioreg

 

I'm not sure where to start.  You're still not using black.dragon74's problem reporting tool to provide the info I requested, you didn't follow my instructions in post #1, you have nv_disable=1 clover boot flag when you should not for Catalina, your MacModel is set to MacBookPro9,1 and not MacBookPro6,2.  Please read post #1 VERY CAREFULLY and follow the instructions EXACTLY.  

 

As a newbie, you probably don't understand, so let me explain how this works: I'm providing this info without any compensation and without getting anything in return.  I don't work for InsanelyMac, so my opinions are mine, their opinions are theirs and they permit me and others to post here as long as we don't offend anyone (at least not too seriously - I'm generally offensive).  My hope is that by helping others, you help me to learn and to solve issues with my own equipment.  When you have followed my instructions in Post #1 and you are certain that you have your Hackintosh configured EXACTLY as I have specified, post here with your issues (if any remain).  You WILL need to search the web to learn the basics.  If you don't understand something, search for it.  You are not going to maintain your hackintosh if you don't understand why and what you're doing to install it.

Share this post


Link to post
Share on other sites

Catalina's read-only file permissions may interfere with your installation of black.dragon74's gen_debug.  If you're having problems installing gen_debug, try the attached gen_debug by copying it to your Desktop.  After you copy to your Desktop, open terminal and change file attributes by executing 'chmod a+x ~/Desktop/gen_debug'

 

Run it from terminal by cd'ing to your Desktop and executing ./gen_debug

 

I'm not a script guru, so forgive me if these instructions or my methods are remedial.

 

 

gen_debug.zip

Edited by tonyx86

Share this post


Link to post
Share on other sites
20 hours ago, tonyx86 said:

Catalina's read-only file permissions may interfere with your installation of black.dragon74's gen_debug.  If you're having problems installing gen_debug, try the attached gen_debug by copying it to your Desktop.  After you copy to your Desktop, open terminal and change file attributes by executing 'chmod a+x ~/Desktop/gen_debug'

 

Run it from terminal by cd'ing to your Desktop and executing ./gen_debug

 

I'm not a script guru, so forgive me if these instructions or my methods are remedial.

 

 

gen_debug.zip


I successfully installed everything works except the wifi I must change the wifi card because I have an intel, thank you for your patience and your kindness I begin and I try to understand, it's not easy, I need to update the system to 10.5.3 now

Edited by james487

Share this post


Link to post
Share on other sites
3 hours ago, james487 said:


I successfully installed everything works except the wifi I must change the wifi card because I have an intel...

 

Congratulations!!! Great job!  Your patience and persistence has paid off.   Well done!

Share this post


Link to post
Share on other sites

I was playing with @headkaze's hackintool (awesome tool by the way) and noticed that hibernatemode was 3 when it should be 0.  I added an installation step in Post #1 for setting hibernatemode.

Edited by tonyx86

Share this post


Link to post
Share on other sites

There is a new version of AirportBrcmFixup.kext (version 2.0.6).  I have installed this to see if it made any difference, but I don't notice any changes.  At the time of this writing, this new version of AirportBrcmFixup.kext is not yet part of the baseline in Post #1 of this thread.

Share this post


Link to post
Share on other sites

Deleting this post which has been superseded by a subsequent post.

Edited by tonyx86
Deleting post - attached files have been updated in a subsequent post

Share this post


Link to post
Share on other sites

EDIT: A newer version of the attached .zip is now included in Post #1 of this thread.  Leaving this post for historical purposes.

 

The attached E6410-Catalina-3v2.zip represents the current baseline of my Latitude E6410.  Changes from the baseline in Post #1 are listed below. With these changes, I am noticing that booting between High Sierra 10.13.6, Mojave 10.14.6 and Catalina 10.15.3 is more "seamless."  Occasionally, I would see a "white screen" when shutting down one OS and booting another.  This "white screen" always recovered itself and wasn't a big deal, but it made me suspect that something wasn't quite right.  I'm not seeing this with the attached files.  If you want to test and you're running the baseline in Post #1, you don't need to replace everything - just the changed files referenced below.

 

  • New CLOVER config.plist: Removed all CLOVER USB fixes (leaving EHCx > EH0x renaming) - be sure to replace XX-MASKED-XX with your own values.
  • New DSDT.aml: Restored _S3D and _S1D definitions in Device (EHC1) and Device (EHC2) to their original values (I was experimenting with these when working on the sleep solution)
  • New SSDT-UIAC.aml: Changed EH01:HP14 USB port from External to Internal (there isn't an external 4th USB port on the Latitude E6410)
  • New version of AirportBrcmFixup.kext (2.0.6)

 

Note that the drivers folder in the attached EFI is from CLOVER r5103.

 

 

E6410-Catalina-3v2.zip

Edited by tonyx86

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

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By miliuco
      Install macOS 10.15 Catalina on Gigabyte P55-USB3 with Radeon RX 580 graphics card using a USB device created with the createinstallmedia command and Clover as bootloader. Instructions to install macOS 10.14 Mojave on this computer are almost identical, replacing Catalina app with Mojave, so this article is suitable for both versions of macOS. The Gigabyte P55-USB3 motherboard (and some others from the same brand with the P55 / H55 chipset) have made it easy to build a hackintosh and install macOS since 10 years ago. Although it is an old motherboard, the behavior with Mojave or Catalina is very good after changing the classic hard drive (HDD) for a solid state drive (SSD).

      Components of the hackintosh
      Gigabyte GA-P55-USB3 motherboard: P55 chipset, 1156 socket, ALC892 audio, Gigabit RTL8111D network, DDR3 RAM Intel Core i5-750 processor for socket 1156: 4 cores, 8MB cache, clock rate 2.66 GHz Fenvi FV-T919 wireless + Bluetooth card: PCI-Express, wifi is ac type, detected by macOS as Airport and Apple Bluetooth Radeon RX 580 8 GB graphics card: works OOB but with a few details to be considered, it has its own article.  
      Previous requirements
      Install macOS Catalina app in /Applications folder USB flash drive with at least 16GB prepared from Disk Utility with MBR partition scheme and formatted as Mac Os Plus (on older Gigabyte boards like mine, USB sticks partitioned with GUID scheme instead of MBR usually hang the system when booting) Recent version of Clover (I have used r5117) Recent versions of Lilu (at least 1.4.4) and WhateverGreen (at least 1.3.9) to fine-tune the behavior of the graphics card Recent version of RealtekRTL8111 (I have used 2.2.2) FaceSMC version 6.26-322 (newer versions disable automatic mounting of USB devices on my system).  
      Create install USB
      Run this command from Terminal (assuming the target device is called USB):
      Bash: sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/USB /Applications/Install\ macOS\ Catalina.app
      Clover must be installed on the USB memory, I choose the following options:
      Bootloader > Install boot0af on the MBR CloverEFi > CloverEFI 64-bit SATA BIOS Drivers, 64 bit > Recommended drivers > FSInject + SMCHelper + XhciDxe BIOS Drivers, 64 bit > File System drivers > ApfsDriverLoader Install RC scripts on selected volume Optional RC scripts > Disable sleep proxy client.  
      You have to copy 4 kexts to the EFI/CLOVER/kexts/Other folder of the USB device: FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2. Regarding the config.plist file, the most significant is:
      Boot > kext-dev-mode = 1 in Boot arguments GUI > Theme embedded, EmbeddedThemeType Dark, Screen Resolution 1920x1080, Preboot in Hide Volume Graphics > blank, nothing is checked except if foxbox solution is used to have more than 2 connectors enabled RT Variables > 0x28 in BooterConfig and 0x67 in CsrActiveConfig SMBios > iMac14,2 Sytem Parameters> Yes in Inject Kexts and check Inject System ID.  
      Install macOS Catalina

      Boot from the USB device and choose Install macOS from Install macOS Catalina. The installation program runs until the PC restarts. Here choose Install macOS from HDD (the name of the volume you are installing macOS on). With RX 580 graphics card, the screen goes black in this second phase of the installation, it is a phase in which the user has nothing to do until the PC is restarted so you can let it work until the Clover menu again. You have to choose Boot macOS from HDDto boot the installed system from the hard disk, the screen is recovered and you can configure the account and the initial options. From this moment the screen works fine.

      In summary:
      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine Boot from USB > Clover menu > Install macOS from HDD > black screen Boot from USB > Clover menu > Boot macOS from HDD > screen works fine.  
      Install Clover and kexts on the hard drive

      Clover needs to be installed on the disk where we just installed macOS. Options are the same as when installing it on the USB memory. You also have to copy the 4 kexts (FaceSMC 6.26-322, Lilu 1.4.4, WhateverGreen 1.3.9 and RealtekRTL8111 2.2.2) into the EFI/CLOVER/kexts/Other folder on the EFI partition of the disk. And review the config.plist file remembering the comments for the USB.

      If everything goes well, the computer starts from the hard disk with a running copy of macOS Catalina.
       
       

    • By miliuco
      Radeon RX 580 8 GB graphics card on macOS High Sierra (as of 10.13.6), Mojave and Catalina on the P55-USB3 board: excellent performance with acceleration (Metal) OOB, no need for drivers (kexts), with 3 drawbacks, one has to do with the boot of the operating system (a solution is proposed), another with the number of rear connectors enabled (a solution is proposed) and another that only affects to one phase of the Mojave or Catalina installation (without clear solution for now).

      I have placed the XFX AMD Radeon RX-580 P8DFD6 8GB Triple X Edition GDDR5, 256BIT, DVI + HDMI + 3DP graphics card on a 10 year old motherboard (Gigabyte P55-USB3) in order to update the hackintosh to 10.14 Mojave and 10.15 Catalina because the card that I have used in past years, Nvidia Geforce GTX 750 1GB, has stopped working after 10.13.6 High Sierra since this was the last version for which Nvidia published the alternate web drivers that were necessary for the card to work well with graphic acceleration.

      The new RX 580 card needs considerably more space than the old one although it fits perfectly in an ATX case, and requires an additional power connector. It has 2 big fans that most of the time are stopped, at least in my case. In macOS it works perfectly, even with Metal acceleration, without additional drivers and without extra settings in Clover. But it has drawbacks that I comment below.

      Alterations during startup

      During the boot of the operating system, when the screen goes from the basic driver to the AMD driver, 2 artifacts appear randomly, they are very short in duration (from one to a few seconds):
      Very short flashing white screen that may or may not be accompanied by purple lines The fans runs for a few seconds (the noise is clearly audible). This behavior is solved with the installation of 2 kexts, Lilu and WhateverGreen. Lilu is an extension created by acidantheraand vit9696 among others whose function is to help to patch kexts, processes and libraries during macOS boot. It is accompanied by specific plugins for the task required, for example WhateverGreen that injects necessary patches for certain AMD, Intel and Nvidia graphics cards. It is mandatory to have both extensions together, one of them separately does not correct the problem.
      I have installed Lilu 1.4.4 and WhateverGreen 1.3.9 in the EFI/CLOVER/kexts/Other folder of the EFI partition and artifacts have disappeared. Remember that these 2 extensions are not necessary for the card to work properly, if you tolerate those very brief distortions of the screen or the noise of the fans running for a few seconds, you can live without Lilu and WhateverGreen.

      Note: authors recommend that when using Lilu and WhateverGreen with Radeon cards, NO graphic settings have to be added to Clover (Inject ATI, etc.).

      Note: these alterations, especially the brief white screen and less frequently purple lines and fan noise, are also seen in Windows and some real Macs with the same card.

      Alteration during macOS installation

      Boot from USB > Clover menu > Install macOS from Install macOS Catalina > screen works fine
      Boot from USB > Clover menu > Install macOS from MacintoshHD > black screen
      Booting from USB > Clover menu > Boot macOS from MacintoshHD > screen works fine.

      In the first and third stages, screen works fine. In the second stage the screen goes black although the installation continues. The user has nothing to do at this moment so you can leave the PC working until the Clover menu is shown again, the screen is recovered, the initial account options can be configured and you can enter into the newly installed system with correct resolution and acceleration.
      This behavior is not corrected even by placing Lilu and WhateverGreen into the USB device. At least in my case I have not found a solution for it. Yo can install macOS perfectly with that drawback of not seeing how it progresses during the second phase of the installation.

      Only 2 connectors of the 5 available work

      This card has 3 Display Port (DP) ports, 1 HDMI port and 1 DVI port. In my case, only 2 DP work, those that are further from the HDMI connector. It is enough if you use a single monitor or 2 monitors that can be connected by DP. But if you want to have 3 or more connected devices or some of them only have HDMI, it is necessary to enable the 5 connectors or at least 4 of them since the DVI is obsolete and does not allow resolutions as high as DP and HDMI.
      User foxbox has proposed a solution in a thread titled [Solved] Sapphire RX 580 Nitro + SE | black screen on HDMI and DVI. Must inject from Clover a modification to the Orinoco framebuffer (which is used in the RX 580 card) so that the 5 connectors lack a fixedly assigned address and, instead, receive it dynamically. This change is made from the KextsToPatch section of Clover. Read the post from foxbox.
      This has to be accompanied by 3 changes in the Graphics section of Clover: Orinoco in FB Name / Inject ATI / 5 in Video Ports. I have tested this solution in macOS Catalina and it effectively enables the 5 ports of the card but, since I only use 1 monitor, I have removed it and I am with Lilu and WhateverGreen.
       

    • By vinnytwice
      How to finish the Catalina installation.
      1. Use EasyMBR-Installer1015 to make USB Catalina Installer.
      2. Boot to USB Catalina Installer, open Utilities -> Disk Utility, format as MBR HFS+.         <==  won't boot..there is no boot loader in the created usb drive..also format "target drive"
          Install Catalina to blank MBR HFS+ "Target" partition.
      3. Boot to USB Catalina Installer, open Utilities -> Terminal, run the script command:         <== no Volumes gets listed to select
          copytempdata
      4. Boot to "Target" MBR HFS+ partition on single user mode (-s), run the script command:install.log
          hfsupdatecache
      5. Reboot to "Target" MBR HFS+ partition, setup user name and login, finish the installation.
       
       
       
      After trying many times of following the procedure for EasyMBR-Installer1015 creation I'm stuck at step 3.
      Basically what I've done is:
      1. I made the usb with EasyMBR-Installer1015.
      1b. Installed clover on it.
           Added Lilu,WhateverGreen, AppleAHCIPort AppleALC  kexts needed for my motherboard in other folder.
           Set RtVariables to BooterConfig 0x28 CsrActiveConfig 0x67.
           Set SystemParameters InjectKext to yes.
      2. Boot into the Usb installer fine, formatted the target drive and installed Catalina on it.
          Installation went smooth and system rebooted. At Clover screen dough I see a new Catalina recovery disk. ( not sure it's normal )
      3. Reboot into the Usb installer again and from terminal run the script copytempdata.
          The script asks to select a drive from the available ones to perform three things..
          but in script  "Available target volumes:" there's none to select and there I'm stuck.. 

      I checked the volume I installed Catalina on and it has this folder structure:
      private/var/log/install.log()114 kb
      vm (empty)  
      GetInfo shows 8,56 GB used.
      I attached the log so it might help understanding what's happening .
      What else can I check to see what's happening?
      Thank you very much
    • By tonyx86
      This guide is a work in progress and will be updated as I refine the installation.
       
      Background
      This is my first "modern" hack supporting UEFI and my first hack using Clover "on-the-fly" patches.  My previous hacks
       
      Laptop: Thinkpad T61 / Nvidia NVS 140m Laptop: Dell Latitude E6410 / Nvidia G3100m Desktop: Gigabyte G31 / GeForce 9600 Desktop: Biostar TH55HD / Sapphire Pulse RX580 (Google "Catalina Biostar TH55HD" and look for user name deeveedee)  
      are all perfectly running Catalina and I patched them all "manually" - all DSDT patches applied with MaciSL with virtually no Clover on-the-fly patching and all booted Legacy Clover.  This UEFI hack was MUCH easier and took about 20 hours vs. a combined hundreds of hours for the old hacks.  I wanted a hack that was a little more future proof and I think this is it.  I hope you enjoy this as much as I am enjoying it.  It is a perfect MacMini8,1.
       
      My system specs
      HP EliteDesk 800 G4 Mini (I7-8700T / UHD 630 / Q370 Chipset / 32GB DDR4 RAM) 3 x DP Ports (connected to monitors using DP -> DVI adapters) 6 x USB 3.1 1 x USB Type-C 3.1 2 x NVMe SSD (M.2 PCIe x4 2280/2230 combo ports) 1 x SATA6 SSD 1 x Intel Ethernet RJ-45 Conexant CX20632 Audio Codec SMBIOS MacModel MacMini 8,1 Unsupported M.2 PCIe x1 2230 Intel Wi-Fi (currently disabled in BIOS).  I may replace this with Brcm, but am using only Ethernet (IntelMausi) for now.  
      Installation Steps: To be provided
      See attached EFI and /L/E kexts in EliteDesk.zip archive See installation methodology here See references here  
      What is not working
      Wi-Fi / Bluetooth (intentional since I have not yet replaced my Intel card).  
      What is not tested
      USB c 3.1 port Microphone port  
      What is working
      Everything not mentioned above Sleep / Wake Multiple displays with IGPU graphics acceleration, hot pluggable display ports and DP->DVI adapters USB 3.1 ports Audio (internal speaker and headphone jack) Ethernet Auto-sensing headphone jack automatically switches to internal speaker when headphones removed  
      Known Issues and their solutions
      (Solved and included in the attached EliteDesk.zip archive) Unable to upgrade from 10.15.4 to 10.15.5 when using IntelMausiEthernet.kext.  Solution is to switch to IntelMausi.kext (Rev 1.0.2 here). (Solved and included in the attached EliteDesk.zip archive) Some USB devices were not recognized. My SSDT-UIAC.aml was incomplete and did not specify all required USB port types (missing SSxx ports). The attached EliteDesk.zip archive includes this fix. (Reported this as a possible Clover issue - no solution yet) Clover boot loader may default to Recovery volume after a normal shutdown.  Work-around is to select your normal macOS volume.  This may only happen when Clover is configured to boot LastBootedVolume and may be "fixable" by explicitly setting a boot volume (haven't tested this). (No longer observed) At least one display blanks (sleeps) when plugging / unplugging USB device (observed in front USB 3.1 ports).  Display wakes immediately on keyboard and mouse activity, so this is a minor issue but may be indicative of another issue. (Solved - this is a BIOS setting and requires no macOS changes) Safari has problems loading insanelymac web pages after sleep / wake.  I suspect that the problem is with the embedded video on the pages.  Also observed video problem in AppStore after sleep/wake.  Console: VideoDecodersUnavailable.  Solution is to enable Intel ME in BIOS. (Solved and included in the attached EliteDesk.zip archive) Display does not fully wake after resuming from sleep (needs an extra mouse or keyboard stimulus to fully wake).  Solution is to change boot arg darkwake=0 to darkwake=2.  Other values of darkwake may work as well, but this is the first I tried and it worked. (Solved and included in the attached EliteDesk.zip archive) -disablegfxfirmware boot arg is not required with WEG.  I inadvertently left this boot arg after I encountered an endless gfx firmware update boot loop while working on my FB patching.  This boot arg is no longer necessary after completing FB patching with WEG. (Solved and included in the attached EliteDesk.zip archive): Sometimes, CMOS time is lost on shutdown or restart.  Solution is to enable Clover's Apple RTC fix in config.plist. (Solved and included in the attached EliteDesk.zip archive) headphone jack doesn't work.  Solution is to change HDEF layout-id to 28. (Solved and included in the attached EliteDesk.zip archive) System freezes on wake from sleep because of a kernel panic related to hda-gfx (my system does not have HDMI and my DP->DVI adapters do not drive monitor speakers).  Solution is to add No-hda-gfx property to HDEF as described here.  This property is recognized as a Lilu flag and prevents loading hda-gfx. (Solved and included in the attached EliteDesk.zip archive) Device (PMCR) is not defined.  Solution is a SSDT that "injects" the missing device. (Solved and included in the attached archive) eficheck is loaded (not sure why this is bad, but may be a privacy issue - see here). Solution is to add updated EFICheckDisabler kext that include Q370 chipset.  See here.  
      BIOS Version / Configuration: To be provided
      Version: 02.11.01 Rev.A Intel ME must be enabled for proper sleep / wake of UHD 630
       
      Clover Configuration: To be provided
       
      UHD 630 Framebuffer Patching: To be provided
       
      Current Versions
      Catalina 10.15.4.02 Clover (UEFI) r5118 Lilu.kext 1.4.4 WhateverGreen.kext 1.3.9 AppleALC.kext 1.4.9 IntelMausi 1.0.2 (Not IntelMausiEthernet)  
      Credits To be provided
       
       




      EliteDesk800 G4 Mini - Rev 0.7.zip



    • By ludufre
      Installing macOS Catalina 10.15.5 on Gigabyte Z370N WIFI + i7 8700K + UHD 630



      Changelog:
       
      05/27/2020 20:02h GMT-0
      - Update instructions 10.15.5.
       
      03/24/2020 20:23h GMT-0
      - Update instructions 10.15.4.
       
      01/30/2020 23:54h GMT-0
      - Update instructions 10.15.3.
       
      12/11/2019 03:58h GMT-0
      - Update instructions 10.15.2.
      - Updated EFI folder attached.
       
      11/30/2019 18:03h GMT-0
      - Changed Device -> Graphics platform to fix dual HDMI monitor.
      - Updated EFI folder and config.plist
       
      11/29/2019 21:28h GMT-0
      - Added full EFI folder as requested.
       
      11/27/2019 02:33h GMT-0
      - Added BIOS profiles for ease.
       
      11/25/2019 22:45h GMT-0
      - Fixed wrong ethernet link (IntelMausi.kext).
      - Thanks to @MiMoHo
       
      11/24/2019 04:56h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i7-8700K ->  Work. All SpeedStep stages.
      - Video Card: Intel UHD 630 ->  Work. QE/CI and Metal.
      - Chipset: Intel Z370 ->  Work.
      - HDMI 2.0 (1st) ->  Work.
      - HDMI (2nd) ->  Work.
      - DP ->  Work.
      - Audio: ALC1220 ->  Work.
      - HDMI Audio ->  Work.
      - WiFi/Bluetooth ->  Not work. Replaced with BCM94360CS2.
      - Ethernet (1st) ->  Work.
      - Ethernet (2nd) ->  Work.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      Todo
       
      - Empty
       
      What you need to install
       
      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Catalina install app
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction  This will take about 30 minutes.
       


      Install bootloader
       
      Download the CloverEFI from official repository (used 5099) and install only with these options on "Install macOS Catalina":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - Recommended Drivers - FSInject (I still don't know if it's really necessary)
      - UEFI Drivers - File System drivers - ApfsDriverLoader (Support to APFS partitions)
      - UEFI Drivers - File System drivers - VBoxHfs (Support HFS/HFS+ partitions)
      - UEFI Drivers - Memory fix drivers - AptioMemoryFix (Fix the memory management of de UEFI/BIOS)
      - UEFI Drivers - Additional drivers - NvmExpressDxe (If you are going to use NVMe)
       
      FileVault 2
       
      If you plan to use FileVault 2, you need to download additional drivers, since what comes with Clover is not up to date and use VirtualSMC instead of FakeSMC.
      Follow instructions bellow:
       
      From current Clover installation, check these options to USB keyboard/mouse work on password screen:
      - UEFI Drivers - Human Interface Devices - UsbKbDxe
      - UEFI Drivers - Human Interface Devices - UsbMouseDxe
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      Download the versions 2.1.0 and 2.0.9 of AppleSupportPkg from: https://github.com/acidanthera/AppleSupportPkg/releases
      We need the last version of AppleGenericInput.efi that is inside 2.1.0 and last version of AppleUiSupport.efi that is inside 2.0.9.
      OR download attached bellow.
       
      Put in /Volumes/EFI/EFI/CLOVER/drivers/UEFI/
       
      That's it! FileVault 2 will work without problems.
       

       
       
       
      Make things works
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      - Replace the /Volumes/EFI/EFI/CLOVER/config.plist with mine attached below according to your processor version.
      - Put all SSDT-*.aml attached below in /Volumes/EFI/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.8.0.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Copy the Clover Configurator to flash drive because you will need later.
       
      Download those Kexts and put in /Volumes/EFI/EFI/CLOVER/kexts/Other/
       
      - Download the VirtualSMC.kext, SMCProcessor.kext, SMCSuperIO.kext and UEFI driver (put VirutalSmc.efi inside /Volumes/EFI/EFI/drivers/UEFI/). I used the version 1.0.9.
      - Download the Lilu.kext from here. I used the version 1.3.9.
      - Download the WhateverGreen.kext from here. I used the version 1.3.4.
      - Download the AppleALC.kext from here. I used the version 1.4.3.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
      - Download the IntelMausi.kext from here. I used the version 1.0.2.
      - Download the SmallTree-Intel-211-AT-PCIe-GBE.kext attached bellow to enable second ethernet.
       
      Important! If you are coming from my previous Mojave guide, please note that I am using some kexts from other repositories / authors.
       
      Wifi and Bluetooth (BCM94360CS)
       
      Works out of box (plug 'n' play).
       
       
      Now you can start the installation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is F10 (I use an 8th generation processor, so I don't need to upgrade)
       
      You can configure manually or load my BIOS profile.
       
      Manually:
      - Shutdown and insert the flash.
      - Power on with DEL pressed to enter BIOS setup.
      - Change value: BIOS - CSM Support to Disabled
      - Change value: BIOS - Secure Boot to Disabled
      - Change value: Peripherals - Initial Display to IGP
      - Change value: Chipset - VT-d to DISABLE
      - Change value: Chipset - Internal Graphics to ENABLE
      - Save & Exit Setup
       
      or, BIOS profile
      You can use one of my BIOS profiles attached bellow.
      It's two versions. One stock (Geekbench 4: 5840/27384) and another with overclock [5.0 GHz] (Geekbench 4: 6360/30348)
      - Put the profile in the root of the flash drive at EFI partition.
      - Restart with DEL pressed to enter BIOS setup.
      - Go to Save & Exit.
      - Select Load Profiles.
      - Select last option and then the flasdrive in the list.
      - And finally choose MACOS_STOCK or MACOS_5GHZ.
      - Save & Exit Setup
       
      Then:
      - Now, hold the F12
      - In the list, select your flash drive.
      - Choose the flash drive (white icon).
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "Macintosh".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install

      After first part install the system will reboot. Maybe you have to press ESC again and select the flash drive.
       
      Choose the internal disk (gray hdd icon) if not already selected.

      The second part of the installation will begin. This will take 16 minutes.

       
      Post installation
       
      Bootloader

      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to make the system disk bootable.

      Open the Clover Configurator from flash drive that you copied before.

      Mount and open the flash drive EFI partition. (Inside Clover Configurator, Mount EFI -> Select flash drive in Efi Partitions list -> Mount Partition -> Open Partition)
       
      Copy the EFI folder to desktop.
       
      Go back to Clover Configurator, unmount the EFI partition of the flash drive and mount and open the EFI partition of internal disk.
       
      Move the EFI folder from Desktop to EFI partition of the internal disk.
       
      Eject the flash drive.
       
      Move all Kexts from EFI partition of internal disk to /Library/Extensions and make kext cache, with those commands in Terminal:
      sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/10.15/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
      Last thing
       
      Run this command in Terminal to disable hibernation (doesn't work in macOS):
      sudo pmset -a hibernatemode 0  
       
      It's done!
       
       
      System Updates
       
      10.15.2
       
      Before install, update the following kexts:
      - Lilu.kext. I used version 1.4.0.
      - WhateverGreen.kext. I used version 1.3.5.
      - AppleALC.kext. I used version 1.4.4.
      (all download links above)
       
      Download the latest CLOVERX64.efi.zip build. I used version 5100.
      Mount EFI partition and unzip to:
      - /Volumes/EFI/EFI/CLOVER/CLOVERX64.efi
      - /Volumes/EFI/EFI/BOOT/BOOTX64.efi (rename the copy of CLOVERX64.efi to BOOTX64.efi
       
      Install update. Will reboot at least four time.
       
       
      10.15.3
       
      Updated with success without changing anything.
       
       
      10.15.4
       
      Before install, update the following kexts:
      - Lilu.kext. I used version 1.4.2.
      - WhateverGreen.kext. I used version 1.3.7.
      - AppleALC.kext. I used version 1.4.7.
      - VirtualSMC.kext. I used version 1.3.7.
      (all download links above)
       
      Download the latest CLOVER installer. I used version 5107.
      - Install respecting the configuration mentioned above in "Install bootloader" section.
       
      Install update. Will reboot at least four time.
       
       
      10.15.5
       
      - Same as usual, update all Kexts and Clover.
      - Install Update, reboot.
       
      If you like me, I had a problem with two monitors. I needed to roll back two Kexts of video from 10.15.4: FixGraphics10.15.5.zip
      After replace, fix permissions and cache.
       
      And last but not least
       
      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas and all others members involved directly or indirectly.
       
      Attachments
       
      config.plist v2.zip
      EFI v4.zip
      Filevault 2 additional drivers.zip
      SmallTree-Intel-211-AT-PCIe-GBE.kext.zip
      SSDTs.zip
      MACOS_5GHZ
      MACOS_STOCK
       
       
       
×