Jump to content

Status of Unlocker 2.0


Donk
 Share

226 posts in this topic

Recommended Posts

I try VMWare WorkStation 12

host machine Windows 8.1

with Unlocker 2.0.6

OS X El Capitan beta 6 work

OS X Yosemite 10.10.5 work

I install new VMware tools (8.0.0)

 

I did notice any performance change with beamoff.

 

Thank you Donk for you work!

Link to comment
Share on other sites

I try VMWare WorkStation 12

host machine Linux ROSA R6

 

with Unlocker 2.0.6 : On Linux host does not works!

 

here what happens with linux

 

# sh ./lnx-install.sh
VMware Unlocker 2.0.6
===============================
Copyright: Dave Parsons 2011-15
Creating backup folder...
"/usr/lib/vmware/bin/vmware-vmx" -> "./backup/vmware-vmx"
"/usr/lib/vmware/bin/vmware-vmx-debug" -> "./backup/vmware-vmx-debug"
"/usr/lib/vmware/bin/vmware-vmx-stats" -> "./backup/vmware-vmx-stats"
cp: impossibile eseguire stat di "/usr/lib/vmware/lib/libvmwarebase.so.0/libvmwarebase.so.0": File o directory non esistente

 

the path with vmware for linux is now w/o the " .0" part:

 

current path is

"/usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so"
 

Link to comment
Share on other sites

Just a try, it seems a successfull...

Unlocker 2.0.6 now can patch vmware 12 also on my Linux OS host

I've edited the following three files
===============================
/unlocker206/lnx-install.sh
/unlocker206/lnx-uninstall.sh
/unlocker206/unlocker.py
===============================

I've simply replaced all the occourences of
libvmwarebase.so.0 with the new libvmwarebase.so

here the results, it seems as worked! ;-)

At least, in the
Guest Operating System
I can finally see the expected "Apple OS X" item



Here the full log of the applied command

# sh ./lnx-install.sh
VMware Unlocker 2.0.6
===============================
Copyright: Dave Parsons 2011-15
Creating backup folder...
"/usr/lib/vmware/bin/vmware-vmx" -> "./backup/vmware-vmx"
"/usr/lib/vmware/bin/vmware-vmx-debug" -> "./backup/vmware-vmx-debug"
"/usr/lib/vmware/bin/vmware-vmx-stats" -> "./backup/vmware-vmx-stats"
"/usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so" -> "./backup/libvmwarebase.so"
Patching...
File: /usr/lib/vmware/bin/vmware-vmx
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0xeaed80
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0xeaeda0
+LKS Key:
002 0xeaede8 +LKS 01 flag 0x90 0x1ae1b0 07
OSK0 Key Before:
241 0xeb3120 OSK0 32 ch8* 0x80 0x1ae1b0 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 0xeb3120 OSK0 32 ch8* 0x80 0x1ae1b0 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 0xeb3168 OSK1 32 ch8* 0x80 0x1ae1b0 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 0xeb3168 OSK1 32 ch8* 0x80 0x1ae1b0 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      : 0xeb31b0
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0xeb31e0
+LKS Key:
004 0xeb32b8 +LKS 01 flag 0x90 0x1ae1b0 01
OSK0 Key Before:
435 0xebabf0 OSK0 32 ch8* 0x90 0x1ae1b0 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 0xebabf0 OSK0 32 ch8* 0x90 0x1ae1b0 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 0xebac38 OSK1 32 ch8* 0x90 0x1ae1b0 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 0xebac38 OSK1 32 ch8* 0x90 0x1ae1b0 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: /usr/lib/vmware/bin/vmware-vmx-debug
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0x11b3dc0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0x11b3de0
+LKS Key:
002 0x11b3e28 +LKS 01 flag 0x90 0x1f5e10 07
OSK0 Key Before:
241 0x11b8160 OSK0 32 ch8* 0x80 0x1f5e10 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 0x11b8160 OSK0 32 ch8* 0x80 0x1f5e10 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 0x11b81a8 OSK1 32 ch8* 0x80 0x1f5e10 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 0x11b81a8 OSK1 32 ch8* 0x80 0x1f5e10 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      : 0x11b81f0
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0x11b8220
+LKS Key:
004 0x11b82f8 +LKS 01 flag 0x90 0x1f5e10 01
OSK0 Key Before:
435 0x11bfc30 OSK0 32 ch8* 0x90 0x1f5e10 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 0x11bfc30 OSK0 32 ch8* 0x90 0x1f5e10 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 0x11bfc78 OSK1 32 ch8* 0x90 0x1f5e10 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 0x11bfc78 OSK1 32 ch8* 0x90 0x1f5e10 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: /usr/lib/vmware/bin/vmware-vmx-stats
appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0xf3f840
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0xf3f860
+LKS Key:
002 0xf3f8a8 +LKS 01 flag 0x90 0x1dd2d0 07
OSK0 Key Before:
241 0xf43be0 OSK0 32 ch8* 0x80 0x1dd2d0 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 0xf43be0 OSK0 32 ch8* 0x80 0x1dd2d0 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 0xf43c28 OSK1 32 ch8* 0x80 0x1dd2d0 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 0xf43c28 OSK1 32 ch8* 0x80 0x1dd2d0 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      : 0xf43c70
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0xf43ca0
+LKS Key:
004 0xf43d78 +LKS 01 flag 0x90 0x1dd2d0 01
OSK0 Key Before:
435 0xf4b6b0 OSK0 32 ch8* 0x90 0x1dd2d0 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 0xf4b6b0 OSK0 32 ch8* 0x90 0x1dd2d0 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 0xf4b6f8 OSK1 32 ch8* 0x90 0x1dd2d0 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 0xf4b6f8 OSK1 32 ch8* 0x90 0x1dd2d0 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

GOS Patching: /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so
GOS Patched flag @: 0x731960
GOS Patched flag @: 0x7319a8
GOS Patched flag @: 0x7319f0
GOS Patched flag @: 0x731a38
GOS Patched flag @: 0x731a80
GOS Patched flag @: 0x731ac8
GOS Patched flag @: 0x731b10
GOS Patched flag @: 0x731b58
GOS Patched flag @: 0x731ba0
GOS Patched flag @: 0x731be8
GOS Patched flag @: 0x753ac0
GOS Patched flag @: 0x753b08
GOS Patched flag @: 0x753b50
GOS Patched flag @: 0x753b98
GOS Patched flag @: 0x753be0
GOS Patched flag @: 0x753c28
GOS Patched flag @: 0x753c70
GOS Patched flag @: 0x753cb8
GOS Patched flag @: 0x753d00
GOS Patched flag @: 0x753d48
GOS Patched: /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so
Finished!
 

Link to comment
Share on other sites

  • 1 month later...

I have vmware player 12.0 installed under WIndows 10 (insider). 

El Capitan was downloaded on a mac, and I converted the DMG to ISO using dmg2img

vmware was modified using unlocker 2.0.7 - no errors noticed

I created a vm, pointed it to the InstallESD.iso file (6.5GB)

I modified the smc.version as required

 

BUT :-(

 

When I start the VM, it simply does not boot from the virtual CD. The ISO seems to be connected automatically on power on 

I cannot mount the iso under windows (wrong filesystem I assume)

I tried also converting with hdiutil convert InstallESD.dmg -format UDT0 -o /tmp/InstallESD.iso but had the same results

 

I assume my issue is the disk conversion (perhaps the original file is corrupt? Though it looked ok?)

 

Ideas?

Link to comment
Share on other sites

no el capitan dmg dont work yet as a dmg to boot it thatsthe problem im sorry :(
I posted a temp fix/solution here but it requires a usb stick but it works.
You can for the time being only use Mavericks and Yosemite "patched" dmg files the info regarding making them is in the second post in the thread below.

Hope it helps you out
http://www.insanelymac.com/forum/topic/290949-how-to-install-os-x-10x-snow-leopard-lion-mountain-lion-mavericks-and-yosemite-in-vmware-workstation-101112-or-player-678/?p=2172188

Link to comment
Share on other sites

An update on some changes that will be coming to the unlocker and why I am doing it.

 

1. Tools (darwin.iso) will not be distributed with the unlocker but a new part of the unlocker will download the latest version of the tools directly during the setup process. That way I am not shipping licensed VMware code, and you will always get the latest version. You can run the download tool at any time to get new versions without me having to create a new unlocker version.

 

2. Darwin.iso will not be copied to the VMware installation folders. I did this as I wanted to see if it could be patched to allow the install tools menu to function. I have not found a way to do this, and so will keep the tools in the unlocker folder.

 

3. The firmware EFI files for pre-Lion non-server versions will be removed. The problem here is that I could screw up your install by using a Fusion 7 module with a Fusion 8 system. (I have seen exactly this with using modified BIOS files). Sorry to do this but the process of fixing the EFI is time consuming, and although it may possibly be automated there are other ways to sort this issue out by modifying the OS X ISO. I will try and build something to do that as part of the next point (4).

 

4. Linux appliance to build installation media from the DMG or installation Apps. The idea here is that, for those without a functioning OS X to build media, we can provide a simple method to create a bootable ISO for VMware. I decided on Linux as we need read/write access to the HFS+ file system. I am currently using a small Ubuntu JeOS but still about 250MB in size.  Let me know if there is someone skilled in building a small Linux image with HFS/HFS+ support plus VMware tools and would like to help.

 

The first 3 changes are almost ready to go. The Linux appliance is more ambitious and will take longer to build and test.

 

Any thoughts on this please post a reply.

 

Dave

  • Like 4
Link to comment
Share on other sites

 

4. Linux appliance to build installation media from the DMG or installation Apps. The idea here is that, for those without a functioning OS X to build media, we can provide a simple method to create a bootable ISO for VMware. I decided on Linux as we need read/write access to the HFS+ file system. I am currently using a small Ubuntu JeOS but still about 250MB in size.  Let me know if there is someone skilled in building a small Linux image with HFS/HFS+ support plus VMware tools and would like to help.

 

Do you have an already working script that can convert El Capitan DMG to ISO on Linux? If yes, could you share it?

 

Anyway I'm not sure you need a full virtual Linux. The Linux users can use the script and for the Windows users maybe you can provide some Win version of genisoimage (for example: link)

Link to comment
Share on other sites

Do you have an already working script that can convert El Capitan DMG to ISO on Linux? If yes, could you share it?

 

Anyway I'm not sure you need a full virtual Linux. The Linux users can use the script and for the Windows users maybe you can provide some Win version of genisoimage (for example: link)

 

Not yet, I need to fix some other things first in Unlocker 2.0.8. I would expect the script to run on a Linux host without the VM. For Windows you must have HFS+ read write capabilities to build a working installer, and so need a Linux VM. The other option is to use a Windows HFS driver but they are paid only and don't really work with mounting DMG files.

Link to comment
Share on other sites

 

3. The firmware EFI files for pre-Lion non-server versions will be removed. The problem here is that I could screw up your install by using a Fusion 7 module with a Fusion 8 system.

 

 
Does it affects only Fusion, or Workstation is also affected? Is it safe to use EFI firmware from unlocker with workstation 12 (linux version)?
Link to comment
Share on other sites

 

 
Does it affects only Fusion, or Workstation is also affected? Is it safe to use EFI firmware from unlocker with workstation 12 (linux version)?

 

 

Affects all VMware products. You can try it but as I said I am no longer going to work on this now. I will try a different approach based on an early way of bypassing the server check posted here https://blog.rectalogic.com/2008/08/virtualizing-mac-os-x-leopard-client.html. The simple way is to write a file at boot that VMware checks for and then remove it.

  • Like 1
Link to comment
Share on other sites

Darwin.iso will not be copied to the VMware installation folders. I did this as I wanted to see if it could be patched to allow the install tools menu to function. I have not found a way to do this, and so will keep the tools in the unlocker folder.

 

The first 3 changes are almost ready to go. The Linux appliance is more ambitious and will take longer to build and test.

 

Any thoughts on this please post a reply.

 

Dave

Dave,

 

Excellent next steps for the evolution of the unlocker, as an aside and not sure if it was a glitch, but for some reason I decided to try to use the menu to deploy VMware Tools in Workstation 12, Unlocker 207 and a fresh install of El Capitan, and it worked fine.

 

As always if I can be of assistance in any of the testing, I am here to help.

 

Cheers,

MSoK.

  • Like 1
Link to comment
Share on other sites

After 2 month of using vSphere 6.0 on ESXi i was forced downgrade to 5.5U1.

On ESXi 6.0, installation of MacOS Lion or MacOS Snow Leopard (for next upgrade from AppStore to El Capitan) cannot finish.

Disk utility cannot create partition on disk, it show forever loading with text: "unmounting disk"

 

On ESXi 5.5U1 all works fine, disk has been partitioned, os installed and next upgraded to El Capitan.

Link to comment
Share on other sites

Dave,

 

Excellent next steps for the evolution of the unlocker, as an aside and not sure if it was a glitch, but for some reason I decided to try to use the menu to deploy VMware Tools in Workstation 12, Unlocker 207 and a fresh install of El Capitan, and it worked fine.

 

As always if I can be of assistance in any of the testing, I am here to help.

 

Cheers,

MSoK.

 

I can confirm the menu now works, so will keep the copy to the VMware folder.

Link to comment
Share on other sites

  • 2 weeks later...

I want to thank you so much for this.

 

I finished work early today so decided I would spend the rest of the afternoon and evening on solving how to install osx in a vm.

I started with a quick search where I found this thread and after that it was all too easy.

Ok I didn't RTFM so I got the "vcpu-0:VERIFY vmcore/vmm/main/physMem_monitor.c:1178" error, but a quick search brought me straight back to this thread ;)

anyway....

 

Now running El Capitan 10.11 updated to 10.11.1 without issues on

VMWare Workstation 12 Pro 12.0.0 build-2985596

VMWare tools installed

all running under Windows 7 Home Premium SP1

 

OK so booting is a little slower than my Macbook Pro but I expect that as it's a VM and my Macbook uses SSD and has 16GB of ram.

 

Just wanted to report back and say Thank you

 

All done before dinner time :D

 

Might try under Fusion 8 as I have the rest of the evening that I expected it to take left.

 

 

 

Only issue is the 1024x768 max resolution, but that is not a big problem as I see there is something called vmware-resolutionSet which is a workaround for now, just need to get it which will take ages given vmware response times.

Edited by pissed_budgie
Link to comment
Share on other sites

An update on some changes that will be coming to the unlocker and why I am doing it.

 

 

4. Linux appliance to build installation media from the DMG or installation Apps. The idea here is that, for those without a functioning OS X to build media, we can provide a simple method to create a bootable ISO for VMware. I decided on Linux as we need read/write access to the HFS+ file system. I am currently using a small Ubuntu JeOS but still about 250MB in size.  Let me know if there is someone skilled in building a small Linux image with HFS/HFS+ support plus VMware tools and would like to help.

 

 

Not sure the level of your requirements, but FPM - is a pretty easy way to build a package for something. Presumably you have a shell script along with some package requirements. This would not require the overhead of maintaining your own installation, people could just install ubuntu-desktop or ubuntu-server and then your package.

 

Although, if you need more extensive HFS/HFS+ support than, say, Trusty has built in by default, it may be more difficult.  Although, making your own kernel isn't that difficult, either.

Link to comment
Share on other sites

 Share

×
×
  • Create New...