ICLOUD_UNSUPPORTED_DEVICE when installing macOS Big Sur in VMware - macos

When I try to install macOS in VMware Workstation I get a popup error when I try to login with my Apple ID:
ICLOUD_UNSUPPORTED_DEVICE
That's all it says.
How do I make my VM appear as an iCloud supported device?

Shut down the VM gracefully, then add the following to the end of your virtual machine's .vmx file to make VMware believe it is running on Mac hardware:
board-id = "Mac-551B86E5744E2388"
hw.model.reflectHost = "FALSE"
hw.model = "MacBookPro14,3"
serialNumber.reflectHost = "FALSE"
serialNumber = "C02XXXXXX153"
smbios.reflectHost = "FALSE"
efi.nvram.var.ROM.reflectHost = "FALSE"
efi.nvram.var.MLB.reflectHost = "FALSE"
efi.nvram.var.ROM = "3c0754a2f9be"
Boot the VM.
Open iTunes, click Account menu, then Sign In.
Source for the above lines

Related

Vmware MacOS-BigSur in win10

I'm used Vmware Workstation 15.5 PRO to build MacOS Big Sur in Win10 and I refer this website.
https://www.wikigain.com/install-macos-big-sur-on-vmware-windows-pc/
My device:
CPU: AMD Ryzen 5 2600x
Display card: NVIDIA 1070ti
RAM: 16GB
Operating System: Windows 10 1909x64
I did the sixth step but an error occurred.
enter image description here
The CPU has been disabled by the guest operating system. Power off or reset the virtual machine.
I tried the commands from other website.
https://www.youtube.com/watch?v=ogEPiiufrO0&ab_channel=CAPSTV
And used the command.
smc.version = "0"
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:1111:1010:1011:1111:1011:1111:1111"
featureCompat.enable = "FALSE"
But there are still errors.
enter image description here
Feature 'cpuid.intel' was absent, but must be present.
Module 'FeatureCompatLate' power on failed.
Failed to start the virtual machine.
I have read many websites saying that MacOS does not support non-MacOS CPUs.
What should I do if I am using AMD's device?
Thanks in advance for your help!!
AMD Ryzen 7 5800X VMWare macOS settings
Not sure, but it can help other 5xxx series AMD Ryzen CPUs as well for macos vm running issues
common issues:
The CPU has been disabled by the guest operating system.Power off or reset the virtual machine.
Feature 'cpuid.ds' was absent, but must be present.
Feature 'cpuid.ss' was absent, but must be present.
Module 'FeatureCompatLate' power on failed.
Failed to start the virtual machine.
FIX: paste the below to the vmx file end
(my working settings on AMD Ryzen 5800X tested ok)
smc.version = "0"
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"
smbios.reflectHost = "TRUE"
hw.model = "iMac19,1"
board-id = "Mac-AA95B1DDAB278B95"
The basic settings come from many source like this:
Install:
https://www.geekrar.com/install-macos-catalina-on-vmware-on-windows-pc/
CPU has been disabled Issue:
https://www.geekrar.com/how-to-fix-the-cpu-has-been-disabled-by-the-guest-os/#comment-21413
Differences fixing the macos VM on my Ryzen 7 5800X:
featureCompat.enable completly removed, if it FALSE then VM failed to start, if it TRUE causing Module 'FeatureCompatLate' power on failed. message
I have to change two 1 to 0 than other posts on the cpuid.1.edx
It solved the cpuid.ss and cpuid.ds message
from:
cpuid.1.edx = "0000:1111:1010:1011:1111:1011:1111:1111"
to:
cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
VM hardware version setting tested ok:
15.X
16.X
VM hardware can be configured without any problem on VM guest:
CPU core: 2, 4, 8 or 16
RAM: 4, 8 or 16 GB
Hard Disk: SATA or nvme
Display: any resolution (VMware tools have to be installed to use)
VM host software config tested ok:
VMWARE Workstation PRO 16.2.1
unlocker 3.0.2 or unlocker 3.0.3
Geekrar.com macos versions tested ok:
macOS Catalina Final by Geekrar.rar
macOS Mojave Final APFS by Geekrar.rar
Try the following steps:
Go to VM -> Manage -> Change Hardware Compatibility and select Workstation 10.x
smc.version = "0"
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"
smbios.reflectHost = "TRUE"
hw.model = "iMac19,1"
board-id = "Mac-AA95B1DDAB278B95"
It worked for me on VMware Workstation 16.2.3 build-19376536 and AMD Ryzen 9 5950X.
Try the following steps:
Go to VM -> Manage -> Change Hardware Compatibility and select Workstation 10.x
Replace cpuid.1.edx = "0000:1111:1010:1011:1111:1011:1111:1111" with cpuid.1.edx = "0000:0111:1000:1011:1111:1011:1111:1111"
Remove featureCompat.enable = "FALSE"
It worked for me on VMware Workstation 15.5.6 and AMD Ryzen 5 2600.
VMware 17
I would get an error that said that the VMX file is corrupt. Removing the SMC.Version = "0" resovled this for me and the VM still works great.
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"
smbios.reflectHost = "TRUE"
hw.model = "iMac19,1"
board-id = "Mac-AA95B1DDAB278B95"

