Jump to content
Micky1979

Build_Clover.command, another Script to build standard Clover (or customized)

2,010 posts in this topic

Recommended Posts

1 minute ago, arsradu said:

Ok. I did not know that. As I said, I'm learning new things every day. And I'm not afraid to say "I don't know".

 

 

I see. Ok. I'll give that a try, as well. I just thought that AptioMemoryFix is older, or not as good as AptioFix3. I was just suggesting using the best one.

And since, as I said above, I've never heard of anyone who doesn't need it..., and also based on my personal experience, I supposed it might be mandatory for boot. My bad, I guess.

 

AptioMemoryFix.efi for me works flawless and also is up-to-date.. Give it a try.. The same states for VBoxHfs.efi.. you might realise that HFSPlus.efi is not needed when using VBoxHfs.efi :wink_anim:

Share this post


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

APFS is not mandatory for boot on an APFS system?

And what I said?

30 minutes ago, vector sigma said:

You giving me right? Lol. Better can be to install both by def.

 

Share this post


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

As I said, I'm learning new things every day. And I'm not afraid to say "I don't know"

No problems Bro':wink_anim:, me too I'm new to hackintoses, just I'm able sometimes to read code even if a little rusty:P

Edited by vector sigma
typo

Share this post


Link to post
Share on other sites
3 minutes ago, vector sigma said:

And what I said?

Well you said this:

Quote

Well, if you insist to 'boot', is not mandatory. You can have the need if you can't boot without. Being good for nvram is another story.

 

APFS doesn't have anything to do with being good for NVRAM, for as far as I know... So I suppose you were referring here to AptioFix3Drv.

But my question was about APFS: can you boot without apfs.efi on an APFS based system?

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, arsradu said:

 

Yes, it is not needed. For as far as I know, they both do the same thing. BUT....I head VBoxHFs is slower. That's why I'm using HFSPlus in the first place. But maybe I was wrong about this, as well... 

I can't see mutch difference, and is just read-only vs read-write, even if I can't understand why you need to write something to your ESP that is FAT32

1 hour ago, arsradu said:

But my question was about APFS: can you boot without apfs.efi on an APFS based system?

of course yes! This just since last week when I saw ApfsSupport which is able to load apfs.efi from inside the OS partition that we already have. But here again, we can just give a month of testing before make it essential?....

Additionally the Clover package save what you have done before, isn't this enough to remind what did you previously selected?

1 hour ago, arsradu said:

So I suppose you were referring here to AptioFix3Drv

yes

Good night guys!

Edited by vector sigma

Share this post


Link to post
Share on other sites

Thanks @Philip Petev, working fine after r4563 commit.

(ApfsDriverLoader, Aptio* are also available on the package)

 

aQP62mf.png

 

Logs: https://app.box.com/s/k24g4rlm7vzxvfs6obwhzt46nj7rm3pm

 

Spoiler

 --------------------------
 Building process complete!
 --------------------------

 Build info.
 ===========
  Package name: Clover_v2.4k_r4565.pkg
  MD5:          5da7b08f7ca65a69109f70bebc75aeed
  Version:      v2.4k
  Stage:        v2.4k
  Date/Time:    2018-06-22 06:10:52
  Built by:     badruzeus
  Copyright     2012-2018

  adding: Clover_v2.4k_r4565.pkg (deflated 1%)
  adding: Clover_v2.4k_r4565.pkg.md5 (stored 0%)
total 23664
drwxr-xr-x   9 badruzeus  staff      306 Jun 22 06:13 .
drwxr-xr-x  15 badruzeus  staff      510 Jun 22 06:13 ..
-rw-r--r--@  1 badruzeus  staff  5886936 Jun 22 06:13 Clover_v2.4k_r4565.pkg
-rw-r--r--   1 badruzeus  staff       68 Jun 22 06:13 Clover_v2.4k_r4565.pkg.md5
-rw-r--r--   1 badruzeus  staff  5837568 Jun 22 06:13 Clover_v2.4k_r4565.zip
drwxr-xr-x   3 badruzeus  staff      102 Jun 22 06:11 Resources
drwxr-xr-x   6 badruzeus  staff      204 Jun 22 06:13 build
drwxr-xr-x   3 badruzeus  staff      102 Jun 22 06:13 package
drwxr-xr-x   6 badruzeus  staff      204 Jun 22 06:13 utils
================================================================================
build started at:
Fri Jun 22 06:07:38 WIB 2018
finished at
Fri Jun 22 06:13:34 WIB 2018

Done!

 

 

Share this post


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

Guys, have any of you tried building 4566?
I get an error 65 building genconfig.

Same genconfig's issue here on Mojave and High Sierra.

Edited by Matgen84

Share this post


Link to post
Share on other sites
29 minutes ago, arsradu said:

Guys, have any of you tried building 4566?
I get an error 65 building genconfig.

And what is the error?

Share this post


Link to post
Share on other sites
5 minutes ago, Slice said:

And what is the error?

[XCODE] clover-genconfig
** INSTALL FAILED **


The following build commands failed:
    CompileC /Users/home/src/UDK2018/Clover/CloverPackage/sym/build/clover-genconfig/clover-genconfig.build/Release/clover-genconfig.build/Objects-normal/x86_64/clover-genconfig.o clover-genconfig.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
    Ld /Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig normal x86_64
    GenerateDSYMFile /Users/home/src/UDK2018/Clover/CloverPackage/sym/build/clover-genconfig/clover-genconfig.dSYM /Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig
    Strip /Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig
    SetOwnerAndGroup home:staff /Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig
    SetMode u+w,go-w,a+rX /Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig
(6 failures)
make[2]: *** [/Users/home/src/UDK2018/Clover/CloverPackage/sym/utils/clover-genconfig] Error 65
make[1]: *** [all-recursive] Error 1
make: *** [pkg] Error 2

Share this post


Link to post
Share on other sites

Yeah, I also get this issue using Xcode 8.2.1 under OS X 10.11.6:

 

Spoiler

MAKE PKG
                             <--------------------------------------------------

========= Translating Resources ========
/Users/badruzeus/src/edk2/Clover/CloverPackage/package/../../../../opt/local
Updating 'en' strings file for CloverUpdater... done
Updating 'en' strings file for Clover Preference Panel... done
Updating strings file for Clover Preference Panel... done
 (170 entries)

Building CloverUpdater application...

[XCODE]
Building CloverPrefpane preference...

[XCODE]
================= Making all in boot1-install =================
	[XCODE] boot1-install

================= Making all in partutil =================
	[XCODE] partutil

================= Making all in bdmesg =================
	[XCODE] bdmesg

================= Making all in clover-genconfig =================
	[XCODE] clover-genconfig

** INSTALL FAILED **


The following build commands failed:
	CompileC /Users/badruzeus/src/edk2/Clover/CloverPackage/sym/build/clover-genconfig/clover-genconfig.build/Release/clover-genconfig.build/Objects-normal/x86_64/clover-genconfig.o clover-genconfig.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
make[2]: *** [/Users/badruzeus/src/edk2/Clover/CloverPackage/sym/utils/clover-genconfig] Error 65
make[1]: *** [all-recursive] Error 1
make: *** [slimpkg1] Error 2

o_Ops, MAKE PKG exited with error(s), aborting..
MacBookPro:~ badruzeus$ 

 

 

Share this post


Link to post
Share on other sites
Posted (edited)

Trying to build 4566 on Mojave, Build_Clover script v4.8.8

================= Making all in clover-genconfig =================

[XCODE] clover-genconfig

** INSTALL FAILED **

The following build commands failed:

CompileC /Users/shane/src/edk2/Clover/CloverPackage/sym/build/clover-genconfig/clover-genconfig.build/Release/clover-genconfig.build/Objects-normal/x86_64/clover-genconfig.o /Users/shane/src/edk2/Clover/CloverPackage/utils/clover-genconfig/clover-genconfig.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

make[2]: *** [/Users/shane/src/edk2/Clover/CloverPackage/sym/utils/clover-genconfig] Error 65

make[1]: *** [all-recursive] Error 1

make: *** [pkg] Error 2

o_Ops, MAKE PKG exited with error(s), aborting..

Edited by SavageAUS

Share this post


Link to post
Share on other sites
Posted (edited)

But strange is, I get no issue building it under Ubuntu 18.04 (GCC8.0.1):

 

#EDIT: Oh yeah, "Make PKG" does nothing under Linux. Sorry, just got it.

 

Spoiler

Generating DUETEFIMAINFVX64 FV
###############
GUID cross reference file can be found at /home/badruzeus/src/edk2/Build/Clover/RELEASE_GCC53/FV/Guid.xref

FV Space Information
DUETEFIMAINFVX64 [27%Full] 2752512 total, 753184 used, 1999328 free

- Done -
Build end time: 15:54:22, Jun.22 2018
Build total time: 00:01:00

Compressing DUETEFIMainFv.FV ...
Encoding
Compressing DxeCore.efi ...
Encoding
Compressing DxeIpl.efi ...
Encoding
Generate Loader Image ...
Created /home/badruzeus/src/edk2/Build/Clover/RELEASE_GCC53/FV/Efildr64
879+0 records in
879+0 records out
450048 bytes (450 kB, 440 KiB) copied, 0.00309113 s, 146 MB/s
Copy CloverEFI:
  -> boot7
Changing byte at 0xa9 of boot7 to show 7 as init message:
1+0 records in
1+0 records out
1 byte copied, 7.6683e-05 s, 13.0 kB/s
  -> BOOTX64.efi
  -> CLOVERX64.efi
Copy Mandatory drivers:
  -> FSInject-64.efi
  -> AppleImageCodec-64.efi
  -> AppleUITheme-64.efi
  -> AppleKeyAggregator-64.efi
  -> FirmwareVolume-64.efi
  -> SMCHelper-64.efi
  -> XhciDxe-64.efi
  -> FSInject-64.efi
  -> AppleImageCodec-64.efi
  -> AppleUITheme-64.efi
  -> AppleKeyAggregator-64.efi
  -> FirmwareVolume-64.efi
  -> DataHubDxe-64.efi
  -> SMCHelper-64.efi
  -> VBoxHfs-64.efi
  -> GrubEXFAT-64.efi
  -> GrubISO9660-64.efi
  -> GrubNTFS-64.efi
  -> GrubUDF-64.efi
  -> AptioMemoryFix.efi
  -> AptioInputFix.efi
  -> ApfsDriverLoader.efi
  -> ApfsDriverLoader-64.efi
  -> CsmVideoDxe-64.efi
  -> EnglishDxe-64.efi
  -> EmuVariableUefi-64.efi
  -> Fat-64.efi
  -> HashServiceFix-64.efi
  -> NvmExpressDxe-64.efi
  -> OsxAptioFix2Drv-64.efi
  -> OsxAptioFixDrv-64.efi
  -> OsxFatBinaryDrv-64.efi
  -> OsxLowMemFixDrv-64.efi
  -> PartitionDxe-64.efi
  -> Ps2MouseDxe-64.efi
  -> UsbKbDxe-64.efi
  -> UsbMouseDxe-64.efi
  -> VBoxExt2-64.efi
  -> VBoxExt4-64.efi
  -> VBoxIso9600-64.efi
Copy Applications:
  -> bdmesg.efi
  -> Shell64U.efi
Done!

Generating BootSectors
make: Entering directory '/home/badruzeus/src/edk2/Clover/BootHFS'
make: Nothing to be done for 'all'.
make: Leaving directory '/home/badruzeus/src/edk2/Clover/BootHFS'
Done!
================================================================================
build started at:
Fri Jun 22 15:50:28 WIB 2018
finished at
Fri Jun 22 15:54:23 WIB 2018

Done!

                             <--------------------------------------------------
Clover was built successfully!
Press any key to continue...

 

 

Edited by Badruzeus

Share this post


Link to post
Share on other sites

Same error here

Share this post


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

There are no errors. They are before this text.

The problem is that imported headers now have conflicting types, e.g. in utils.c:

// Determines if a Unicode character is a hexadecimal digit.
int IsHexDigit (unsigned char *Digit, char Char);

IsHexDigit is already defined somewhere else. Il take a look after the job, but I think that a simple rename of that function it's enough!

Share this post


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

The problem is that imported headers now have conflicting types, e.g. in utils.c:


// Determines if a Unicode character is a hexadecimal digit.
int IsHexDigit (unsigned char *Digit, char Char);

IsHexDigit is already defined somewhere else. Il take a look after the job, but I think that a simple rename of that function it's enough!

Thanks!

It is here

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/refit/IO.h#l209

Yes, renaming. We can't share body but we can copy to be the same or rename to be different.

Share this post


Link to post
Share on other sites

I'm trying Build_Clover.command 4.8.8 on Mojave and Xcode 9.4.1 and the script he is stuck with this error:

 

Running from: macOS 10.14

Xcode 9.4.1

Build version 9F2000

                             <--------------------------------------------------

================================================================================

Compiler settings

                             <--------------------------------------------------

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 9.1.0 (clang-902.0.39.2)

Target: x86_64-apple-darwin18.0.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

                             <--------------------------------------------------

================================================================================

BUILDTOOL is XCODE8

                             <--------------------------------------------------

 

/Users/mick3lson/Desktop/Build_Clover.command: line 1145: mkdir: command not found

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

Share this post


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

I'm trying Build_Clover.command 4.8.8 on Mojave and Xcode 9.4.1 and the script he is stuck with this error:

 

Running from: macOS 10.14

Xcode 9.4.1

Build version 9F2000

                             <--------------------------------------------------

================================================================================

Compiler settings

                             <--------------------------------------------------

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 9.1.0 (clang-902.0.39.2)

Target: x86_64-apple-darwin18.0.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

                             <--------------------------------------------------

================================================================================

BUILDTOOL is XCODE8

                             <--------------------------------------------------

 

/Users/mick3lson/Desktop/Build_Clover.command: line 1145: mkdir: command not found

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

The script work well on Mojave, with Xcode 10 Beta. Why do you use Xcode 9.4.1?

 

Sorry for my bad english

Share this post


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

Thanks!

It is here

https://sourceforge.net/p/cloverefiboot/code/HEAD/tree/rEFIt_UEFI/refit/IO.h#l209

Yes, renaming. We can't share body but we can copy to be the same or rename to be different.

Thanks @Slice I rename "BOOLEAN     IsHexDigit (CHAR8 c);" to "BOOLEAN     IsHexDigit1 (CHAR8 c);" in IO.h, now it works, but will next version fix it? Whether i need rename it again?

Share this post


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

I'm trying Build_Clover.command 4.8.8 on Mojave and Xcode 9.4.1 and the script he is stuck with this error:

 

Running from: macOS 10.14

Xcode 9.4.1

Build version 9F2000

                             <--------------------------------------------------

================================================================================

Compiler settings

                             <--------------------------------------------------

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1

Apple LLVM version 9.1.0 (clang-902.0.39.2)

Target: x86_64-apple-darwin18.0.0

Thread model: posix

InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

                             <--------------------------------------------------

================================================================================

BUILDTOOL is XCODE8

                             <--------------------------------------------------

 

/Users/mick3lson/Desktop/Build_Clover.command: line 1145: mkdir: command not found

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

