Jump to content
ErmaC

Clover General discussion

19,684 posts in this topic

Recommended Posts

Advertisement
Posted (edited)

Hi

 

Compile Clover under Catalina/ Xcode 11:) succeded (UDK script 2018). I can compile too after modify from Build_Clover.command :thumbsup_anim: 

 

 

But without revision  number. into both case. See below

 

Capture d’écran 2019-06-21 à 11.54.12.png

Edited by Matgen84

Share this post


Link to post
Share on other sites

For Clover Package correct me if Iam wrong on Catalina the path for installing Clover themeManager is /System/Applications not /Applications 

right?

Share this post


Link to post
Share on other sites
Posted (edited)

Sorry if this is out of topic.. 
But i want to ask,, did macOS Mojave and Catalina work fine with VT-D enable and no drop table for it??? I didn't drop DMAR table and i didn't use dart=0 as boot argument. And i still can boot and see AppleVTd in IOREG. Should i disable it?????

Screen Shot 2019-06-22 at 02.54.38.png

Edited by Andres ZeroCross

Share this post


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

Hi

 

Compile Clover under Catalina/ Xcode 11:) succeded (UDK script 2018). I can compile too after modify from Build_Clover.command :thumbsup_anim: 

 

 

But without revision  number. into both case. See below

 

Capture d’écran 2019-06-21 à 11.54.12.png

 

Hi again

 

revision number missing after compilation (Catalina Beta 2 / Xcode 11 Beta). 

 

Any idea, why

Share this post


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

Hi again

revision number missing after compilation (Catalina Beta 2 / Xcode 11 Beta). 

Any idea, why

If I still remember, macOS Catalina now uses ZSH by default. Try using Bash as your Terminal's Shell instead of ZSH, relaunch Terminal then rebuild Clover.

Changing Your Default Shell From Terminal
Open Terminal and enter the following command:

$ chsh -s path
Where path is one of shell paths listed in /etc/shells, such as /bin/zsh, /bin/bash, /bin/csh, /bin/dash, /bin/ksh, /bin/sh, or /bin/tcsh.

#EDIT: Also consider doing this :

cd ~/src/UDK2018
rm -rf Build
make -C BaseTools/Source/C

 

Edited by Badruzeus

Share this post


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

 

Hi again

 

revision number missing after compilation (Catalina Beta 2 / Xcode 11 Beta). 

 

Any idea, why

 

I also noticed the missing revision number when making the Clover Package with the makepkg script in Catalina (Xcode 10.2.1).  The build log throws the error below ...

 

fusion71au@fusion71aus-Mac-Pro Clover % cd CloverPackage
fusion71au@fusion71aus-Mac-Pro CloverPackage % ./makepkg
./makepkg: line 38: svnversion: command not found

 

Spoiler

 

543099151_makepkgfromCloverPackage.png.c8b064b70072e6871d18bf2e1b4c3686.png

 

15159788_makepkgerror.thumb.png.40560189c8e280f66fe7239401340d6d.png

 

 

 

Strangely enough, when I build Clover with the Build_Clover.command in Catalina, the Clover revision number is generated OK.  Also revision number ok with make iso...


 

Spoiler

 

Build_Clover.command.png.6103da0852e70a743cf7470c0bd54616.png

 

1045538319_makeisofromCloverPackage.png.54192bbc2ae11ad308b6968598fa0a68.png

 

 

Share this post


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

 

I also noticed the missing revision number when making the Clover Package with the makepkg script in Catalina (Xcode 10.2.1).  The build log throws the error below ...

 


fusion71au@fusion71aus-Mac-Pro Clover % cd CloverPackage
fusion71au@fusion71aus-Mac-Pro CloverPackage % ./makepkg
./makepkg: line 38: svnversion: command not found

 

Are you using Bash? How if update to Subversion 1.12.0? Though, not really sure if the issue comes from SVN hmmmb..

Edited by Badruzeus

Share this post


Link to post
Share on other sites
19 minutes ago, Badruzeus said:

