Contribute
Register

The 4K Dell OptiMac - 9020 MT - Core i7-4790 - Radeon RX 570 - LG 4K IPS Monitor

trs96

Moderator
Joined
Jul 30, 2012
Messages
25,351
Motherboard
Gigabyte B460M Aorus Pro
CPU
i5-10500
Graphics
RX 570
Mac
  1. MacBook Pro
  2. Mac mini
Mobile Phone
  1. Android
The Dell Optiplex 9020 and LG 4K IPS Monitor


LG.png



417096


____
Components

Dell Optiplex 7020/9020 Mini-Tower (MT)

Amazon - Newegg

Dell Optiplex 7020/9020 Small Form Factor (SFF)
Amazon - Newegg

Dell Optiplex 9020 Ultra Small Form Factor (USFF)
Amazon - Newegg

Dell Optiplex 9020 Motherboard (MT) mATX Form Factor

Amazon - Newegg

Recommended Amazon Seller

4K Monitors 27" and 43"

BenQ PD2700U 27 inch 4K IPS with 100% sRGB Rec. 709
Amazon Most color accurate monitor for Photo Editing


LG 27UK500 - 4K UHD Monitor
Amazon DCI-P3 98% Color Gamut + AMD FreeSync (best value)

Mount Pro Single Monitor Stand - Best for above LG monitor
Amazon Use to replace the existing LG monitor stand

43" 4K Hisense Television for use as your Monitor
Amazon IPS, low input lag, Chroma 4:4:4 subsampling

Dedicated 4K Graphics Cards - Single and Dual Slot

Warning (Nvidia Graphics cards are no longer supported in Monterey 12.x)

1.
The
SFF Dell Optiplex only takes low profile single slot graphics cards
Screen Shot 19.jpg

AMD Radeon Pro WX 4100 LP 4GB (4 mini DP outs) 4K@60Hz
Amazon - Newegg

Nvidia Quadro NVS 510 2GB (4 mini DP outs) 4K@60Hz
Amazon - Newegg

Gigabyte GT 730 2GB GDDR5 4K@30Hz
Amazon - Newegg

Asus Geforce GT 710 2GB GDDR5 4K@30Hz (via HDMI)
Amazon - Newegg

Nvidia Quadro K420 2GB DDR3 4K@60Hz (via DP 1.2)
Amazon

2. Full Height Dual Slot Graphics Cards for the MT Dell Optiplex
14-202-361-1.jpg

Sapphire PULSE RX 6600 8GB (Mini-Tower only)*
Amazon - Newegg (only works with Monterey)

Gigabyte Radeon RX 580 8GB (Mini-Tower only)*
Amazon - Newegg

* The RX 6600/RX 580 will need a PSU upgrade - Newegg

Recommended Intel HD4600 Processors

Intel i7-4790 CPU
Amazon - Newegg

Intel i5-4690 CPU
Amazon - Newegg

Modify your Dell Mini-Tower and Use a Longer 10"+ Graphics Card

Video Demo - how to fit Longer Graphics Cards

PC Case Upgrade - Move your MT Dell OptiMac to a new Case

Lian Li 205M MicroATX PC case - Steel and Tempered Glass
Amazon Also available in ATX form factor (black or white)

Thermaltake S100 MicroATX Case - Top mesh for airflow
Amazon Available in Black or White with hinged glass side panel

7020/9020 MT only - Front Panel I/O + Power Switch Header Adapters

Ebay.com - Ships to USA, Canada, UK and EU countries + Australia
(not to Africa/Asia or South/Central American countries)
s-l1600.jpg


Power Switch Header only (no front panel I/O)
Ebay.com

Cables and Adapters

Mini DP to DP Cable for NVS 510 - Amazon

DisplayPort to HDMI 2.0 Adapter
- Amazon 4K@60Hz
(Connect a dedicated card to a 4K television or Monitor w/HDMI 2.0)

DisplayPort Cable Nylon Braided - Amazon 4K@60Hz

RAM and SSD Upgrades

Hynix DDR3 1600 MHz 16GB (2 x 8GB)

Amazon - Newegg

Crucial 2.5" 500GB Sata SSD

Amazon - Newegg

WD Blue SN570 500 GB NVMe Drive
Amazon - Newegg

WD Black SN750 500 GB NVMe Drive
Amazon - Newegg

M.2 NVMe SSD to PCIe x4 Adapter Card
Amazon (No heatsink)

AVOID all Samsung NVMe drives. They have TRIM problems.

Natively Supported Wifi and Bluetooth

Fenvi FV-HB1200 Broadcom 94360CS2 Wifi/BT Adapter
Low Profile
or Full height (Win10 driver attached below)
Amazon - Newegg

Fenvi FV-T919 Wifi/BT Adapter (Mini Tower Only)
Amazon - Newegg

USB Wifi Adapter (Needs drivers installed)
Newegg

USB Type-C PCIe Adapter (Asmedia 3142 Chipset)
Amazon

USB Microphone

Blue Yeti Nano Professional

Amazon

Power Supply Upgrade (Get at least a 550W for a 580/590)

EVGA 500 BQ 500W (Semi-Modular) Budget PSU
Newegg

EVGA SuperNOVA 550W G3 80+ Gold (Fully Modular)
Newegg

24 To 8 Pin Power Supply Adapter (Needed if you upgrade to an ATX PSU)
Amazon See this post for more info about the adapter

CR2032 Energizer CMOS Lithium Battery - 2 pack
Amazon

Rosewill 140mm 3 pin Case Fan
Amazon Economy 2 pack

Replacement CPU Cooler

CoolerMaster i70c 95W TDP LGA 1155 Intel Cooler

See this post for more info on this cooler and the 5 pin adapter needed.

Operating System

macOS High Sierra, Mojave or Catalina
See my gibMacOS guide for how to download older versions of macOS

macOS Big Sur
Download from the Mac App Store on an eligible Mac or Hackintosh

Installing Big Sur with OpenCore
There is a separate thread on this topic located in Big Sur Desktop Guides.

Links to Sections of this Golden Build Guide

0. Preliminary Steps - Hardware Prep

1. Create the USB Installer - USB Installer

2. BIOS Update and Configuration - BIOS Update

3. The Mojave Install Step - Install macOS Mojave

Shortcut to Attachments - Download Kexts and SSDTs



Dell Optiplex + iMac = The Dell OptiMac
This build is based on the Late 2014 5K iMac 15,1. That iMac model has an i5-4690 or i7-4790K, a maximum of 32GB of RAM and a Fusion drive. This was the first iMac with the 5K Retina monitor. It was a CTO (configure to order) model. See the full specifications here: Late 2014 Retina iMac 27"

Screen Shot 19.jpg

This OptiMac guide builds upon what I learned from my Optiplex 7010/9010 guide that I posted back in May of 2018. The Dell OptiMac will work well for home video and photo editing with FCP X and the Adobe suite of apps. If you want to record and edit music while using Logic Pro or Pro Tools, this build will get you started, without breaking the bank. You can buy a complete system in the 150-250 US Dollar range if you search for good deals. This would imply that you use a CPU with HD4600 graphics. There are also low cost Nvidia and AMD graphics cards that you'll see listed in the Buyer's Guide above.

If you are a video editing professional and need HEVC, H.265 encoding and decoding you'll be better off building a new Intel based system with an i7 or i9. The primary advantage of the Dell Optiplex 7020/9020 is that you'll get a lot of performance for a lot less money. All new ninth or tenth gen Intel based hardware will cost about 3x more. This build will not work for you if you'll need 6 to 8 cores and more than 32GB of ram for the work you do on a daily basis. I can highly recommend either of the Z390/Z490 Intel Guides right here in Golden Builds by moderator CaseySJ.

Frequently Asked Questions

The 9020 Optiplex SFF and MT PCs are not significantly different from the 7020s in respect to creating a CustoMac with them. The BIOS for the 9020s offers a Raid option that the 7020s don't. I suggest that you get either the 7020 or 9020 SFF/MT form factors as they give you the option for a maximum of 32GB of ram and have PCIe slot expansion. Prices are lower than the Micro/USFF versions too. Purchase one with at least an Intel Core i5 that has integrated HD4600 graphics. Always a good idea to have fully supported integrated graphics in any hackintosh.
Hardware Corner website offers a side by side comparison of these Optiplex models.
Click here to compare them. Note that the 7020 models can accept a 32GB kit of ram.
Dell mistakenly says that they only support 16GB of ram.
Yes, though you'll need to follow this guide instead: 3020 SFF
If you've yet to puchase your Dell, opt for a 7020 or 9020 model. The 3020 uses a chipset (H81), that has fewer Sata ports and USB ports. You only get two onboard USB 3 ports in the back. There are only two memory slots that limit you to 16GB of ram. If you want the lowest possible cost hackintosh and only need integrated HD4600 graphics, you could buy the 3020 SFF with a core i5.
The process of hackintoshing the 9020 AIO is completely different. This guide won't work completely for those. Search this site for the 9030 AIO guide. Buy one of those if you'd like and follow that excellent guide.
Any six year old iMac in good condition, that is fully functional, maintains a high resale value. A 27" Retina 5K iMac like the one mentioned previously can cost you a hefty sum of money. You can configure a Dell Optiplex MT with 32GB of ram, an i7-4790 and an AMD RX 580 8GB for about 1/3 of the price of an iMac with similar specs. The AMD Radeon RX580 is much better than the older R9 M290X that comes with the Late 2014 iMac. The Core i7 CPU will not thermal throttle as it does in the airflow restricted iMac. You get a lot more performance for a lot less money.