That doesn't make any sense. mkdir is built-in command for bash, so there is no such case "command not found".

 

50 minutes ago, Matgen84 said:

 

The script work well on Mojave, with Xcode 10 Beta. Why do you use Xcode 9.4.1?

 

Sorry for my bad english

This error has nothing to do with Xcode. It's shell-related error.

Share this post


Link to post
Share on other sites
59 minutes ago, Matgen84 said:

 

The script work well on Mojave, with Xcode 10 Beta. Why do you use Xcode 9.4.1?

 

Sorry for my bad english

 

8 minutes ago, Philip Petev said:

That doesn't make any sense. mkdir is built-in command for bash, so there is no such case "command not found".

 

This error has nothing to do with Xcode. It's shell-related error. 

So what should I do for solve this issue update xcode to 10 beta,

eventually where can I download Xcode 10.

Share this post


Link to post
Share on other sites

The same error on High Sierra Xcode 9.3.1 and Mojave and Xcode-beta 10.0

Spoiler

 

The following build commands failed:

CompileC /Users/cyberdevs/src/edk2/Clover/CloverPackage/sym/build/clover-genconfig/clover-genconfig.build/Release/clover-genconfig.build/Objects-normal/x86_64/clover-genconfig.o /Users/cyberdevs/src/edk2/Clover/CloverPackage/utils/clover-genconfig/clover-genconfig.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

make[2]: *** [/Users/cyberdevs/src/edk2/Clover/CloverPackage/sym/utils/clover-genconfig] Error 65

make[1]: *** [all-recursive] Error 1

make: *** [pkg] Error 2

 

o_Ops, MAKE PKG exited with error(s), aborting..

logout

Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

 

[Process completed]

 

 

Share this post


Link to post
Share on other sites
36 minutes ago, mick3lson said:

 

So what should I do for solve this issue update xcode to 10 beta,

 

eventually where can I download Xcode 10.

Eventually, if you want to download Xcode 10 Beta: you have to connect to developer.apple.com with your appleid and password.

 