Are you using Bash? How if update to Subversion 1.12.0? Though, not really sure if the issue comes from SVN hmmmb..

No, everything stock standard in Catalina.

 

If I run svnversion command in Cat terminal ---> get "command not found" (but svn info works so maybe work around)

If I run svnversion command in High Sierra/Mojave terminal---> get correct Clover revision number (4968)

Share this post


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

 

I also noticed the missing revision number when making the Clover Package with the makepkg script in Catalina (Xcode 10.2.1).  The build log throws the error below ...

 


fusion71au@fusion71aus-Mac-Pro Clover % cd CloverPackage
fusion71au@fusion71aus-Mac-Pro CloverPackage % ./makepkg
./makepkg: line 38: svnversion: command not found

 

  Reveal hidden contents

 

543099151_makepkgfromCloverPackage.png.c8b064b70072e6871d18bf2e1b4c3686.png

 

15159788_makepkgerror.thumb.png.40560189c8e280f66fe7239401340d6d.png

 

 

 

Strangely enough, when I build Clover with the Build_Clover.command in Catalina, the Clover revision number is generated OK.  Also revision number ok with make iso...


 

  Reveal hidden contents

 

Build_Clover.command.png.6103da0852e70a743cf7470c0bd54616.png

 

1045538319_makeisofromCloverPackage.png.54192bbc2ae11ad308b6968598fa0a68.png

 

 

 

I don't try Xcode 10.2.1 in Catalina, only XCode 11. With Xcode 11 command lines tools installed, I haven't "./makepkg: line 38: subversion: command not found"

 

Strangely, using Build_Clover.command and Dis UDK2018 script,  the Clover revision number is not generated without error message.

 

 

Sorry about my bad english

Edited by Matgen84

Share this post


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

If 'svnversion' are gone in newest os, I think switching all 'svnversion' to 'svn info | grep "Revision" | tr -cd [:digit:]' cmd is the best option.

 

I just replaced line 38 in makepkg file (located in ~/src/edk2/Clover/CloverPackage folder)

 

revision=$(svnversion -n | tr -d [:alpha:])

 

with

 

revision=$(cat ../vers.txt)

 

referring to vers.txt file in /Clover folder (like makeiso script does) and it works!

 

553670380_makepkgmodified.png.e923994acc56ddd88a475625af080fb6.png

 

The command svn info | grep Revision | tr -cd [:digit:] unfortunately returns no matches found...

fusion71au@fusion71aus-Mac-Pro CloverPackage % svn info | grep Revision | tr -cd [:digit:]             
zsh: no matches found: [:digit:]

 

 

1 hour ago, Matgen84 said:

Strangely, using Build_Clover.command and Dis UDK2018 script,  the Clover revision number is not generated without error message.

 

@Matgen84,

 

1.  Open the vers.txt file in your ~/src/edk2/Clover folder (after building Clover) and confirm it says the correct version eg 4968.

 

2.  Replace ~/src/edk2/Clover/CloverPackage/makepkg file with attached: makepkg.zip

 

3.  Open terminal and type
 

cd ~/src/edk2/Clover/CloverPackage

./makepkg

 

Edited by fusion71au
Extra for @Matgen84

Share this post


Link to post
Share on other sites
2 hours ago, fusion71au said:

 

I just replaced line 38 in makepkg file (located in ~/src/edk2/Clover/CloverPackage folder)

 

revision=$(svnversion -n | tr -d [:alpha:])

 

with

 

revision=$(cat ../vers.txt)

 

referring to vers.txt file in /Clover folder (like makeiso script does) and it works!

 

553670380_makepkgmodified.png.e923994acc56ddd88a475625af080fb6.png

 

The command svn info | grep Revision | tr -cd [:digit:] unfortunately returns no matches found...


fusion71au@fusion71aus-Mac-Pro CloverPackage % svn info | grep Revision | tr -cd [:digit:]             
zsh: no matches found: [:digit:]

 

 

 

@Matgen84,

 

1.  Open the vers.txt file in your ~/src/edk2/Clover folder (after building Clover) and confirm it says the correct version eg 4968.

 

