Jump to content

Donk

Members
  • Content count

    2,315
  • Joined

  • Last visited

  • Days Won

    3

Files posted by Donk

  1. Unlocker

    macOS Unlocker for VMware V2.1 ============================== +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | Always uninstall the previous version of the Unlocker before using a new | | version. Failure to do this could render VMware unusable. | | | +-----------------------------------------------------------------------------+ 1. Introduction --------------- Unlocker 2 is designed for Workstation 11/12/14, Player 7/12/14, and Fusion 7/8/10. If you are using an earlier product please continue using Unlocker 1. Version 2 has been tested against: * Workstation 11/12/14 on Windows and Linux * Workstation Player 7/12/14 on Windows and Linux * Fusion 7/8/10 on macOS Sierra The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx and derivatives to allow macOS to boot * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation * Download a copy of the latest VMware Tools for macOS Note that not all products recognise the darwin.iso via install tools menu item. You will have to manually mount the darwin.iso for example on Workstation 11 and Player 7. The vmwarebase code does not need to be patched on macOS systems so you will see a message on those systems telling you that it will not be patched. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is written in Python as it makes the Unlocker easier to run and maintain on ESXi. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros and macOS ship with a compatible Python interpreter and should work without requiring any additional software. Windows Unlocker has a packaged version of the Python script using PyInstaller, and so does not require Python to be installed. 3. Limitations -------------- If you are using VMware Player or Workstation on Windows you may get a core dump. Latest Linux products are OK and do not show this problem. +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | If you create a new VM using version 11, 12 or 13 hardware VMware may 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" | | | +-----------------------------------------------------------------------------+ 4. 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 macOS guest tools 5. 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 macOS guest tools 6. macOS -------- On macOS 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 macOS. You may need to ensure the macOS scripts have execute permissions by running chmod +x against the 2 files. osx-install.sh - patches VMware osx-uninstall.sh - restores VMware 7. ESXi ------- ESXi is no longer supported as there are too many errors on newer versions due to VMware hardening the ESXi image. 8. Thanks --------- Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife (MSoK) for all the testing and support. Thanks also to Sam B for finding the solution for ESXi 6 and helping me with debugging expertise. Sam also wrote the code for patching ESXi ELF files and modified the unlocker code to run on Python 3 in the ESXi 6.5 environment. History ------- 10/10/17 2.1.0 - New version to support ESXi 6.5, Workstation/Player 14 and Fusion 10 - Removed support for ESXi 6.0 - Added ESXi boot option to disable unlocker (nounlocker) 11/10/17 2.1.1 - Removed all support for ESXi 6.x (c) 2011-2017 Dave Parsons

    12,281 downloads

    6 comments

    Submitted

  2. Unlocker

    macOS Unlocker for VMware V2.1
    ==============================
     
    +-----------------------------------------------------------------------------+
    | IMPORTANT: |
    | ========== |
    | |
    | Always uninstall the previous version of the Unlocker before using a new |
    | version. Failure to do this could render VMware unusable especially ESXi. |
    | |
    +-----------------------------------------------------------------------------+
     
    1. Introduction
    ---------------
     
    Unlocker 2.1 is designed for Workstation 11/12/14, Player 7/12/14, ESXi 6.5
    and Fusion 7/8/10.
     
    If you are using an earlier product please continue using Unlocker 1 and use
    Unlcoker 2.0 for ESXi 6.0
     
    Version 2 has been tested against:
     
    * Workstation 11/12/14 on Windows and Linux
    * Workstation Player 7/12/14 on Windows and Linux
    * Fusion 7/8/10 on Sierra
    * ESXi 6.5U1
     
    The patch code carries out the following modifications dependent on the product
    being patched:
     
    * Fix vmware-vmx and derivatives to allow macOS to boot
    * Fix vmwarebase .dll or .so to allow Apple to be selected during VM creation
    * Fix libvmkctl.so on ESXi 6 to allow use with vCenter
    * Download a copy of the latest VMware Tools for macOS
     
    Note that not all products recognise the darwin.iso via install tools menu item.
    You will have to manually mount the darwin.iso for example on Workstation 11 and Player 7.
     
    The vmwarebase code does not need to be patched on macOS or ESXi so you will see a
    message on those systems telling you that it will not be patched.
     
    In all cases make sure VMware is not running, and any background guests have
    been shutdown.
     
    The code is written in Python as it makes the Unlocker easier to run and maintain on ESXi.
     
    2. Prerequisites
    ----------------
     
    The code requires Python 2.7 to work. Most Linux distros, ESXi and macOS ship with a compatible
    Python interpreter and should work without requiring any additional software.
     
    Windows Unlocker has a packaged version of the Python script using PyInstaller, and so does not
    require Python to be installed.
     
    3. Limitations
    --------------
     
    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.
     
    +-----------------------------------------------------------------------------+
    | IMPORTANT: |
    | ========== |
    | |
    | If you create a new VM using version 11, 12 or 13 hardware VMware may 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" |
    | |
    +-----------------------------------------------------------------------------+
     
    4. 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 macOS guest tools
     
    5. 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 macOS guest tools
     
    6. macOS
    --------
    On macOS 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 macOS.
     
    You may need to ensure the macOS scripts have execute permissions
    by running chmod +x against the 2 files.
     
    osx-install.sh - patches VMware
    osx-uninstall.sh - restores VMware
     
    7. 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 store and 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
     
    There is a boot option for ESXi that disables the unlocker if there is a problem.
     
    At the ESXi boot screen press shift + o to get the boot options and add nounlocker.
     
    Note:
    1. 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.
    2. The unlocker needs to be re-run after an upgrade or patch is installed on the ESXi host.
    3. The macOS VMwwre tools are no longer shipped in the image from ESXi 6.5. They have to be
    downloaded and installed manually onto the ESXi host. For additional details see this web page:
     
    https://blogs.vmware.com/vsphere/2016/10/introducing-vmware-tools-10-1-10-0-12.html
     
    8. Thanks
    ---------
     
    Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife
    (MSoK) for all the testing and support.
     
    Thanks also to Sam B for finding the solution for ESXi 6 and helping me with
    debugging expertise. Sam also wrote the code for patching ESXi ELF files and
    modified the unlocker code to run on Python 3 in the ESXi 6.5 environment.
     
     
    History
    -------
    10/10/17 2.1.0 - New version to support ESXi 6.5, Workstation/Player 14 and Fusion 10
    - Removed support for ESXi 6.0
    - Added ESXi boot option to disable unlocker (nounlocker)
     
    © 2011-2017 Dave Parsons

    18,645 downloads

    3 comments

    Submitted

  3. Unlocker

    Mac OS X Unlocker for VMware V2.0
     
    Please ask questions in this thread http://www.insanelymac.com/forum/topic/303311-workstation-1112-player-712-fusion-78-and-esxi-6-mac-os-x-unlocker-2/
    1. Introduction
     
    Unlocker 2 is designed for Workstation 11, Player 7, ESXi 6 and Fusion 7.
     
    If you are using an earlier product please continue using Unlocker 1
     
    Version 2 has been tested against:
    Workstation 11/12 on Windows and Linux
    Player 7 & Workstation Player 12 on Windows and Linux
    Fusion 7/8 on Mavericks and Yosemite
    ESXi 6.0

    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 .so to allow Apple to be selected during VM creation
    Fix libvmkctl.so on ESXi 6 to allow use with vCenter

    Download a copy of the latest VMware Tools for OS X

    Note that not all products recognise the darwin.iso via install tools menu item.
    You will have to manually mount the darwin.iso for example on Workstation 11 and Player 7.
     
    The vmwarebase code does not need to be patched on OS X or ESXi so you will see a
    message on those systems telling you that it will not be patched.
     
    In all cases make sure VMware is not running, and any background guests have
    been shutdown.
     
    The code is now Python as it makes the Unlocker easier to run and maintain on ESXi.
    There are some challenges to write the code as ESXi has a subset of Python 2.7 which
    constrains some modules that can be used.
     
    2. Prerequisites
     
    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.
     
    3. Limitations
     
    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.
     
    IMPORTANT:
     
    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" |
    4. 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
     
    5. 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
     
    6. 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
     
    7. 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
     
    Note:
    1. 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.
    2. 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.
     
    8. Thanks
     
    Thanks to Zenith432 for originally building the C++ unlocker and Mac Son of Knife
    (MSoK) for all the testing and support.
     
    Thanks also to Sam B for finding the solution for ESXi 6 and helping me with
    debugging expertise. Sam also wrote the code for patching ESXi ELF files.
     
     
    History
     
    12/12/14 2.0.0
    First release

    13/13/14 2.0.1
    Removed need for Python for Windows

    13/13/14 2.0.2
    darwin.iso was missing from zip file

    02/01/15 2.0.3
    Added EFI firmware files to remove Server check
    Refactored Python code

    07/01/15 2.0.4
    Added View USB Service to Windows batch files
    Fixed broken GOS Table patching on Linux

    18/06/15 2.0.5
    ESXi 6 working
    Latest tools from Fusion 7.1.2

    20/06/15 2.0.6
    ESXi 6 patch for smcPresent vCenter compatibility

    16/09/15 2.0.7
    Workstation 12 on Linux fixes

    14/11/15 2.0.8
    Player 12 on Linux fixes
    Get latest VMware tools command
    Removed firmware files
    Moved to PyInstaller 3.0

     
    © 2011-2015 Dave Parsons

    705,838 downloads

    139 comments

    Updated

  4. VMware Unlocker for OS X

    Mac OS X Unlocker for VMware
    ============================
     
    1. Introduction
    ---------------
     
    The package is a combination of the Unlocker code written by Zenith432 plus some
    fixes and scripts written by myself that wrap the actual unlocker code.
     
    It has been tested against:
     
    * Workstation 8/9/10 on Windows and Linux (32 & 64-bit versions)
    * Player 4/5/6 on Windows and Linux (32 & 64-bit versions)
    * Fusion 4/5/6 on Snow Leopard, Lion, Mountain Lion and Mavericks
    * ESXi 5.0/5.1/5.5
     
    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 .so to allow Apple to be selected during creation
    * Copy darwin.iso if needed to VMware folder
     
    Note that not all products recognise the darwin.iso via install tools menu item.
    You will have to manually mount the darwin.iso for example on Workstation.
     
    Also Player is missing vmware-vmx-debug and vmware-vmx-stats files and so an
    error is shown during patching as the files are not found. This can be safely
    ignored.
     
    OS X guests on ESXi patched hosts cannot be controlled from vCenter, only from
    the ESXi host itself. This means power operations have to be run directly on
    the server.
     
    The vmwarebase code does not need to be patched on ESXi or OS X so you will see a
    message on those systems telling you that it will not be patched.
     
    In all cases make sure VMware is not running, and any background guests have
    been shutdown.
     
    2. 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".
     
    install.cmd - patches VMware and copies darwin.iso tools image to VMware
    uninstall.cmd - restores VMware and removes darwin.iso tools image from VMware
     
    3. Linux
    ---------
    On Linux you will need to be either root or use sudo to run the scripts.
     
    You may need to ensure the contents of the linux folder have execute permissions
    by running chmod +x against the 4 files.
     
    install.sh - patches VMware and copies darwin.iso tools image to VMware
    uninstall.sh - restores VMware and removes darwin.iso tools image from VMware
     
    4. 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 contents of the osx folder have execute permissions
    by running chmod +x against the 3 files.
     
    install.sh - patches VMware
    uninstall.sh - restores VMware
     
    5. 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 contents of the esxi folder have execute permissions
    by running chmod +x against the 3 files.
     
    install.sh - patches VMware
    uninstall.sh - restores VMware
     
    Note:
    1. System should have a persistent scratch partition - should be OK except for stateless
    and USB boot on drives less than 4GB
    http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033696
    http://www-01.ibm.com/support/docview.wss?uid=isg3T1013015
    http://www.vreference.com/2011/04/28/check-for-esxi-scratch-persistence/
    2. 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.
    3. This option runs at boot time to patch the releavant files and it now survives
    an upgrade or patch to ESXi as local.sh is part of the persisted local state.
     
    6. Zenith432's Unlocker
    -----------------------
     
    In all cases the unlocker can be run without the scripts but you would need to
    carry out additional actions which the scripts encapsulate for you especially on
    ESXi. If you want to run the unlocker directly the parameters are:
     
    Usage: Unlocker [-h] [-u] [target_directory]
    -h: print help
    -u: remove the patch
    target_directory: customize location of vmx executables
     
    On all platforms you must run it with administrator or root privileges.
    The source code is provided and Zenith432 makes it freely available for
    modification. I have modified the code and it is available as per Zenith432's
    original statement.
     
     
    Thanks to Zenith432 for building the unlocker and Mac Son of Knife for all
    the testing and support.
     
     
    History
    -------
    11/10/11 1.0.0 - First release
    07/11/11 1.0.1 - Fixed typo in Windows command files
    07/12/11 1.0.2 - Updated patcher and tools for latest release WKS 8.0.1 & FUS 4.1.1
    10/05/12 1.1.0 - Changed the patching mechanism for vmwarebase .dll or .so
    & tested against ESXi 5.0 U1 and Tech Previews.
    13/07/13 1.1.1 - Changed ESXi scripts to ensure not deleting root /bin folder
    - Fixed vmwarebase patching on 32-bit Linux
    - Some other code clean-up in Unlocker.cpp
    18/09/13 1.2.0 - Updated vmwarebase pattern matching for WKS 10.0.0 & FUS 6.0.0
    25/03/14 1.3.0 - New method to run patcher on ESXi
    - Fixes crashes when using vCenter
    - Tested against ESXi 5.5
    - Darwin guest tools from Fusion 6.0.2
    - Zip file preserves file attributes for Posix based systems
     
    © 2011-2014 Dave Parsons

    238,809 downloads

    80 comments

    Updated

×