diff --git a/README.md b/README.md index 7614ee2..282e6d0 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ sudo spctl --master-disable ✅ macOS Ventura - 13 ✅ macOS Sonoma - 14 ✅ macOS Sequoia - 15 +✅ macOS Tahoe - 26 --- @@ -163,4 +164,3 @@ In some environments it is necessary to segment the IOMMU Groups to be able to p ## 🌎 Join Our Community - Universo Hackintosh Discord 💬 [**Join Here!**](https://discord.universohackintosh.com.br) - diff --git a/setup b/setup index 4f52adb..36c8574 100755 --- a/setup +++ b/setup @@ -60,6 +60,7 @@ declare -A MACOS_CONFIG=( ["6"]="Ventura|13|Mac-B4831CEBD52A0C4C|00000000000000000|1024M|virtio0" ["7"]="Sonoma|14|Mac-827FAC58A8FDFA22|00000000000000000|1450M|virtio0" ["8"]="Sequoia|15|Mac-7BA5B2D9E42DDD94|00000000000000000|1450M|virtio0" + ["9"]="Tahoe|26|Mac-CFF7D910A743CAAF|00000000000000000|1450M|virtio0" ) # Display and log function @@ -378,7 +379,7 @@ download_recovery_image() { mount "$loopdev" /mnt/APPLE >>"$logfile" 2>&1 || log_and_exit "Failed to mount image" "$logfile" cd /mnt/APPLE local recovery_args="-b $board_id -m $model_id download" - [[ "$version_name" == "Sequoia" ]] && recovery_args="$recovery_args -os latest" + [[ "$version_name" =~ ^(Sequoia|Tahoe)$ ]] && recovery_args="$recovery_args -os latest" python3 "${SCRIPT_DIR}/tools/macrecovery/macrecovery.py" $recovery_args >>"$logfile" 2>&1 || log_and_exit "Failed to download recovery" "$logfile" cd "$SCRIPT_DIR" umount /mnt/APPLE >>"$logfile" 2>&1 || log_and_exit "Failed to unmount image" "$logfile" @@ -398,13 +399,13 @@ create_vm() { [[ ! -d "/sys/class/net/$bridge" ]] && log_and_exit "Bridge $bridge does not exist" "$logfile" local cpu_args device_args='-device isa-applesmc,osk="ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" -smbios type=2' - if [[ "$version_name" =~ ^(Sonoma|Sequoia)$ ]]; then + if [[ "$version_name" =~ ^(Sonoma|Sequoia|Tahoe)$ ]]; then device_args="$device_args -device qemu-xhci -device usb-kbd -device usb-tablet -global nec-usb-xhci.msi=off" else device_args="$device_args -device usb-kbd,bus=ehci.0,port=2 -device usb-mouse,bus=ehci.0,port=3" fi if [[ "$OSX_PLATFORM" == "AMD" ]]; then - if [[ "$version_name" =~ ^(Ventura|Sonoma|Sequoia)$ ]]; then + if [[ "$version_name" =~ ^(Ventura|Sonoma|Sequoia|Tahoe)$ ]]; then cpu_args="-cpu Cascadelake-Server,vendor=GenuineIntel,+invtsc,-pcid,-hle,-rtm,-avx512f,-avx512dq,-avx512cd,-avx512bw,-avx512vl,-avx512vnni,kvm=on,vmware-cpuid-freq=on" else cpu_args="-cpu Penryn,kvm=on,vendor=GenuineIntel,+kvm_pv_unhalt,+kvm_pv_eoi,+hypervisor,+invtsc,+ssse3,+sse4.2,+popcnt,+avx,+avx2,+aes,+fma,+bmi1,+bmi2,+xsave,+xsaveopt,check" diff --git a/tools/macrecovery/recovery_urls.txt b/tools/macrecovery/recovery_urls.txt index 2b20809..4466dbe 100644 --- a/tools/macrecovery/recovery_urls.txt +++ b/tools/macrecovery/recovery_urls.txt @@ -40,6 +40,9 @@ Ventura Sonoma ./macrecovery.py -b Mac-827FAC58A8FDFA22 -m 00000000000000000 +Tahoe +./macrecovery.py -b Mac-CFF7D910A743CAAF -m 00000000000000000 -os latest + Diagnostics ./macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000000000 -diag ./macrecovery.py -b Mac-7BA5B2D9E42DDD94 -m 00000000000JG3600 -diag