A 2014 5K iMac in good condition on Ebay will cost you from $600 to $700 currently. Fairly expensive even today.

The downside of any iMac is that it's an enclosed all in one that is difficult to repair or upgrade. When you buy a Dell Optiplex and install macOS, repairs and upgrades are easy and as low cost as possible. You can do them yourself in a matter of minutes whereas iMac parts, repairs and upgrades are expensive and time consuming. I recently purchased a like new Optiplex 9020 MT motherboard for fifteen USD shipped. Compare that to what the 2014 iMac board would cost and how difficult it is to install one. (Cost of a used/working 2014 iMac logic board would be well over 200 USD)

This OptiMac build includes your choice of either a Mini-tower Dell or a Small form factor Optiplex you can put on your desk. Optional 4K LG monitor, a separate NVMe drive and a 1TB mechanical hard drive not being combined as a Fusion drive. In the SFF version a 2.5" Sata SSD can be placed in the Optical drive bay once that is removed. It also gives you the option of using multiple (4) 4K monitors via the NVS 510. Dual 4K monitors via the 2 DP 1.2 outputs can also be utilized. This will require that you change the DVMT pre-allocation to 64MB. More on how to do that in a minute.

Here are the Optiplex CPU, Memory and Graphics specs from the Dell Owner's Manual.

Screen Shot 17.jpg


Choosing DDR3 1600 MHz Ram Modules
Many of these Dell desktops will come with 8GB of ram pre-installed. Hopefully it is a 2 x 4GB kit. If it is a single 8GB DIMM then simply add a matching 8GB DIMM to make your system operate in dual channel mode. 16GB of ram should be enough for most users. If you will be editing photos/videos or recording audio then it's better to buy two 16GB ram kits to fill in all four DIMM slots on the board. Then you'll be set for years to come. The Samsung and Hynix ram is 100 % compatible with these Dell motherboards. Hynix also sells the Timetec branded ram. Buy the 1600 MHz variety.

Using Intel HD4600 Integrated Graphics
Every Intel i5 or i7 CPU that came pre-installed in these has the HD4600 graphics built in. These include the Haswell i5-4570, i5-4590, i5-4670 and i5-4690 etc. HD4600 is preferred because it has full support in macOS Mojave and Catalina. You can also use HD4600 exclusively with Big Sur, no dedicated graphics required. Just make sure to use SMBIOS iMac15,1 if you would like to eventually upgrade to Big Sur. If you want Monterey for the long term, then choose Mac mini 7,1 as that is the last Haswell based Mac that still has support in Monterey.

Complete list of Desktop CPUs with Intel HD4600 Graphics

I'd suggest that you use any of the following Intel CPUs in the chart. Any of the K variants such as the i5-4690K or i7-4790K can be used but cannot be overclocked. Dell never shipped these desktops with any K series CPUs. At first it will appear that they are not supported. Simply boot into BIOS then restart and they should be recognized.

Recommended Core i5 and i7 CPUs with HD4600 Graphics
i5 - 4570___i5 - 4570S* ___ i5 - 4690___i5 - 4690K

i5 - 4590
___i5 - 4590S* ___ i7 - 4770___i7 - 4770S*

i5 - 4670___i5 - 4670S* ___ i7 - 4790___i7 - 4790K

* S CPUs are clocked lower by 300 MHz from the stock clock speed

The S Intel CPUs are often used in the USFF and SFF models because they have lower TDPs. The i3-4330, i3-4340, i3-4350 and i3-4360 are also compatible. All have HD4600 graphics but they only have 2 cores and 4 threads. You can certainly use the Core i3 versions which have the HD4600 iGPU. Avoid the HD4400 versions such as the i3-4150 and i3-4160. To learn more about which i3s will work see: Using an i3 CPU with your Dell OptiMac

Use a DisplayPort Connection to your Monitor
The best way to connect a 4K, 2K or 1080p monitor is direct DisplayPort out to DisplayPort in on the monitor. If using onboard graphics this works with the suggested LG 4K monitor which has a full size DisplayPort 1.4 input. If your monitor has no DP inputs then get a DP to HDMI adapter when using onboard graphics. Ideally you want a straight DP to DP connection. If you plan on only using HD4600 onboard, then get the HP24mh listed in the Buyer's Guide above. It's the only 24" 1080p monitor I've ever seen for under $125 that has a full size DP input and is also Vesa mountable.

Apple has always preferred to use DP in Macs vs. HDMI or VGA. They stopped supporting analog VGA connections over ten years ago. Take home point: Do not try to use the VGA connection for the macOS install. It will end in failure.

Screen Shot 20.jpg

To use three monitors or more, buy one of the graphics cards listed above in the components section other than the GT 710. Those have only two digital outputs. Get at least a Quadro NVS 510 or WX4100 graphics card for a three monitor setup. AMD RX 500 or 5000 series graphics cards are preferred if you want to utilize a 4K@60 Hz resolution monitor and edit 4K video in FCP X.

You can power a 4K/60Hz display with HD4600 graphics when running Windows 10 with no UEFI modification. When running macOS, scale the resolution to 2560 x 1440 for the best experience when using this guide for the Mojave install/post install.

Intel HD 4600 Graphics Specs

HD4600 Graphics Resolution.jpg



Why 4K via onboard DisplayPort does not work OOB

The dual DP 1.2 ports on these Dell Optiplex models are 4K/60Hz capable. With a maximum bitrate of 21.6 Gbps.

Screen_Shot_18.png

Apple never released any iMac with HD4600 graphics that powered a 4K display. The Azul framebuffer (used by the HD 4600 IGPU) does not natively support 4K at 60Hz. This is why 4k/60Hz works in Windows and not macOS. It is always best to use a DP to DP connection to get 4K @60Hz on your Optimac. It may not work with a DP to HDMI adapter. 4K TVs with HDMI 2.0 inputs will work at 4K/60 Hz with an active adapter. Newer AMD cards like the RX 560, 570 and 580 should work when using the HDMI 2.0 output or by adapting DP to HDMI.

Because there is no DVMT pre-allocation setting in the BIOS that can be increased, 4K via onboard graphics is not feasible without some changes to the UEFI. The first step is to remove the CFG lock and then increase DVMT to 64MB. You would need to do this after you've updated your BIOS as described in Step #2 below. Choose the newest BIOS version Dell offers for either your 7020 or 9020 Optiplex.

If you want to modify your Dell UEFI firmware to make 4K work with HD4600 graphics then read and post here:
You should unlock CFG at the same time as when you increase DVMT pre-allocation to 64MB. Required for Big Sur.
Note that you'll need to use a USB drive with an OC EFI folder in the EFI partition to boot to a GRUB shell. Changing the DVMT pre-allocation from 32MB to 64MB enables a 4K monitor to work via your onboard DisplayPort output.
  • This is a completely optional step, you don't have to do this unless you have a 4K monitor
  • If you are a hackintosh beginner, you can skip this step until you need 4K functionality
Note that the UEFI modification guide does incur some risk of damaging your system if done incorrectly. Go slowly, read it carefully and perform each step as described. The other way to power a 4K monitor is to purchase a compatible graphics card from the mini buyer's guide list above. DisplayPort on a graphics card should also be your first choice for connecting.

Choice of Dell Optiplex Form Factor
Choose the small form factor (SFF) for your OptiMac if you prefer the smaller size and don't need the more powerful RX 570/580 graphics for gaming/editing. I've got the 9020 MT with a Gigabyte Aorus RX 570 installed and a 7020 SFF that I've used in testing for this guide. Both perform splendidly with Mojave 10.14.6.

1868e_op9020_fsy_00000f_micro_usff_sff_mt.png

You can apply this information to the Dell Optiplex 7020/9020 USFF form factor. Just note that those do not give you the same I/O, x4 or larger PCIe slots or ram upgrade options past 16GB. They are mainly intended to be general use machines. The Micro (far left) should not be used with this guide. For example, the 9020M or Micro, comes with a Core i3 T processor. Core i3 T CPUs have HD4400 which is not OOB supported in macOS. The Micro versions also use a different Realtek audio chipset (ALC3234) so that needs a different config.plist setting in Devices/Properties to work properly. The procedure to unlock CFG is also slightly different for the 9020M. Don't attempt that with this guide.

Screen_Shot_4.png



Install a Supported AMD Radeon Graphics Card
If you purchase the MT form factor, that will give you the option to use an RX 570 or 580. Dell redesigned the 7020/9020 MT motherboard to accommodate longer graphics cards. Up to 9.2 inches / 234 mm full length cards will not block Sata ports or the USB 3.0 header. Cards that are 10 inches in length or more will run into the hard drive cage.

The area in the blue rectangle below has no Sata ports or USB 3.0 headers there that will be hindered by a dual slot AMD graphics card. Most double wide graphics cards will block the use of your x1 PCIe slot next to the CMOS battery.

9010 Gfx clearance.png


Amount of Room for a Full Size Graphics Card

gfx card length.png