Windows doesn't automatically find local devices

I have a local network with a printer, laptop, desktop and a Raspberry Pi that acts as SMB NAS + Kodi + Pi-Hole + a whole lot more.
For a very long time my PC (Win10-latest) would not automatically find some other local network attached devices. The only ones that it would find would be Printer, Router and Kodi (streaming + library).
If I tried mapping a network drive manually or tried to access the local IP of device manually, it would work and then the device would appear under network. (workaround but still annoying)
I have tried all the solutions I could find online to enable automatic discovery with no luck:
Set WiFi to be private
Enable sharing + discovery
Make sure workgroup is WORKGROUP
Manually enable UpNP, SSDP + 2x Function Discovery services
Check firewall settings and allow File and Printer Sharing (LLMNR-UDP-In) for Domain
Weird thing is, my Android phone with SolidExplored had no problem finding other local devices including the SMB.
Eventually I tried the net view command and it came up with:
net view
System error 384 has occurred.
You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol, which is unsafe and could expose your system to attack.
So I checked smbstatus on my Raspberry and it said it is connected with SMB3_11. I then manually modified my smb.conf file on the Raspberry to be server min protocol = SMB2 but the System error 384 continued.
I then enabled SMB 1.0/CIFS File Sharing Support from Turn Windows Features on or off restarted my PC and all my local network devices appear!
I would like to know if anyone else experienced the same issues? I don't even understand what I have misconfigured.
# Global parameters
[global]
log file = /var/log/samba/log.%m
logging = file
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server min protocol = SMB2
server role = standalone server
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb
guest ok = Yes
[homes]
comment = Home Directories
create mask = 0775
directory mask = 0775
read only = No
valid users = %S
[printers]
browseable = No
comment = All Printers
create mask = 0700
guest ok = No
path = /var/spool/samba
printable = Yes
[print$]
comment = Printer Drivers
guest ok = No
path = /var/lib/samba/printers
[R]
comment = 8Tb HD Raspberry Downloads
create mask = 0775
directory mask = 0775
force group = pi
force user = pi
path = /media/pi/Raspberry/Downloads/
read only = No
wide links = Yes
[Private]
comment = 8Tb HD Raspberry Private
create mask = 0775
directory mask = 0775
force group = pi
force user = pi
guest ok = No
path = /media/pi/Raspberry/Private/
read only = No
wide links = Yes
The issue was missing wsdd. Installed it, setup a systemd service with a few changes and all works perfect now.

"RESULT_CODE_MISSING_DATA" at Chromium build launch at Win10