2.  Replace ~/src/edk2/Clover/CloverPackage/makepkg file with attached: makepkg.zip

 

3.  Open terminal and type
 


cd ~/src/edk2/Clover/CloverPackage

./makepkg

 

 

All works fine. Thanks :thumbsup_anim: Do you know a solution for Clover Logo missing in Dark Mode

Share this post


Link to post
Share on other sites

hi everyone

i want to test all mac os boot.

i tested

10.13

10.14

10.15

 

if you have lower macos, please report all.

since 10.6~10.12. it will be help for clover with future.

 

no need to install macos. just make usb installer and test get installation windows

 

thanks in advance

injection test.zip

Share this post


Link to post
Share on other sites

Hi @Sherlocks and Clover Team,

 

Is it possible to display Clover Logo from Background (package/resources) in Dark Mode? Only Light Mode is correct actually. 

Capture d’écran 2019-06-23 à 18.25.58.png

Share this post


Link to post
Share on other sites
13 hours ago, Sherlocks said:

hi everyone

i want to test all mac os boot.

i tested

10.13

10.14

10.15

 

if you have lower macos, please report all.

since 10.6~10.12. it will be help for clover with future.

 

no need to install macos. just make usb installer and test get installation windows

 

thanks in advance

injection test.zip

The lapic patch works at my first attempt with Catalina just some minutes ago (compiled the latest from sf). What is no longer working is the ivy-bridge xcpm patch, had to use AICPM.

Share this post


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

hi everyone

i want to test all mac os boot.

i tested

10.13

10.14

10.15

 

if you have lower macos, please report all.

since 10.6~10.12. it will be help for clover with future.

 

no need to install macos. just make usb installer and test get installation windows

 

thanks in advance

injection test.zip

@Sherlocks

Hi, I tested the boot on 10.7, 10.8, 10.9 10.10, 10.11, 10.12

and the booting of it worked perfectly.

Except on 10.7 it boots only in legacy mode, but not in uefi mode, but it has always been like that with my System, maybe it's my setup or my hardware.

As a note: I had just booted the installer, had not installed the os versions on hdd/ssd.

I had additionally tested the os versions that I had already installed:

It was 10.13, 10.14, 10.15, they also booted perfectly, but you had already tested that.

And as second note: I used the files from your uploaded zip to test it: injection test.zip.

Couldn't test the version 10.6 because my processor is not compatible with it (Ivy Bridge) and maybe also my Graphic Card (GTX 680)

btw. If the Config file or the Drivers is also important for that test, I can send you the files I used over PM

Edited by tahsinahmed

Share this post


Link to post
Share on other sites
4 hours ago, vector sigma said:

The lapic patch works at my first attempt with Catalina just some minutes ago (compiled the latest from sf). What is no longer working is the ivy-bridge xcpm patch, had to use AICPM.

 

hi vector. strange. what is your ivy bridge patch?

Share this post


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

@Sherlocks

Hi, I tested the boot on 10.7, 10.8, 10.9 10.10, 10.11, 10.12

and the booting of it worked perfectly.

Except on 10.7 it boots only in legacy mode, but not in uefi mode, but it has always been like that with my System, maybe it's my setup or my hardware.

As a note: I had just booted the installer, had not installed the os versions on hdd/ssd.

I had additionally tested the os versions that I had already installed:

It was 10.13, 10.14, 10.15, they also booted perfectly, but you had already tested that.

And as second note: I used the files from your uploaded zip to test it: injection test.zip.

Couldn't test the version 10.6 because my processor is not compatible with it (Ivy Bridge) and maybe also my Graphic Card (GTX 680)

btw. If the Config file or the Drivers is also important for that test, I can send you the files I used over PM

 

thanks a lot

10.6 and 10.7 are same like before.

no problems to boot 10.6 and 10.7.

because pattern is not good to define.

so i remained 10.6/10.7

Share this post


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

Hi @Sherlocks and Clover Team,

 

