Giter Club home page Giter Club logo

auto-unlocker's Introduction

Auto-Unlocker

A one-click Unlocker for VMWare Player and Workstation.

A C++ port of the DrDonk Python Unlocker

The tool

This project is born to provide a native solution, mainly on Windows, to the original Unlocker project. Since the original project requires python, and it's not installed by default on windows, this tool has been coded to provide an all-in-one solution with no additional dependencies needed.

It relies on libcurl for the networking (get requests and file download) and libzip for the zip extraction. The tar extraction, being relatively easy to implement, has been coded from scratch. The libraries are linked statically to provide one final executable for the sake of simplicity.

The Windows target features a GUI implemented throught the Win32 API. Although this solution brings more complexity than using one of the many GUI libraries out there, the resulting executable will be smaller and with better compatibility.

For the linux target, it is still shell-based, given the better-instructed user base running this tool on linux os-es.

DrDonk Unlocker

Unlocker 3 is designed for VMware Workstation 11-15 and Player 7-15.

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.

How to use

Windows (GUI): just download from the releases section, extract to a folder (store it if you want to be able to uninstall later) and run the executable.

Linux (shell): You need to compile the program first. After you compiled it, chmod +x if needed and run sudo ./auto-unlocker. Refer to the next section for more info about compiling the tool.

Command line options (linux):

  • --install (Default behavior when called with no arguments) Installs the patch.
  • --uninstall Uninstalls the patch. Works only if the patch was previously installed and the backup folder is intact
  • --download-tools Downloads the tools in the tools folder
  • --help Shows a list of the available options

Compile

The program can be compiled on Windows with CMake, provided you get or compile the needed libraries first. Run CMake on the source dir and it will generate a ready to build project.

The program needs the following libraries:

  • libcurl
  • libzip

The tar extraction is handled internally, while the zip decompression needs the libzip library. libcurl is used for downloading the tools.

Windows: Run CMake on the source folder to generate a Visual Studio Project. The CMakeList is set up to compile with static libraries, if you have shared ones change CMakeLists.txt file accordingly (UNLOCKER_STATIC_LIBS_WIN variable). Point the CMake utility to the proper library/headers paths when prompted or add them to your PATH.

Linux: Use the embedded Makefile. Get needed libraries (or compile them and install) first, then run make

On Ubuntu:

sudo apt-get install libcurl4-openssl-dev libzip-dev
git clone https://github.com/paolo-projects/auto-unlocker
cd auto-unlocker
make
chmod +x ./auto-unlocker
sudo ./auto-unlocker

auto-unlocker's People

Contributors

bdisp avatar hadrienlemaire avatar paolo-projects avatar pzhlkj6612 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  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

auto-unlocker's Issues

terminate called after throwing and instance of std::bad alloc

Operating System: Mint Tricia (19.3) based on Ubuntu 18.04. 3 LTS
Compiler Toolchain: G++-9

root@fermi:/home/akarasulu/Downloads/auto-unlocker-1.0# ./auto-unlocker 
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted

The compilation went through to create the executable. I then became root and got the error above when tried to run it. Thanks in advance.

BTW thank you for the effort to replace DrDonk/unlocker: it comes just in time since the unlocker repository is missing now. I guess we still have your copy though at https://github.com/paolo-projects/unlocker.

Core Dump on VMware 15.5.6 W2004

Using an iso of Catalina. The the install appears to have gone mostly okay, however just before the progress bar during bootup completes, an error window opens up with quite a few errors(image included).

A VM created on VMware 12 for I think 10.13 or 14 is running fine.

Auto-Unlocker-080120

Didn't see the need for mods to the file like some of the other unlockers so didn't attempt them. Any advice would be appreciated. Thanks.

The CPU has been disabled by the guest operating system

Upon launch it shows the Apple logo, then shows this error message and never boots: "The CPU has been disabled by the guest operating system. Power off or reset the virtual machine."

I'm on latest version of Workstation, latest Windows 10, and using a previously proven working Catalina (10.15) iso.

I added this to the vmx file as I remember having to do this with old unlocker and still didn't work.
smc.version = "0"

Other VMs still work fine.

Add an option to enter recovery mode

It's impossible to enter recovery mode, as the keyboard shortcut Crtl+R, restarts the VM, so perhaps its possible to enter safe mode with some code, or another keyboard shortcut.

Working on VMWare Workstation 16 on Linux !

I just ran Paolo's unlocker on Workstation 16 on Linux and would like to inform you all it worked well.

My OSX Mojave VM, which I had working in Workstation 14, now works fine in 16.

Thanx.

(INFO) Supports 15.6

This is NOT a bug. Just want to say that this works with VMWare workstation 15.6 technical preview that adds hyper-v support.

Big Sur UI freezes when minimizing and restoring

On Big Sur, there is an issue with UI. It freezing when you minimize and restoring a big window like Safari on Big Sur. it doesn't happen on Catalina
I tried to disable all animation using 3rd party tools as much as possible but the issue still persist. Overall it's running smooth with Vmtools already installed. It's such a bummer because I really like the UI on Big Sur

Does anyone know how to fix it?

Video clip: https://imgur.com/a/kVE1VhL

PS: I don't know where the right place to ask since mac community does not allow discussions about Vmware

Improvment

1.When File Downloaded on Tools Folder,Open Unlocker Will overide(redownlaod) the file when press Y or n.
2.If don't want the file be overide ,i need to disconnect to internet :(
3.Keep it up

[Issue] Virtualized Intel VT-x/EPT is not supported on this platform.

Hi,

I followed this tutorial : https://www.youtube.com/watch?v=-Js-AO3t308
I've intel i7 9700, i've enable Hyper-V (because i need it) in windows and intel VT in bios.
I've Vmware workstation 16 (not 15) because it works well with Hyper-V without issue (official doc say that).

But i got error message when running vm :

image

If i disable Intel VT in vm setttings, the installation didn't achieved or (on my last vm) I got ugly performance.

What should i do ?

question

In some cases, the download speed of this software is very slow. Can you add the option of installing files locally?
Thanks.

The following error occurred during installation:

VMware Version 16.1.0 build-17198959
The following error occurred during installation:

Downloading tools into ".\tools" directory...

Download progress: 99 %, 627.67 MB / 627.79 MB
Extracting from .tar to temp folder ...
Extracting from .zip to destination folder ...
Error: Couldn't extract from the zip file

Download progress: 14 %, 90.42 MB / 606.16Download progress: 14 %, 90.42 MB / Download progress: 14 %, 90.42 MB / 606.16Download progress: 35 %, 218.20 MB / Download progress: 35 %, Download progress: 35 %, 218.20 MB / 606.16 MB Download progress: 38 %, Download progress: 38 %, 230.44 MB / 230.44 MB / Download progress: 606.16 MB Download progress: 47 %, Download progress: 287.85 MB / 47 %, Download progress: 287.85 MB / 47 %, 287.85 MB / 606.16 MBDownload progress: 60 %, 369.42 MB / 606.16Download progress: Download progress: 60 %, 369.42 MB / 606.16 MB Download progress: 70 %, Download progress: 427.13 MB / 70 %, Download progress: 70 %, 427.13 MB / 606.16 MB Download progress: 73 %, 442.53 MB / Download progress: 73Download progress: 73 %, 442.53 MB / 606.16 MB Download progress: 78 %, Download progress: 474.48 MB / 78 %, Download progress: 474.48 MB / 78 %, 606.16 MB Download progress: 80 %, 490.62Download progress: Download progress: 80 %, 490.62 MB / 80 %, 490.62 MB / MB / 606.16 MBDownload progress: 82 %, 499.42 MB / 606.16Download progress: 82 %, Download progress: 82 %, 499.42 MB / MB Download progress: 90 %, Download progress: 90Download progress: 90 %, 550.06 MB / %, 549.99 MB / 606.16 MB Download progress: 96 %, 587.75 MB / Download progress: 96 %, Download progress: 96 %, 587.75 MB / 606.16 MB Download progress: 98 %, 594.83Download progress: 98 %, Download progress: 98 %, 594.83 MB / 606.16 MB Download progress: 99 %, 605.27 MB / 606.16 MB 17 MB / 606.16 MB
Extracting from .tar to temp folder ...
Extracting from .zip to destination folder ...
Error: Couldn't extract from the zip file

