Code Monkey home page Code Monkey logo

unlocker's People

Contributors

boostchicken avatar drdonk avatar samhocevar avatar simpilotadamt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unlocker's Issues

GPU Acceleration?

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."

要怎么使用

我右键管理员运行unlocker.exe之后电脑没有任何反应
操作系统 win11

Test using AMD Ryzen CPU

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.

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"
  1. 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.
  2. You can now install and run macOS as a gu

So looking for others to try this out and report back here with any details on success or failure.

Unsupported NAT Driver in macOS 13

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 V4.0 does not work for VMware Workstation Pro v16.2.1.18811642

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?

workstation 17

Did your patch work for the new Vmware Workstation 17 PRO ?

thank you

New check host command

New command or include in unlock the checks for various host capabilities that can affect the running of macOS in VMware.

  1. Check ULM v CPL0 mode on Windows by looking for Hyper-V CPUID leaf 0x40000000 = "@microsoft Hv"
  2. Check if pre-Haswell Intel CPU and warn no Ventura guests possible
  3. Check if AMD CPU warn no Ventura guests possible

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

Cannot erase disk for MacOs on VMWare in Windows 10

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.

macOS Ventura + VMware Workstation Player on Linux = Boot error

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 ):

zMY5VI.png

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

macOS Mavericks "Prohibited Icon" on VMware

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.

macOS Ventura Testing

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

New Template VMs

New template VMs for Catalina to Ventura based on recent observations of different issues post-Ventura and Workstation 17 release.

About This Mac

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

Ventura keep rebooting.

My setting
image

VMware version:
VMware Workstation 17

Issue:
image

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 <<<

Keep rebooting on macOS Ventur

I upgraded to macOS Ventura recently. After upgrading, I applied patches to VMware.
But I am getting this error.
Screenshot_1

  • Release version: 4.2.3
  • OS: Windows 10
  • VMware version: 16.2.4 build-20089737

[windows] Unable to patch because not all required services is stopped

> 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

Golocker?

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

Linux WS 17 - Long unresponsive periods when switching tabs

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.

File Not Found on ESXi 6.7u3

[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]

Running Monterey successfully BUT cannot connect Ipad or Android

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.

Unlocker

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.

Failure to build for 16.2.4

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'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.