# macOS Unlocker V4 for VMware Workstation
---
## Important News
VMware will stop supporting new macOS versions as guests starting with Fusion 13 and the next version of ESXi.
This is documented at the VMware KB for Fusion:
https://kb.vmware.com/s/article/88697
And for ESXi:
https://kb.vmware.com/s/article/88698
This will likely impact Workstation Pro/Player as well. Currently the exact details of what may change are not clear, but
it is safe to say we should look for alternative approaches to the unlocker.
---
## 1. Introduction
Unlocker 4 is designed for VMware Workstation and Player 16 and has been tested against:
* Workstation Pro 16 on Windows and Linux
* Workstation Player 16 on Windows and Linux
The Unlocker enables certain flags and data tables that are required to see the macOS type when setting
the guest OS type, and modify the implmentation of the virtual SMC controller device. These capabiltiites are normally
exposed in Fusion and ESXi when running on Apple hardware.
The patch code carries out the following modifications dependent on the product being patched:
* Patch vmware-vmx and derivatives to allow macOS to boot
* Patch vmwarebase.dll or libvmwarebase.so to allow Apple guests to be selected during VM creation
* Provide a copy of the macOS VMware Tools for the guest
It is important to understand that the Unlocker cannot add any new capabilities to VMware Workstation and Player
but enables support for macOS that is disabled in the VMware products that do not run on Apple hardware.
The Unlocker cannot:
* add support for new versions of macOS
* add paravirtualized Apple GPU support
* add older (non-Ryzen) AMD CPU support
or any other features that are not already in the VMware compiled code.
## 2. Running the patcher
### 2.1 Download Release
The code is written in Go and has no pre-requisites and should run directly from the release zip download.
* Download a binary release from https://github.com/DrDonk/unlocker/releases
* Optionally check the sha256 checksum matches that published in the release
* Unzip the archive to extract the executables and VMware Tools images
* Navigate to the folder with the extracted files
### 2.2 Windows
On Windows you can double-click the executables to launch them from the "windows" folder. You may be prompted to run
with Administrator rights which are required to patch VMware.
* unlock.exe - apply patches to VMware
* relock.exe - remove patches from VMware
* check.exe - check the patch status of VMware
### 2.3 Linux
On Linux navigate to the folder where the unlocker has been unpacked, and run the required command from the
"linux" folder. You will need to be either root or use sudo to run the scripts in the terminal.
* unlock - apply patches to VMware
* relock - remove patches from VMware
* check - check the patch status of your VMware installation
## 3. Upgrading VMware
If a new VMware version is installed the patches will be lost as the update will overwrite the patched files.
You will need to re-run the unlock program to patch the newly installed VMware files.
## 4. Compiling from source code
The release ZIP file contains pre-compiled executables but if you want to compile the code please follow
these instructions.
The Go language allows cross-compilation for multiple platforms and architectures. It is possible to
compile the unlocker on Windows, Linux and macOS for VMware Workstation on Linux and Windows.
### 4.1 Building on Windows
To build from source, do the following:
1. Install go and git using either [scoop](https://scoop.sh) or [chocolatey](https://chocolatey.org)
2. Open a Windows command prompt
3. `go install github.com/tc-hib/go-winres@latest`
4. `git clone https://github.com/DrDonk/unlocker.git`
5. `cd unlocker`
6. `build.cmd x.y.z` where x.y.z is the desiered Unlocker version number; e.g. 4.2.1.
7. `cd dist/windows`
8. Run the binaries as needed.
### 4.2 Building on Linux
To build from source, do the following:
1. Install go from your distro's repos
2. `go install github.com/tc-hib/go-winres@latest`
3. `export PATH="$PATH:$HOME/go/bin"`
4. `git clone https://github.com/DrDonk/unlocker.git`
5. `cd unlocker`
6. `sh build.sh x.y.z` where x.y.z is the desired Unlocker version number; e.g. 4.2.1.
7. `cd dist/linux`
8. Run the binaries as needed.
### 4.3 Build a specific release
If you want to build from the source of a specific release and not of the latest commit,
add `--branch <tag_name>` to the `git clone` command. For example, if you want to build from
the v4.2.1 tag, type in:
`git clone --branch v4.2.1 https://github.com/DrDonk/unlocker.git`.
and then build the code on your platform.
## 5. FAQS
### 5.1 False positive from antivirus software
Some Windows antivirus programs mistakenly flag the unlocker as having a virus. The code is compiled on macOS
which is checked for viruses. These are false positives and if you want to check you can compile the code youself using
instruction in the readme file.
**Please do not log an issue about this!**
This is a known problem with Windows executables written in the Go languauge which is documented at the Go website.
[https://go.dev/doc/faq#virus]()
From the Go web site:
>Why does my virus-scanning software think my Go distribution or compiled binary is infected?
>
>This is a common occurrence, especially on Windows machines, and is almost always a false positive.
>Commercial virus scanning programs are often confused by the structure of Go binaries, which they don't see as
>often as those compiled from other languages.
>
>If you've just installed the Go distribution and the system reports it is infected, that's certainly a mistake.
>To be really thorough, you can verify the download by comparing the checksum with those on the downloads page.
>
>In any case, if you believe the report is in error, please report a bug to the supplier of your virus scanner.
>Maybe in time virus scanners can learn to understand Go programs.
### 5.2 AMD CPUs
A patched macOS AMD kernel must be used to run on older AMD systems, but there is a workaround if you have a modern
AMD Ryzen CPU. The unlocker cannot patch this but we can recommend settings for the VMX file that allows macOS to
run on recent AMD CPUs. The tests are being recorded in this issue, and it would be useful if more can report
success or failures in that issue.
https://github.com/DrDonk/unlocker/issues/33
You must have Hyper-V disabled on Windows or VMware falls back to a mode called ULM. CPUID masking is not available in ULM mode as it is pushed to Windows for the low level VMX/SVM operations. You can see if VMware is in ULM mode on Hyper_V by searching the guest's vmware.log file for these 2 lines:
`vmx IOPL_Init: Hyper-V detected by CPUID`
`Monitor Mode: ULM`
Here is a link to a Microsoft artcile on disabling Hyper-V.
https://docs.microsoft.com/en-us/troubleshoot/windows-client/application-management/virtualization-apps-not-work-with-hyper-v
_Editing the VMX file_
1. Read this KB article to learn how to edit a guest's VMX file safely https://kb.vmware.com/s/article/2057902
2. Add the following lines to the VMX file:
```
cpuid.0.eax = "0000:0000:0000:0000:0000:0000:0000:1011"
cpuid.0.ebx = "0111:0101:0110:1110:0110:0101:0100:0111"
cpuid.0.ecx = "0110:1100:0110:0101:0111:0100:0110:1110"
cpuid.0.edx = "0100:1001:0110:0101:0110:1110:0110:1001"
cpuid.1.eax = "0000:0000:0000:0001:0000:0110:0111:0001"
cpuid.1.ebx = "0000:0010:0000:0001:0000:1000:0000:0000"
cpuid.1.ecx = "1000:0010:1001:1000:0010:0010:0000:0011"
cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
vhv.enable = "FALSE"
vpmc.enable = "FALSE"
```
3. Make sure there are no duplicate lines in the VMX file or the guest will not start and a dictionary error will
be displayed by VMware.
4. You can now install and run macOS as a gu
## 6. VMware Downloads
These URLs will link to the latest versions of VMware's hosted products:
* VMware Fusion https://vmware.com/go/getfusion
* VMware Workstation
没有合适的资源?快使用搜索试试~ 我知道了~
unlocker4.2.3解锁VMware workstation 的MacOS选项
共22个文件
exe:3个
md:3个
vmxf:2个
4 下载量 157 浏览量
2022-12-05
16:17:12
上传
评论
收藏 13.76MB RAR 举报
温馨提示
macOS Unlocker V4 for VMware Workstation unlock.exe - apply patches to VMware relock.exe - remove patches from VMware check.exe - check the patch status of VMware 在Windows上,你可以双击可执行文件,从“Windows”文件夹启动它们。系统可能会提示您以Administrator权限运行,这是打VMware补丁所需的权限。 unlock.exe -应用补丁到VMware relock.exe -从VMware中删除补丁 check.exe—检查VMware的补丁状态
资源推荐
资源详情
资源评论
收起资源包目录
unlocker.rar (22个子文件)
unlocker4.2.3
templates
amd
macos.vmsd 0B
macos.vmx 2KB
macos.vmxf 260B
macos.plist 642B
macos.vmdk 16.06MB
intel
macos.vmsd 0B
macos.vmx 2KB
macos.vmxf 260B
macos.plist 642B
macos.vmdk 16.06MB
LICENSE 1KB
windows
check.exe 2.93MB
relock.exe 2.89MB
unlock.exe 3.25MB
TROUBLESHOOTING.md 3KB
iso
darwinPre15.iso 2.87MB
darwin.iso 3.25MB
linux
unlock 2.61MB
relock 2.21MB
check 2.43MB
CHANGELOG.md 2KB
README.md 9KB
共 22 条
- 1
资源评论
xlwreally
- 粉丝: 26
- 资源: 23
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于matlab实现说话人语音识别源码+项目说明+PPT+报告(高分项目).zip
- VSc++编程助手1.0 - 1
- 基于matlab的说话人语音识别源码+PPT+报告(优质项目).zip
- 语音识别基于matlab说话人识别系统源码+报告PPT(高分优质项目).zip
- 毕业设计: 校园失物招领小程序的设计与实现论文(源码 + 数据库 + 说明文档)
- 美易ME-DUI自绘模块3.3-易语言模块
- 毕业设计:小程序消防知识每天学(源码 + 数据库 + 说明文档)
- 2024-NEW.zip
- 软件.zip
- 华为FPGA设计技巧FPGA设计规范设计经验设计流程指南华为面经硬件工程师手册等资料(15个).zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功