Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not found - darwin*.* #37

Open
mat926 opened this issue Sep 7, 2024 · 26 comments
Open

File not found - darwin*.* #37

mat926 opened this issue Sep 7, 2024 · 26 comments

Comments

@mat926
Copy link

mat926 commented Sep 7, 2024

I'm getting this error on Windows when running win-install.cmd. Tried uninstalling and reinstalling VMWare Player but didn't work.

Unlocker 3.0.4 for VMware Workstation
=====================================
(c) Dave Parsons 2011-18

Set encoding parameters...
Active code page: 850

VMware is installed at: C:\Program Files (x86)\VMware\VMware Player\
VMware product version: 17.6.0.24238078

Stopping VMware services...

Backing up files...
C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe -> C:\Users\vboxuser\Downloads\unlocker-3.0.7\unlocker-3.0.7\backup-windows\x64\vmware-vmx.exe
1 File(s) copied
C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe -> C:\Users\vboxuser\Downloads\unlocker-3.0.7\unlocker-3.0.7\backup-windows\x64\vmware-vmx-debug.exe
1 File(s) copied
File not found - vmware-vmx-stats.exe
0 File(s) copied
C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll -> C:\Users\vboxuser\Downloads\unlocker-3.0.7\unlocker-3.0.7\backup-windows\vmwarebase.dll
1 File(s) copied

Patching...
File: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx.exe

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0xd1ad20
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0xd1ad40
+LKS Key:
002 0xd1ad88 +LKS 01 flag 0x90 0x1404ee6d0 07
OSK0 Key Before:
241 0xd1f0c0 OSK0 32 ch8* 0x80 0x1404ee6d0 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 0xd1f0c0 OSK0 32 ch8* 0x80 0x1404ee6d0 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 0xd1f108 OSK1 32 ch8* 0x80 0x1404ee6d0 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 0xd1f108 OSK1 32 ch8* 0x80 0x1404ee6d0 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      : 0xd1f150
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0xd1f170
+LKS Key:
004 0xd1f248 +LKS 01 flag 0x90 0x1404ee6d0 01
OSK0 Key Before:
435 0xd26b80 OSK0 32 ch8* 0x90 0x1404ee6d0 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 0xd26b80 OSK0 32 ch8* 0x90 0x1404ee6d0 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 0xd26bc8 OSK1 32 ch8* 0x90 0x1404ee6d0 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 0xd26bc8 OSK1 32 ch8* 0x90 0x1404ee6d0 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: C:\Program Files (x86)\VMware\VMware Player\x64\vmware-vmx-debug.exe

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0xff0160
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0xff0180
+LKS Key:
002 0xff01c8 +LKS 01 flag 0x90 0x1406479d0 07
OSK0 Key Before:
241 0xff4500 OSK0 32 ch8* 0x80 0x1406479d0 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 0xff4500 OSK0 32 ch8* 0x80 0x1406479d0 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 0xff4548 OSK1 32 ch8* 0x80 0x1406479d0 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 0xff4548 OSK1 32 ch8* 0x80 0x1406479d0 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      : 0xff4590
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0xff45b0
+LKS Key:
004 0xff4688 +LKS 01 flag 0x90 0x1406479d0 01
OSK0 Key Before:
435 0xffbfc0 OSK0 32 ch8* 0x90 0x1406479d0 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 0xffbfc0 OSK0 32 ch8* 0x90 0x1406479d0 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 0xffc008 OSK1 32 ch8* 0x90 0x1406479d0 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 0xffc008 OSK1 32 ch8* 0x90 0x1406479d0 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: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll
GOS Patched flag @: 0x4f6990
GOS Patched flag @: 0x4f69d0
GOS Patched flag @: 0x4f6a10
GOS Patched flag @: 0x4f6a50
GOS Patched flag @: 0x4f6a90
GOS Patched flag @: 0x4f6ad0
GOS Patched flag @: 0x4f6b10
GOS Patched flag @: 0x4f6b50
GOS Patched flag @: 0x4f6b90
GOS Patched flag @: 0x4f6bd0
GOS Patched flag @: 0x4f6c10
GOS Patched flag @: 0x4f6c50
GOS Patched flag @: 0x4f6c90
GOS Patched flag @: 0x4f6cd0
GOS Patched flag @: 0x4f6d10
GOS Patched flag @: 0x4f6d50
GOS Patched flag @: 0x4f6d90
GOS Patched flag @: 0x4f6dd0
GOS Patched flag @: 0x4f6e10
GOS Patched flag @: 0x5adf30
GOS Patched flag @: 0x5adf70
GOS Patched flag @: 0x5adfb0
GOS Patched flag @: 0x5adff0
GOS Patched flag @: 0x5ae030
GOS Patched flag @: 0x5ae070
GOS Patched flag @: 0x5ae0b0
GOS Patched flag @: 0x5ae0f0
GOS Patched flag @: 0x5ae130
GOS Patched flag @: 0x5ae170
GOS Patched flag @: 0x5ae1b0
GOS Patched flag @: 0x5ae1f0
GOS Patched flag @: 0x5ae230
GOS Patched flag @: 0x5ae270
GOS Patched flag @: 0x5ae2b0
GOS Patched flag @: 0x5ae2f0
GOS Patched flag @: 0x5ae330
GOS Patched flag @: 0x5ae370
GOS Patched flag @: 0x5ae3b0
GOS Patched: C:\Program Files (x86)\VMware\VMware Player\vmwarebase.dll

Getting VMware Tools...
Trying to get tools from the packages folder...
Retrieving Darwin tools from: https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/13.6.0/24238079/universal/core/com.vmware.fusion.zip.tar
...100%, 545 MB, 4824 KB/s, 0 seconds remaining
Extracting com.vmware.fusion.zip.tar...
Extracting files from com.vmware.fusion.zip...
Traceback (most recent call last):
  File "gettools.py", line 247, in <module>
    main()
  File "gettools.py", line 230, in main
    cdszip.extract(isoPath + 'darwin.iso', path=convertpath(dest + '/tools/'))
  File "zipfile.py", line 1625, in extract
  File "zipfile.py", line 1664, in _extract_member
  File "zipfile.py", line 1438, in getinfo
KeyError: "There is no item named 'payload/VMware Fusion.app/Contents/Library/isoimages/x86_x64/darwin.iso' in the archive"
[8420] Failed to execute script 'gettools' due to unhandled exception!
File not found - darwin*.*
0 File(s) copied

Starting VMware services...

Finished!

Also tried downloading the url directly https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/13.6.0/24238079/universal/core/com.vmware.fusion.zip.tar , extracted the zip but didn't find darwin.iso in the path.

@superbonaci
Copy link

superbonaci commented Sep 9, 2024

Same here. Maybe it's in Broadcom servers.

@BDisp
Copy link
Owner

BDisp commented Sep 15, 2024

Confirmed. There are only windows.iso and windows-x86.iso. I have no idea why? If it's really needed darwin.iso can be get at this link.

@superbonaci
Copy link

Maybe the latest iso should be stored in another server as a backup, it could eventually be removed forever from https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/13.5.2/23775688/universal/core/com.vmware.fusion.zip.tar

Can you add the iso to https://github.com/BDisp/unlocker/releases or is there any legal issue? If don't modify the file I don't see any potential copyright issue. Maybe the mac build doesn't need anymore the iso?

@BDisp
Copy link
Owner

BDisp commented Sep 15, 2024

Maybe the latest iso should be stored in another server as a backup, it could eventually be removed forever from https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/13.5.2/23775688/universal/core/com.vmware.fusion.zip.tar

I don't think so. To backup them the link https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/13.5.2/23775688/universal/core/ is enough.

Can you add the iso to https://github.com/BDisp/unlocker/releases or is there any legal issue? If don't modify the file I don't see any potential copyright issue. Maybe the mac build doesn't need anymore the iso?

I don't feel comfortable to add the ISO in the releases repo. If it's needed then is better using the mentioned link which may being obsolete for recent updates. I'm more about to think that the ISO isn't needed anymore. I really don't use VMware and I'm only maintaining this for the people who use it.

I recommend you to delete the following lines in the win-install.cmd for Windows users:

unlocker/win-install.cmd

Lines 49 to 52 in 8bccda8

echo.
echo Getting VMware Tools...
gettools.exe
xcopy /F /Y .\tools\darwin*.* "%InstallPath%"

or delete the following lines in the lnx-install.sh for Linux users:

unlocker/lnx-install.sh

Lines 42 to 44 in 8bccda8

echo Getting VMware Tools...
$pyversion gettools.py
cp ./tools/darwin*.* /usr/lib/vmware/isoimages/

Then see if it's working anyway and please let me know. If it's working fine without the tools I'll remove them in the repo, otherwise we must find a solution for this that use updated ISO tools.

@superbonaci
Copy link

superbonaci commented Sep 15, 2024

The docs explain how to get the the Tools from Broadcom: https://docs.vmware.com/en/VMware-Fusion/13/com.vmware.fusion.using.doc/GUID-82AEC35C-D3DC-42F4-A84B-542B1D501D2B.html

https://packages-prod.broadcom.com/tools/frozen/

BDisp added a commit that referenced this issue Sep 16, 2024
@BDisp
Copy link
Owner

BDisp commented Sep 16, 2024

Can you guys please test the PR #38? Thanks.

@superbonaci
Copy link

superbonaci commented Sep 17, 2024

Fails on Windows 11:

GOS Patched flag @: 0x5ae3b0
GOS Patched: C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll

Getting VMware Tools...
Traceback (most recent call last):
  File "gettools.py", line 34, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'
[PYI-9784:ERROR] Failed to execute script 'gettools' due to unhandled exception!
File not found - darwin*.*
0 File(s) copied

Starting VMware services...

Finished!
python --version
Python 3.12.6
where python
C:\Python312\python.exe
C:\Python311\python.exe
C:\Python310\python.exe
C:\Users\memetix_\AppData\Local\Microsoft\WindowsApps\python.exe

Do you need to use python to download file?

@BDisp
Copy link
Owner

BDisp commented Sep 17, 2024

Do you need to use python to download file?

Not in Windows. Sorry for not to properly test it. The error was due a bad compiled file.

@BDisp
Copy link
Owner

BDisp commented Sep 17, 2024

I made changes for the Linux batch. Can you please also test in Linux? Thanks.

@superbonaci
Copy link

superbonaci commented Sep 17, 2024

In Windows works now will check linux later:

C:\Temp\BDisp-unlocker>win-install.cmd

Unlocker 3.0.4 for VMware Workstation
=====================================
(c) Dave Parsons 2011-18

Set encoding parameters...
Active code page: 850

VMware is installed at: C:\Program Files (x86)\VMware\VMware Workstation\
VMware product version: 17.6.0.24238078
[...]
GOS Patched: C:\Program Files (x86)\VMware\VMware Workstation\vmwarebase.dll

Getting VMware Tools...
Downloaded: darwin.iso
Downloaded: darwinPre15.iso
Move the ISO files to the tools folder

Tools from frozen retrieved successfully
C:\Temp\BDisp-unlocker\tools\darwin.iso -> C:\Program Files (x86)\VMware\VMware Workstation\darwin.iso
C:\Temp\BDisp-unlocker\tools\darwinPre15.iso -> C:\Program Files (x86)\VMware\VMware Workstation\darwinPre15.iso
2 File(s) copied

Starting VMware services...

Finished!

@BDisp
Copy link
Owner

BDisp commented Sep 21, 2024

I think this is working as expected in Linux as well.

image

@superbonaci
Copy link

The macos vm has to boot and work the tools, I'll check as soon as I can.

@superbonaci
Copy link

superbonaci commented Sep 21, 2024

It works in Arch Linux too:

linux log
$ sudo ./lnx-install.sh 
[sudo] password for memetix_: 
Unlocker 3.0.4 for VMware Workstation
=====================================
(c) Dave Parsons 2011-18
Creating backup-linux folder...
'/usr/lib/vmware/bin/vmware-vmx' -> './backup-linux/vmware-vmx'
'/usr/lib/vmware/bin/vmware-vmx-debug' -> './backup-linux/vmware-vmx-debug'
'/usr/lib/vmware/bin/vmware-vmx-stats' -> './backup-linux/vmware-vmx-stats'
'/usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so' -> './backup-linux/libvmwarebase.so'
Patching...
File: /usr/lib/vmware/bin/vmware-vmx

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0x12d1080
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0x12d10a0
+LKS Key: 
002 0x12d10e8 +LKS 01 flag 0x90 0x4fe210 07 
OSK0 Key Before:
241 0x12d5420 OSK0 32 ch8* 0x80 0x4fe280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
241 0x12d5420 OSK0 32 ch8* 0x80 0x4fe210 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 0x12d5468 OSK1 32 ch8* 0x80 0x4fe280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
242 0x12d5468 OSK1 32 ch8* 0x80 0x4fe210 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      : 0x12d54b0
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0x12d54e0
+LKS Key: 
004 0x12d55b8 +LKS 01 flag 0x90 0x4fe210 01 
OSK0 Key Before:
435 0x12dcef0 OSK0 32 ch8* 0x90 0x4fe280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
435 0x12dcef0 OSK0 32 ch8* 0x90 0x4fe210 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 0x12dcf38 OSK1 32 ch8* 0x90 0x4fe280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
436 0x12dcf38 OSK1 32 ch8* 0x90 0x4fe210 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 

Modifying RELA records from: 0x4fe280 to 0x4fe210
e_shoff: 0x18bfe20 e_shentsize: 0x40 e_shnum:0x2d e_shstrndx:0x2c
Relocation modified at: 0x12e650
Relocation modified at: 0x12e668
Relocation modified at: 0x130f48
Relocation modified at: 0x130f60
File: /usr/lib/vmware/bin/vmware-vmx-debug

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0x16ebfa0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0x16ebfc0
+LKS Key: 
002 0x16ec008 +LKS 01 flag 0x90 0x6801d0 07 
OSK0 Key Before:
241 0x16f0340 OSK0 32 ch8* 0x80 0x680370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
241 0x16f0340 OSK0 32 ch8* 0x80 0x6801d0 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 0x16f0388 OSK1 32 ch8* 0x80 0x680370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
242 0x16f0388 OSK1 32 ch8* 0x80 0x6801d0 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      : 0x16f03d0
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0x16f0400
+LKS Key: 
004 0x16f04d8 +LKS 01 flag 0x90 0x6801d0 01 
OSK0 Key Before:
435 0x16f7e10 OSK0 32 ch8* 0x90 0x680370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
435 0x16f7e10 OSK0 32 ch8* 0x90 0x6801d0 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 0x16f7e58 OSK1 32 ch8* 0x90 0x680370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
436 0x16f7e58 OSK1 32 ch8* 0x90 0x6801d0 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 

Modifying RELA records from: 0x680370 to 0x6801d0
e_shoff: 0x204d358 e_shentsize: 0x40 e_shnum:0x2d e_shstrndx:0x2c
Relocation modified at: 0x1326e0
Relocation modified at: 0x1326f8
Relocation modified at: 0x134fd8
Relocation modified at: 0x134ff0
File: /usr/lib/vmware/bin/vmware-vmx-stats

appleSMCTableV0 (smc.version = "0")
appleSMCTableV0 Address      : 0x13918a0
appleSMCTableV0 Private Key #: 0xF2/242
appleSMCTableV0 Public Key  #: 0xF0/240
appleSMCTableV0 Table        : 0x13918c0
+LKS Key: 
002 0x1391908 +LKS 01 flag 0x90 0x53e820 07 
OSK0 Key Before:
241 0x1395c40 OSK0 32 ch8* 0x80 0x53e890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
241 0x1395c40 OSK0 32 ch8* 0x80 0x53e820 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 0x1395c88 OSK1 32 ch8* 0x80 0x53e890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
242 0x1395c88 OSK1 32 ch8* 0x80 0x53e820 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      : 0x1395cd0
appleSMCTableV1 Private Key #: 0x01B4/436
appleSMCTableV1 Public Key  #: 0x01B0/432
appleSMCTableV1 Table        : 0x1395d00
+LKS Key: 
004 0x1395dd8 +LKS 01 flag 0x90 0x53e820 01 
OSK0 Key Before:
435 0x139d710 OSK0 32 ch8* 0x90 0x53e890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK0 Key After:
435 0x139d710 OSK0 32 ch8* 0x90 0x53e820 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 0x139d758 OSK1 32 ch8* 0x90 0x53e890 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
OSK1 Key After:
436 0x139d758 OSK1 32 ch8* 0x90 0x53e820 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 