Download progress: 100 %, Download progress: 89.46 MB / 100 %, 88.87 MB /
Extracting from .tar to temp folder ...
Extracting from .zip to destination folder ...
Error: Couldn't extract from the zip file

Download progress: 1 %, 7.06 MB / Download progress: 1 %, 7.06 MB / Download progress: 1 %, 7.06 MB / 606.40 MB 606.40 MB

v1.1.2 crashes on extracting files

no error, just crashes and windows tells me it crashes, seems to happen when extracting files.

windows 8.1 industry pro embedded / vm ws 15 v1.5.6

Why the host won't go to sleep/hibenerate while the xcode is up and running in macOS guest

Paolo, thank you for your amazing projects,
The unlocker works well, but I was wondering if you've tried to put the host to sleep or hibernation mode while macOS guest is running XCode or anything resource-heavy. I believe the network connectivity or some kind of driver for VMWare Workstation is preventing the host from shutting down the services properly. This was asked on VMWare forum, but no one knew the answer.
Do you have a clue what might be the issue?

AMD Support issue

I've noticed a lot of folks, myself included, with AMD CPU's unable to get this working. Perhaps this issue can be a "master" issue for AMD related problems.

Failure on darwin.iso on version 1.1.2

I've tried it a few times, but after it downloads the file (download progress seems right) and the task succeeds, the darwin.iso file inside the tools folder in not correct and is 0 bytes. Maybe the copy task is wrong?

Version 1.1.1 seems to download and place the file correctly.

.exe

Where is executable?

Unlocker error (Can't open file "C") ?

First run, it died because it couldn't close or stop vmware services ?

I started VMWare Workstation and then ran the Unlocker and it hung on trying to close or stop a usb service:

Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-141562368)

So I think I closed it again, and re-ran the Unlocker and this popped up:

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
Error: Couldn't open file C
Downloading tools into ".\tools" directory...

Ran it again and there appears to be no error.

First run log:

Killing services and backing up files...
Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-141562368)
Error: Couldn't stop service "VMwareHostd", Error: Service is already stopped.
Service "VMAuthdService" stopped successfully.
Service "VMUSBArbService" stopped successfully.
Process "vmware-tray.exe" killed successfully.
File "C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe" backup done.
Patching files...
File: vmware-vmx.exe
Patching file: vmware-vmx.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000aabde0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000aabe00
+LKS Key:
002 0x0000000000aabe48 +LKS 01 flag 0x90 0x0000000140138a30 07
OSK0 Key Before:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000ab0210
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000ab0230
+LKS Key:
004 0x0000000000ab0308 +LKS 01 flag 0x90 0x0000000140138a30 01
OSK0 Key Before:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-debug.exe
Patching file: vmware-vmx-debug.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000cab700
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000cab720
+LKS Key:
002 0x0000000000cab768 +LKS 01 flag 0x90 0x0000000140171170 07
OSK0 Key Before:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000cafb30
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000cafb50
+LKS Key:
004 0x0000000000cafc28 +LKS 01 flag 0x90 0x0000000140171170 01
OSK0 Key Before:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-stats.exe
Patching file: vmware-vmx-stats.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000af7760
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000af7780
+LKS Key:
002 0x0000000000af77c8 +LKS 01 flag 0x90 0x0000000140142cd0 07
OSK0 Key Before:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000afbb90
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000afbbb0
+LKS Key:
004 0x0000000000afbc88 +LKS 01 flag 0x90 0x0000000140142cd0 01
OSK0 Key Before:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
Error: Couldn't open file C
Downloading tools into ".\tools" directory...

Last run that appears to succeeded (?):