Is it possible to display Clover Logo from Background (package/resources) in Dark Mode? Only Light Mode is correct actually. 

It looks like the problem is macOS DarkMode; not Clover package. Also occurred with another packages as well.

Edited by Badruzeus

Share this post


Link to post
Share on other sites
23 minutes ago, Badruzeus said:

It looks like the problem is macOS DarkMode; not Clover package. Also occurred with another packages as well.

It's clearly a bug, already solved in Xcode 10 last year. Not sure we need a solution, which I eventually have (I have a tiny command line for that in the hwsensor project), or just wait for a better Xcode 11 that will fix the bug as already was with predecessor. Anyway I din't try it my self as I installed Catalina only few hours ago, but I will soon.

Share this post


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

hi vector. strange. what is your ivy bridge patch?

To be clear I've already checked the kernel and the below code seems to at least patch all occurrences as it is programmed for:

BOOLEAN KernelIvyBridgeXCPM(VOID *kernelData, LOADER_ENTRY *Entry, BOOLEAN use_xcpm_idle)
{
  UINT8       *kern = (UINT8*)kernelData;
  CHAR8       *comment;
  UINT32      i;
  UINT32      patchLocation;
  UINT64      os_version = AsciiOSVersionToUint64(Entry->OSVersion);

  // check whether Ivy Bridge
  if (gCPUStructure.Model != CPU_MODEL_IVY_BRIDGE) {
    DBG("Unsupported platform.\nRequires Ivy Bridge, aborted\n");
    DBG("KernelIvyBridgeXCPM() <===FALSE\n");
    return FALSE;
  }

  // check OS version suit for patches
  // PMheart: attempt to add 10.14 compatibility
  if (os_version < AsciiOSVersionToUint64("10.8.5") || os_version >= AsciiOSVersionToUint64("10.15")) {
    DBG("Unsupported macOS.\nIvy Bridge XCPM requires macOS 10.8.5 - 10.13.x, aborted\n");
    DBG("KernelIvyBridgeXCPM() <===FALSE\n");
    return FALSE;
  } else if (os_version >= AsciiOSVersionToUint64("10.8.5") && os_version < AsciiOSVersionToUint64("10.12")) {
    // 10.8.5 - 10.11.x no need the following kernel patches on Ivy Bridge - we just use -xcpm boot-args
    DBG("KernelIvyBridgeXCPM() <===\n");
    return TRUE;
  }

  DBG("Searching _xcpm_pkg_scope_msr ...\n");
  if (os_version >= AsciiOSVersionToUint64("10.12")) {
    // 10.12+
    patchLocation = 0; // clean out the value just in case
    for (i = 0; i < 0x1000000; i++) {
      if (kern[i+0] == 0xBE && kern[i+1] == 0x07 && kern[i+2] == 0x00 && kern[i+3] == 0x00 &&
          kern[i+4] == 0x00 && kern[i+5] == 0x31 && kern[i+6] == 0xD2 && kern[i+7] == 0xE8) {
        patchLocation = i+7;
        DBG("Found _xcpm_pkg_scope_msr\n");
        break;
      }
    }

    if (patchLocation) {
      for (i = 0; i < 5; i++) {
        kern[patchLocation+i] = 0x90;
      }
      DBG("Applied _xcpm_pkg_scope_msr patch\n");
    } else {
      DBG("_xcpm_pkg_scope_msr not found, patch aborted\n");
      DBG("KernelIvyBridgeXCPM() <===FALSE\n");
      return FALSE;
    }
  }

  comment = "_xcpm_bootstrap";
  if (os_version <= AsciiOSVersionToUint64("10.12.5")) {
    // 10.12 - 10.12.5
    STATIC UINT8 find[] = { 0x83, 0xC3, 0xC4, 0x83, 0xFB, 0x22 };
    STATIC UINT8 repl[] = { 0x83, 0xC3, 0xC6, 0x83, 0xFB, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
  } else if (os_version < AsciiOSVersionToUint64("10.13")) {
    // 10.12.6
    STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x83, 0xF8, 0x22 };
    STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x83, 0xF8, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
    // PMheart: attempt to add 10.14 compatibility
  } else if (os_version < AsciiOSVersionToUint64("10.15")) {
    // 10.13/10.14
    STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 };
    STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC6, 0x3C, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
    // PMheart: attempt to add 10.15 compatibility
  } else if (os_version < AsciiOSVersionToUint64("10.16")) {
    STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 };
    STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x3C, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
  }

uless my cpu isn't involved, but should since is it a Core i5 3210M if I correctly understood the code.

Share this post


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

To be clear I've already checked the kernel and the below code seems to at least patch all occurrences as it is programmed for:


BOOLEAN KernelIvyBridgeXCPM(VOID *kernelData, LOADER_ENTRY *Entry, BOOLEAN use_xcpm_idle)
{
  UINT8       *kern = (UINT8*)kernelData;
  CHAR8       *comment;
  UINT32      i;
  UINT32      patchLocation;
  UINT64      os_version = AsciiOSVersionToUint64(Entry->OSVersion);

  // check whether Ivy Bridge
  if (gCPUStructure.Model != CPU_MODEL_IVY_BRIDGE) {
    DBG("Unsupported platform.\nRequires Ivy Bridge, aborted\n");
    DBG("KernelIvyBridgeXCPM() <===FALSE\n");
    return FALSE;
  }

  // check OS version suit for patches
  // PMheart: attempt to add 10.14 compatibility
  if (os_version < AsciiOSVersionToUint64("10.8.5") || os_version >= AsciiOSVersionToUint64("10.15")) {
    DBG("Unsupported macOS.\nIvy Bridge XCPM requires macOS 10.8.5 - 10.13.x, aborted\n");
    DBG("KernelIvyBridgeXCPM() <===FALSE\n");
    return FALSE;
  } else if (os_version >= AsciiOSVersionToUint64("10.8.5") && os_version < AsciiOSVersionToUint64("10.12")) {
    // 10.8.5 - 10.11.x no need the following kernel patches on Ivy Bridge - we just use -xcpm boot-args
    DBG("KernelIvyBridgeXCPM() <===\n");
    return TRUE;
  }

  DBG("Searching _xcpm_pkg_scope_msr ...\n");
  if (os_version >= AsciiOSVersionToUint64("10.12")) {
    // 10.12+
    patchLocation = 0; // clean out the value just in case
    for (i = 0; i < 0x1000000; i++) {
      if (kern[i+0] == 0xBE && kern[i+1] == 0x07 && kern[i+2] == 0x00 && kern[i+3] == 0x00 &&
          kern[i+4] == 0x00 && kern[i+5] == 0x31 && kern[i+6] == 0xD2 && kern[i+7] == 0xE8) {
        patchLocation = i+7;
        DBG("Found _xcpm_pkg_scope_msr\n");
        break;
      }
    }

    if (patchLocation) {
      for (i = 0; i < 5; i++) {
        kern[patchLocation+i] = 0x90;
      }
      DBG("Applied _xcpm_pkg_scope_msr patch\n");
    } else {
      DBG("_xcpm_pkg_scope_msr not found, patch aborted\n");
      DBG("KernelIvyBridgeXCPM() <===FALSE\n");
      return FALSE;
    }
  }

  comment = "_xcpm_bootstrap";
  if (os_version <= AsciiOSVersionToUint64("10.12.5")) {
    // 10.12 - 10.12.5
    STATIC UINT8 find[] = { 0x83, 0xC3, 0xC4, 0x83, 0xFB, 0x22 };
    STATIC UINT8 repl[] = { 0x83, 0xC3, 0xC6, 0x83, 0xFB, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
  } else if (os_version < AsciiOSVersionToUint64("10.13")) {
    // 10.12.6
    STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x83, 0xF8, 0x22 };
    STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x83, 0xF8, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
    // PMheart: attempt to add 10.14 compatibility
  } else if (os_version < AsciiOSVersionToUint64("10.15")) {
    // 10.13/10.14
    STATIC UINT8 find[] = { 0x89, 0xD8, 0x04, 0xC4, 0x3C, 0x22 };
    STATIC UINT8 repl[] = { 0x89, 0xD8, 0x04, 0xC6, 0x3C, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
    // PMheart: attempt to add 10.15 compatibility
  } else if (os_version < AsciiOSVersionToUint64("10.16")) {
    STATIC UINT8 find[] = { 0x8D, 0x43, 0xC4, 0x3C, 0x22 };
    STATIC UINT8 repl[] = { 0x8D, 0x43, 0xC6, 0x3C, 0x22 };
    applyKernPatch(kern, find, sizeof(find), repl, comment);
  }

uless my cpu isn't involved, but should since is it a Core i5 3210M if I correctly understood the code.

 

right. seems to check kernelandkextpatch debug option and confirm patch is working

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 Slice
      OK, 4988 released.
      Now, @vector sigma, what have we do to update translations?
    • By fusion71au
      Clover r4989 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 15 running OSX 10.9 -->10.15 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4989 for VMware.zip". Mount Clover-v2.4k-4989-X64.iso 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 fusion71au
      Run Vanilla OS X El Capitan, Sierra, High Sierra or Mojave in VirtualBox 5.x.x on a Windows Host
      Following on from my previous guide on how to create a VMware virtual machine running Vanilla OS X El Capitan in Windows, I’ve decided to write a similar guide for creating a VirtualBox El Capitan VM. 
       
      The virtual machine should be useful for testing El Capitan and also for creating installers for use on a real machine/hackintosh.
       
      There are other tutorials and videos on the net about running OS X on Windows machines using pre-made VMDK disk images but you can never guarantee what else is in there….
       
      I’ve gathered info for this guide from several threads in the Multibooting and Virtualisation section of this forum and also the wider internet eg
       
      @colt2 HOW TO: Create a bootable El Capitan ISO for VMware
      @dsmccombs comment on faking Ivybridge Processor
      @E:V:A http://forum.xda-developers.com/showpost.php?p=55572430&postcount=6
      @Tech Reviews video tutorial https://www.youtube.com/watch?v=t7X07U63lwg.
      VirtualBox Forum: Status of OSX on OSX
       
      Requirements
         Intel PC with four or more CPU cores running Windows 7 X64 or later OS (2 or more cores needed for OS X)    4GB or more RAM (2GB or more will be needed for OS X)    Hard Disk with at least 40GB free for Virtual Machine    Oracle VM VirtualBox v 5.0.34    Install OS X El Capitan app and Mac or Hack to prepare installation iso <-- Now, no longer necessary to have previous access to a Mac or Hack by building the Installer.app from scratch - see post#75    16GB or larger exFAT formatted USB stick to transfer El Capitan iso from Mac/Hack to Host PC  
      Prepare Installation ISO on your Mac or Hack
      1.  On your Mac or Hack, download "Install OS X El Capitan.app" from the App Store into your Applications folder.
      2.  Download and unzip the CECI.tool (attached to this post) into your ~/Downloads folder. The commands in this executable script are shown below for informational purposes.  Note: you will need approx 16GB of free space on your hard disk for the script to complete.
       
       
       
      3.  Open OS X terminal, then run the following commands to execute the script:
      cd downloads chmod +x CECI.tool ./CECI.tool 4.  At the end of the process, you will have an El Capitan iso on your desktop - copy this onto an exFAT formatted USB for use on the PC Host later.
       
       
      Create an El Capitan Virtual Machine in VirtualBox
      1.  Open the VirtualBox program and click the "New" button to create a new VM.
       

       
      2.  Select Mac OS X and Mac OS X 10.11 El Capitan (64 -bit) for Operating System type and version.  I named my Virtual Machine "El_Capitan", then clicked next...
       

       
      3.  Leave the Memory size at the recommended 2048 MB, then click next.
       

       
      4.  Choose to "Create a virtual hard disk now", then click the create button.
       

       
      5.  For the hard disk file type, the default is VDI (VirtualBox Disk Image) but I have selected VMDK for inter-operability with VMWare.  Click next...
       

       
      6.  For Storage on physical hard disk, I have chosen the default Dynamically allocated (grows larger to a set limit as you need more disk space).
       

       
      7.  On the File location and size screen, you can set the location of the new virtual hard disk and its size - I recommend changing disk size to 40GB or larger.  When you click the create button, you will now see your new VM in the VirtualBox main GUI.
       

       
      8.  Click the settings button on the Main Menu to tweak a few settings....
         a.  On the System/Motherboard tab in Boot Order, you can uncheck the Floppy Drive (who has these now?)
       

       
         b.  On the System/Processor tab, you can increase the allocated CPU cores to 2
       

       
         c.  On the Display tab, you can increase the allocated Video Memory to 128MB
       

       
         d.  On the Storage tab, click on the icon of the Optical Drive and select "Choose Virtual Optical Disk File". 
       

       
      Navigate and select the El Capitan ISO we created earlier...
       

       
         e.  Click the OK button to finalise the VM settings.
       
       
      Patch El Capitan vbox configuration file with DMI Settings from a Mac
      1.  From the start menu, type cmd and click run as administrator to open an administrative command prompt. 
       

       
      2.  Choose a Mac Model similar to your host system, then type the following lines, followed by <enter>  after each line.  Make sure you first close all VirtualBox Windows and the VirtualBox program, otherwise any changes you make won't stick...
       
      Eg iMac11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F2238BAE" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 MacBookPro11,3
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "MacBookPro11,3" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-2BD1B31983FE1663" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 Macmini6,2
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "Macmini6,2" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-F65AE981FFA204ED" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 3.  Optional- For some host systems eg those with Haswell and newer CPUs, you might have to spoof an older CPU to avoid VirtualBox errors.  You can try from one of the following if this happens:

      To spoof Lynnfield i5 750 CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000106e5 06100800 0098e3fd bfebfbff To spoof IvyBridge CPU
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 04100800 7fbae3ff bfebfbff or
      VBoxManage.exe modifyvm "El_Capitan" --cpuidset 00000001 000306a9 00020800 80000201 178bfbff 4.  Close the command prompt window.
       
       
      Installation of El Capitan
      We are now ready to start the El_Capitan Virtual Machine....
       



       
      Installation should be relatively straight forward, just following the prompts of the OS X installer:
      1.  Select language, agree to legal terms
       

       
      2.  Use Disk Utility from the Utilities Menu to erase and format the virtual hard drive as a single partition GUID Mac OS X Extended.  I named my drive "Macintosh HD" but you can enter whatever you like eg El_Capitan.
       

       
      3.  Quit DU and choose Macintosh HD to install El Capitan on.
      4.  After 20-30 min (depending on how fast your system is), the installation will complete.  At this point, unmount the El Capitan ISO by clicking the Devices menu from the VM window, click Optical Drives, then choose Remove disk from virtual drive.  The VM is now ready to reboot into OS X from the virtual hard drive.
      5.  At the welcome screen, choose your country and keyboard layout.  You can skip transfer information, location services and logging in with your Apple ID if you wish…
      6.  Create a User Account and select your Time Zone.  You can skip sending diagnostics and usage data to Apple….
      7.  Finally, you will arrive at the El Capitan Desktop.
       

       
      8.  Network/internet and audio should work OOB but on my system, the sounds were distorted.  Unfortunately, there is no QE/CI and the VM resolution will be fixed without the ability to dynamically resize the VM window (no VirtualBox additions for OS X guests atm). 
       
       
      Customization with VBoxManage
      1.  You can change the default resolution of 1024*768 (after shutting down the VM) with the VBoxManage command from the Windows Administrative Command Prompt:
      cd "C:\Program Files\Oracle\VirtualBox\" VBoxManage setextradata "El_Capitan" VBoxInternal2/EfiGopMode N (Where N can be one of 0,1,2,3,4,5) referring to the 640x480, 800x600, 1024x768, 1280x1024, 1440x900, 1920x1200 screen resolution respectively.
       
      Update:  For VirtualBox 5.2.x, the command for changing screen resolution has changed...
       
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution XxY (where X=Horizontal screen resolution, Y=Vertical screen resolution)
      eg
      VBoxManage setextradata "<MyVM>" VBoxInternal2/EfiGraphicsResolution 1280x1024 2.  Adding serials and other SMBIOS details for the System Information Screen
      VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemSerial" "W8#######B6" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBoardSerial" "W8#########1A" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemVendor" "Apple Inc." VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiSystemFamily" "iMac" VBoxManage setextradata "El_Capitan" "VBoxInternal/Devices/efi/0/Config/DmiBIOSVersion" "IM112.0057.03B" A listing of known issues with Mac OS X guests can be found in the VirtualBox Manual - link https://www.virtualbox.org/manual/ch14.html.
       
      Vanilla Mavericks and Yosemite, Snow Leopard from Retail DVD
      The same VM settings for El Capitan will also boot and run vanilla installations of OS X Mavericks and Yosemite .  Attached to this post are installer scripts to create bootable Mavericks (CMI.tool) and Yosemite (CYI.tool) ISOs for VirtualBox and VMware.
       
      With the respective OS X installer apps in the Applications folder, download and run the installer tools using terminal ie
       
      To create a Mavericks ISO on your desktop
      cd downloads chmod +x CMI.tool ./CMI.tool To create a Yosemite ISO on your desktop
      cd downloads chmod +x CYI.tool ./CYI.tool Here is a screenshot of the VM running Mavericks 10.9.5...
       

       
      Finally, those without a Mac/Hack to prepare the install media can purchase a retail Snow Leopard DVD directly from Apple and install OSX 10.6.3 on their virtual machines (Snow Leopard, Lion and Mountain Lion run quite happily in VirtualBox with 1 CPU, 1-2 GB of RAM and the rest of the settings unchanged from above).  Once you update by combo update to SL 10.6.8, you can directly download El Capitan from the App Store for free .
       

       
      UPDATE macOS Sierra 10.12 to 10.12.6: For macOS Sierra, use CSI.tool in post#51.
      UPDATE macOS High Sierra 17A365:  For macOS High Sierra, use CHSI.tool in post#73.
      UPDATE macOS Mojave 18A391:  For macOS Mojave or High Sierra, use macOS_iso_creator.tool on page 4 of thread.
      UPDATE macOS Catalina Beta DP3_19A501i:  For Catalina, @jpz4085 has made an automated batch file to create a Catalina VM in Windows with iMac 14,2 SMBIOS.  You can still use my macOS_iso_creator.tool on page 5 to make an installer ISO to attach to the VM.
       
       
       
      Good luck and enjoy
      CECI.tool.zip
      CYI.tool.zip
      CMI.tool.zip
    • By JackBauer24
      Hello,
       
      I have installed OSx86 10.11 (El Capitan) on April 2016 on my Asus Z170 Deluxe system.
       
      For installation I used this Thread.
       
      I used it a lot and it worked well. Meanwhile I switched to Linux and I use Win10 time to time. So OSX was forgotten. Also it did not boot correctly anymore.
       
      Now I wanted to start with a fresh installation and use OSX more often again. I want to use OSX 10.13 High Sierra. Is it working on my Asus Z170 Deluxe? I have the same Hardware as of April 2016 only the graphics card was updated to a Nvidia GTX1080.
       
      My Hardware in detail: Asus Z-170-Deluxe (Bios 3801), i7-6700k, EVGA GeForce GTX 1080 SC GAMING ACX 3.0, Samsung 950 Pro/M2 NVME 512MB, HDD 4 TB)
      Can I use some of support files from the old thread for the installation (see attachment)? Can I still use  Clover 2.3k r3292 Special Edition v2 ? Or do I need a newer version?
       
      Has someone installed High Sierra successfully on the Asus Z170 Deluxe ?
       
      About some hints where to start I would be thankful.
       
      regards
      JackBauer24
       
      Z170DeluxeFiles.zip
×