drdonk / unlocker Goto Github PK
View Code? Open in Web Editor NEWVMware macOS utilities
License: MIT License
VMware macOS utilities
License: MIT License
Did your patch work for the new Vmware Workstation 17 PRO ?
thank you
I was wondering when will Unlocker potentially support Apple VGPU support? The reason why I am asking, is because the Darwin.iso only gets you up to 128 MB, when you can have more somehow. I wish you guys the best of luck and hopefully we can get a solution to "the new way to Hackintosh."
I need to know what this is
I came across it and I thought it was ransomware for a second
I'm not installing that!
..Golocker? lol, ransomware
where is the unlock.exe under the env of windows
https://kb.vmware.com/s/article/81657
The vm is unable to boot. Any idea ?
I recently tested the unlocker on my son's AMD Ryzen based laptop (thanks Dan), and looking for others to try it out using a vanilla macOS installation, not one with an AMD kernel or patches. The unlocker cannot patch this but we can recommend settings for the VMX file that allows macOS to run on recent AMD CPUs
The CPU spec was: AMD Ryzen 3 3200U with Radeon Vega Mobile Gfx @ 2.60 Ghz
It ran when the following lines were added 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"
UPDATE
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.
Editing 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"
So looking for others to try this out and report back here with any details on success or failure.
This is not an issue. It's a request for help/documentation.
Is there a way of having a correct mac Serial Number and Hardware in "About this Mac" ?
Thanks
Gonzalo
Log
$ sh build.sh 16.2.4
Building release executables
build.sh: 10: pushd: not found
Building check
build.sh: 12: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 16: popd: not found
build.sh: 18: pushd: not found
Building relock
build.sh: 20: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 24: popd: not found
build.sh: 26: pushd: not found
Building unlock
build.sh: 28: go-winres: not found
no Go files in /home/user/git/unlocker
no Go files in /home/user/git/unlocker
rm: cannot remove 'rsrc_windows_amd64.syso': No such file or directory
build.sh: 32: popd: not found
'LICENSE' -> './dist'
cp: target './dist' is not a directory
cp: cannot overwrite non-directory './dist' with directory './iso'
Minor typo bug: darwin.iso copy fails because it is pointing at current directory, not parent directory.
On windows, running "unlocker.exe install" fails to copy darwin.iso and darwinPre15.iso due to trying to copy them from the
./iso/darwin.iso
./iso/darwinPre15.iso
directories... Needs to be corrected to this instead:
../iso/darwin.iso
../iso/darwinPre15.iso
My mac ventura gets looped when booting vmware
Originally posted by @Ayushprtp in #62 (comment)
[root@ESXi:/golocker] ./unlocker install
Unlocker 4.1.0 for VMware Workstation/Player
============================================
© 2014-2021 David Parsons
VMware is installed at: /usr/lib/vmware
VMware version: .
Installing unlocker
Patching...
File: /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so Mode: 2
panic: Cannot find file
goroutine 18 [running]:
golocker/vmwpatch.mapFile({0xc000148040, 0x35}, 0xc00008c0a0)
/Users/dave/Projects/lang-go/golocker/vmwpatch/utils.go:35 +0x14a
golocker/vmwpatch.IsGOSPatched({0xc000148040, 0xc00004868c})
/Users/dave/Projects/lang-go/golocker/vmwpatch/gostable.go:100 +0x38
main.main.func1()
/Users/dave/Projects/lang-go/golocker/command/unlocker.go:100 +0x305
created by main.main
/Users/dave/Projects/lang-go/golocker/command/unlocker.go:82 +0x3dd
[root@ESXi:/vmfs/volumes/61e5ac7c-c1db28bc-f741-90b11c20baf0/golocker410/linux]
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 make change are not clear, but it is safe to say we should look for alternative approaches to the unlocker.
sudo ./check.go
is not working
VMware version:
VMware Workstation 17
log and vmx:
macOS 13.zip
Also tested this setting from #33
# >>> START <<<
# This spoofs CPUID as MacBook Pro (15-inch, 2018) - MacBookPro15,1
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"
featMask.vm.cpuid.FAMILY = "Val:0x6"
featMask.vm.cpuid.MODEL = "Val:0x9e"
featMask.vm.cpuid.STEPPING = "Val:0x0a"
cpuid.brandstring = "Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz"
cpuid.inhibitDarwinMasks = "TRUE"
board-id.reflectHost = "FALSE"
board-id = "Mac-937A206F2EE63C01"
# Throw VMware error if no AVX2 support in CPU
featMask.vm.cpuid.AVX2 = "Min:1"
# Ensure no boot loop due to macOS unsupported Intel e1000 NIC
ethernet0.virtualDev = "vmxnet3"
# >>> END <<<
Is it safe?
If you run unlocker.exe, the script will succeed with everything except copying the darwin isos, due to reason in title.
If you manually copy the iso folder into the windows folder and run unlocker.exe, itll copy the isos correctly.
Relock does not display a message when removing ISO images from VMware folder
Is the new WS17 supported?
Do you plan to release version for vmWare Workstation 17?
New template VMs for Catalina to Ventura based on recent observations of different issues post-Ventura and Workstation 17 release.
"press any key to continue" prints they key pressed, only Return key will continue.
Hi,
As previously mentioned in this issue ( #51 (comment) ) I've been trying to install macOS Ventura on the latest VMware Workstation Player on Linux on Arch ( https://aur.archlinux.org/packages/vmware-workstation ) and I used your patcher ( https://aur.archlinux.org/packages/vmware-unlocker-bin ) which worked fine, and patched the VMWare binaries.
I can successfully create a new VM choosing macOS ( up to version 14 ) as a confirmation of the patch and I can boot a macOS VM. Although upon using your Intel template and trying to boot the ISO I created using a genuine macOS machine on top of that said template, VMware shows up a screen like this after 30s of loading ( the progress bar moves while the Apple logo is on the screen ):
Any idea how could I approach this and provide additional logs?
Machine spec:
CPU: Intel i7-8550U
RAM: 8GB DDR4
SSD: 256GB NVMe
GPU: Intel UHD 620 + Nvidia MX 130
Linux Kernel: 6.0.11.arch1-1
As an additional note, running the same ISO, on the same machine, but using Windows 11 instead of Linux ( and VMware Workstation 17 patched with your unlocker ) works just fine.
Thank you in advance,
Julian
这么一个软件找不到教程!就不能简单点?
Any clue why? I have VMWare Workstation 16.2.1 as the version.
Hello Friend! For some reason your solution doesn't work for VMware Workstation Pro v16.2.1.18811642 and earlier builds of version 16. Why is this happening? A message about the guest operating system pops up. AMD 5950X.
smc.version = "0" presented.
I understand this message (The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.) is caused by VMware software? Does it depend on the mounted disk image?
New command or include in unlock the checks for various host capabilities that can affect the running of macOS in VMware.
These would be warning messages during unlock and would carry on with the patches.
Some useful code for Go:
https://github.com/klauspost/cpuid
https://github.com/aregm/cpuid
or my modified cpuid:
https://github.com/DrDonk/cpuid
Seems that the newest network driver is unavailable in macOS 13 Beta 1.
Unlocker Version 421
VMware Workstation 16.2.3 build-19376536
macOS 13 Developer Beta 1 Build 22A5266r
我右键管理员运行unlocker.exe之后电脑没有任何反应
操作系统 win11
DrDonk:
I've been looking for it for a long time, but no one updated it. can you provide it for ESXi 7.0.3U ++ ?
Never saw this before, but since upgrading to WS 17 today and using the latest Unlocker release things go brain dead periodically and VMware does not switch out from the Mojave VM guest. If I persist the entire VMware GUI stops responding. After a few minutes it "wakes up" and finally switches.
I had previously been using Unlocker 3.07 with no issues at all. Should I revert? It's unclear whether that older version even supports WS 17, however.
UPDATE: This seems somehow related to guest resizing! After I resize the VMware window, the guest reverts to full resolution (everything too small rather than scaled) and the tab switching goes numb.
update adaptation VMware Workstation 17?
使用右键菜单PS运行,可是会报错无法打开此安装程序包
> unlocker.exe uninstall
Unlocker 4.1.1 for VMware Workstation/Player
============================================
© 2014-2022 David Parsons
VMware is installed at: C:\Program Files (x86)\VMware\VMware Workstation\
VMware version: 17198959
Stopping VMware services and tasks...
Stopping service VMAuthdService
panic: Control(VMAuthdService) failed: A stop control has been sent to a service that other running services are dependent on.
goroutine 1 [running]:
github.com/drdonk/golocker/vmwpatch.svcStop({0x1027280, 0xe})
/Users/dave/Projects/lang-go/golocker/vmwpatch/vmw_windows.go:223 +0x1f9
github.com/drdonk/golocker/vmwpatch.VMWStop(0xc0000de000)
/Users/dave/Projects/lang-go/golocker/vmwpatch/vmw_windows.go:71 +0xc5
main.main()
/Users/dave/Projects/lang-go/golocker/command/unlocker.go:73 +0x2c5
OS: Windows 10 21H1
It looks like there is a common issue for systems wih AMD and older Intel CPUS. There is no library available for the system.
I will use this thread to track it, but currently do not have an answer to the problem.
Library not loaded: /usr/lib/libSystem.B.dylib
Referenced from: <2D7AC05B-8AF0-3676-A40A-E40B77ACA459> /sbin/launchd
Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache)
AMFI: Denying core dump for pid 1 (launchd)pid 1 exited -- exit reason namespace 6 subcode 0x1, description Library not loaded: /usr/lib/libSystem.B.dylib
Referenced from: <2D7AC05B-8AF0-3676-A40A-E40B77ACA459> /sbin/launchd
Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache)
Debugger called: <panic>
panic(cpu 3 caller 0xffffff800b30a796): initproc failed to start -- exit reason namespace 6 subcode 0x1 description: Library not loaded: /usr/lib/libSystem.B.dylib
Referenced from: <2D7AC05B-8AF0-3676-A40A-E40B77ACA459> /sbin/launchd
Reason: tried: '/usr/lib/libSystem.B.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/lib/libSystem.B.dylib' (no such file), '/usr/lib/libSystem.B.dylib' (no such file, no dyld cache)
uuid info:
0x10585e000 uuid = <2d7ac05b-8af0-3676-a40a-e40b77aca459>
0x10f0e4000 uuid = <0f050705-2258-3d40-b7bc-f3b35a44bbea>
Thread 0 crashed
RAX: 0x0000000002000209, RBX: 0x0000000000000000, RCX: 0x00007ff7ba6a0738, RDX: 0x00007ff7ba6a0ba0
RSP: 0x00007ff7ba6a0738, RBP: 0x00007ff7ba6a0780, RSI: 0x0000000000000001, RDI: 0x0000000000000006
R8: 0x00007ff7ba6a07a0, R9: 0x0000000000000000, R10: 0x000000000000003d, R11: 0x0000000000000246
R12: 0x000000000000003d, R13: 0x00007ff7ba6a0ba0, R14: 0x0000000000000001, R15: 0x0000000000000006
RFL: 0x0000000000000246, RIP: 0x000000010f14d83a, CS: 0x0000000000000007, SS: 0x0000000000000023
Thread 0: 0xffffff86e5063598
0x000000010f14d83a
0x000000010f1669f9
0x000000010f0ee1e1
0x000000010f0eb660
0x000000010f0ea281
I've successfully started to run Monterey Mac OS and Android Studio/XCODE flutter development with simulators but cannot for the life of me get physical devices to attach to the Virtual machine to run and test the apps ... where should I start looking ?
i might add that i used a vmware unlocker 3.03 previously and at least android was working but in attempts to get the ipad working android has stopped too for android studio no longer recognizes it ? thanks for any help and pointing me in the direction of any further information you might need to help me debug the problem ! Its a machine running windows 10.
vmware.log
[Please attach as a file and not paste into the issue. Thanks.]
Hello,
I try to install MacOS big Sur on my VMWare player on Windows 10.
I have followed lot of different tutorials that are all the same, actually. This worked one time (the first time), but then when I deleted my VM and tried to create it again, the erase action systematically failed:
VMware Player unrecoverable error: (aioCompletion) // Exception 0xc0000005 (access violation) has occurred.
I have full admin access on my laptop, so I guess there is some kind of "history" that is kept and that prevent me from using my disk again and erase it.
Would you have any idea how to fix that, please?
I tried:
Running everything as admin (unlocker and VMWare)
removing both unlocker and VMWare
Rebooting after having installed VMWare and Unlocker
etc...
But still the same error.
Thank you.
Steve.
Start a proper list of topics documenting known issues and workarounds.
everything else works great 🥇
When you double click either check, relock or unlock, it displays yes or no for admin privilege, then, shows the command prompt and ask you to press enter, after pressing enter, the prompt disappears and it doesn't unlock, check or relock the VMWare workstation. May you resolve this please. I attempted this on Windows 11 on the latest VMWare Workstation 16 Pro. Thank you.
Hello. I wanted to try and install Mac OS X 10.9 for a trip down memory lane, but Mavericks seems to be the only MacOS that is giving me issues. I am able to install High Sierra and Mountain Lion successfully, but I can't even get to the Disk Utility screen with Mavericks.
Is there some additional configuration I need to do? All the other versions of macOS that I've tried seem to work fine and can get past the Apple Logo. Do I have a bad copy of the OS or do I need to change some settings? Any help would be appreciated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.