Jump to content

Donk

Members
  • Content Count

    2,362
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Donk

  1. Version 3.0.0

    843 downloads

    macOS Unlocker V3.0 for VMware ESXi =================================== 1. Introduction --------------- Unlocker 3 for ESXi is designed for VMware ESXi 6.5 and 6.7. The patch code carries out the following modifications dependent on the product being patched: * Fix vmware-vmx to allow macOS to boot * Fix libvmkctl to allow vSphere to control the guest The code is written in Python as it makes the Unlocker easier to run and maintain on ESXi. +-----------------------------------------------------------------------------+ | IMPORTANT: | | ========== | | | | Always uninstall the previous version of the Unlocker before using a new | | version. Failure to do this could render VMware unusable. | | | +-----------------------------------------------------------------------------+ 2. Installation --------------- Copy the distribution file to the ESXi host datastore using scp or some other data transfer system. Decompress the file from the ESXi console or via SSH: tar xzvf esxi-unlocker-xxx.tgz (xxx - will be the version number, for example, 300) Run the command from the terminal: ./esxi-install.sh Finally reboot the server. 3. Uninstallation ----------------- Open the ESXi console or login via SSH and chnage to the folder where the files were extracted. Run the command from the terminal: ./esxi-uninstall.sh Finally reboot the server. 4. Notes -------- A. There is a command added called esxi-smctest.sh which can show if the patch is successful. It must be run from a terminal or SSH session. The output should be: /bin/vmx smcPresent = true custom.vgz false 38725560 B B. The unlocker can be temporarily disabled during boot by editing the boot options and adding "nounlocker". 5. 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. The code is available at https://github.com/DrDonk/esxi-unlocker History ------- 26/09/18 3.0.0 - First release (c) 2011-2018 Dave Parsons
  2. Verision 3 of the macOS Unlocker for VMware Workstation and Player. Supports versions: Workstation 11/12/14/15 on Windows and Linux Workstation Player 7/12/14/15 on Windows and Linux https://www.insanelymac.com/forum/files/file/963-macos-unlocker-v30-for-vmware-workstation/ https://github.com/DrDonk/unlocker/releases/download/3.0.2/unlocker302.zip https://github.com/DrDonk/unlocker/ readme.txt
  3. Here is a new utility to patch the EFI firmware in VMware Workstation and Fusion to allow the non-server versions of Mac OS X 10.5 (Leopard) and 10.6 (Snow Leopard) to run. Yoiu will need macOS unlocker 3 if you are using Workstation on non-Apple hardware. I still have to find a way to do this on ESXi as the UEFIPatch utility will not run in the ESXi console. This currently supports: Workstation 11/12/14/15 on Windows and Linux Workstation Player 7/12/14/15 on Windows and Linux´╗┐ Fusion 10/11 on macOS https://github.com/DrDonk/efi-unlocker/releases/download/1.0.0/efi-unlocker100.zip https://github.com/DrDonk/efi-unlocker Please read the readme.txt file for details. readme.txt
  4. I did look at the files and then had a bad cold so forgot to reply. The bad news is there is nothing obvious about why it is not booting. I cannot re-create it with 15.0.2. So I at this stage I don't know what to look for next.
  5. Donk

    Threadripper ESXi and OSX VM

    macOS does not support AMD CPUs so you need to find an AMD kernel and build a setup using that, which is trickier than having an Intel CPU where macOS should just work in most cases. Unlocker cannot do anything about this.
  6. Lot of time spent on this in the past, but I personally think it is too risky as involves hacking a real Mac's credentials to make it work. Instead of sleep just suspend the VM.
  7. That's great. Sorry for lateness to seeing this but have been very busy working on a project that I had to deliver by December.
  8. So the macOS VMs were suspended and not shutdown when you upgraded Workstation? This has always been a source of issues in VMware not just macOS, as sometomes the save state format changes. VMware folks I know always recommend all VMs are shutdown when upgrading. I am not sure if I can help here as never seen this before, but my guess is the CPU save state is not being loaded correctly. Can you zip up a directory listing of one of the VMs with VMX and log files please?
  9. Verision 3 of the macOS Unlocker for VMware ESXi. Supports versions: ESXi 6.5 and 6.7 https://www.insanelymac.com/forum/files/file/964-macos-unlocker-v30-for-vmware-esxi/ https://github.com/DrDonk/esxi-unlocker/releases/download/3.0.0/esxi-unlocker-300.tgz https://github.com/DrDonk/esxi-unlocker/ readme.txt Please note that this will not work if Secure Boot is enabled on the ESXi host. This is by design where VMware restricts what can be run when booted using Secure Boot.
  10. I will take a look when I have some time, but unfortunately not at the moment.
  11. OK you do have the correct versions. So I have VMware Fusion 11.0.1 and the tool versions supplied are: Darwin before 15 - VMware Tools daemon, version 10.0.12.334 (build-4448496) Darwin after 15 - VMware Tools daemon, version 10.3.2.6765 (build-9925305) My tool downloads the same versions as supplied by VMware in Fusion. The tools for older versions of macOS/Mac OS X are frozen at 10.0.12, so do not expect to see any updates unless there is a security issue found.
  12. Yes there is a different release now for hosted products.
  13. That's fine. I deliberately split ESXi fromn Windows/Linux so can have separate release schedules if needed.
  14. I am still confused. The readme is correct you should not need the chmod command. The archive is uploaded to ESXi and use SSH or Tech Support Console to login and extract the contents. The permissions are correctly set in the gzipped tar file. Don't extract on another system and upload. [root@vm-esxi670:/vmfs/volumes/5b41f592-268e512b-943f-000c29347f00] tar tzvf esxi-unlocker-300.tgz -rw-r--r-- dave/staff 4125 2018-09-27 07:02:45 unlocker.tgz -rwxr-xr-x dave/staff 336 2018-09-27 07:02:45 esxi-install.sh -rwxr-xr-x dave/staff 341 2018-09-27 07:02:45 esxi-uninstall.sh -rwxr-xr-x dave/staff 189 2018-09-27 07:02:45 esxi-smctest.sh -rw-r--r-- dave/staff 2629 2018-09-27 07:02:45 readme.txt [root@vm-esxi670:/vmfs/volumes/5b41f592-268e512b-943f-000c29347f00/esxi-unlocker-300] ll esxi-*.sh -rwxr-xr-x 1 501 20 336 Sep 27 07:02 esxi-install.sh -rwxr-xr-x 1 501 20 189 Sep 27 07:02 esxi-smctest.sh -rwxr-xr-x 1 501 20 341 Sep 27 07:02 esxi-uninstall.sh
  15. What is missing +x? I just took a look at the archive and it was OK. Yep - none of this will work with secure boot, which is a VMware design decision. No way around it but will add to readme for next release.
  16. You can open Terminal in macOS and run: /Library/Application\ Support/VMware\ Tools/vmware-tools-daemon -v
  17. I assume you use my unlocker. Get the latest version 3 and run gettools.exe. You should end up with the lastest iso images for macOS in the VMware installation folder. You will need to manually load these as attached CD-ROM in the guests and then update. The "Install VMware Tools" menu item and auto update never ran reliably as Workstation and Player are not supposed to support macOS as a guest.
  18. Intel chipsets shopuld not matter as VMware has a "virtual chassis" that it emulates, unklike the CPU which iit virtualises. Just make sure you get a CPU with VMX Unrestricted Guest mode, as that is a new dependency for VMware products. Of course needs, VT-x and EPT as well.
  19. The unlocker cannot make this work. AMD macOS kernels are needed because macOS does not support AMD CPUs. You will find the details on the forums for setting up an AMD Hackintosh. I may add a warning to the unlocker installer but it is still useful if you have AMD macOS setup available.
  20. Unlocker 2.1 for latest VMware products. Important message - ESXi 6.x support has been removed from the Unlocker as it is too unreliable. Several methods have been tried but they cause random disconnects of vCenter and failure of the hostd daemon. Support will be added back if and when a reliable method is found. Support Request Please, please, please do NOT copy vmx or log files inline in a post. Always attach the log file as an attachment. It slows down the forum editor and puts a lot of junk in the actual post, and I cannot analyse unless it is a separate file. Alternatively post a link to a Gist. Download Links Version 2.1.1 - http://www.insanelymac.com/forum/files/file/835-unlocker/ Please continue to use version 2.0.8 for ESXi 6.0. 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
  21. It is an addon to the unlocker to remove server checks for Leopard/Snow Leopard. It used to be fixable in the unlocker code but changed a couple of releases back.
  22. I will look into it but the firmware is embedded in the executables. There is a way to extract so will try and sort it out for you.
  23. This is fixed in 3.0.2 where I have recompiled the PyInstaller runtime.
  24. Version 3.0.2

    3,119 downloads

    macOS Unlocker V3.0 for VMware Workstation ========================================== +-----------------------------------------------------------------------------+ | 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 3 is designed for VMware Workstation 11-15 and Player 7-15. If you are using an earlier product please continue using Unlocker 1. Version 3 has been tested against: * Workstation 11/12/14/15 on Windows and Linux * Workstation Player 7/12/14/15 on Windows and Linux 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. In all cases make sure VMware is not running, and any background guests have been shutdown. The code is written in Python. 2. Prerequisites ---------------- The code requires Python 2.7 to work. Most Linux distros 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 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. 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 ------- 27/09/18 3.0.0 - First release 02/10/18 3.0.1 - Fixed gettools.py to work with Python 3 and correctly download darwinPre15.iso 10/10/18 3.0.2 - Fixed false positives from anti-virus software with Windows executables - Allow Python 2 and 3 to run the Python code from Bash scripts (c) 2011-2018 Dave Parsons
×