Modifying RELA records from: 0x53e890 to 0x53e820
e_shoff: 0x1ca65a0 e_shentsize: 0x40 e_shnum:0x2d e_shstrndx:0x2c
Relocation modified at: 0x1337a8
Relocation modified at: 0x1337c0
Relocation modified at: 0x1360a0
Relocation modified at: 0x1360b8
GOS Patching: /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so
GOS Patched flag @: 0x85f960
GOS Patched flag @: 0x85f9a8
GOS Patched flag @: 0x85f9f0
GOS Patched flag @: 0x85fa38
GOS Patched flag @: 0x85fa80
GOS Patched flag @: 0x85fac8
GOS Patched flag @: 0x85fb10
GOS Patched flag @: 0x85fb58
GOS Patched flag @: 0x85fba0
GOS Patched flag @: 0x85fbe8
GOS Patched flag @: 0x85fc30
GOS Patched flag @: 0x85fc78
GOS Patched flag @: 0x85fcc0
GOS Patched flag @: 0x85fd08
GOS Patched flag @: 0x85fd50
GOS Patched flag @: 0x85fd98
GOS Patched flag @: 0x85fde0
GOS Patched flag @: 0x85fe28
GOS Patched flag @: 0x85fe70
GOS Patched flag @: 0x8a85e0
GOS Patched flag @: 0x8a8628
GOS Patched flag @: 0x8a8670
GOS Patched flag @: 0x8a86b8
GOS Patched flag @: 0x8a8700
GOS Patched flag @: 0x8a8748
GOS Patched flag @: 0x8a8790
GOS Patched flag @: 0x8a87d8
GOS Patched flag @: 0x8a8820
GOS Patched flag @: 0x8a8868
GOS Patched flag @: 0x8a88b0
GOS Patched flag @: 0x8a88f8
GOS Patched flag @: 0x8a8940
GOS Patched flag @: 0x8a8988
GOS Patched flag @: 0x8a89d0
GOS Patched flag @: 0x8a8a18
GOS Patched flag @: 0x8a8a60
GOS Patched flag @: 0x8a8aa8
GOS Patched flag @: 0x8a8af0
GOS Patched: /usr/lib/vmware/lib/libvmwarebase.so/libvmwarebase.so
Getting VMware Tools...
Downloaded: darwin.iso
Downloaded: darwinPre15.iso
Move the ISO files to the tools folder

Tools from frozen retrieved successfully
Finished

The clipboard copy and paste works both ways, also screen resize. Didn't test much more.
One thing that bothers me is that the Workstation UI says that the Tools are outdated (reinstalled from menu and pkg pops up):

This VM's version of VMware Tools is out of date.

vmware2

I'm currently using vmware-unlocker-git, which still works and auto-patches on each workstation update. Could you add your project to AUR to do the same?

@BDisp
Copy link
Owner

BDisp commented Sep 21, 2024

This VM's version of VMware Tools is out of date.

I've no idea why. Do the Broadcom server has a stale version?

I'm currently using vmware-unlocker-git, which still works and auto-patches on each workstation update. Could you add your project to AUR to do the same?

I didn't know that DrDonk/unlocker was alive. What the diference from add the project to the AUR? It's the first time I heard about. Can you advice please. Thanks.

@superbonaci
Copy link

superbonaci commented Sep 21, 2024

@BDisp
Copy link
Owner

BDisp commented Sep 21, 2024

https://packages.vmware.com/tools/frozen/darwin/ is the same as https://packages-prod.broadcom.com/tools/frozen/darwin/.
https://support.broadcom.com/group/ecx/productfiles?
I searched others links but the above seems to be the latest versions, from 2024-07-24. This is like looking for a needle in a haystack.

@BDisp
Copy link
Owner

BDisp commented Sep 21, 2024

I reverted the needed of installing pip and requests dependencies and only using the legacy python libraries.

@BDisp
Copy link
Owner

BDisp commented Sep 21, 2024

I'm currently using vmware-unlocker-git, which still works and auto-patches on each workstation update. Could you add your project to AUR to do the same?

Does this repos also download the VMware Tools?

@superbonaci
Copy link

superbonaci commented Sep 22, 2024

Installing pip modules globally is becoming more restricted due to security concerns, some distros expect to use venv more and more. hykilpikonna/hyfetch#188

I think one of the reasons that the Tools out of date appears, could be due to the tools being a different version when the host is Workstation (linux or windows) and when the host is Fusion (mac), and the Fusion tools is lower version, so that Workstation complains being outdated but in reality are update to date for their respective vmware. That could be because you are not expected to run macos as guest in Windows or MAC so it's not expected to have a lower version...

Do you have any idea of this? Can you check if in Linux and Windows the tools installed by Workstation are different version than those installed by Fusion in macOS? Maybe you can check inside the iso or pkg or dmg files.

As a note after installing Tools on macos guest, I don't see the tray icon which you can see on Windows guest, is that normal? In linux did not test as guest yet.
https://martcj.wordpress.com/2012/03/18/how-to-enable-the-vmware-tray-icon/

@BDisp
Copy link
Owner

BDisp commented Sep 22, 2024

Installing pip modules globally is becoming more restricted due to security concerns, some distros expect to use venv more and more. hykilpikonna/hyfetch#188

Right. For security concerns I removed pip and requests and thus only the library that is installed by the original python software is used.

I think one of the reasons that the Tools out of date appears, could be due to the tools being a different version when the host is Workstation (linux or windows) and when the host is Fusion (mac), and the Fusion tools is lower version, so that Workstation complains being outdated but in reality are update to date for their respective vmware. That could be because you are not expected to run macos as guest in Windows or MAC so it's not expected to have a lower version...

Do you have any idea of this? Can you check if in Linux and Windows the tools installed by Workstation are different version than those installed by Fusion in macOS? Maybe you can check inside the iso or pkg or dmg files.

I've no idea 🤷‍♂️
As I already said before I don't use VMware. It runs slowing in my laptop. But I think it's the same version for Windows, Linux and Mac because it's only needed to install on macOS guest and his binaries only needed to handle with macOS software. I don't know what I'll looking for inside the images.

As a note after installing Tools on macos guest, I don't see the tray icon which you can see on Windows guest, is that normal? In linux did not test as guest yet. https://martcj.wordpress.com/2012/03/18/how-to-enable-the-vmware-tray-icon/

I recommend that someone who is reading this can help you testing on this. Remember that the patch code is the same as the paolo has in his repo. That code was provided by someone anonymous on a site. For now it's working to show the macOS options, but may corrupt some others things in the original Workstation. I'm not affirmation that but it's a possibility. If it's true I don't have no idea how to fix that.

I'm thinking to allow downloading https://softwareupdate.vmware.com/cds/vmw-desktop/fusion/ as before and try to extract the darwin tools. If not available then fallbacks to download from https://packages-prod.broadcom.com/tools/frozen/darwin/ or https://packages.vmware.com/tools/frozen/darwin/. This is take more time to get the tools but ensures that the origial url may provide a more update darwin tools if available. What do think?

@BDisp
Copy link
Owner

BDisp commented Sep 22, 2024

I added priority for the download in the packages folder and use the Broadcom server if it is not available.

@superbonaci
Copy link

There's going to be a Workstation update, let's see if there's an update to Tools version and which servers are updated:
https://community.broadcom.com/vmware-cloud-foundation/discussion/vmware-workstation-176-does-not-install#bmc8027247-ead8-4bec-9468-df33d7f7a995

I'm currently using vmware-unlocker-git, which still works and auto-patches on each workstation update. Could you add your project to AUR to do the same?

Does this repos also download the VMware Tools?

How can I see that?

@BDisp
Copy link
Owner

BDisp commented Sep 22, 2024

There's going to be a Workstation update, let's see if there's an update to Tools version and which servers are updated: https://community.broadcom.com/vmware-cloud-foundation/discussion/vmware-workstation-176-does-not-install#bmc8027247-ead8-4bec-9468-df33d7f7a995

Thanks. I didn't know that VMWare Workstation 17.6 does not install 😄

I'm currently using vmware-unlocker-git, which still works and auto-patches on each workstation update. Could you add your project to AUR to do the same?

Does this repos also download the VMware Tools?

How can I see that?

I think the ISO are included in the source.

image

The vmware-unlocker-git only contains these files. I have no idea how it works.

image

@superbonaci
Copy link

I think this can be the PKGBUILD line that install the iso to filesystem:

install -Dm644 "$srcdir/$pkgname/build/iso/"* "$pkgdir/usr/iso/"

I still need to test if the iso is removed when uninstalling the aur package, and if Workstation still finds some iso when clicking on Guest OS > Install VMware Tools...

Also need to check the versions of these 2 isos:
https://github.com/DrDonk/unlocker/tree/main/iso

Even if they are bit outdated, they still will work with newer version of macos, maybe some bugs or security issues can still be present but still will work for the most part, this is why the aur package has not been flagged yet as Out of date.

@BDisp
Copy link
Owner

BDisp commented Sep 23, 2024

I only will merge my PR when you're certain that all is alright.

@superbonaci
Copy link

I'll wait until next Workstation version and check if Fusion also updates, don't be impatient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants