-
Notifications
You must be signed in to change notification settings - Fork 383
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
[Bug/iCloud] iCloud login doesn't function, "An unknown error occurred." #107
Comments
I'm having the same issue. It happens when I try to log in via the app store or settings app. I also get a similar error when I click the "Create Apple Account" button Also running on version 15. I'll try an older MacOS version and see if the issue still happens. Edit: same thing with version 14. After trying to log in there I started getting similar errors on my iphone. I think apple may have locked my account. |
Also getting this error. Any ideas if there is some additional access needed for the docker container running MacOS? |
I was able to log into iCloud after downgrading to MacOS 13 Ventura. Unfortunately you need 14.5 to install XCode which was my reason for trying this whole thing out in the first place. |
If you login and then upgrade MacOS ... would that work? |
The problem is that I do not generate unique serialnumbers for the VM upon install (like documented here: https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html ). But I just use a fixed set of values that are the same for everyone, so according to Apple's servers they all look like they are the same machine. It would be possible to fix this with a bit of effort, but I dont even have an Apple ID myself, so I am not able to test it. So hopefully someone else will take the time to implement automatic generation of unique values and submit the code to this project as a pull-request. |
That makes sense, thanks for the explanation @kroese I can take a look in the next week or so and see if I can figure it out. If anyone feels like picking it up in the meantime feel free. |
@amarkules1 Did you find a way to fix this? Running into the same issue on MacOS 15 now. |
I created a new version (v1.16). It automaticly generates unique machine values when creating a new macOS installation. So cloud services should be working now. Can someone please test it and tell me if its fixed? |
On 1.16 (pulled just now) issue persists. |
@kroese I've found the following in a repo that runs MacOS in virtualbox, maybe that could help.
DmiSystemFamily="MacBook Pro" # Model Name |
The problem is that there are new VM restrictions on utilizing iServices. You'll need a kernel patch for this. You need to ensure the following tunable is set to 0:
|
Is it possible to achieve this by leveraging QEMU on the main machine somehow? |
Is this requirement in macos 15 or has it already been introduced in macos 14? |
macOS 14 was not impacted according to my assessment. I don't actually run this in Docker I have a full VFIO passthrough setup via libvirt/qemu. Circumventing checks is beyond the scope of this issue I believe. |
Can you teach how to? I tried
|
I won't discuss specifics, as I don't run my macOS install via docker (rather just qemu it), but this patch worked for me: https://forum.proxmox.com/threads/anyone-can-make-bluetooth-work-on-sonoma.153301/#post-697832 This did have the side effect of breaking OTA updates, so be sure to disable when prompted to update the OS. |
This is worked on a sequoia, thank you! |
There are two EFI partitions. One separate (read-only with OpenCore copy) and another next to the operating system (which is empty when mounted). We must mount both partitions using diskutil mount. Copy and paste the content into the empty EFI.
There is a selector menu when booting the operating system that is disabled by default. When we enable it, it will allow us to access "recovery mode" among other things.
If we try to modify the nvram from a terminal, it may throw an error. The solution is to use the terminal from "recovery mode" as I mentioned in the previous step. Once we reach the terminal, we need to execute: csrutil disabled I was able to solve each of the problems you mention, but unfortunately I cannot manage to disable the kern.hv_vmm_present parameter 😒 |
With qemu or docker? Is there any detailed instructions for patching it with this docker image? |
@rafi16jan That patch is already included in the latest image (v1.18) now |
Operating system
Debian GNU/Linux 12 (bookworm)
Description
iCloud login fails with "An unknown error occurred.", no actual description of the problem. I have tried every prompt in the system and they all fail with iCloud login.
Docker compose
Docker log
❯ Starting macOS for Docker v1.14...
❯ For support visit https://github.com/dockur/macos
❯ CPU: Intel Xeon CPU E5 2630 v3 | RAM: 54/63 GB | DISK: 6314 GB (ext4) | HOST: 6.1.0-26-amd64...
^[[1;34m❯ ^[[1;36mDownloading macOS 15 recovery image...^[[0m
Downloading 062-24352...
Saving http://oscdn.apple.com/content/downloads/58/14/062-24352/huowb7csccndr18cneqn3epe6quo5yt061/RecoveryImage/BaseSystem.chunklist to /storage/tmp/BaseSystem.chunklist...
^M100.0% downloaded
Download complete!
Saving http://oscdn.apple.com/content/downloads/58/14/062-24352/huowb7csccndr18cneqn3epe6quo5yt061/RecoveryImage/BaseSystem.dmg to /storage/tmp/BaseSystem.dmg...
^M1.1% downloaded^M2.2% downloaded^M3.3% downloaded^M4.5% downloaded^M5.6% downloaded^M6.7% downloaded^M7.8% downloaded^M8.9% downloaded^M10.0% downloaded^M11.1% downloaded^M12.3% downloaded^M13.4% downloaded^M14.5% downloaded^M15.6% do>
Download complete!
Verifying image with chunklist...
^MChunk 10 (10485760 bytes)^MChunk 20 (10485760 bytes)^MChunk 30 (10485760 bytes)^MChunk 40 (10485760 bytes)^MChunk 50 (10485760 bytes)^MChunk 60 (10485760 bytes)^MChunk 70 (10485760 bytes)^MChunk 80 (10485760 bytes)
Image verification complete!
^[[1;34m❯ ^[[1;36mCreating a 256G growable disk image in raw format...^[[0m
^[[1;34m❯ ^[[1;36mExtracting boot image...^[[0m
^[[1;34m❯ ^[[1;36mBooting macOS 1920x1080 using QEMU v9.1.0...^[[0m
^[[2J^[[01;01H^[[=3h^[[2J^[[01;01H^[[2J^[[01;01H^[[=3h^[[2J^[[01;01H^[[2J^[[01;01H^[[=3h^[[2J^[[01;01HBdsDxe: failed to load Boot0001 "UEFI Misc Device" from PciRoot(0x0)/Pci(0xA,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
BdsDxe: starting Boot0002 "UEFI Misc Device 2" from PciRoot(0x0)/Pci(0x5,0x0)
#[EB|LOG:EXITBS:END] _
#[EB.BST.FBS|-]
#[EB|B:BOOT]
#[EB|LOG:HANDOFF TO XNU] _
======== End of efiboot serial output. ========
Screenshots (optional)
The text was updated successfully, but these errors were encountered: