[v2.0.8] Mac OS X Unlocker for VMware – Let you emulate Mac OS X on VMware products

This article is the original content of AppNee. All rights reserved. To repost or reproduce, please make a footnote with our article link!

By default, VMware product does not support creating a Mac OS X virtual machine directly, there is no such an option at all. To install and run Mac OS X operating system in a VMware virtual machine on Windows/Linux/Mac OS X, you have to setup an unlock patch for your VMware product (it can be VMware Workstation, VMware Workstation Player, VMware Fusion or VMware ESXi/vSphere Hypervisor) first, so as to remove this restriction.

Mac OS X Unlocker for VMware (VMware Unlocker for short) is a universal unlock patch (actually a combination of the unlocker codes) developed by Donk from United Kingdom. As the best Mac OS X unlock patch for VMware virtual machine software on the Internet at present, it is capable of easily and quickly remove the function lock to Mac OS X (Server) in all VMware virtual machine products.

Mac OS X Unlocker for VMware enables your VMware program to recognize the ISO/IMG/CDR file format of Mac OS X (especially the image file of Hackintosh/OSx86 and VMware edition of Mac OS X), then to install and run it normally. Eventually, users are able to realize running a Mac OS X operating system on Windows/Linux/Mac OS X platform through a VMware virtual machine software.

// What this patch does //

The patch code carries out the following modifications dependent on the product being patched:

  • Fix vmware-vmx and derivatives to allow Mac OS X to boot
  • Fix vmwarebase.dll or vmwarebase.so to allow Apple to be selected during VM creation
  • Fix libvmkctl.so on ESXi 6 to allow use with vCenter
  • Copy darwin.iso to VMware folder, if needed

// Supported Products //

  • VMware Workstation 8/9/10/11/12 on Windows and Linux (32 & 64-bit versions)
  • VMware Player 4/5/6/7 & VMware Workstation Player 12 on Windows and Linux (32 & 64-bit versions)
  • VMware Fusion 4/5/6/7/8 on Snow Leopard, Lion, Mountain Lion, Mavericks, and Yosemite
  • VMware ESXi 5.0/5.1/5.5/6.0

// Files Description //

Windows On Windows you will need to either run cmd.exe as Administrator or using Explorer right click on the command file and select “Run as administrator”.

  • win-install.cmd – patches VMware
  • win-uninstall.cmd – restores VMware
  • win-update-tools.cmd – retrieves latest OS X guest tools
Linux On Linux you will need to be either root or use sudo to run the scripts.

You may need to ensure the Linux scripts have execute permissions by running chmod +x against the 2 files.

  • lnx-install.sh – patches VMware
  • lnx-uninstall.sh – restores VMware
  • lnx-update-tools.cmd – retrieves latest OS X guest tools
Mac OS X On Mac OS X you will need to be either root or use sudo to run the scripts. This is really only needed if you want to use client versions of Mac OS X.

You may need to ensure the OS X scripts have execute permissions by running chmod +x against the 2 files.

  • osx-install.sh – patches VMware
  • osx-uninstall.sh – restores VMware
ESXi You will need to transfer the zip file to the ESXi host either using vSphere client or SCP.

Once uploaded you will need to either use the ESXi support console or use SSH to run the commands. Use the unzip command to extract the files.

WARNING: use a datastore volume to run the scripts!

Please note that you will need to reboot the host for the patches to become active. The patcher is embbedded in a shell script local.sh which is run at boot from /etc/rc.local.d.

You may need to ensure the ESXi scripts have execute permissions by running chmod +x against the 2 files.

  • esxi-install.sh – patches VMware
  • esxi-uninstall.sh – restores VMware

// System Requirements //

  • VMware virtual machine product is installed
  • The code requires Python 2.7 to work. Most Linux distros, ESXi and OS X ship with a compatible Python interpreter and should work without requiring any additional software.
  • Windows has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed.

// Use Instructions //

Only take VMware Workstation on Windows for example:

  1. First of all, exit your VMware Workstation completely (including services running in background)
  2. Make sure all folders are named with English characters only (no special characters either)
  3. For Windows users, run ‘win-install.cmd‘ as administrator (for Linux and Mac OS X users, run the appropriate files in the same folder)
  4. Wait while it’s running, until it closes (that means it has successfully patched your VMware Workstation)
  5. Now, open VMware Workstation, you should be able to see the “Apple Mac OS X” option in the “Guest operation system” field
  6. Done!

To be able to continue your Mac OS X installation, you might need to do as follows too (this method is also applicable to the situation of using the Hackintosh edition or VMware edition of Mac OS X image file):

  1. Run VMware Workstation
  2. Enter “File/New Virtual Machine…” – Next -> Choose “I will install the operating system later.” -> Choose “Apple Mac OS X” option in the “Guest operation system” field -> Next, until ‘Finish’
  3. Close VMware Workstation, enter your Mac OS virtual machine folder
  4. Open the file with extension name ‘.vmx‘ (VMware virtual machine configuration) using your Notepad.exe
  5. Find this line: smc.present = “TRUE”, press Enter and add this line: smc.version = 0, then save and exit
  6. Open VMware Workstation, enter “VM/Manage/Change Hardware Compatibility…” -> Next -> change the “Hardware compatibility” to “Workstation 10.x” or others -> Next…
  7. Now, you can select your Mac OS X image file and continue to finish setup – easily and smoothly
  8. ….

// Prompts //

  • Any changes you have made to local.sh will be lost. If you have made changes to that file, you will need to merge them into the supplied local.sh file.
  • The unlocker runs at boot time to patch the relevant files and it now survives an upgrade or patch to ESXi as local.sh is part of the persisted local state.
  • If you are using VMware Player or Workstation on Windows you may get a core dump (latest Linux and ESXi products are OK and do not show this problem).
  • If you create a new VM using version 11 hardware, VMware will stop and create a core dump.There are two options to work around this issue:
    1. Change the VM to be HW 10 – this does not affect performance.
    2. Edit the VMX file and add: smc.version = “0” |
  • At last, whether you can successfully install a Mac OS X also depends on the version of Mac OS X you have and the type of CPU your PC uses, but has nothing to do with the version of VMware Workstation (Player).

// Related Links //

// Download URLs //

Version Download Size
v2.0.8 3.74 MB
v2.0.7 reserved MB
v2.0.4 reserved MB
v2.0.2 reserved MB

(Homepage)