I built my own version of Chromium using official instruction with very slight changes in the code that do not touch the core things. When I try to launch it on Windows 10 (tried Home and LTSC), is shows "RESULT_CODE_MISSING_DATA" error on each page, including internal ones, like "settings".
The build works on Windows 10 correctly if I launch it with "compatibility to Windows 8" option, but that's a bad option as it launches with additional borders, maybe it's because of Metro UI:
enter image description here
The build launches on Windows 7 well without any additional changes.
I tried to build 82.x.x.x and 81.x.x.x builds, they all emerge this error on Windows 10.
I tried to do builds on multiple OS (Win7, Win10), the error still presents.
my args.gn:
is_debug = false
is_component_build = false
enable_nacl = false
symbol_level = 1
target_cpu = "x86" # I tried x64, same problem
blink_symbol_level = 1
proprietary_codecs = true
ffmpeg_branding = "Chrome"
is_component_ffmpeg=true
is_official_build=true
Ok, after several build tries I built chromium well-working after removing the is_component_ffmpeg=true flag from args.gn.
Thanks Asesh for helping.

MSXML load url failes only on Windows 2016 server

I am trying to modify an old VB6 application so that it can be used on Windows server 2016. At the moment it works well on Windows XP and Windows 7/10.
But for WIndows Server 2016 I do not get it going. I want to grab temperature data via https://xml.buienradar.nl. In the vb6 project I make a reference to msxml6 which I installed on the Windows 2016 server.
At xmldoc.Load ("https: \ xml.buienradar.nl") I get the error: The download of the specified resource has failed.
Firewall is disabled. Does anyone have any idea? I do not have the idea that it goes wrong with the msxml6.dll. Why does this work with all other operating systems?
Set xmldoc = New DOMDocument60
xmldoc.async = False
If xmldoc.Load("https:\\xml.buienradar.nl") = False Then
LogPrint "Load error: " & xmldoc.parseError.url & " - " &
xmldoc.parseError.reason
Else
-- grab data --
End If

Portable Browser Issues when deploying R Shiny App

I've built a complex Shiny interface that pulls from an internally networked ODBC table and allows a user to interact with the data through their browser. The company is on Windows 7 Enterprise and IT only supports IE 9. Some users have chrome installed in their user folders, some have firefox, some use IE 9. I followed a tutorial from R-Bloggers (here: http://www.r-bloggers.com/deploying-desktop-apps-with-r/) and it runs on my machine using a portable Chrome browser downloaded from PortableApps.com. Great. Unfortunately the interface has not started on ANYONE else's machine that has their own local Chrome browser installed.
Following the tutorial, I use the following vb script:
Rexe = "R-Portable\App\R-Portable\bin\Rscript.exe"
Ropts = "--no-save --no-environ --no-init-file --no-restore --no-Rconsole"
RScriptFile = "runShinyApp.R"
Outfile = "ShinyApp.log"
strCommand = Rexe & " " & Ropts & " " & RScriptFile & " 1> " & Outfile & " 2>&1"
intWindowStyle = 0 ' Hide the window and activate another window.'
bWaitOnReturn = False ' continue running script after launching R '
CreateObject("Wscript.Shell").Run strCommand, intWindowStyle, bWaitOnReturn
This script calls the following code in my R file:
message('library paths:\n', paste('... ', .libPaths(), sep='', collapse='\n'))
chrome.portable = file.path(getwd(),'GoogleChromePortable/App/Chrome-bin/chrome.exe')
launch.browser = function(appUrl, browser.path=chrome.portable) {
message('Browser path: ', browser.path)
shell(sprintf('"%s" --app=%s', browser.path, appUrl))
}
shiny::runApp('shiny', launch.browser=launch.browser)
It works on my computer just fine... I DO have chrome installed locally, but I'm calling the Portable Chrome executable. It worries me that the two are sharing prefs or something, e.g. I notice that a hash from the Preferences file in my installed version, specifically:
"chrome_url_overrides": {
"bookmarks": [ "chrome-extension://eemcgdkfndhakfknompkggombfjjjeno/main.html" ]
},
...matches the same json entry from the Portable Chrome installation:
"chrome_url_overrides": {
"bookmarks": [ "chrome-extension://eemcgdkfndhakfknompkggombfjjjeno/main.html" ]
}
Why do these long random strings match? Am I barking up the wrong tree for wondering about this? I don't know why these strings match if they are two separate installations of Chrome executables, one of which is supposed to run completely independently from anything on the machine.
Here's a set of errors from one machine:
.../Desktop/TestApp3/GoogleChromePortable/App/Chrome-bin/chrome.exe[9100:9408:0716/141934:ERROR:gpu_info_collector_win.cc(103)] Can't retrieve a valid WinSAT assessment.
[9100:9408:0716/141934:ERROR:component_loader.cc(138)] Failed to parse extension manifest.
[9100:1716:0716/141946:ERROR:get_updates_processor.cc(214)] PostClientToServerMessage() failed during GetUpdates
Here's a set of errors from a second machine:
.../Documents/TestApp3/GoogleChromePortable/App/Chrome-bin/chrome.exe
[5220:3384:0714/142128:ERROR:component_loader.cc(138)] Failed to parse extension manifest.
[5220:7600:0714/142130:ERROR:external_registry_loader_win.cc(136)] File C:\Program Files\Coupons.com CouponBar\chrome\Coupons.com.crx for key
Software\Google\Chrome\Extensions\cnpkmcjgpcihgfnkcjapiaabbbplkcmf does not exist or is not readable.
[5220:2120:0714/142140:ERROR:get_updates_processor.cc(214)] PostClientToServerMessage() failed during GetUpdates
[5220:3384:0714/142413:ERROR:CONSOLE(122)] "Could not find value for secondaryUser", source: chrome://resources/js/load_time_data.js (122)
[5220:3384:0714/142413:ERROR:CONSOLE(122)] "[undefined] (secondaryUser) is not a boolean", source: chrome://resources/js/load_time_data.js (122)
[5220:3384:0714/142425:ERROR:CONSOLE(122)] "Could not find value for secondaryUser", source: chrome://resources/js/load_time_data.js (122)
[5220:3384:0714/142425:ERROR:CONSOLE(122)] "[undefined] (secondaryUser) is not a boolean", source: chrome://resources/js/load_time_data.js (122)
[5220:3384:0714/142442:ERROR:navigation_entry_screenshot_manager.cc(167)] Invalid entry with unique id: 12
It seems like Chrome is doing different things on different computers and is not actually acting as a standalone browser... but likely interacting with the browser installed on their respective computers via the registry or some other "under the hood, active" communication. Maybe, since I installed the portable executable on my machine, a bunch of my local extensions or preferences were automatically updated to the portable's preferences, etc. and subsequently this is causing a conflict on every other machine??
Can I shutdown Chrome's extensions or extra functions like the calls to the updater? Is there a better standalone portable browser that functions well with Shiny for this type of "deployment" purpose? Can I fix this or is this a lost cause?? This should be obvious but I'll say it anyway: it is definitely not economically efficient to ask the non-technical types to install R, then RStudio, then confirm their working directory structure, then call the runApp() command via the Script window...
I started with those same articles, but developed the RInno package to solve this exact problem, i.e. when you want to share your desktop Shiny app with non-technical users who can't be expected to mess around with all those details.
To get started:
install.packages("RInno")
require(RInno)
RInno::install_inno()
Then you just need to call two functions to create an installation framework:
create_app(app_name = "myapp", app_dir = "path/to/myapp")
compile_iss()
This will create an installation wizard that runs like any other program, but installs your shiny app on a Windows desktop computer. If you would like to include R for your co-workers who don't have it installed, add include_R = TRUE to create_app:
create_app(app_name = "myapp", app_dir = "path/to/myapp", include_R = TRUE)
It defaults to include shiny, magrittr and jsonlite, so if you are using other packages like ggplot2 or plotly, just add them to the pkgs argument. You can also include GitHub packages to the remotes argument:
create_app(
app_name = "myapp",
app_dir = "path/to/myapp"
pkgs = c("shiny", "jsonlite", "magrittr", "plotly", "ggplot2"),
remotes = c("talgalili/installr", "daattali/shinyjs"))
If you are interested in other features, check out FI Labs - RInno

Resources