_________
Here's a full description of all the important motherboard features of the Mini-Tower motherboard that you'll need to be familiar with. The SFF models have a similar layout. They do not have a PCI (white) or a PCIe x4 slot on the board.

9020 MT Motherboard.png

Note that you will need to upgrade to a 450W or larger name brand ATX PSU to use an RX570 or RX 580. When playing graphics intensive games, the RX570 can use up to 200W of power. The Dell OEM 290W PSU isn't going to handle that very well. The other thing you'll need is a 24 pin to 8 pin power adapter to connect your new PSU. Buy from amazon.com


Preliminary Steps

This 9020 SFF complete teardown video shows you how to take apart your Dell to make upgrades and to perform any maintenance such as replacing the thermal paste. Note that you don't have to fully remove the motherboard to do this.


1. Replace the Existing Thermal Paste on the CPU IHS (Integrated Heat Spreader)
Even if you bought your Dell from a professional refurbisher, it's highly unlikely that they took the time to replace the thermal compound between the CPU and heatsink. After four or five years, it needs to have the old compound removed and a fresh coat applied. Leave the CPU secured in it's socket, don't remove it. Use 99% isopropyl alcohol and some guaze pads to remove the old paste and wipe it clean. If you can't obtain the 99% IPA use the 70% version as a replacement. Then apply some new paste like the Arctic MX4 which is available on Amazon or Newegg. If you don't have experience doing this look for some online video tutorials that show you how. A new coat of thermal paste will help keep temps much lower when you are pushing your CPU during gaming or video/photo editing.

2. Replace the CMOS Battery
These Dell Optiplex PCs are about 5 years old and may have sat on a shelf for two years unplugged from power. When Lithium batteries stay in a fully discharged state for long periods it greatly reduces their ability to hold a charge. My 9020 MT model had a battery like this. I kept getting a black screen at boot up. Was not able to even access the BIOS until I removed the battery for a minute and reseated it. I had checked the battery with a multimeter and it read 3.0v. Should be good right ? Even if it reads 3.0 volts it still may not be able to provide adequate voltage under load. When I test new CR2032 batteries the reading is often from 3.4 to 3.5 volts. That's how a good battery should test out.
Replace yours with a fresh new one before you make the BIOS changes in Step #2. Once you remove it from your board, all BIOS setting changes will be lost and you'll have to reapply them. Buy CR2032 batteries on Amazon

3. Remove any Add in Cards
If your Dell has any kind of wireless adapter installed (USB, PCIe or Mini PCIe) remove it before attempting the installation of macOS. Use Ethernet until after you've got everything else working properly. Then you can work on Wifi function after that. If you have a supported Broadcom card like the Fenvi FV-HB1200 you can keep that in a PCIe Slot during initial install.

4. Check your Dell's Intel ME setting
If you will be using only HD4600 as your primary graphics, you must first check whether Intel ME is enabled or not. Open up the removable side panel and you'll find a white sticker attached there. It should display a large 1 (enabled).

IMG_20220702_080116683.jpg

If it is a 3 or a 6 then you need to return or replace your Dell. The iGPU won't work unless Intel ME is enabled.

Finally, If you are unfamiliar with any of the terminology used here, please consult the Hackintosh Four Letter Words post for a clear and concise definition of the various acronyms and hardware components mentioned in this guide.

To start with an install of Big Sur first, see the OC Guide for that: https://www.tonymacx86.com/threads/the-dell-optimac-big-sur-opencore-thread.302383/

Step 1. Create your Mojave or Catalina OpenCore Installer

Download Mojave/Catalina
from the Mac App Store on a 2012 or newer iMac or Mac mini running Mojave or macOS Catalina. A Mac Pro should be 2010 or newer and eligible MacBooks should be 2015 or newer models. MacBook Airs and MacBook Pros should be from 2012 or newer. Here's the official Moajve/Catalina links from Apple.

https://apps.apple.com/us/app/macos-mojave/id1398502828?mt=12
https://apps.apple.com/us/app/macos-catalina/id1466841314?mt=12

1622504914778.png

When you click the above links you must be using the Safari browser or you will get an error message.
Firefox and Chrome or other browsers do not work with these two links.

A hackintosh must also be running Mojave or the Catalina edition of macOS and use one of the following minimum system definitions or newer.

MacBook 8,1 / Early 2015
MacBook Air 5,1 or 5,2 / Late 2012
MacBook Pro 9,1 or 9,2 / Mid 2012
Mac mini 6,1 or 6,2 / Late 2012
iMac 13,1 or 13,2 / Late 2012
iMac Pro 1,1 / Late 2017
Mac Pro 5,1 / Mid 2010/2012*
Mac Pro 6,1 / Late 2013

*The 2010/2012 Mac Pro would need a Metal 2 capable graphics card.
See: Mojave compatible graphics card choices

If you have a 2011 or older Intel based Mac and can only install High Sierra or older macOS versions see: https://www.tonymacx86.com/threads/gibmacos-tutorial-how-to-download-macos-catalina.295248/

If you don't have access to a Mac capable of making the OpenCore USB Installer

If you would rather create and use a Linux Live USB, there is a way described by Chris Titus Tech. His method also uses OpenCore bootloader. If you are familiar with Linux it's a viable alternative for those without access to a Mac.

Use a Windows 10 host OS to download macOS

There is now an option to download directly from Apple servers using gibMacOS on a PC. For those that don't have a Mac or working Hackintosh this is the best method to use to make an installer with Mojave or Catalina to get started.

The older Snow Leopard DVD method can still be used but takes longer and requires that you buy the retail DVD.
1. Purchase the Snow Leopard 10.6.3 retail DVD-ROM Full Version. https://www.amazon.com/gp/product/B0095KAABA/?tag=tonymacx86com-20 Buy only the Apple made DVD. Some sellers burn a copy to DVD and try to sell you that. Those will probably not work for installing with this method. Don't throw your money away.

2. Use iBoot Haswell to install Snow Leopard. https://www.tonymacx86.com/resources/iboot-haswell-1-0-1.204/
Use only a CD disc to create the iBoot installer. A DVD disc will not work. Every Dell has an optical drive included.

3. Upgrade to 10.6.8 with the Combo Update from Apple. https://support.apple.com/kb/dl1399?locale=en_US

4. Download Yosemite and run that installer. https://www.tonymacx86.com/threads/...mg-files-to-upgrade-from-snow-leopard.287340/

5. Create a Yosemite USB installer with Chimera Bootloader and then boot from that to clean install Yosemite.

6. Download macOS Mojave, Catalina or Big Sur from Apple and then create your OpenCore USB installer.

May of 2021 Update - Using the OpenCore Bootloader
I've been using OpenCore on both of my Dell OptiMacs long enough now to know that it's clearly superior to Clover. Eventually we'll all be using OC as our bootloader. So if you are just starting out and want to skip using Clover and start with OpenCore (OC) that is what I recommend. OC can be used with either Mojave or Catalina. I'll be attaching a working EFI folder below (0.6.9 OC EFI) that you can place in the EFI partition of your USB installer. This means you'll have to use CreateInstallMedia method to make your installer, not Unibeast.

Important ! If you are just switching from Clover to OC and not performing a clean install you need to check whether any kexts you installed to /L/E (Library/Extensions) are still there from your original Mojave install. Those must all be removed before you switch to OC. Here's the only 10 (Apple) kexts that should be in the Mojave /L/E folder.

Lib.Ext.Mojave.png
Screen Shot 2021-06-19 at 3.01.05 PM.png


If you are using iMac 14,2 as per the original 2019 guide, you can keep using that with Mojave/Catalina. It will not work with Big Sur. Change the OC config.plist SMBIOS from iMac15,1 to 14,2 if you want to stay with that.

Screen Shot 2.jpg

If you do switch to iMac 15,1 now, then you should generate a new system serial and SMUUID for iMac 15,1. Do the MLB (Board serial) as well. Use GenSMBIOS as per the video guide below in Step 5. Copy paste these into your OC config.plist with an editor like PlistEditPro. Put the edited OC EFI onto a USB installer and boot from it to see if it works first. Test that out on your system by clearing NVRAM from the OC boot menu. Then boot into macOS and see how things work on your system.

I'll leave the Unibeast instructions in this guide for those that still want to use Clover. Find those instructions under the spoiler below. After you create your OpenCore installer you'll still have to apply steps two and three below for the OC Mojave/Catalina install to work. In step five there is now a video that shows you how to generate unique serials. You can of course transfer your existing serials to the OC config.plist if you were using iMac15,1 smbios previously.


Create your OpenCore installer
Use a 16 or 32GB USB flash drive. USB 2.0 drives work best but some 3.0 drives will work as well. If you'd like to add more than one macOS version to your 32GB or larger USB drive then see the guide by pastrychef for instructions.

There is one critical step to remember when formatting your USB or other drives in Disk Utility. Always click View and then Show All Devices instead of leaving it at "Show Only Volumes" when using High Sierra, Mojave or Catalina as the host OS to make the installer. After you select the Parent name, click on the Erase tab and format the USB as Mac OS Extended (Journaled) and GUID Partition map. After this completes, do not eject your flash drive.

Screen Shot 2020-01-28 at 11.41.45 AM.png


Screen Shot 2020-01-28 at 11.43.14 AM.png

Use the lines of code below for whichever version of macOS you are installing. Copy/paste the command into terminal. Press Enter and then enter your password.

Mojave
Code:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
Catalina
Code:
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/USB

Next, you will download the OpenCore EFI and place it into the EFI partition of the USB installer you just made.
1. Use EFI agent or Hackintool to mount the USB's EFI partition. https://github.com/headkaze/EFI-Agent
2. Download 0.6.9 OC EFI zip file attached at the end of this post.
3. Drag and drop the EFI folder to the EFI partition of your USB drive that you mounted.
4. Do not try to update OpenCore to a newer version. If you are using Mojave/Catalina, there is no need for that.


Create your UniBeast installer by following the standard tonymacx86 guide. Use a 16 or 32GB USB flash drive. Anything larger than 32GB in size must be partitioned to less than 32GB. Use UniBeast for Mojave. Version 9.2.0. If installing Catalina instead, then use Unibeast 10.3.0 to create the USB installer.

Once creation of the UniBeast installer has completed, you will need to replace the UniBeast created config.plist with the custom one attached below. Do this before ejecting the UniBeast installer or you'll have to mount the EFI manually later. Now go to Finder -> Preferences and then select the "Show Hard Disks on the Desktop" option.

A. There will be an external drive on your desktop that represents the UniBeast USB's EFI partition
B. Double click that EFI drive icon to open it up and reveal the EFI folder on that partition
C. Now open the Clover folder inside of that EFI folder
D. Download the Custom Clover config.plist (zip file) Attached below
E. Delete the existing config.plist and then add in the new Custom one you just downloaded

382245


F. Open up the kexts/other folder and drag and drop the release version USBInjectAll.kext into that folder
G. Download "SSDTs" zip file from the end of this post and place those files in the /Clover/ACPI/patched folder
H. Add the HFSPlus.efi driver to the Drivers64-UEFI folder. This is also attached below.

Install Kexts and the Clover Bootloader

We'll be using Multibeast 11.3 to install the Clover bootloader and some required kexts to the system drive's ESP.
408594https://www.tonymacx86.com/resources/multibeast-11-3-0-mojave.430/

Make the following selections in Multibeast. Leave your SysDef at the default iMac 14,2 for now.
M.Beast Choices.png

Next, click on the Install icon in the lower right corner and Multibeast takes care of the rest for you.

Now we will install three more kexts that are needed for working audio and graphics. Download Kextbeast from the tonymacx86 "Downloads" section. We will then get the three kexts, Lilu, WEG and AppleALC from Github.

Lilu, Whatevergreen and AppleALC. Download the RELEASE.zip file for each one of these.
You can also download these three below in the Lilu.WEG.ALC zip file attachment. At the end of this post.

Drag the 3 kexts to your desktop and then run Kextbeast. Select install to the /Library/Extensions folder.

Screen Shot 2019-09-29 at 7.53.52 AM.png


After you have run Kextbeast and closed the app, make sure to run the Kext Utility app to repair permissions and rebuild caches. Let it run for a minute or more until it finishes. You'll see the "Quit" button appear when it's done.
1569763996326.png



Find the app attached below at the end of this post. Don't use Kext Utility to install kexts as it will put them in the wrong place, /S/L/E which is only to be used for official macOS, Apple signed kexts. All other 3rd party kexts for specific hardware are best installed to /Library/Extensions.


Next go to Finder -> Preferences and then select the "Show Hard Disks on the Desktop" option.

After you do that you'll see the EFI partition mounted on your desktop.

414278
414285


A. Download the Dell Optiplex SSDTs from the zip file at the bottom of this post.
B. Go to /EFI/Clover/ACPI/patched - copy and paste the files from that SSDT folder into the patched folder.
C. Once again, add the Custom Clover config.plist (attached below) to your Clover folder after deleting the existing one.
D. Add the HFSPlus.efi driver to the Drivers64-UEFI folder. This is also attached below.

Optional:To enable Filevault on your SSD see the following mini-guide for the drivers you will need to include for that. Click on this link to see the guide

Drag and drop or copy/paste the following kexts to your "other" folder from /Library/Extensions

E. Add the USBinjectall kext to your Clover/Kexts/other folder just as you did when making your USB installer.
F. Also add Lilu and WhateverGreen to your Clover/Kexts/other folder as well.

Here's how the kexts in the "other" folder should look after you have completed step 4.

408374

Step 2. Update your BIOS and Change the Settings


Download the latest, July 19, 2019 Optiplex 7020 BIOS A18 - Download the latest Optiplex 9020 BIOS A25

This is included as a mandatory step because the version that your Dell came with is likely much too old to work. Mine came with A05 from late 2015. For testing purposes, I tried the Mojave install and it worked. There were many USB related issues that could not be resolved until I later flashed to a newer 2018 BIOS. If yours is older than A18 or A25, you must do this to get a fully functional OptiMac. Especially if you want working USB 3.0 ports.

After you do flash to A18 or A25 you can still downgrade later to an older BIOS. That is an option you have. In my testing the A18/A25 BIOS versions with patches for the latest Intel CPU vulnerabilities don't slow down i5 or i7 CPUs. Get the latest version direct from Dell. You'll need to be on the latest BIOS for use with Big Sur/Monterey if you upgrade.

Flashing the BIOS to a Newer Revision

It's easiest by far to flash your Dell to a newer BIOS from the Windows Desktop. You simply update the BIOS from right within Windows by double clicking on the .exe file. This will initiate the flashing process. Make sure you have Internet Explorer or Edge set as your default browser. Let your Dell reboot automatically to complete the process.

If you don't have a Windows 7 8.1 or 10 install on the hard drive of your Dell you could download a Windows 10 iso from Microsoft and create an install USB but that is very time consuming and tedious. Dell offers a simple way to flash the BIOS. Create a FAT32 USB, drag and drop your BIOS .EXE file onto it. Now boot up your Dell and press the F12 key repeatedly until you see the following screen. Select BIOS Flash Update and follow the directions on screen.

Screen_Shot_2.png


Here's a 3rd option that takes much more time and effort. If you have a very old BIOS version it may be necessary to use this instead of the BIOS Flash Update method. Requires Windows to create the DDDP USB.

There is the Dell Diagnostics Deployment Package software (a free download from Dell) that you can use to make a bootable USB and then boot from that to flash the BIOS to a newer version. Follow the directions in this video.


Drag your BIOS executable file to the USB flash drive you just made. It should look something like this:

Screen Shot 20.jpg


Run the BIOS update utility from a DOS environment in Legacy Boot Mode

Screen Shot 2020-01-24 at 7.23.45 AM.png


Now boot from the USB and you'll get a Diag C:\> prompt.

Type in dir first, then press enter to see your BIOS executable file name.

20191230_084656.jpg


Now type in all the letters and numbers of your BIOS file. It starts with the capital letter O as in Optiplex.

IMG_20200820_161001661.jpg


Enter (in this example) O9020A25 and press your return key. Make sure to type in the name of the file exactly for it to work. All of the Dell BIOS files start with the letter O. Follow onscreen directions after that. The next screen will look like this. Type in y and then enter to start the BIOS flash.

IMG_20200820_161046677.jpg

Setting up the Dell BIOS (Tap intermittently on the F2 key at boot up to access your BIOS)

Load Optimized Defaults
after you've flashed the BIOS and before you make any other changes to it.

There is a "Load Defaults" tab in the lower central part of the window. Click on that and then click OK. Now exit and enter the BIOS again via the F2 key and make some changes to it.

Summary of BIOS Setting Changes

General

  • Boot Sequence -> Boot List Option -> UEFI
  • Advanced Boot Options -> Uncheck - Enable Legacy Option ROMs (For AMD graphics cards)
  • Leave Legacy Option ROMs enabled if using the HD4600 iGPU only.
  • UEFI Boot Path Security -> Set to Never
System Configuration
  • Integrated NIC -> Enabled
  • Serial Port -> Disabled
  • Sata Operation -> AHCI
Video
  • Primary Display -> Auto (For HD4600)
  • Primary Display -> Auto or AMD/Nvidia HD Graphics (if using a graphics card)
Secure Boot
  • Secure Boot Enable -> Disabled
Power Management
  • Deep Sleep Control -> Disabled
Virtualization Support
  • VT for Direct I/O -> Disabled

January of 2022 Additional BIOS Setup Steps

Booting Directly from an NVMe drive

An optional step. See the following link to do this: https://www.tonymacx86.com/threads/...g-4k-ips-monitor.277811/page-226#post-2242718

Changing some Hidden BIOS/UEFI settings won't do any harm if you apply them correctly to your 7020/9020 USFF/SFF/MT Dell Optiplex. Other models from Dell could possibly be affected negatively if you were to apply these. Don't use them for the 3020(M) models or the 9020M Dell Micro PCs.

If you want to use OpenCore and Mojave/Catalina then make the following changes so that you can boot to the installer from your USB flash drive.

Shut down completely then boot into modGRUBShell.efi and we'll make changes to a few hidden BIOS settings.

1622512131290.png


Changing the Dell OptiPlex Hidden BIOS/UEFI Settings (Only use for the 7020/9020 USFF/SFF/MT)

1. Unlock CFG
2. Increase DVMT Pre-Allocation to 64MB


These two settings are not available through the Dell BIOS GUI so we'll use this alternate way to change them.

Disable CFG Lock
Code:
setup_var 0xDA2 0x0
Once you are in the shell, grub> type in: setup_var 0xda2 0x0 and press the enter key.
Here's what you'll see:

1622513434740.png


Increase DVMT pre-allocation to 64MB
Code:
setup_var 0x263 0x2
Next type in: setup_var 0x263 0x2 (spaces are required)

1622513565042.png


Finally, make the following five changes to enable EHCI handoff and
set XHCI to enabled etc. using the setup_var command:

Code:
setup_var 0x2 0x1

setup_var 0x144 0x1

setup_var 0x15A 0x2

setup_var 0x146 0x0

setup_var 0x147 0x0
You can download a printable form containing all of these. Attached below called "7020 9020 Hidden UEFI Settings."

Now type in reboot and then you can do the following:

Password protect Intel AMT as directed in the Optiplex 7010/9010 guide: Important Preliminary Steps Step #3. If you open the side panel and see a yellow or white sticker and a 1 on it then AMT is enabled. You need a password. This is important for security reasons. Having it password protected is a very good idea. If you see a 3 or 6 then it is disabled. No need for a password. See the info regarding the use of Intel HD graphics if your AMT is disabled.

Note about Primary Display Setting
On my 9020 system with an RX 570, I switched it back to Auto from "AMD HD Graphics" so that the Quick Look feature would work. I use that all the time with my Optiplex MT used for video editing. Here's an Apple tutorial on how to use it:

Advice Before Installing macOS


It took many long hours of testing and research to put this working guide together. It shouldn't take you more than 1-2 hours to complete the macOS install and post install. Don't be in any hurry to get this done. The guide works if you follow it exactly. If you're in a rush you'll miss things and it will end up taking longer. Haste makes waste as they say.

Step 3. Install macOS

If you have previously installed High Sierra, Mojave or Catalina on your 7020/9020 I highly suggest you perform a "clean" install. This means that in Disk Utility you will format (completely wipe clean) the hard drive you are installing macOS to.

A. First, disconnect the Sata data cables from any Windows or Linux drives you may have in your Dell.
B. Put your OpenCore installer into a front USB port. Use a USB 2.0 port as sometimes the USB 3.0 has problems.
C. Boot UEFI from the OC installer (tap on the F12 key at boot up)

Always boot in Verbose mode during the install. It enables you to see the exact place where a kernel panic may occur. If all you see is a progress bar, you'll have no idea.

The initial boot from your OC drive to the macOS installer is very slow. Even with the Samsung USB 3.1 drive I used that reads at 200 MB/s, it took 3 or more minutes. Be patient and let everything happen in it's own time. When you finally see the Utilities window on your desktop, select Disk Utility. Follow the standard advice for formatting the hard drive you will be installing on. Use GUID Partition Map and APFS file system as your choices in Disk Utility.

408568

There will be a few automatic reboots after you agree to terms and start the install to your hard drive. The progress bar may only go about 1/4 of the way across, then you'll see what appears to be a kernel panic. It's not. You'll end up back at the OC Boot menu. That is normal for this part of the install.

Some times you may need to select the hard drive you are installing to in the OC Boot menu each time it reboots. It should auto select the SSD you are installing to. If it stops at the "Install macOS Mojave" USB icon in the boot menu i.e. your USB drive, use your keyboard's arrow key to select the other drive.

If you've followed this guide verbatim up to this point, you should reach the "select country" screen part of the initial setup. Choose your region, your keyboard, etc. but do not sign in to iCloud at this time. Choose Setup Later instead. Signing into iCloud registers the serial number of the computer, this serial number will change in Post-Installation, which will then result in two new systems being registered in iCloud. So skip iCloud sign-in until post-installation is done and you've created your unique System and Board serial numbers and smUUID in step number 5.

After you've created your Admin account you will reach the macOS desktop.

D. Now open up Terminal and copy/paste this text into it and hit enter:

It's optional, but you can delete the sleepimage to save precious space on your SSD.

Enter each line one at a time and hit enter.
Code:
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimage

To disable other hibernation features
Code:
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0

Verify the settings with
Code:
pmset -g

Copy the finished OpenCore Custom EFI folder from the EFI partition of the USB installer you just created and paste it to the EFI partition of your HDD or SSD. You'll have to mount the hidden EFI partition of the USB first. I use EFI Agent app by the creator of Hackintool. https://github.com/headkaze/EFI-Agent/releases

If you haven't already placed your Serials into the config.plist of the USB installer you should do that now with GenSMBIOS. See the video on how to do that.

To complete step #3 you should eject your OpenCore installer. You won't need it in steps 4 through 6. Keep your installer handy if you ever need it for recovery. When your system won't boot you'll be able to easily boot to the desktop.

Step 4. Post Install Check

Now you can reboot your OptiMac and when you reach the desktop, test out your audio, ethernet and graphics.
Here's what you should see if you enabled audio correctly. Two Line in ports and all of these outputs. I'm using
HD4600 now so this shows HDMI audio working via DP. If your monitor doesn't output audio you won't see HDMI.
If you have an LG 4k (or other 4K monitor) and connect via DP input on your monitor, then under Type it should be showing as DisplayPort instead of HDMI.
Screen Shot 2019-05-30 at 10.08.55 AM.pngScreen Shot 2019-05-30 at 10.08.43 AM.png

NOTE: Only one of the onboard DP outputs can provide DP/HDMI audio. If you don't get DP/HDMI audio to show up in your sound preferences panel, switch to the other port. Then it will work normally.

7020_SFF_back_panel_I_O.png

Step 5. Generate Unique Serials & SMUUID

Use the GenSMBIOS app as shown in the following video. It's very easy to use and helps you generate unique iMac 15,1 serials so that you avoid conflicting numbers with other genuine iMac 15,1 Mac users.


Lately, Apple has been displaying a different message than previously. It now says we are unable to check coverage for this serial number. That means it's not valid as well. You can use that serial for your OptiMac hackintosh.
1643901201268.png

What about macOS Big Sur Support ?
The iMac 14,1 14,2 and 14,3 sysdefs will not work with Big Sur. Choose iMac 15,1 for the option of upgrading to macOS 11 Big Sur and possibly macOS 12 in latter 2021. Apple has dropped official support for the mid 2014 iMac in Monterey. You may still be able to install and boot Monterey (macOS 12) using iMac 15,1. More on this later. Testing is required.

If you have a Haswell refresh i5-4690 or i7-4790 and AMD graphics such as the RX 570/580 then iMac 15,1 is your specific SMBIOS. It's the perfect match for the best CPU power management and graphics function.


Step 6. Install an NVMe SSD into the PCIe x4 slot (Optional Step)

You cannot boot directly from an NVMe drive on an Optiplex 7020/9020 unless you perform the NVMe driver BIOS modification mentioned previously. Even so, there is still a way to use a PCIe NVMe as your system drive where you install macOS Mojave or newer macOS versions. If you install the NVMe drive into it's adapter and then into the x4 slot you can install macOS Mojave to the drive the same way as you have in steps 1-4. The only difference is that you won't install the OpenCore bootloader to the EFI partition of the NVMe drive.

It's easiest to install to NVMe by simply cloning the Sata drive over to the NVMe with Carbon Copy Cloner. CCC should take care of the NVMe drive formatting. Here's the link to get the free trial of CCC. https://bombich.com/download

Now the last step is to add NvmExpressDxe.efi driver to the drivers folder inside the EFI/OC folder of the SSD or HDD you will initially boot from. After you've done this keep your Sata SSD or mechanical HDD connected and first in the BIOS boot order. You will also need to add the NVMe driver reference into your config.plist. It should look like this:

Screen Shot 23.jpg


Use the PlistEdit Pro app to create the entry. https://fatcatsoftware.com/plisteditpro/

Choose your NVMe from the OC Boot Menu. You will see the NVMe drive as an option there. Booting from this NVMVE gives you blazing fast boot times and the ability to easily work with large 4K video and even larger photo files. I've attached the NvmExpressDxe.efi driver below so you can easily install it to your Sata SSD or HDD. If you cannot fit either a Sata or NVMe based SSD into your budget, the mechanical 3.5" HDD is stil usable as a boot drive. The APFS file system won't help speed things up on a mechanical 3.5" drive. Boot times are longer, apps open slowly etc.

Note: You can also install the NVMe drive to your x16 PCIe slot to get the fastest speeds. That is the newer revision 3.0 PCIe and the PCIe x4 slot is the older revision 2.0. If your are using only HD4600 graphics this will be quite easy to do.

Alternate Realtek Audio (ALC280) Layout IDs
The layout-id of 17 will enable all the inputs and outputs but you'll have to switch between them manually.
The default layout-id of 13 doesn't enable the internal speaker and works the best for me. If that does not work for your needs, there are others you can test out. Try 15,16 etc. and find the best configuration for you.

According to Acidanthera any of the following will work to enable different combos of mic, line out, headphones and internal speaker:
layout 3, 4, 11, 13, 15, 16, 17, 21

For Video Editors and Graphic Designers
If you have a Metal 2 Capable graphics card and want to speed up renders in your video editing programs.
See this section of the iDiot's Guide to Lilu and it's Plugins - Headless Platform ID's

