1 Commits
19 changed files with 2155 additions and 284 deletions

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v6
uses: actions/checkout@v5
- name: Install xorriso
run: |
@@ -33,7 +33,7 @@ jobs:
bash Make_ISO.command
- name: Upload artifact
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v5
with:
name: OpenCore-ISO
path: ~/Desktop/LongQT-OpenCore*.iso
-1
View File
@@ -12,7 +12,6 @@ jobs:
with:
days-before-stale: 30
days-before-close: 7
close-issue-reason: 'completed'
stale-issue-message: 'This issue has been automatically marked as stale due to inactivity.'
close-issue-message: 'Closing this issue due to prolonged inactivity.'
exempt-issue-labels: 'keep-open'
Executable → Regular
BIN
View File
Binary file not shown.
+98 -32
View File
@@ -23,9 +23,18 @@ fi
get_version_info() {
local key=$1
case $key in
high_sierra) echo "Mac-7BA5B2D9E42DDD94:00000000000J80300:High_Sierra:" ;;
lion1) echo "Mac-2E6FAB96566FE58C:00000000000F25Y00:Lion:" ;;
lion2) echo "Mac-C3EC7CD22292981F:00000000000F0HM00:Lion:" ;;
mountain_lion) echo "Mac-7DF2A3B5E5D671ED:00000000000F65100:Mountain_Lion:" ;;
mavericks) echo "Mac-F60DEB81FF30ACF6:00000000000FNN100:Mavericks:" ;;
yosemite) echo "Mac-E43C1C25D4880AD6:00000000000GDVW00:Yosemite:" ;;
el_capitan) echo "Mac-FFE5EF870D7BA81A:00000000000GQRX00:El_Capitan:" ;;
sierra) echo "Mac-77F17D7DA9285301:00000000000J0DX00:Sierra:" ;;
high_sierra1) echo "Mac-7BA5B2D9E42DDD94:00000000000J80300:High_Sierra:" ;;
high_sierra2) echo "Mac-BE088AF8C5EB4FA2:00000000000J80300:High_Sierra:" ;;
mojave) echo "Mac-7BA5B2DFE22DDD8C:00000000000KXPG00:Mojave:" ;;
catalina) echo "Mac-CFF7D910A743CAAF:00000000000PHCD00:Catalina:" ;;
catalina1) echo "Mac-CFF7D910A743CAAF:00000000000PHCD00:Catalina:" ;;
catalina2) echo "Mac-00BE6ED71E35EB86:00000000000000000:Catalina:" ;;
big_sur) echo "Mac-2BD1B31983FE1663:00000000000000000:Big_Sur:" ;;
monterey) echo "Mac-E43C1C25D4880AD6:00000000000000000:Monterey:" ;;
ventura) echo "Mac-B4831CEBD52A0C4C:00000000000000000:Ventura:" ;;
@@ -55,7 +64,7 @@ check_python() {
print_error "Python3 is not installed on your system."
echo "Please install Python3:"
echo "Download it from: https://www.python.org/downloads/"
echo "Or use Install_Python3.command to do it automatically"
echo "Or use Install_Python3.command to do it automatically"
exit 1
fi
}
@@ -86,6 +95,38 @@ cleanup_recovery() {
fi
}
# Function to determine recovery image filename based on version
get_recovery_filename() {
local version_name=$1
# macOS 10.4 to 10.12 use RecoveryImage.dmg
# macOS 10.13+ use BaseSystem.dmg
case $version_name in
Lion|Mountain_Lion|Mavericks|Yosemite|El_Capitan|Sierra)
echo "RecoveryImage.dmg"
;;
*)
echo "BaseSystem.dmg"
;;
esac
}
# Function to determine hdiutil options based on version
get_hdiutil_options() {
local version_name=$1
# macOS 10.7 to 10.9 require -hfs -iso -joliet
# macOS 10.10+ use -hfs -udf
case $version_name in
Lion|Mountain_Lion|Mavericks)
echo "-hfs -iso -joliet"
;;
*)
echo "-hfs -udf"
;;
esac
}
# Function to download macOS recovery
download_recovery() {
local board_id=$1
@@ -101,8 +142,8 @@ download_recovery() {
python3 macrecovery.py -b "$board_id" -m "$model" download
fi
# Check if BaseSystem.dmg was downloaded (all versions 10.13+ use BaseSystem.dmg)
if [ ! -f "com.apple.recovery.boot/BaseSystem.dmg" ]; then
# Check which recovery image was downloaded
if [ ! -f "com.apple.recovery.boot/BaseSystem.dmg" ] && [ ! -f "com.apple.recovery.boot/RecoveryImage.dmg" ]; then
print_error "Failed to download recovery image"
exit 1
fi
@@ -114,9 +155,11 @@ download_recovery() {
create_iso() {
local version_name=$1
local output_path="$HOME/Desktop/macOS_${version_name}_Recovery.iso"
local recovery_path="com.apple.recovery.boot/BaseSystem.dmg"
local recovery_filename=$(get_recovery_filename "$version_name")
local recovery_path="com.apple.recovery.boot/$recovery_filename"
local hdiutil_opts=$(get_hdiutil_options "$version_name")
# Check if the recovery file exists
# Check if the expected recovery file exists
if [ ! -f "$recovery_path" ]; then
print_error "Recovery image not found at: $recovery_path"
# List available files for debugging
@@ -127,8 +170,7 @@ create_iso() {
print_info "Creating bootable ISO..."
# All versions 10.13+ use -hfs -udf options
hdiutil makehybrid -ov -hfs -udf \
hdiutil makehybrid -ov $hdiutil_opts \
-default-volume-name "${version_name}_Recovery" \
-o "$output_path" \
"$recovery_path"
@@ -146,15 +188,21 @@ show_versions() {
echo ""
echo "Available macOS versions:"
echo "========================="
echo " 1. High Sierra (10.13)"
echo " 2. Mojave (10.14)"
echo " 3. Catalina (10.15)"
echo " 4. Big Sur (11)"
echo " 5. Monterey (12)"
echo " 6. Ventura (13)"
echo " 7. Sonoma (14)"
echo " 8. Sequoia (15)"
echo " 9. Tahoe (Latest)"
echo " 1. Lion (10.7)"
echo " 2. Mountain Lion (10.8)"
echo " 3. Mavericks (10.9)"
echo " 4. Yosemite (10.10)"
echo " 5. El Capitan (10.11)"
echo " 6. Sierra (10.12)"
echo " 7. High Sierra (10.13)"
echo " 8. Mojave (10.14)"
echo " 9. Catalina (10.15)"
echo " 10. Big Sur (11)"
echo " 11. Monterey (12)"
echo " 12. Ventura (13)"
echo " 13. Sonoma (14)"
echo " 14. Sequoia (15)"
echo " 15. Tahoe (Latest)"
echo ""
}
@@ -163,31 +211,49 @@ process_version() {
local version=$1
case $version in
1|high_sierra)
key="high_sierra"
1|lion)
key="lion1"
;;
2|mojave)
2|mountain_lion)
key="mountain_lion"
;;
3|mavericks)
key="mavericks"
;;
4|yosemite)
key="yosemite"
;;
5|el_capitan)
key="el_capitan"
;;
6|sierra)
key="sierra"
;;
7|high_sierra)
key="high_sierra1"
;;
8|mojave)
key="mojave"
;;
3|catalina)
key="catalina"
9|catalina)
key="catalina1"
;;
4|big_sur)
10|big_sur)
key="big_sur"
;;
5|monterey)
11|monterey)
key="monterey"
;;
6|ventura)
12|ventura)
key="ventura"
;;
7|sonoma)
13|sonoma)
key="sonoma"
;;
8|sequoia)
14|sequoia)
key="sequoia"
;;
9|tahoe)
15|tahoe)
key="tahoe"
;;
*)
@@ -218,12 +284,12 @@ show_usage() {
Usage: $0 [OPTIONS]
Options:
-v, --version <number|name> macOS version to download (1-9 or name)
-v, --version <number|name> macOS version to download (1-15 or name)
-h, --help Show this help message
Examples:
$0 # Interactive mode
$0 -v 3 # Download Catalina
$0 -v 9 # Download Catalina
$0 -v catalina # Download Catalina by name
$0 -v sonoma # Download Sonoma by name
@@ -252,7 +318,7 @@ main() {
if [ $# -eq 0 ]; then
# Interactive mode
show_versions
read -p "Select version (1-9): " version_choice
read -p "Select version (1-15): " version_choice
echo ""
process_version "$version_choice"
else
+298 -30
View File
@@ -1,34 +1,302 @@
#!/usr/bin/env bash
# Simple launcher for mkmaciso
set -e
MKMACISO_URL="https://raw.githubusercontent.com/LongQT-sea/mkmaciso/main/mkmaciso"
LOCAL_BIN="$HOME/.local/bin"
TARGET="$LOCAL_BIN/mkmaciso"
EXPORT_LINE='export PATH="$HOME/.local/bin:$PATH"'
#!/bin/bash
# Copyright (c) 2024–2025, LongQT-sea
# macOS Full Installer ISO Creator
# Downloads official macOS installers from Apple servers and create a true DVD-format macOS installer ISO file.
# Intended for use with Proxmox, QEMU, VirtualBox, and VMware.
# Check kernel version and set curl options accordingly
KERNEL_VERSION=$(uname -r | cut -d. -f1)
if [[ "$KERNEL_VERSION" -ge 15 ]]; then
CURL_OPTS="-fsSL"
else
CURL_OPTS="-fsSL --insecure"
fi
set -e # Exit on error
# Install mkmaciso if missing
if [[ ! -f "$TARGET" ]]; then
mkdir -p "$LOCAL_BIN"
curl $CURL_OPTS "$MKMACISO_URL" -o "$TARGET"
chmod +x "$TARGET"
fi
# Ensure ~/.local/bin is in PATH
if [[ ":$PATH:" != *":$LOCAL_BIN:"* ]]; then
case "$SHELL" in
*/zsh) RC="$HOME/.zprofile" ;;
*/bash) RC="$HOME/.bash_profile" ;;
*) RC="$HOME/.profile" ;;
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
# Global variables
selected_idx=0
# Function to print colored output
print_color() {
color=$1
shift
echo -e "${color}$@${NC}"
}
# Function to check if the script has sudo privileges
check_sudo() {
if ! sudo -n true 2>/dev/null; then
print_color $YELLOW "This script requires sudo privileges to run createinstallmedia."
print_color $YELLOW "You’ll be prompted for password after the macOS installer finishes downloading."
echo ""
fi
}
# Function to get available installers
get_installers() {
print_color $GREEN "Fetching available macOS installers from Apple server..."
installers=$(softwareupdate --list-full-installers 2>/dev/null | grep "* Title:" | sed 's/^[[:space:]]*//')
if [ -z "$installers" ]; then
print_color $RED "No installers found. Please check your internet connection."
exit 1
fi
# Parse installer information into arrays
IFS=$'\n'
installer_array=($installers)
unset IFS
# Initialize arrays
titles=()
versions=()
sizes=()
builds=()
for installer in "${installer_array[@]}"; do
# Extract information using sed
title=$(echo "$installer" | sed -n 's/.*Title: \([^,]*\).*/\1/p')
version=$(echo "$installer" | sed -n 's/.*Version: \([^,]*\).*/\1/p')
size=$(echo "$installer" | sed -n 's/.*Size: \([^,]*\).*/\1/p')
build=$(echo "$installer" | sed -n 's/.*Build: \([^,]*\).*/\1/p')
titles+=("$title")
versions+=("$version")
sizes+=("$size")
builds+=("$build")
done
}
# Function to display installer menu
display_menu() {
print_color $YELLOW "\nAvailable macOS Installers:\n"
for i in "${!titles[@]}"; do
# Convert size from KiB to GB for readability
size_kb="${sizes[$i]//KiB/}"
size_gb=$(echo "scale=1; $size_kb / 1048576" | bc)
printf "${BLUE}%2d)${NC} %-20s ${GREEN}v%-8s${NC} (${YELLOW}%.1f GB${NC}, Build: %s)\n" \
$((i+1)) "${titles[$i]}" "${versions[$i]}" "$size_gb" "${builds[$i]}"
done
echo
print_color $YELLOW "0) Exit"
echo
}
# Function to get user selection
get_selection() {
local max_option=${#titles[@]}
local selection
while true; do
read -p "Enter your choice (0-$max_option): " selection
if [[ "$selection" =~ ^[0-9]+$ ]]; then
if [ "$selection" -eq 0 ]; then
print_color $YELLOW "Exiting..."
exit 0
elif [ "$selection" -ge 1 ] && [ "$selection" -le "$max_option" ]; then
selected_idx=$((selection - 1))
return 0
fi
fi
print_color $RED "Invalid selection. Please enter a number between 0 and $max_option."
done
}
# Function to download installer
download_installer() {
local idx=$1
local version="${versions[$idx]}"
local title="${titles[$idx]}"
print_color $GREEN "\nDownloading $title version $version..."
print_color $YELLOW "This may take a while depending on your internet connection..."
# Run the download command
if softwareupdate --fetch-full-installer --full-installer-version "$version"; then
print_color $GREEN "Download completed successfully!"
return 0
else
print_color $RED "Download failed. Please try again."
return 1
fi
}
# Function to create ISO
create_iso() {
local idx=$1
local title="${titles[$idx]}"
local version="${versions[$idx]}"
# Determine installer app name based on title
local installer_name
case "$title" in
"macOS Tahoe")
installer_name="Install macOS Tahoe"
;;
"macOS Sequoia")
installer_name="Install macOS Sequoia"
;;
"macOS Sonoma")
installer_name="Install macOS Sonoma"
;;
"macOS Ventura")
installer_name="Install macOS Ventura"
;;
"macOS Monterey")
installer_name="Install macOS Monterey"
;;
"macOS Big Sur")
installer_name="Install macOS Big Sur"
;;
"macOS Catalina")
installer_name="Install macOS Catalina"
;;
"macOS Mojave")
installer_name="Install macOS Mojave"
;;
"macOS High Sierra")
installer_name="Install macOS High Sierra"
;;
*)
installer_name="Install $title"
;;
esac
touch "$RC"
grep -qxF "$EXPORT_LINE" "$RC" || printf '\n%s\n' "$EXPORT_LINE" >> "$RC"
fi
exec "$TARGET" "$@"
local installer_path="/Applications/${installer_name}.app"
local iso_name="${title// /_}_${version}"
local sparse_image="$HOME/Desktop/${iso_name}.sparseimage"
local iso_file="$HOME/Desktop/${iso_name}.iso"
local volume_name="${iso_name}_installer"
# Check if ISO already exists and ask user
if [ -f "$iso_file" ]; then
print_color $YELLOW "ISO file already exists: $iso_file"
read -p "Do you want to overwrite it? (y/n): " overwrite
if [[ "$overwrite" =~ ^[Yy]$ ]]; then
print_color $YELLOW "Removing existing ISO file..."
rm -f "$iso_file"
else
print_color $YELLOW "Operation cancelled. Exiting."
return 1
fi
fi
# Check if sparse image already exists and remove it
if [ -f "$sparse_image" ]; then
print_color $YELLOW "Removing existing sparse image..."
rm -f "$sparse_image"
fi
# Check if installer exists
if [ ! -d "$installer_path" ]; then
print_color $RED "Installer not found at: $installer_path"
print_color $RED "Please ensure the installer downloaded correctly."
return 1
fi
print_color $GREEN "\nCreating ISO for $title version $version..."
# Step 1: Create sparse image
print_color $BLUE "Step 1/4: Creating sparse image..."
if hdiutil create -size 20g -volname "$volume_name" -fs HFS+ -type SPARSE -attach "$sparse_image"; then
print_color $GREEN "Sparse image created and mounted"
else
print_color $RED "Failed to create sparse image"
return 1
fi
# Step 2: Create install media
print_color $BLUE "Step 2/4: Creating install media (this requires sudo)..."
if sudo "${installer_path}/Contents/Resources/createinstallmedia" --volume "/Volumes/$volume_name" --nointeraction; then
print_color $GREEN "Install media created"
else
print_color $RED "Failed to create install media"
hdiutil detach "/Volumes/$volume_name" 2>/dev/null || true
rm -f "$sparse_image" 2>/dev/null || true
return 1
fi
# Step 3: Detach volume
print_color $BLUE "Step 3/4: Detaching volume..."
# After createinstallmedia, the volume is renamed to the installer name
if hdiutil detach "/Volumes/$installer_name" 2>/dev/null || hdiutil detach "/Volumes/$installer_name" -force 2>/dev/null; then
print_color $GREEN "Volume detached successfully"
else
print_color $RED "Failed to detach volume automatically"
print_color $YELLOW "Please manually eject the '$installer_name' volume from Finder"
read -p "Press Enter when ready to continue..."
fi
# Give the system a moment to complete the unmount
sleep 2
# Step 4: Create hybrid ISO
print_color $BLUE "Step 4/4: Creating hybrid ISO ..."
if hdiutil makehybrid -hfs -udf -o "$iso_file" "$sparse_image"; then
print_color $GREEN "ISO created successfully"
else
print_color $RED "Failed to create ISO"
rm -f "$sparse_image" 2>/dev/null || true
return 1
fi
# Clean up sparse image
print_color $BLUE "Cleaning up temporary files..."
rm -f "$sparse_image"
print_color $GREEN "\n=========================================="
print_color $GREEN "ISO creation completed successfully!"
print_color $GREEN "ISO file location: $iso_file"
print_color $GREEN "Installer preserved at: $installer_path"
print_color $GREEN "=========================================="
# Show ISO file info
if [ -f "$iso_file" ]; then
local iso_size=$(du -h "$iso_file" | cut -f1)
print_color $YELLOW "\nISO file size: $iso_size"
fi
return 0
}
# Main script execution
main() {
clear
print_color $GREEN "macOS Full Installer ISO Creator"
print_color $GREEN "============================"
# Check for required tools
for tool in softwareupdate hdiutil diskutil bc; do
if ! command -v $tool &> /dev/null; then
print_color $RED "Error: Required tool $tool is not found."
exit 1
fi
done
# Check sudo access early
check_sudo
# Get available installers
get_installers
# Display menu and get selection
display_menu
get_selection
# Download installer
if download_installer $selected_idx; then
# Create ISO
create_iso $selected_idx
else
print_color $RED "Download failed. Exiting."
exit 1
fi
}
# Run main function
main
+5 -4
View File
@@ -6,7 +6,7 @@ GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
clear
echo -e "${GREEN}=== Disable GateKeeper Script ===${NC}"
echo ""
echo -e "${YELLOW}Administrator privileges required.${NC}"
@@ -14,6 +14,7 @@ echo -e "${YELLOW}Administrator privileges required.${NC}"
sudo spctl --master-disable
echo ""
echo "────────────────────────────────────"
echo "Press Command-W to close this window"
echo "────────────────────────────────────"
echo "────────────────────────────"
echo "Press CMD + Q to quit..."
echo "────────────────────────────"
echo ""
@@ -7,23 +7,21 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>CryptexFixup</string>
<string>USBToolBox</string>
<key>CFBundleIdentifier</key>
<string>com.khronokernel.CryptexFixup</string>
<string>com.dhinakg.USBToolBox.kext</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>CryptexFixup</string>
<string>USBToolBox</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.5</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.5</string>
<string>1.2.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
@@ -41,41 +39,23 @@
<key>DTXcodeBuild</key>
<string>15C500b</string>
<key>IOKitPersonalities</key>
<dict>
<key>CryptexFixup</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.khronokernel.CryptexFixup</string>
<key>IOClass</key>
<string>CryptexFixup</string>
<key>IOMatchCategory</key>
<string>CryptexFixup</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<dict/>
<key>LSMinimumSystemVersion</key>
<string>10.14</string>
<string>10.11</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2021 Khronokernel. All rights reserved.</string>
<string>Copyright © 2020-2021 Dhinak G. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.4.7</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.driver.AppleUSBHostMergeProperties</key>
<string>1.0</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>2.9</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<string>15.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
<string>15.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
Binary file not shown.
@@ -0,0 +1,727 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleGetInfoString</key>
<string>v1.1</string>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.map</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>UTBMap</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.1</string>
<key>IOKitPersonalities</key>
<dict>
<key>SD0</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD0</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD1</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD1</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD2</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD2</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD7</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD7</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
BgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PRT3</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PRT4</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PRT5</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PRT6</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD8</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD8</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
HgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FwAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GAAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GQAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GgAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GwAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HAAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HQAAAA==
</data>
</dict>
<key>HS15</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>SS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>SS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>SS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>SS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>SS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>SS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>SS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS15</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SE8</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SE8</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SE9</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SE9</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SEA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SEA</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SEF</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SEF</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
BgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PRT3</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PRT4</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PRT5</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PRT6</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.dhinakg.USBToolBox.kext</key>
<string>1.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
+36
View File
@@ -392,6 +392,42 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>USBToolBox.kext</string>
<key>Comment</key>
<string>USBToolBox.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/USBToolBox</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>20.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>UTBMap.kext</string>
<key>Comment</key>
<string>UTBMap.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>20.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
</array>
<key>Block</key>
<array>
@@ -0,0 +1,63 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23H626</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>USBToolBox</string>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>USBToolBox</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.2.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string></string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>14.2</string>
<key>DTSDKBuild</key>
<string>23C53</string>
<key>DTSDKName</key>
<string>macosx14.2</string>
<key>DTXcode</key>
<string>1520</string>
<key>DTXcodeBuild</key>
<string>15C500b</string>
<key>IOKitPersonalities</key>
<dict/>
<key>LSMinimumSystemVersion</key>
<string>10.11</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2020-2021 Dhinak G. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.driver.AppleUSBHostMergeProperties</key>
<string>1.0</string>
<key>com.apple.iokit.IOPCIFamily</key>
<string>2.9</string>
<key>com.apple.kpi.iokit</key>
<string>15.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>15.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
Binary file not shown.
@@ -0,0 +1,727 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleGetInfoString</key>
<string>v1.1</string>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.map</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>UTBMap</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.1</string>
<key>IOKitPersonalities</key>
<dict>
<key>SD0</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD0</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD1</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD1</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD2</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD2</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD7</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD7</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
BgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PRT3</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PRT4</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PRT5</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PRT6</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SD8</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SD8</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
HgAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EAAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EQAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EgAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
EwAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FQAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
FwAAAA==
</data>
</dict>
<key>HS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GAAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GQAAAA==
</data>
</dict>
<key>HS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GgAAAA==
</data>
</dict>
<key>HS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
GwAAAA==
</data>
</dict>
<key>HS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HAAAAA==
</data>
</dict>
<key>HS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HQAAAA==
</data>
</dict>
<key>HS15</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
HgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>SS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>SS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>SS05</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>SS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>SS09</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CQAAAA==
</data>
</dict>
<key>SS10</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CgAAAA==
</data>
</dict>
<key>SS11</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CwAAAA==
</data>
</dict>
<key>SS12</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DAAAAA==
</data>
</dict>
<key>SS13</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DQAAAA==
</data>
</dict>
<key>SS14</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DgAAAA==
</data>
</dict>
<key>SS15</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
DwAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SE8</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SE8</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SE9</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SE9</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SEA</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SEA</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
AgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
<key>SEF</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.dhinakg.USBToolBox.kext</string>
<key>IOClass</key>
<string>USBToolBox</string>
<key>IOMatchCategory</key>
<string>USBToolBox</string>
<key>IONameMatch</key>
<string>SEF</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>port-count</key>
<data>
BgAAAA==
</data>
<key>ports</key>
<dict>
<key>PRT1</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>PRT2</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>PRT3</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>PRT4</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>PRT5</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>PRT6</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
</dict>
</dict>
</dict>
</dict>
<key>OSBundleLibraries</key>
<dict>
<key>com.dhinakg.USBToolBox.kext</key>
<string>1.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
+22 -4
View File
@@ -396,17 +396,35 @@
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>CryptexFixup.kext</string>
<string>USBToolBox.kext</string>
<key>Comment</key>
<string>CryptexFixup.kext</string>
<string>USBToolBox.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/CryptexFixup</string>
<string>Contents/MacOS/USBToolBox</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>22.0.0</string>
<string>20.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>UTBMap.kext</string>
<key>Comment</key>
<string>UTBMap.kext</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string></string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string>20.0.0</string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
+113 -114
View File
@@ -8,15 +8,26 @@
set -e
# Color codes
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
NC='\033[0m' # No Color
print_info() { echo -e "${GREEN}[INFO]${NC} $1"; }
print_warning() { echo -e "${YELLOW}[WARNING]${NC} $1"; }
print_error() { echo -e "${RED}[ERROR]${NC} $1"; }
# Function to print colored messages
print_info() {
echo -e "${GREEN}[INFO]${NC} $1"
}
print_warning() {
echo -e "${YELLOW}[WARNING]${NC} $1"
}
print_error() {
echo -e "${RED}[ERROR]${NC} $1"
}
# Check if running as root, if not, re-execute with sudo
if [ "$EUID" -ne 0 ]; then
echo ""
echo -e "${YELLOW}[INFO]${NC} Administrator privileges required..."
@@ -24,190 +35,176 @@ if [ "$EUID" -ne 0 ]; then
exit
fi
# Get macOS version
get_macos_version() {
sw_vers -productVersion
}
get_latest_version() {
local branch=$1
local fallback=$2
local api_url="https://www.python.org/api/v2/downloads/release/?version=3&pre_release=false&is_published=true"
local raw=""
if command -v curl &> /dev/null; then
raw=$(curl -sf --connect-timeout 10 --max-time 20 "$api_url" 2>/dev/null || true)
elif command -v wget &> /dev/null; then
raw=$(wget -qO- --timeout=20 "$api_url" 2>/dev/null || true)
fi
if [ -z "$raw" ]; then
print_warning "Could not reach python.org API. Using fallback version: $fallback"
echo "$fallback"
return
fi
local latest=""
latest=$(echo "$raw" \
| grep -o '"name":"Python [^"]*"' \
| sed 's/"name":"Python //;s/"//' \
| grep -E "^${branch//./\\.}\\.[0-9]+$" \
| sort -t. -k3 -n \
| tail -n 1)
if [ -z "$latest" ]; then
print_warning "Could not parse version for branch ${branch}. Using fallback: $fallback"
echo "$fallback"
else
echo "$latest"
fi
}
# Determine Python version and download URL based on macOS version
determine_python_version() {
local macos_version=$1
local major
local minor
major=$(echo "$macos_version" | cut -d. -f1)
minor=$(echo "$macos_version" | cut -d. -f2)
local major=$(echo "$macos_version" | cut -d. -f1)
local minor=$(echo "$macos_version" | cut -d. -f2)
if [ "$major" -eq 10 ]; then
if [ "$minor" -ge 15 ]; then
print_info "Fetching latest Python 3.14 release..."
PYTHON_VERSION=$(get_latest_version "3.14" "3.14.3")
PYTHON_PKG="python-${PYTHON_VERSION}-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_PKG}"
# macOS 10.15
PYTHON_VERSION="3.14.0"
PYTHON_PKG="python-3.14.0-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.14.0/python-3.14.0-macos11.pkg"
elif [ "$minor" -ge 13 ] && [ "$minor" -le 14 ]; then
print_info "Fetching latest Python 3.13 release..."
PYTHON_VERSION=$(get_latest_version "3.13" "3.13.12")
PYTHON_PKG="python-${PYTHON_VERSION}-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_PKG}"
# macOS 10.13 to 10.14
PYTHON_VERSION="3.13.9"
PYTHON_PKG="python-3.13.9-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.13.9/python-3.13.9-macos11.pkg"
elif [ "$minor" -ge 9 ] && [ "$minor" -le 12 ]; then
# EOL — 3.9.13 is the last release with a macosx10.9 pkg
# macOS 10.9 to 10.12
PYTHON_VERSION="3.9.13"
PYTHON_PKG="python-3.9.13-macosx10.9.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.9.13/${PYTHON_PKG}"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.9.13/python-3.9.13-macosx10.9.pkg"
elif [ "$minor" -ge 6 ] && [ "$minor" -le 8 ]; then
# EOL — 3.6.8 is the last release with a macosx10.6 pkg
PYTHON_VERSION="3.6.8"
PYTHON_PKG="python-3.6.8-macosx10.6.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.6.8/${PYTHON_PKG}"
# macOS 10.6 to 10.8
PYTHON_VERSION="3.6.6"
PYTHON_PKG="python-3.6.6-macosx10.6.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.6.6/python-3.6.6-macosx10.6.pkg"
else
print_error "Unsupported macOS version: $macos_version"
exit 1
fi
elif [ "$major" -ge 11 ]; then
print_info "Fetching latest Python 3.14 release..."
PYTHON_VERSION=$(get_latest_version "3.14" "3.14.3")
PYTHON_PKG="python-${PYTHON_VERSION}-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/${PYTHON_VERSION}/${PYTHON_PKG}"
# macOS 11 (Big Sur) and later
PYTHON_VERSION="3.14.0"
PYTHON_PKG="python-3.14.0-macos11.pkg"
DOWNLOAD_URL="https://www.python.org/ftp/python/3.14.0/python-3.14.0-macos11.pkg"
else
print_error "Unsupported macOS version: $macos_version"
exit 1
fi
}
find_pkg_in_dir() {
local dir=$1
local f
for f in "$dir"/python-"${PYTHON_VERSION}"*.pkg; do
if [ -f "$f" ]; then
echo "$f"
return 0
fi
done
return 1
}
# Check if installer exists in current directory
check_local_installer() {
local script_dir
local current_dir
script_dir="$(cd "$(dirname "$0")" && pwd)"
current_dir="$(pwd)"
local found
if found=$(find_pkg_in_dir "$script_dir"); then
echo "$found"
local pattern=$1
local script_dir="$(cd "$(dirname "$0")" && pwd)"
# Use ls and grep to find matching files (more compatible)
local found_file=""
# First, try to find exact match
if [ -f "$script_dir/$PYTHON_PKG" ]; then
echo "$script_dir/$PYTHON_PKG"
return 0
fi
# Then try pattern matching with ls
found_file=$(ls -1 "$script_dir" 2>/dev/null | grep -E "^python-${PYTHON_VERSION}.*\.pkg$" | head -n 1)
if [ -n "$found_file" ]; then
echo "$script_dir/$found_file"
return 0
fi
# Also check current working directory if different from script dir
local current_dir="$(pwd)"
if [ "$current_dir" != "$script_dir" ]; then
if found=$(find_pkg_in_dir "$current_dir"); then
echo "$found"
if [ -f "$current_dir/$PYTHON_PKG" ]; then
echo "$current_dir/$PYTHON_PKG"
return 0
fi
found_file=$(ls -1 "$current_dir" 2>/dev/null | grep -E "^python-${PYTHON_VERSION}.*\.pkg$" | head -n 1)
if [ -n "$found_file" ]; then
echo "$current_dir/$found_file"
return 0
fi
fi
return 1
}
# Download installer
download_installer() {
local url=$1
local output=$2
print_info "Downloading Python installer from: $url"
if command -v curl &> /dev/null; then
curl -L -o "$output" "$url" --connect-timeout 30 --max-time 600
if curl -L -o "$output" "$url" --connect-timeout 30 --max-time 600; then
return 0
else
return 1
fi
elif command -v wget &> /dev/null; then
wget -O "$output" "$url" --timeout=30
if wget -O "$output" "$url" --timeout=30; then
return 0
else
return 1
fi
else
print_error "Neither curl nor wget found. Cannot download installer."
return 1
fi
}
# Install Python silently
install_python() {
local pkg_path=$1
print_info "Installing Python from: $pkg_path"
if [ ! -f "$pkg_path" ]; then
print_error "Installer file not found: $pkg_path"
exit 1
fi
# Silent installation using installer command
if sudo installer -pkg "$pkg_path" -target / -verbose; then
print_info "Python installed successfully!"
return 0
else
print_error "Installation failed!"
return 1
fi
}
# Main installation process
main() {
print_info "macOS Python Silent Installer"
echo ""
local MACOS_VERSION
# Get macOS version
MACOS_VERSION=$(get_macos_version)
print_info "Detected macOS version: $MACOS_VERSION"
# Determine appropriate Python version
determine_python_version "$MACOS_VERSION"
print_info "Target Python version: $PYTHON_VERSION"
print_info "Installer package: $PYTHON_PKG"
echo ""
# Check if installer exists locally
print_info "Checking for local installer..."
print_info "Script directory: $(cd "$(dirname "$0")" && pwd)"
print_info "Current directory: $(pwd)"
local INSTALLER_PATH
local LOCAL_PKG
if LOCAL_PKG=$(check_local_installer); then
LOCAL_PKG=""
# Extract version pattern for search (e.g., "python-3.9.13*")
VERSION_PATTERN="python-${PYTHON_VERSION}*"
if LOCAL_PKG=$(check_local_installer "$VERSION_PATTERN"); then
print_info "Found local installer: $LOCAL_PKG"
INSTALLER_PATH="$LOCAL_PKG"
else
print_warning "Local installer not found. Attempting to download..."
local DOWNLOADS_DIR="$HOME/Downloads"
# Save to current user's Downloads folder
DOWNLOADS_DIR="$HOME/Downloads"
INSTALLER_PATH="$DOWNLOADS_DIR/$PYTHON_PKG"
print_info "Will save installer to: $INSTALLER_PATH"
if ! download_installer "$DOWNLOAD_URL" "$INSTALLER_PATH"; then
print_error "Download failed!"
echo ""
@@ -220,18 +217,19 @@ main() {
print_info "Looking for: $PYTHON_PKG"
exit 1
fi
print_info "Download completed successfully!"
fi
echo ""
# Install Python
if install_python "$INSTALLER_PATH"; then
echo ""
print_info "Installation complete!"
# Verify installation
if command -v python3 &> /dev/null; then
local INSTALLED_VERSION
INSTALLED_VERSION=$(python3 --version 2>&1)
print_info "Installed: $INSTALLED_VERSION"
fi
@@ -240,6 +238,7 @@ main() {
fi
}
# Run main function
main
exit 0
+2 -2
View File
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
ISO_FILE_NAME=LongQT-OpenCore-v0.7.iso
ISO_FILE_NAME=LongQT-OpenCore-v0.6.iso
VOL_NAME=LongQT-OpenCore
SOURCE_DIR=./
BOOT_IMG=BOOT.img
@@ -40,4 +40,4 @@ xorriso -rockridge off -as mkisofs \
-m "cpu-models.conf" \
-m "Create_Recovery_ISO*" \
-output ~/Desktop/${ISO_FILE_NAME} \
${SOURCE_DIR}
${SOURCE_DIR}
+4 -4
View File
@@ -8,7 +8,6 @@ GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
clear
echo -e "${GREEN}=== EFI Partition Mount Script ===${NC}"
echo ""
@@ -33,6 +32,7 @@ else
fi
echo ""
echo "────────────────────────────────────"
echo "Press Command-W to close this window"
echo "────────────────────────────────────"
echo "────────────────────────────"
echo "Press CMD + Q to quit..."
echo "────────────────────────────"
echo ""
+43 -56
View File
@@ -1,22 +1,24 @@
## About
A carefully crafted OpenCore **ISO** image for running macOS virtual machines on **Proxmox VE** and **QEMU/KVM**.
Built from scratch with a clean, efficient architecture — no legacy configurations, no OVMF patches, no kernel patches, true vanilla macOS.
A carefully crafted OpenCore **ISO** image that makes creating macOS virtual machines on **Proxmox VE** and **QEMU/KVM** straightforward.
Supports every Intel-based macOS release from **[Mac OS X 10.4 Tiger](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install-dmg.html#acidanthera-images)** through **[macOS 26 Tahoe](https://github.com/LongQT-sea/macos-iso-builder)**.
Completely redesigned from scratch with a clean, efficient architecture that eliminates outdated methods and legacy configurations.[^legacy]
Supports every Intel-based macOS release, from **Mac OS X 10.4 Tiger** through **macOS 26 Tahoe**.[^osx]
Also compatible with **libvirt** and **Virt-Manager**.
> [!TIP]
> This is likely the best way to run macOS on AMD hardware while retaining full hypervisor access for other VMs.
> Also overcomes a lot of AMD CPU limitations listed on [Dortania guide](https://dortania.github.io/Anti-Hackintosh-Buyers-Guide/CPU.html#cpus-to-avoid).
> Enjoy true **vanilla macOS** experience with no kernel patches.
> This is likely the best way to run macOS on AMD hardware while still retaining full hypervisor access to run other VMs.
---
**Found this useful?** Give it a ⭐ star so others can find it too!
<details>
<summary>Table of Contents</summary>
## Table of Contents
- [Download](#download)
- [Quick Start Guide](#quick-start-guide)
- [1. Create a New VM](#1-create-a-new-vm)
- [1. Create a New VM](#1-create-a-new-vm-in-the-proxmox-ve-web-interface)
- [2. General](#2-general)
- [3. OS](#3-os)
- [4. System](#4-system)
@@ -32,35 +34,29 @@ Supports every Intel-based macOS release from **[Mac OS X 10.4 Tiger](https://do
- [Credits](#credits)
- [License & Attribution](#license--attribution)
- [Disclaimer](#disclaimer)
</details>
---
## Download
* Latest OpenCore-ISO: [LongQT-OpenCore-v0.7.iso](https://github.com/LongQT-sea/OpenCore-ISO/releases/download/v0.7/LongQT-OpenCore-v0.7.iso)
* For legit macOS installers and recovery ISOs: [LongQT-sea/macos-iso-builder](https://github.com/LongQT-sea/macos-iso-builder)
> [!CAUTION]
> These iso are **true CD/DVD ISO image**.
> Add them to your VM as a **CD/DVD drive**. Do **NOT** change **`media=cdrom`** to **`media=disk`** in the VM config.
* Get the latest OpenCore-ISO: 👉 [Release page](https://github.com/LongQT-sea/OpenCore-ISO/releases)
* For macOS installers and recovery ISOs: 👉 [LongQT-sea/macos-iso-builder](https://github.com/LongQT-sea/macos-iso-builder)
> [!TIP]
> Run [`Create_macOS_ISO.command`](/Create_macOS_ISO.command) inside your VM to download the full macOS installer from Apple and generate a proper DVD-format macOS installer ISO.
> Run [**`Create_macOS_ISO.command`**](/Create_macOS_ISO.command) inside your VM to download the full macOS installer from Apple and generate a proper DVD-format macOS installer ISO.
---
## Quick Start Guide
### 1. Create a New VM
Open the Proxmox VE web interface and create a new VM.
### 1. Create a New VM in the Proxmox VE web interface
---
### 2. General
* **VM ID**: Any available ID
* **Name**: Any name you like
* **Name**: Any name you like for the macOS VM
---
@@ -73,14 +69,14 @@ Open the Proxmox VE web interface and create a new VM.
### 4. System
* **Machine Type**: q35
* **Machine Type**: q35 (if using **i440fx**, add `+invtsc` CPU flag, see [cpu-models.conf](https://github.com/LongQT-sea/OpenCore-ISO/blob/main/cpu-models.conf))
* **BIOS**: OVMF (UEFI)
* **Add EFI Disk**: [✓] Enabled
* **Pre-Enroll Keys**: [✗] Untick to disable Secure Boot
* **Add EFI Disk**: ✅ Enabled
* **Pre-Enroll Keys**: ❌ Untick to disable Secure Boot
* **QEMU Guest Agent**:
* [✓] Enable for macOS 10.14 – macOS 26
* [✗] Leave as default for macOS 10.4 – macOS 10.13
* ✅ Enable for macOS 10.14 – macOS 26
* ❌ Leave as default for macOS 10.4 – macOS 10.13
---
@@ -97,7 +93,7 @@ The **disk bus type** depends on your needs:
| macOS 10.4 – macOS 10.14 | `SATA` |
> [!Tip]
> Using SATA with **SSD emulation** and **Discard** enabled automatically enables TRIM — no need to run `trimforce enable`.
> Choosing `SATA` with ✅ SSD emulation and ✅ Discard enabled is recommended, as it automatically supports TRIM for more efficient storage usage.
---
@@ -107,26 +103,25 @@ The **disk bus type** depends on your needs:
> Follow these CPU settings carefully! Incorrect CPU configuration will cause boot failure.
#### Cores
Choose based on your hardware (`power of 2`): 1 / 2 / 4 / 8 / 16 / 32 / 64
* Choose based on your hardware: 1 / 2 / 4 / 8 / 16 / 32 / 64
> [!TIP]
> For non-power-of-2 counts, use multiple sockets:
> | Target Cores | Cores | Sockets |
> |---|---|---|
> | 6 | 2 | 3 |
> | 12 | 4 | 3 |
> | 20 | 4 | 5 |
> | 24 | 8 | 3 |
> * For 6 cores: choose 2 cores and 3 sockets
> * For 12 cores: choose 4 cores and 3 sockets
> * For 20 cores: choose 4 cores and 5 sockets
> * For 24 cores: choose 8 cores and 3 sockets
#### Type (Model)
| macOS Version | Recommended CPU Type |
| ------------------------ | -------------------------------------------------- |
| macOS 10.11 – macOS 26 | `Skylake-Client-v4`, `Skylake-Server-v4` (AVX-512) |
| macOS 10.4 – macOS 10.10 | `Nehalem` |
| macOS 10.4 – macOS 10.10 | `Penryn` |
> [!NOTE]
> **AMD CPUs:**
> * **macOS 10.4 – macOS 12**, tick [✓] **Advanced**, under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`. [^amdcpu1]
> * **macOS 10.4 – macOS 12**, tick ✅ **Advanced**, under **Extra CPU Flags**, turn off `pcid` and `spec-ctrl`. [^amdcpu1]
> * **macOS 13 – macOS 26**, need to set the CPU manually via the Proxmox VE Shell[^amdcpu2], example:
>
> ```
@@ -136,24 +131,19 @@ Choose based on your hardware (`power of 2`): 1 / 2 / 4 / 8 / 16 / 32 / 64
> # For CPUs with AVX-512 support
> qm set [VMID] --args "-cpu Skylake-Server-v4,vendor=GenuineIntel"
> ```
> * If the VM fails to boot with more than 1 core, add `tsc=reliable` to the host kernel command line (`/etc/default/grub`).
> ---
> **Intel CPUs:**
> * Intel HEDT / E5-2xxx v3/v4 need to override CPUID `model`[^intel-hedt], example:
>
> ```
> qm set [VMID] --args "-cpu Broadwell-noTSX,model=158"
> qm set [VMID] --args "-cpu Haswell-noTSX,model=158"
> qm set [VMID] --args "-cpu Broadwell-noTSX,vendor=GenuineIntel,model=158"
> qm set [VMID] --args "-cpu Haswell-noTSX,vendor=GenuineIntel,model=158"
> ```
> * Intel Haswell desktops need to override `stepping` when using `Haswell-noTSX`[^haswell]:
> ```
> qm set [VMID] --args "-cpu Haswell-noTSX,stepping=3"
> qm set [VMID] --args "-cpu Haswell-noTSX,vendor=GenuineIntel,stepping=3"
> ```
> * If you need to run nested virtualization software (such as Docker Desktop, VMware Fusion, or VirtualBox) inside macOS VM, use QEMU named CPU model with the `+vmx` CPU flag, example:
> ```
> qm set [VMID] --args "-cpu Skylake-Client-v4,+vmx"
> ```
> * Avoid using `host` passthrough CPU types[^hostcpu] — they can be [**~30% slower (single-core)** and **~44% slower (multi-core)**](https://browser.geekbench.com/v6/cpu/compare/14205183?baseline=14313138) compared to recommended CPU types.
> * Avoid using [`host`](https://browser.geekbench.com/v6/cpu/14313138) passthrough CPU types[^hostcpu] — they can be **~30% slower (single-core)** and **~44% slower (multi-core)** compared to [`recommended`](https://browser.geekbench.com/v6/cpu/14205183) CPU types.
For more details, see [QEMU CPU Guide – macOS Guests](https://github.com/LongQT-sea/qemu-cpu-guide?#macos-guests).
@@ -162,7 +152,7 @@ For more details, see [QEMU CPU Guide – macOS Guests](https://github.com/LongQ
### 7. Memory
* **RAM**: Minimum 2 GB (4 GB or more recommended)
* Disable [✗] Ballooning Device
* Disable ❌ Ballooning Device
---
@@ -186,17 +176,14 @@ Add an **additional CD/DVD drive** for the macOS installer or Recovery ISO, then
> * First-time installing macOS? Format the disk in **Disk Utility** before installing macOS.
> * **Skip iCloud login** during setup (configure it later, see [Post-Install](#post-install))
**Got it running?** Maybe give the repo a star... nah nevermind, do whatever.
### 10. Troubleshooting
If you encounter boot issues, check:
* Secure Boot is **disabled** (`Pre-Enroll Keys` unchecked)
* The ISO is mounted as a **CD/DVD**, not a disk
* Try a different **CPU model**
* For Mac OS X 10.4 Tiger, choose machine type q35, version <= 10.0
Legacy OS X no-keyboard issue:
macOS 10.4 Tiger no-keyboard issue:
* Either add `-device usb-kbd` to the QEMU args or run `device_add usb-kbd` in the VM Monitor tab.
---
@@ -210,7 +197,7 @@ Legacy OS X no-keyboard issue:
* Copy **`Mount_EFI.command`**, **`ProperTree`**, and **`GenSMBIOS`** to the Desktop for later use when you need to edit **`config.plist`**.
* You can now remove the **LongQT-OpenCore** ISO CD/DVD from the VM **Hardware** tab.
### 2. To enable iCloud, iMessage, and other iServices
### 2. To enable iCloud, iMessage, and other iServices:
* Follow [Dortania iServices](https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html) guide to generate your own SMBIOS.
* macOS 15 and macOS 26 need to install [VMHide.kext](https://github.com/Carnations-Botanica/VMHide)
@@ -232,14 +219,12 @@ Legacy OS X no-keyboard issue:
> ```
> [!Tip]
> If you need ReBAR enabled (for multi-GPU systems), set **BAR 0** of the dGPU you intend to passthrough to **256 MB**, example:
> If you need ReBAR enabled for another GPU then you need to set **BAR 0** of the dGPU you want to passthrough to **256MB**, e.g.
> ```
> # Unbind from the current driver:
> echo 0000:01:00.0 > /sys/bus/pci/drivers/amdgpu/unbind
> echo 0000:01:00.0 > /sys/bus/pci/drivers/vfio-pci/unbind
> # Set BAR 0 to 256MB:
> echo 8 > /sys/bus/pci/devices/0000:04:00.0/resource0_resize
> ```
> For details on changing BAR size at the OS level, see:
> https://angrysysadmins.tech/index.php/2023/08/grassyloki/vfio-how-to-enable-resizeable-bar-rebar-in-your-vfio-virtual-machine/
> [!Tip]
> On modern macOS versions, if you need a dummy virtual sound device (e.g., for **Parsec, Sunshine/MoonLight**), run this in Proxmox shell:
@@ -298,6 +283,8 @@ This project is provided “as‑is”, without any warranties, and is intended
All product names, trademarks, and registered trademarks are property of their respective owners. All company, product, and service names used in this repository are for identification purposes only.
[^legacy]: No messy custom args needed (no OSK strings, no lengthy `-cpu` parameters) and freely configure CPU core count on AMD CPUs.
[^osx]: Tested on Proxmox VE 9.
[^amdcpu1]: The `pcid` and `spec-ctrl` flags are Intel-only CPU features.
[^amdcpu2]: On macOS 13–26 running on AMD processors, these CPU flags `enforce,+kvm_pv_eoi,+kvm_pv_unhalt` (the default in Proxmox) prevent macOS from booting, so we override them with custom `-cpu` args.
[^intel-hedt]: Override the CPUID model to one used in real Macs (e.g., `model=158`, which corresponds to the Coffee Lake CPUID model).