Killing services and backing up files...
Error: Couldn't stop service "vmware-view-usbd", Error: OpenService failed (-1336480768)
Error: Couldn't stop service "VMwareHostd", Error: Service is already stopped.
Service "VMAuthdService" stopped successfully.
Service "VMUSBArbService" stopped successfully.
Error: Error: Couldn't kill `±V░☺, process not found.
File "C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-debug.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx-stats.exe" backup done.
File "C:\Program Files (x86)\VMware\VMware Workstation\x64\vmware-vmx.exe" backup done.
Patching files...
File: vmware-vmx.exe
Patching file: vmware-vmx.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000aabde0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000aabe00
+LKS Key:
002 0x0000000000aabe48 +LKS 01 flag 0x90 0x0000000140138a30 07
OSK0 Key Before:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000ab0180 OSK0 32 ch8* 0x80 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000ab01c8 OSK1 32 ch8* 0x80 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000ab0210
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000ab0230
+LKS Key:
004 0x0000000000ab0308 +LKS 01 flag 0x90 0x0000000140138a30 01
OSK0 Key Before:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000ab7c40 OSK0 32 ch8* 0x90 0x0000000140138a30 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000ab7c88 OSK1 32 ch8* 0x90 0x0000000140138a30 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-debug.exe
Patching file: vmware-vmx-debug.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000cab700
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000cab720
+LKS Key:
002 0x0000000000cab768 +LKS 01 flag 0x90 0x0000000140171170 07
OSK0 Key Before:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000cafaa0 OSK0 32 ch8* 0x80 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000cafae8 OSK1 32 ch8* 0x80 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000cafb30
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000cafb50
+LKS Key:
004 0x0000000000cafc28 +LKS 01 flag 0x90 0x0000000140171170 01
OSK0 Key Before:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000cb7560 OSK0 32 ch8* 0x90 0x0000000140171170 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000cb75a8 OSK1 32 ch8* 0x90 0x0000000140171170 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmware-vmx-stats.exe
Patching file: vmware-vmx-stats.exe
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address : 0x0000000000af7760
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key #: 0xF0/240
appleSMCTableV0 Table : 0x0000000000af7780
+LKS Key:
002 0x0000000000af77c8 +LKS 01 flag 0x90 0x0000000140142cd0 07
OSK0 Key Before:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
241 0x0000000000afbb00 OSK0 32 ch8* 0x80 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
242 0x0000000000afbb48 OSK1 32 ch8* 0x80 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

appleSMCTableV1 (smc.version = "1")
appleSMCTableV1 Address : 0x0000000000afbb90
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key #: 0x01B0/432
appleSMCTableV1 Table : 0x0000000000afbbb0
+LKS Key:
004 0x0000000000afbc88 +LKS 01 flag 0x90 0x0000000140142cd0 01
OSK0 Key Before:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK0 Key After:
435 0x0000000000b035c0 OSK0 32 ch8* 0x90 0x0000000140142cd0 6f 75 72 68 61 72 64 77 6f 72 6b 62 79 74 68 65 73 65 77 6f 72 64 73 67 75 61 72 64 65 64 70 6c
OSK1 Key Before:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63
OSK1 Key After:
436 0x0000000000b03608 OSK1 32 ch8* 0x90 0x0000000140142cd0 65 61 73 65 64 6f 6e 74 73 74 65 61 6c 28 63 29 41 70 70 6c 65 43 6f 6d 70 75 74 65 72 49 6e 63

File: vmwarebase.dll
GOS Patching: vmwarebase.dll
GOS Patched flag @: 0x00000000005235f0
GOS Patched flag @: 0x0000000000523630
GOS Patched flag @: 0x00000000005c4c58
GOS Patched flag @: 0x00000000005c4c98
GOS Patched flag @: 0x0000000000523670
GOS Patched flag @: 0x00000000005236b0
GOS Patched flag @: 0x00000000005236f0
GOS Patched flag @: 0x0000000000523730
GOS Patched flag @: 0x0000000000523770
GOS Patched flag @: 0x00000000005237b0
GOS Patched flag @: 0x00000000005237f0
GOS Patched flag @: 0x0000000000523830
GOS Patched flag @: 0x0000000000523870
GOS Patched flag @: 0x00000000005238b0
GOS Patched flag @: 0x00000000005238f0
GOS Patched flag @: 0x0000000000523930
GOS Patched flag @: 0x0000000000523970
GOS Patched flag @: 0x00000000005c4cd8
GOS Patched flag @: 0x00000000005c4d18
GOS Patched flag @: 0x00000000005c4d58
GOS Patched flag @: 0x00000000005c4d98
GOS Patched flag @: 0x00000000005c4dd8
GOS Patched flag @: 0x00000000005c4e18
GOS Patched flag @: 0x00000000005c4e58
GOS Patched flag @: 0x00000000005c4e98
GOS Patched flag @: 0x00000000005c4ed8
GOS Patched flag @: 0x00000000005c4f18
GOS Patched flag @: 0x00000000005c4f58
GOS Patched flag @: 0x00000000005c4f98
GOS Patched flag @: 0x00000000005c4fd8
GOS Patched: vmwarebase.dll
Downloading tools into ".\tools" directory...

Download progress: 99 %, 522.32 MB / 522.66 MB
Extracting from .tar to temp folder ...
Extracting from .zip to destination folder ...
Tools successfully downloaded!
Copying tools into program directory...
Error: copy_file: The file exists.: ".\tools\darwin.iso", "C:\Program Files (x86)\VMware\VMware Workstation\darwin.iso"
Error: copy_file: The file exists.: ".\tools\darwinPre15.iso", "C:\Program Files (x86)\VMware\VMware Workstation\darwinPre15.iso"
Restarting services...
Error: Couldn't start service VMUSBArbService
Error: Couldn't start service VMAuthdService
Error: Couldn't start service VMwareHostd
Error: Couldn't start service vmware-view-usbd
Patch complete.

Can't move .iso files, filesystem error

I installed the latest (v1.1) .DEB release from here:
https://github.com/paolo-projects/auto-unlocker/releases/download/v1.1/autounlocker_1.1.0_amd64.deb

I executed the auto-unlocker from ~/.auto-unlocker directory:

auto_unlocker_dir="${HOME}/.auto-unlocker"
mkdir -p "${auto_unlocker_dir}" && cd "${auto_unlocker_dir}"
sudo auto-unlocker --install

Everything works except it can't copy the .iso files:

Copying tools into program directory...
Error: filesystem error: cannot copy file: No such file or directory [./tools/darwin.iso] [/usr/lib/vmware/isoimages/darwin.iso]
Error: filesystem error: cannot copy file: No such file or directory [./tools/darwinPre15.iso] [/usr/lib/vmware/isoimages/darwinPre15.iso]
Patch complete.

The problem is that those .iso files are stored into ~/.auto-unlocker not ~/.auto-unlocker/tools.

PS: Could you remove the press enter to quit at the end? ;)

Trying to establish FaceTime function on Win &

I installed the FaceTime extension into my Chrome browser. Then downloaded Unlocker .zip from the Releases section of this website and extracted it into its own folder and executed Unlocker.zip It asked if I wanted to uninsall a prior version, answered no since I could not find any evidence of any VMware install. It ended in a few seconds, but added nothing to the adjacent Backup Folder.

Now I see no way to actually start a FaceTime session. How do I give it a phone number? I assume it uses the default microphone, camera and speaker devices.

Appreciations,
Gene

additional steps to compile on ubuntu bionic

apt install libarchive-dev gcc-8
export CXX="g++-8" CC="gcc-8"
make

without these, you get:

In file included from src/unlocker.cpp:35:
include/archiveutils.h:6:10: fatal error: archive.h: No such file or directory
    6 | #include <archive.h>
      |          ^~~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'src/unlocker.o' failed
make: *** [src/unlocker.o] Error 1

and

g++ -Wall -std=c++17 -Iinclude   -c -o src/unlocker.o src/unlocker.cpp
src/unlocker.cpp:25:10: fatal error: filesystem: No such file or directory
 #include <filesystem>
          ^~~~~~~~~~~~
compilation terminated.
<builtin>: recipe for target 'src/unlocker.o' failed
make: *** [src/unlocker.o] Error 1

Unable to support VMware 15.5.2.

It works well in the previous version of VMware, but it cannot be supported after the VMware is upgraded to the new version. I wonder if you have noticed this? Expect the problem to be fixed, THX.

VMware Workstation 16 can't go to setup with error "The guest operating system is not Mac OS X Server. This virtual machine will power off."

Hi, i have a problem. VMware Workstation 16.1.2 build-17966106 says "The guest operating system is not Mac OS X Server. This virtual machine will power off." and then it just power off the machine. I have MacOS X Snow Leopard 10.6.3. Here's the link where i download it : https://isoriver.com/mac-os-x-snow-leopard-10-6-iso/ . I also have auto-unlocker v1.1.3. How to fix it?

Does this only work for server OS?

I have VMWare workstation e.x.p build-15488306
I'm trying to install leopard the VM boots and then VMWare says it is not a server OS
Is this expected? Do I have to have the server version or is this a new twist in t he pre-release?

Patch to enable hardware acceleration?

Since they partially supported hardware acceleration for macOS guest, only on Vmware Fusion, would it be possible to patch so it works on Windows version of VMware Workstation?

I tried adding flags but it won't boot.

appleGPU0.present = "TRUE"
svga.present = "FALSE"

I don't need to run any graphical softwares, just wanna have smoother UI.

Link to KB https://kb.vmware.com/s/article/81657

Causes crash on existing VMs under VMware Player 15.5

Have existing Win10 guest on VMware Player 15.5.2 build-15785246. After running unlocker, that VM will crash every time I click in the VM. It boots and displays fine, but after clicking in the VM to control it, the VM crashes and disappears. Running the uninstall restores normal operation.

issue while make in linux for vmware workstation 16

g++ -Wall -std=c++17 -Iinclude -c -o src/buildsparser.o src/buildsparser.cpp
g++ -Wall -std=c++17 -Iinclude -c -o src/unlocker.o src/unlocker.cpp
src/unlocker.cpp:28:10: fatal error: curl/curl.h: No such file or directory
#include <curl/curl.h>
^~~~~~~~~~~~~
compilation terminated.
: recipe for target 'src/unlocker.o' failed
make: *** [src/unlocker.o] Error 1

How do you compile this thing under Windows 10 / 64 bit?

I'm using cygwin64. There's some C++ issues, obviously. I was able to fix some with adding
-lstdc++fs.

I tried setting the following:
-std=c++17
-std=gnu++17

and
-std=c++98
-std=gnu++98

Either way, once I was able to get a binary built, it crashed with:
Error: OS not supported

Did you use gcc, gcc 64bit, or mingw-w64?

The file I built says:
$ file Unlocker.exe
Unlocker.exe: PE32+ executable (console) x86-64, for MS Windows

Your file matches mine:
$ file Unlocker.exe
Unlocker.exe: PE32+ executable (console) x86-64, for MS Windows

bootloop

vmware: Vmware workstation pro 15.5.1build-15018445

i had a perfectly running osx 10.14 mojave
i updated from settings to catalina
system was rebooting and showing "your computer restarted because of a problem"
applied your latest build of your unlocker.exe
system now in constant reboot no more messages, apple logo with progress bar goes up then vmware reboots.

does not work on linux mint kernel panic

hi, first of all great job. but it doesn't work on linux mint with vmware workstation 16 from a kernel panic instead on windows with the same version of vmware it works fine

using with new 20h1 technical preview that has hyper-v / vbs coexistence support

I upgraded my vmware player 15.5.2 install with a working macOS 10.15 vm configuration to the new 20h1 technical preview 16.0.0-15679048 [ http://bit.ly/getworkstation-tp ] that has hyper-v / vbs coexistence support.

This allows one to use vmware along side hyper-v dependent services like windows docker desktop container support.

I applied auto-unlocker 1.1 to this updated install, and launched %programfiles(x86)%\VMware\VMware Workstation\vmplayer.exe to start my existing macOS 10.15 vm, and things don't appear to be working as the macOS crashes during apple logo progress bar processing.

Have you done any testing with this new vmware workstation / player technical preview and if so is there a known issue or might i be experiencing what i am due to other reasons?

Does not work with VMware Workstation 16.1.2

Went through a lot of headaches trying to figure out why none of my macOS images would boot on the latest VMware Workstation 16.1.2. Turns out it was actually auto-unlocker (lastest stable version and latest commit). Tested on both Linux and Windows. Using the latest commit of original Python unlocker (https://github.com/DrDonk/unlocker) works fine.

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.