Do this if you will be using Motion, Compressor, Davinci Resolve, Premiere Pro, iMovie or Final Cut Pro X on a regular basis. Enabling headless mode for your iGPU will help to speed up graphics rendering tasks by enabling the Quicksync capability of your Intel CPU. What you lose is the ability to run a monitor from the onboard DP outputs on your Optiplex. You can run in headless mode full time if you'd like, that's the way the Late 2013/2014 iMac functions.

Here's the change you'll need to make to your config.plist Devices/Properties section of your OC config.plist. Note that setting the ig-platform-id of 04001204 is the only change you make to the existing config.plist used in this guide. When running headless you can delete framebuffer entries. Headless framebuffers (where the dGPU is the display out) do not need framebuffer-patch-enable, framebuffer-stolenmem and framebuffer-fbmem.


Keep the other Device entry that is already in your config.plist. This enables your onboard Realtek audio.
PciRoot(0x0)/Pci(0x1b,0)

If you've set the correct ids for your Haswell/HD4600 CPU you should see this in the Hackintool System Info section: VDA Decoder - Fully Supported. If you see the following, "Decoder Failed" then Intel Quicksync is not enabled.

Headless - Not working.png


Also check what shows under Patch -> Connectors. You should see the headless icon and the four dummy connectors.

Headless icon.png

For Better Security and Privacy while using your OptiMac

1. Download and install Malwarebytes for Mac: https://www.malwarebytes.com/mac/

You can use the paid version for real time protection. With the free version you can scan and check any software before installing it on your OptiMac.


2. Install the uBlock Origin browser extension (for Firefox and Chrome)

This is the best "adblocker" that I've used. Keeps annoying pop up ads out of your web browsing.

Conclusion
Once you have everything working and all of your programs installed it's important to make a clone of your system drive.
You can easily make a bit for bit copy of this drive that is bootable by using Acronis True Image 2021. If you want to make a bootable Acronis USB to make the clone, choose the Windows version. Install the Mac version of Acronis to your HDD or SSD if you want to run the program from within macOS and clone your drive while running macOS.

Making a bootable clone for recovery purposes
Follow CaseySJ's complete CCC bootable clone guide. Step 11 of his Z690 Golden Build thread.
Step 11: Open the spoiler below to make a full bootable backup. Components needed for this are listed at the top of this guide in the section Components: Bootable Backup.
Whether it's an NVMe drive or a Sata based drive, if you make a clone with CCC don't forget to see if the drive will boot on it's own. Keep your clone drive disconnected from your Dell and in a safe place. If anything ever does go wrong, you can install that and easily boot from it to be able to access your other Mojave/Catalina/Big Sur drives in your Dell Optiplex.

I'm interested in hearing about your experiences with this guide and your Dell Optiplex system. Fill out your hardware profile and and also upload your problem reporting files if you want help with specific issues that come up. I'll do my best to help you sort them out.


Download Config.plist, Kexts and SSDTs

Note:
The SSDT-USB.dsl file is only to be used for creating a custom SSDT-USB.aml. Edit the .dsl with MaciASL and then compile and save it as .aml. Do not place the .dsl file into EFI/Clover/Kexts/other folder. Only use the compiled .aml once you've created that. The .dsl version does not include HS13 which is the internal USB 2.0 header only present on the Mini-Tower Dell motherboards. If you have an SFF or USFF Dell you won't need to include HS13 in the SSDT.

See: The New Beginner's Guide to USB Port Configuration by UtterDisbelief for detailed info.
 

Attachments

  • USBInjectAll.kext.zip
    16.6 KB · Views: 2,188
  • Kext Utility.zip
    285.8 KB · Views: 1,899
  • HFSPlus.efi
    24.3 KB · Views: 2,244
  • BCM943602CS_Win_10_build_1903.zip
    13.9 MB · Views: 1,588
  • SSDT-USB.dsl.zip
    1.2 KB · Views: 1,621
  • Custom SSDTs.zip
    8.4 KB · Views: 2,274
  • Dell DDDP.zip
    3.6 MB · Views: 1,335
  • 9020 MT manual.pdf.zip
    3.5 MB · Views: 866
  • 9020 SFF manual.zip
    3.7 MB · Views: 797
  • 0.6.9 OC EFI.zip
    13.2 MB · Views: 847
  • NvmExpressDxe.efi.zip
    14.3 KB · Views: 253
  • Clover config.plist.zip
    2.5 KB · Views: 337
  • OptiPlex Default UEFI Settings.zip
    28 KB · Views: 227
  • 7020 9020 UEFI Settings.pdf.zip
    55.5 KB · Views: 271
Last edited:
Dual Booting with Windows 10
Many people need windows 10 for occasional use. Should you install it alongside macOS ? My answer is no. It will lead to numerous problems you won't want to deal with on a regular basis. What I recommend is that you create a Windows To Go USB or SSD. You can boot to this via a USB 3.0 port externally and avoid most all of the dual booting problems. Here's where you can read about this and download the free or paid versions of WinToUSB.

How to create Windows To Go using WinToUSB


Rufus now has this option built in. I made a Windows 10 Pro USB and it worked with no issues. See the Rufus website for more info. https://rufus.ie/

If you do want to keep the 3.5" Windows HDD connected internally here's what I recommend that you do. Leave the Windows HDD connected when you're booting into macOS. When you want to boot into Windows, disconnect the Sata data cable to your macOS SSD. That way Windows will never overwrite the EFI partition with your bootloader on it. No Sata data cable connected to the SSD means Windows cannot mess with that most important EFI partition.


Current best Dell OptiMac Deals @ Newegg/Amazon

410359



The Optiplex SFF model with a Core i5-4590 CPU is the very best bang for you buck in terms of price/performance. Make sure to buy a minimum of 2 x 4GB of ram to run in dual channel mode. You can always upgrade the ram later on yourself to save a little money.

When you click the link to Newegg and go there, select the "Sort By" Lowest Price option to find the best deals.
Screen Shot 4.jpg

https://www.newegg.com/p/pl?d=Optiplex%20SFF%20Core%20i5-4590%207020&Order=PRICE

Here's a picture of a 2.5" SSD that I've fit just below the optical drive in the 7020 SFF. This means you can keep Windows or Linux on the 3.5" HDD and then use your SSD for macOS. No mods or adapters are needed.


Here's another option for mounting the SSD where the slim Optical Drive resides. Will make it easier to disconnect the SSD's sata cable when required. https://www.amazon.com/dp/B081Z5STG6/?tag=tonymacx86com-20

The Mini-Towers with i5-4590 sell for 20 dollars more. Buy that if you want to game with an RX 570/580. The quality of the hardware in these systems is server grade. How do I know that ? Because Dell uses the exact same mATX motherboard in it's Precision T1700 servers. Have a look at the following graphic I found via Google search:

Screen Shot 1.jpg


9020 MT with Core i7-4770 128GB SSD / 3TB HDD and 8GB of ram. Upgrade the ram up to 32 GB if need be.
https://www.amazon.com/gp/product/B077N5TLVR/?tag=tonymacx86com-20 If you buy this plus the 4K monitor and install an RX 580 8GB you'll have a system that can handle most anything in terms of 1080p gaming or editing. Make sure to upgrade the PSU to at least 500W Gold rated. Total cost would be around $800 for an awesome system. Much better than an iMac 15,1 Late 2014 that sells for $1500.

If you want a Mac mini sized desktop then get the 9020 Ultra Small or USFF.
https://www.amazon.com/dp/B078RK79PW/?tag=tonymacx86com-20

Genuine Hynix DDR3 16GB Ram Kit
This is the best choice for ram in your Optimac. No need to worry about compatibility or fit. It fits in the MT, SFF and USFF models. For about $53 16GB is more than enough for most things you'll be doing. If you want to max out your 9020 SFF or MT this is the best deal for new ram. Always stock up when prices are low. Refurbished ram is cheaper, but may not have any warranty and may not work.
https://www.amazon.com/dp/B00IV19HZE/?tag=tonymacx86com-20

LG 4K monitor 27UL550W is selling for about $397 at Amazon.com. Has small bezels and is adjustable. You get a full size DP in port so no adapters are needed. There are two HDMI 2.0 inputs on the monitor which can be used with a gaming console. This is the 2019 model and is also VESA/wall mountable if you don't want to use the included stand.

The UL500W (non-adjustable) can also be bought at Amazon but for significantly less.
https://www.amazon.com/dp/B07PX8JMJV/?tag=tonymacx86com-20

Replacement 7020/9020 MT Motherboard

These can still be purchased new on Amazon.com for just over $80 shipped. https://www.amazon.com/dp/B07323HV2N/?tag=tonymacx86com-20 If you want to try the used/refurbished market on Ebay you'll find lower prices there. Remember that if you want to buy just the mobo and install it in a micro ATX case you'll need a power switch and the temperature sensor cable. If using your own PSU you need the Optiplex 24pin to 8pin adapter from moddiy.com Link above.

Sapphire Pulse RX 580 8GB Graphics card for the Mini-Tower


Replacement PSU for the Optiplex Mini-Tower

https://www.newegg.com/seasonic-core-series-core-gm-500-500w/p/N82E16817151242
1612307929653.png
Here are the dimensions that the PSU must be to fit in a Dell MT case. The Seasonic CORE GM-500 has been tested and does fit quite well in the Mini-Tower form factor. You can buy the 550W version if you will need that much power.