Xcode can't be update from 9.4.1 to 10. So  you have to uninstall previous version.

 

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 fusion71au
      Clover r4799 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4799 for VMware.zip". Mount Clover-v2.4k-4799-X64 by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By sonicthehedgehog2
      Apologies for the lack of information (and for posting in the wrong place), but I can't even boot into Clover so screenshots of verbose mode aren't even possible. I've been running the beta of 10.14.2 for sometime (-using this excellent guide 
      ) without any issues. When I tried to apply the new update for 10.14.2, my pc downloaded the update, shutdown but applied some updates then rebooted into a blank screen. I've tried several things since then. Specifically:
       
      * Booting from the installation USB created using the above guide - same blank screen
      * Booting from an external HDD - successful launch of OS. From here I have tried different versions of Clover including the one on my HDD r4644 (all have been unsuccessful). I have also tried different memory management options osxaptiofix (1, 2 & 3)
       
      The only other information I can provide is in the screenshots below (including a brief of my drive configuration)
       
      Please let me know if and how I can get more information to help resolve the issue, or if I have to rebuild from scratch.
       
      Many thanks in advance
       
       


    • By Teress
      To build a Hackintosh never was easier. If you want cheap Hackintosh and have it quickly and 100% working and without any knowledge how to tweak things, this video is right for you.
       
    • By superdooper71
      Hi all,
      I hope someone can help me as I am struggling with this bloody installation.
      I am running on several problems that I can't face : (
       
      First of all my config:
      Mobo: ASROCK H81M-DGS R2
      CPU: Intel Xeon E3-1220 v3 @3.10ghz
      RAM: 16gb DDR3 1600Mhz
      SSD: Crucial BX100 120Gb SSD
      Monitor: Hp 27w Hdmi
       
      POST Installation CLOVER
       
      Current Issues:
      • System will not boot (clover boot loader do not shows up) from SSD
         - System boot only with USB stick
      • Screen Resolution is only 1024x768
      • Monitor recognised as 17" instead of 24"
      • Monitor identified as secondary
      • Grafic Card Geforce GT710 shows 0 Mb
      • System info do not match Config.plistin Clover
       
      I attach screenshot of System Info, Kext in Clover, Resolution etc etc.
       
      Please can someonhelp me?
       
      Please can you tell me what is the Clover Parameter to activate when installing Clover  (Clover_v2.4k_r4722) into Boot Disk?
       
      I hope someone can help me out of this little troble: )
       
      Cheers
      Franco
       
      system info.tiff
      kext.tiff
      resolution.tiff
      system.tiff
      config.plist
    • By Entropi
      PREFACE
       
      I’ve used a 2015 15” MBP as my main system since it was released. I do photo and video editing in the Adobe suite regularly and have been eyeballing the performance of the latest MBP models. I’m on the road all the time, so a laptop is basically my only option.

      After the whole mess with the CPU VRM hardware flaws being made apparent by the poor power management profile shipped at release with the 2018 i9 MBP I’ve been more weary of the hardware design of MacBooks. That’s before I account for losing all USB-A ports, losing the SD card slot (‽), losing reliability and tactility of the keyboard, and losing the ESC key to the touchbar; if I compare the 2018 MBP to my current 2015.
       
      Given these flaws, I have been researching the performance situation comparing the 2018 MBP to the X1 Extreme, XPS 15 9570, and the Razer Blade 15 2018.  These are essentially the only options for a road warrior that needs a high quality panel and the best CPU and GPU that can be crammed into around 4lbs (1.8kg).  
      I used to use a ThinkPad T42p and loved it when it was new. So fast forward to now and the release of the ThinkPad X1 Extreme. It’s a truly tempting machine for an artist, given that the 4K UHD version offers just about the best color gamut available on any laptop panel. I get back the USB-A ports, get one of the fastest SD slots on any laptop, and get one of the best laptop keyboards on the market. That’s before even considering power management and modularity. I’ve been dabbling in learning Machine Learning, so a system with an nVidia GPU (CUDA) is a bonus on that front as well.
       
      For me the best color reproduction on a high resolution display panel was most important. The X1 Extreme has that, so I’ve ordered one. I got it with the fastest i7, base SSD and memory, and have separately purchased two 1TB Samsung 970 Pro M.2 SSDs and 2x16GB DDR4-3200MHz memory (just in case it’s possible to overclock the memory on the X1 Extreme). I got the system for $2,100 from Lenovo USA, and the SSDs ($390 x 2) and memory ($330) from Amazon US for a total of ~$3200.  These are easy to install on the X1 Extreme as the bottom cover is easily removed to reveal the M.2 and SODIMM slots. To compare, the 2018 MBP with the fastest i7, 32GB memory, and 2TB SSD is $4400. So I can save $1200 and get a faster system (on all counts) with a better panel and better connectivity by going with the X1 Extreme.
       
      The only thing I’m compromising is losing the big beautiful haptic touchpad and a bit more refined hardware aesthetic. Though, to be honest, I’ve kept a big thick dual-layer Tech21 case on my 2015 MBP. So I’ll actually be going down in volume and weight by moving to the more rugged ThinkPad. I think I can live without the touchpad.

      Oh, by the way, the 4K UHD panel of the X1 Extreme has touch and decent pen support! Another bonus vs. the MacBook. Though I keep a 12.9” iPad Pro around for my pen work and can’t imagine using a laptop similarly. It’s still nice to have a laptop screen actually respond when I go poke at it accidentally after switching back and forth between laptop and iPad.
       
       
      TOPIC
       
       
      So I want macOS with proper discrete GPU support on a 2018 MacBook class laptop.  That’s not possible on a pure Hackintosh as things stand, but via a macOS virtual machine it looks like it could work with what looks like some relatively bleeding edge support of PCIe UEFI passthrough.

      People have been doing this on Linux hosts to Windows VMs with some great success recently: https://gist.github.com/Misairu-G/616f7b2756c488148b7309addc940b28
      And it looks like that’s coming for macOS VMs as well: https://github.com/kholia/OSX-KVM/blob/a4fb2fd5aae871bdbc371b0cd31d4d8129d0f9ac/UEFI/README.md

      The X1 Extreme, XPS 15 9570, and Razer Blade 15 (2018) are essentially direct competition to the 2018 15” MBP. I would really like to see these three systems get some nicely fleshed out guides for getting maxed out compatibility and performance in macOS running in a VM for these systems. When I get my X1 Extreme I’ll start working on it for that one. I will post updates here. I hope to inspire others with the other two systems (or looking to get them) to do similarly.
       
       
      15” MACBOOK CLASS LAPTOP COMPARISON
       
      I chose the X1 Extreme largely because of the excellent 4K UHD HDR panel (100% of 2D AdobeRGB and 85.5% of 3D AdobeRGB, basically unparalleled), good mix of thermal performance and noise management, and overall ruggedness and connectivity.  If I were a gamer I would go with the Razer 15, but the fast low-gamut 1080p panel just doesn’t work for my purposes. If I were most concerned with aesthetics or battery life (97Wh battery for it vs 80Wh for X1E) I would go with the XPS 15.
       
      I am aware that the second 2018 refresh of the MBP is coming ~Nov 14, with the new AMD Radeon Pro Vega 16 and Vega 20 GPUs, and it looks like the latter might offer up to a 60% performance boost over the Radeon 560X. Maybe it has even given Apple enough time to update the CPU VRM along the way. This could make the performance picture more comparable for the 1050 Ti based X1E and XPS 15. I believe the 1070 Ti based Razer 15 will still win out though.
       
      Still, if you compare the fan and heat pipe solution put into the X1E vs the MBP the MBP just looks wimpy in comparison. MBP has smaller fans, less venting, and only one (smaller, thinner) heatpipe. It’s also more difficult to access if you want to put a better thermal paste or liquid metal on it.  Put simply, the thermal hardware on the MBP is basically the same design for the last 3 years and it can’t keep up with the hex-core processors. So even with the Volta 20 GPU making the MBP competitive again on the graphics end, the MBP will still be falling short on the CPU performance plane. This is before we even look at tuning options.
       
      Getting into tuning, it’s possible to improve thermal performance of all the laptops in this class by around 15-20% by using either a best in class thermal paste like Thermal Grizzly Kryonaut or (if you’re willing to deal with all the caveats that come with using a conductive fluid that permeates other metals) a liquid metal interface like Thermal Grizzly Conductonaut. The liquid metal gives you the best possible conducting interface, and the paste is more forgiving and easier to apply.  Further, it is often possible to stably undervolt the Coffee Lake i7/i9 available in this class of systems to further improve performance, thermals, and power consumption (generally another 10+%).
       
      Apple has deliberately made it impossible to undervolt the CPU on the MBP! This has been true since the first Skylake CPUs a few years ago. You used to be able to use a program called Volta to undervolt your CPU on macOS. This is a huge peeve for me and, combined with the general power and thermal underdevelopment, is one of the main reasons I want to get a competitor’s hardware. As a primer, the default voltage of modern CPUs is typically set conservatively high for the sake of production efficiency.  With the current generation Coffee Lake CPUs it is commonly possible to set the CPU voltage about 100 to 150mv lower safely.  This allows the CPU to run cooler and consume less power. For laptops which are thermally limited (basically everything in this new 6-core 14nm era), this also translates into better performance. It’s a tweak that actually improves reliability of your CPU. So it’s just stupid that Apple has deliberately made this impossible. Shame on them, someone else take my money.
       
      Wrapping up, my biggest quibbles with the X1E (before actually getting it) are that the 4K panel’s responsiveness is about the slowest I’ve seen on a modern panel, and it’s just really not suitable for gaming. There’s also what I consider an annoyingly high level of backlight corner bleed that I’m sure will be distracting during blackboxed video viewing. Hopefully these two issues will be fixed in next year’s iteration.
       
       
      FOOTNOTES
       
      MacBook i9 Thermal / VRM (below-baseline throttling/thrashing) Issue:
      https://www.macrumors.com/2018/07/24/throttling-i9-macbook-pro-power-delivery-chip/
      https://www.kitguru.net/lifestyle/mobile/apple/matthew-wilson/macbook-pro-2018-throttling-fix/
      This was mitigated with software that works around the poor hardware design, but the system would still ultimately perform better if the CPU VRM were redesigned. Non Mac systems with the similar CPUs don’t have this issue and get better sustained performance.
       
      MacBook Nov 2018 Refresh with Radeon Vega 16 and Vega 20:
      https://www.fool.com/investing/2018/11/05/apples-macbook-pro-gets-the-amd-vega-treatment.aspx
       
      MacBook Class Laptop Reviews:
      Lenovo ThinkPad X1 Extreme, 4K: https://www.notebookcheck.net/Lenovo-ThinkPad-X1-Extreme-i7-4K-HDR-GTX-1050-Ti-Max-Q-Laptop-Review.335608.0.html
      https://www.ultrabookreview.com/23223-lenovo-x1-extreme-review/
      https://youtu.be/vOPeXe1ZE74
      https://youtu.be/JgWyGKf_WlM
      Dell XPS 15 9570, 4K: https://www.notebookcheck.net/Dell-XPS-15-9570-i7-UHD-GTX-1050-Ti-Max-Q-Laptop-Review.332758.0.html
      Razer Blade 15 2018, 1070 Ti FHD 144Hz: https://www.notebookcheck.net/Razer-Blade-15-i7-8750H-GTX-1070-Max-Q-FHD-Laptop-Review.305426.0.html
       
      Best Undervolting Guide (keywords: ThrottleStop, Intel XTU):
      https://www.ultrabookreview.com/10167-laptop-undervolting-overcloking/
       
      Undervolting Coffee Lake i7/i9 (2018 MacBook class CPU):
      https://youtu.be/nobnPDtMs-E
      https://linustechtips.com/main/topic/923876-any-information-about-how-coffee-lake-h-series-undervolts/
       
      Replacing Thermal Paste with Liquid Metal on 2018 MBP:
      https://youtu.be/iw4gqfrBN4c ... and follow up: https://youtu.be/JNoZNzOQpVw
       
      Replacing Thermal Paste with Kryonaut on X1E:
      https://www.reddit.com/r/thinkpad/comments/9fyww7/x1_extreme_repaste_undervolt_tdp_limiter_removed/
       
      Replacing Thermal Paste and Undervolting X1 Carbon:
      https://youtu.be/FXR5-HwIre8
       
      Replacing Thermal Paste and Undervolting XPS 15 9570:
      https://youtu.be/ZnFdNGUETSI
       
      Possibly over-conservative BIOS update for thermal throttling on X1E:
      https://www.reddit.com/r/thinkpad/comments/9oqax2/xtu_results_with_x1_extreme_with_liquid_metal/
       
      High Sierra (10.13) drivers only for now:
      https://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-11032018/
      nVidia “waiting for Apple’s approval” for Mojave (10.14) macOS driver web release:
      https://www.macrumors.com/2018/11/01/nvidia-comment-on-macos-mojave-drivers/

      Breadcrumb Links (other things I found researching this):
      https://forums.servethehome.com/index.php?threads/esxi-6-5-osx-with-gpu-passthrough.12680/
      https://arstechnica.com/civis/viewtopic.php?f=19&t=1432071
       
      https://www.notebookcheck.net/The-Best-Notebook-Displays-As-Reviewed-By-Notebookcheck.120541.0.html
×