Other brands such as EVGA offer 500W power supplies with these dimensions.

Whichever PSU you choose, it should be 5.51 inches (140mm) in length from front to back.

How to install your new Power Supply


From this video you'll see why it's best to use at least a semi-modular
PSU and a graphics card that is under about 9.5 inches in total length.


Recommended Third Party mATX Cases for your Dell OptiMac

Darkflash DLM 21/22
@ 55 USD
https://www.amazon.com/dp/B07R4L54NX/?tag=tonymacx86com-20

Fractal Design Define Mini C @ 84 USD
https://www.amazon.com/dp/B01N05CPU8/?tag=tonymacx86com-20

Thermaltake Versa H17 Micro ATX @ 49 USD
https://www.amazon.com/dp/B07THWKT6V/?tag=tonymacx86com-20

Extra 120mm Case Fans - 4 Pin PWM by Noctua
The Thermaltake Versa case and the Darkflash DLM21/22 will need at least one 120mm fan for adequate cooling. The Define Mini C includes two case fans. These are affordable Noctuas at 14 dollars each. Very quiet and you can hook them up to a fan controller. Even if you run them at full speed they are still quiet. So pick up one of these if you buy either of these cases for the transfer.

https://www.amazon.com/dp/B07C5L4QGN/?tag=tonymacx86com-20
91-WKoE6sTL._SL1500_.jpg

You can also adapt the 5 pin case fan header to 4 pins and run it from that. The adapters cost only a dollar each from China but closer to 6 dollars each from US and EU sellers. If you can wait for shipping times of a 3 weeks or longer try these: Fan adapters on Ebay

1620738037220.png

Here's some more important info on NVMe and Sata SSD drives you can use, that allow TRIM to be enabled.
It appears, from my testing that Apple branded NVMe drives will not work correctly in your OptiMac hackintosh.

Definitely avoid any drive listed in the last "Incompatible" section of this listing. All M.2 drives will need a PCIe adapter to work in your Dell OptiMac as well as the
NVMe driver to allow booting from that drive.

Working with TRIM broken (can be used with TRIM disabled, at slower boot times, or as a data storage):
  • Samsung 950 Pro
  • Samsung 960 Evo/Pro
  • Samsung 970 Evo/Plus/Pro
Working fine with TRIM:
  • Western Digital Blue SN550
  • Western Digital Blue SN570
  • Western Digital Black SN750 (aka SanDisk Extreme PRO)
  • Western Digital Black SN850
  • Intel 760p (including OEM models, e.g. SSDPEMKF512G8)
Working fine with TRIM (SATA):
  • SATA PLEXTOR M5Pro
  • SATA Samsung 850 PRO (need more tests)
  • SATA Samsung 870 EVO (need more tests)
Incompatible with IONVMeFamily (die under heavy load):
  • GIGABYTE 512 GB M.2 PCIe SSD (e.g. GP-GSM2NE8512GNTD) (need more tests)
  • ADATA Swordfish 2 TB M.2-2280
  • SK Hynix HFS001TD9TNG-L5B0B
  • Samsung PM981 models
  • Micron 2200V MTFDHBA512TCK
  • Asgard AN3+ (STAR1000P)
 
Last edited:

How to move your Dell Optiplex Mini-Tower to a New Case

Q: Why would anyone want to do this ? Isn't the Dell OEM case good enough ?

A: The Dell case is solidly built and functions perfectly well. It is a PC case designed for business use. Most business people do not install AMD gaming graphics cards into their Dell Optiplex. In certain scenarios it does make sense to transplant your Dell MT motherboard into a 3rd party manufacturer's case. Primarily when you'd like to use a graphics card over 10 inches long and also need more airflow through the case. You can modify your Dell case using drills and dremels and install another fan but a transplant is an easier way to give you more room and airflow.

If you truly need more airflow, better cooling to prevent your CPU and GPU (such as an RX 580/90) from overheating, the transplant technique is probably worth your time and effort.

Q: How does one go about doing all this ? Is it as simple as building a new PC from component parts ?

A: In some ways it is and in others it isn't. The install of the Dell mATX motherboard is exactly the same as installing one in any PC case. Put in the I/O shield, line up the board over the stand offs then screw in the 8 screws through the holes of the board into the standoffs. Connect up all the connectors to the board and that's it.

Q: What mATX case do you recommend ?

A:
As of today the Lian Li 205M case from Amazon.com looks like the best choice and value. It's solidly built, not too large or heavy and will look really good as well. Includes two 120mm four pin PWM fans, has room for cable management.

See this case at Amazon: Lian Li 205M

1598955583870.png
1598955469974.png
1598955537429.png


If you prefer a white/black themed case with a glass side panel, have a look at the Darkflash DLM21. I have the non-mesh white version of this and it works nicely with my 9020 MT system. Got a great deal on one at 50 USD.

Bring along your OEM Dell CPU cooler and fan. It works perfectly well and is quiet enough. Also a good idea to keep the Dell rear exhaust fan in the new case. When you plug it into the 5 pin header it prevents error messages at boot up.

You will need to use a standard ATX Power Supply in any case that doesn't have space for a top mounted Dell PSU. Then you must adapt that ATX PSU's 24 pin power connector to the proprietary 8 pin header on the motherboard.

Screen Shot 18.jpg
You will also have to bring along your Dell's proprietary power switch/button and temperature sensor to the new case. You can also bring along the front panel I/O which includes the audio headphone and mic jacks and front USB ports. If you don't want to do that, install the Harbin Repairs front I/O adapter. In the lower left of the pic below. It's a nice clean solution that works. This adapter is only compatible with MT Optiplex motherboards, not the smaller SFF boards.

20210629_071522.jpg


Q: What parts from the Dell Desktop can I leave behind ?

A:
There are a number of non-essentials you can leave with the OptiPlex case.
The main two are the intrusion switch and case speaker. You could also leave the
front panel I/O if you will use the new case's front panel I/O.

Screen Shot 9.jpg

Screen Shot 12.jpg

Screen Shot 10.jpg

Take the temperature sensor along to the new case. Mandatory for the CPU fan PWM to work.
Screen Shot 11.jpg


Moving the Dell 9020 MT into a new mATX or ATX Case
I've built many PCs from scratch over the last 8 years. This was relatively easy for me to accomplish. If you don't have any PC building experience you should watch Youtube tutorial videos to learn the basics. You can damage your motherboard if you don't know what you're doing so learn and take the proper precautions before proceeding.

Here's a video showing you step by step how to do the transfer from a Dell 9020 MT


The way the Jon the Net Guy shows you how to enable the front power switch/button is just one way you can do that. If you want to simply buy and attach pre-made adapters you can find those for sale by Harbin Repairs. This is the link to get the adapters: https://www.ebay.com/itm/Dell-Optip...T1700-Front-Panel-Header-Adapter/264733441811

The problem with his video is that he doesn't show you how he removed the plastic connector around the 5 power button pins. You can easily damage the pins when you do that and it is rather difficult. There are other methods you can use and we'll go into those in detail shortly. See these closeup pics of the connector with and without the cable plugged in.

DSCN0011.JPG
DSCN0012.JPG



Four Options for Your Front Power Switch Connection

1. Connect up the original power switch cable (OEM) that came with your Optiplex. Use Dell's led lit power button.

2. Cut your OEM Dell cable and then connect the black and yellow cables to the power switch cable (POWER SW) that is attached to your case’s power button.

3. Remove the plastic connector piece that surrounds the five pins of the header and then connect up the case power switch cable from your case to the front two pins of the header on the board.

4. Purchase a power switch adapter from Harbin Repairs and place it correctly on the 5 pins. Then connect up the new case's power switch and LED wires easily. These are designed for the mid tower (not SFF or small form factor) desktops. It allows you to connect standard PC case front panel wiring to the Dell Optiplex.
See: Two Optiplex 7020/9020 PWR SW and Front panel pin adapters

Number one is the easiest and requires no modding. The problem is that you must then reach into your case each time you power on or off. If you don't power your system off and on very often it's not a big deal.

Number two requires cutting the OEM cable and removing part of the sheath to expose the color coded copper wires. You'll need to strip off the colored sheath, then attach the black/yellow wires to the case power switch cable. The following video shows you how. Solder is not mandatory but if you're handy with a soldering iron, why not ?


Number three requires permanent removal of a plastic piece that connects to the motherboard. There is the potential of damaging the pins when removing it. The plastic around the pins won't let you insert a standard power switch connector (POWER SW) from your case's front panel. Dell did this on purpose so people wouldn't put these in non-Dell cases. I don't recommend this technique unless you have a very sharp Swiss army knife and are very skilled with it.

Number four costs the most money but may be worth it to you if you dread the thought of cutting away the plastic casing around the 5 power switch pins. It is a rather difficult task for many. Doing damage is possible.

You will also need good lighting and keen vision. You assume all risk when trying this. Ideally you would cut into the plastic on the side and remove just the lower left corner as depicted. Leave the bottom piece intact. Do not try to break the plastic piece off by hand or you'll probably break the pins along with it. Don't ask me how I know this. I broke off one of the 5 pins but I can still short the two pins with a small screwdriver tip to power on. Tough lesson learned. Don't make the same mistake.

Screen Shot 17.jpg
IMG_20200808_112236661 copy.jpg


Before and after pictures of the only piece you'll need to remove. I used the blade of a Swiss army knife to do this. Probably best to leave the other sides intact. If you don't want the power switch error message at boot up you can jumper the middle two pins (red and blue) permanently. Then you don't need to hit F1 at every boot up. A standard hard drive jumper you can get for 2 dollars on Ebay should do the job. Note the front power LED will not work then.

The yellow and black cables are contacting the two far left pins of the power switch when this is plugged in.
Screen Shot 15.jpg
IMG_20200808_112352995.jpg

Picture of the power switch cable connected to the correct pins. The mod of the casing around the pins is not really noticeable. Power button and power led work reliably.

The orange and blue wires can be used in method two or three to light up the white or blue LED button on the front of your case. You simply connect up the LED+ and LED- to the corresponding case connectors for those. Nothing you'd need to do with the red cable. If you can manage the first option with your chosen case that is the best solution. If not, I'd suggest you use option #2 instead. You can strip the casing off the wires and connect them with something like this:

Here you can see my front I/O except for headphone and mic jacks is working. The HDD LED light doesn't work but that makes no difference to me. I'm happy with how this case transfer has turned out.

DLM21 I:O.jpg


The best feature of my DLM21 Darkflash case is the hinged glass side panel that opens and closes easily. I have access to the front panel mic/headphone jacks without having to remove any screws from the side panel. Really nice. I'm currently using option #3 and and not the Dell power button cable. Much more convenient to power on via the case's power button right on top where it's easy to reach.
Click the following link to see examples of how the interior would look in a DLM21 mATX case

1578011014208.png


Close up of the 2 pin Temperature sensor connector and Front I/O
Connect the temperature sensor to enable PWM fan control to run the fans at normal speeds. Without it your CPU and case fans will run full speed all the time. Your Dell "thinks" temps are too high when it's not connected to the header.


Reasons for choosing a Dell Optiplex 7020/9020 pre-built Desktop


1. Ease of installation, post install and macOS updates
If you follow this guide and install Mojave it can save you many hours of your precious time when attempting to get a fully working hackintosh. Especially if you are a "first timer" otherwise known as a newbie. It's been my experience that macOS updates will less likely "break" the install on one of these Dell OptiMacs when you follow the guide in post #1.

2. It is already fully assembled out of the box
No need to buy PC components, wait for delivery and then unpack them all from their individual boxes. Then spend a couple of hours putting it together, risking ESD damage to components or messing up the build in some other way. If you do include a graphics card with your Dell like the NVS 510, it only takes about 30 seconds to install it. No tools are required.
It's much more like buying an iMac except that you get the option to choose your own monitor and graphics card. The only upgrade that requires more time and effort is the PSU upgrade in the MT Dell Optiplex. Most people should have no problem with this if they want to install a gaming capable graphics card like an RX570 by AMD.

3. Quality of Dell Optiplex Systems
These are some of Dell's most expensive and high quality PCs. The cases are made of thick steel, very close to server quality hardware. A new Optiplex 7020 SFF with i7-4790 retailed for close to $1,300 back in 2014. I bought one new for $200 in May 2019, a savings of $1,100 !! Here's what a new 9020 MT with i7-4790 costs today on Ebay.com.

408478

4. Replacement Parts
Anything you might need to replace or upgrade is available on Ebay at an amazingly low price. There is a huge supply of parts that Ebay sellers steeply discount to make sales. You'll never have to look much to find parts at rock bottom prices.
You can replace the MT motherboard for about 30 dollars and only pay about 14 dollars for the SFF version.

5. Thermal Throttling
It's been well documented that iMacs cannot fully utilize all of the potential of Intel Core i5 and i7 CPUs. The limited airflow in the iMac chassis makes it difficult to keep them cool. Because of this the clock speed of the CPU is automatically lowered when CPU temps reach the mid 90s Celsius. That happens quite often in the 2014 iMac.

FAQ: Questions And Concerns

1. Why call it the OptiMac ? Isn't this just a Dell Optiplex ?
I've created the "OptiMac" designation for this build to indicate that this is a hybrid between a Dell Optiplex and a Late 2014 iMac. It means that you can get most all of the great features of an iMac without all the downsides that come with that AIO machine from Apple. With the OptiMac, you get a much lower price, easy hardware upgrades, 10 total usb ports built in, 4 of which are USB 3.0. You'll also have the ability to connect any monitor you'd like and of course, replace it if it fails. To me those are very important features of any desktop computer.

2. How is it possible to turn a Dell business PC into a fully functional iMac running Mojave ?
It's due to the work of many people over the past 10 years. It all started with the OSX86 movement in the latter 2000's. This community started in about 2010. You can primarily thank RehabMan and the other Clover developers for the chance to get this Custom iMac for an affordable price that does everything you want it to.

3. What about older versions of macOS ? How far back can I go and still get a functional system ?
You can go as far back as Mavericks 10.9.5 if you need to. Note that the newer AMD Radeon cards will not work with most of the older versions of macOS. Some of the Nvidia cards will be a better option there. The Quadro K600 or NVS 510 for example, would work with Mavericks through Big Sur. Support was dropped in Monterey macOS 12. https://en.wikipedia.org/wiki/MacOS#OS_X_10.9_Mavericks
 

Attachments

  • Screen Shot 10.jpg
    Screen Shot 10.jpg
    76.9 KB · Views: 125
Last edited:
Geek Bench 4 Results for the i7-4790 in the 7020 SFF

CPU Benchmark


409101


Here's the $800 plus Mac mini for comparison

Multi-Core is over 3,000 pts. lower than a 7020 SFF w/i7-4790

408988


Note that if you upgrade the ram to 32GB in the 7020 SFF the multi-core scores will
be well over 16,000. Just make sure to buy a low profile DDR3 1600 MHz kit 1.5V


OpenCL Score with the Gigabyte RX 570 in a 9020 Mini-Tower

414612



OpenCL Score with the AMD R9 M290X - iMac Late 2014

414614


Black Magic Disk Speed Test

409160

This test was run with the HP EX900 120GB NVMe SSD
I placed the adapter in the PCIe x16 slot for the best performance

Write speeds will be much higher with the HP EX900 500 GB NVMe drive

i7-4790 CPU Power Usage at Idle - Intel Power Gadget
IPG readings i7-4790.png

USB Port Discovery

This will be useful information if you have to do any USB troubleshooting. There are a total of 14 USB ports on the SFF models. They have no internal USB 2.0 header. The Mini-Tower does have the internal USB 2.0 header. HS ports are USB 2.0 and SS ports are USB 3.0/2.0 dual ports. No need to worry about Apple's 15 port limit.

409156


409157


NOTE: You should always connect your monitor to DisplayPort out and not the analog VGA (blue) 15 pin.
VGA is not supported in macOS. Apple dropped support for VGA analog video connections in about 2008.

The Dell Optiplex MiniTower Motheboards have Internal USB 2.0

Mintower Schematic.jpg


HS 13 is included in the custom SSDT-USB.aml file attached at the end of this post.


 

Attachments

  • Custom SSDTs.zip
    8.4 KB · Views: 552
Last edited:
First thing first, thank you so much for all your time and effort to give something to others. I have a huge respect for this.
I took your advice and will go down with this route. I have found i7 SFF https://www.gumtree.com/p/desktop-w...3.40ghz-8gb-ram-1tb-win-10-pro-pc-/1339007256 but as far as I can understand my GPU options will be limited. Will you please tell me what sort of GPU I can use with them and what sort of RAM I should get?
Many thanks
 
First thing first, thank you so much for all your time and effort to give something to others. I have a huge respect for this.
I took your advice and will go down with this route. I have found i7 SFF https://www.gumtree.com/p/desktop-w...3.40ghz-8gb-ram-1tb-win-10-pro-pc-/1339007256 but as far as I can understand my GPU options will be limited. Will you please tell me what sort of GPU I can use with them and what sort of RAM I should get?
Many thanks
Since its an SFF case limited to a single slot GPU the choices are limited. You could use an NVS 510 as per the guide. If you want to edit 4K video though I would get the MT version of the 9020 and the RX 570 graphics. AMD is much better with macOS currently and I don't know how long Apple will support the older Kepler based Quadro cards like the K600 and the NVS 510. We may know more by the time WWDC happens next week in California.

EDIT: The next version of macOS (Catalina) will still support Kepler based graphics cards that worked in Mojave.
 
Last edited:
OK will go for MT, opting out AMD for a new system is not wise I guess.I will replace the power supply and go for RX570 . I hope I can do it :)
 
It's an ok deal. Personally I would want a case that is in better condition. The top looks very distressed and it probably hasn't gotten a good cleaning so you'd have to do that yourself. I don't think the AMD card is supported but you could try it. If it does work report back here about that. It also shows 3 DIMMS of ram in the picture so how it equals 16 GB is hard to figure. 5.3GB each ??? No PCIe slot covers is also a drawback. Take some time to search more for a better deal before you buy one.

You could ask this seller for actual pictures of the one you'd get. You can easily sell the 1050 Ti to buy your RX570 card.
 
Last edited:
@trs96, Thanks again for doing this. This may be an upgrade I want to do from the 8300 as this allows for larger GFX and a little bump in CPU.

Can you post any GeekBench scores yet?
 
Back
Top