Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Merge upstream main into iphone-duo-x1

Jackyb03f0b823e7a
diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swift
index 0c3150ea,f881295e..e497665e
--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swift
+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swift
@@@ -29,9 -29,10 +29,11 @@@ public enum FirmwareGuestSystemPatchSe
public static let gyroscope = "system-backboardd-cfw-gyroscope"
public static let accelerometer = "system-backboardd-cfw-accelerometer"
public static let attitude = "system-apps-cfw-attitude"
+ public static let followUpGroups = "system-preferences-cfw-followup_groups"
+ public static let signInSheets = "system-apps-cfw-signin_sheets"
public static let arm64eX1DyldBootstrap = "system-dyld-boot-arm64e_x1_bootstrap"
public static let arm64eX1CacheBootstrap = "dyld-boot-arm64e_x1_bootstrap"
+ public static let arm64eX1CacheRemaining = "dyld-cfw-arm64e_x1_cache"
public static let arm64eX1LaunchdBootstrap = "system-launchd-boot-arm64e_x1_bootstrap"
public static let arm64eX1FsckBootstrap = "system-fsck-boot-arm64e_x1_bootstrap"
public static let arm64eX1MountBootstrap = "system-mount-boot-arm64e_x1_bootstrap"
diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift
index 255f0273,182b40ce..f08919bb
--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift
+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift
@@@ -236,8 -236,6 +236,7 @@@ public enum FirmwarePatchSetCatalog
public static let tvOSBlockedPatches: Set<String> = [
paravirtTask3Patch,
FirmwareGuestSystemPatchSet.arm64eX1CacheBootstrap,
+ FirmwareGuestSystemPatchSet.arm64eX1CacheRemaining,
- FirmwareGuestSystemPatchSet.virtualBluetooth,
"dyld-boot-iomfb_force_kern",
"dyld-boot-iomfb_swapend",
"dyld-boot-lockdown_mode",
diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plist
index 1a172c48,5f8f0398..41f33d1e
--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plist
+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plist
@@@ -97,8 -97,8 +97,9 @@@
<string>dyld-boot-arm64e_x1_bootstrap</string>
<string>dyld-boot-iomfb_swapend</string>
<string>dyld-cfw-camera</string>
+ <string>dyld-cfw-arm64e_x1_cache</string>
<string>kernel-boot-arm64e_x1</string>
+ <string>kernel-boot-cssc_emulation</string>
<string>preboot-cfw-devicetree_board_audio</string>
<string>preboot-cfw-devicetree_haptics</string>
<string>preboot-cfw-devicetree_iphone_product</string>
diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist
index dc412fe7,927ddb95..9d2b6d15
--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist
+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist
@@@ -107,8 -108,8 +108,9 @@@
<string>dyld-boot-arm64e_x1_bootstrap</string>
<string>dyld-boot-iomfb_swapend</string>
<string>dyld-cfw-camera</string>
+ <string>dyld-cfw-arm64e_x1_cache</string>
<string>kernel-boot-arm64e_x1</string>
+ <string>kernel-boot-cssc_emulation</string>
<string>preboot-cfw-devicetree_board_audio</string>
<string>preboot-cfw-devicetree_haptics</string>
<string>preboot-cfw-devicetree_iphone_product</string>
diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist
index 86cfa4c8,bbedc0d9..cdea2c3d
--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist
+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist
@@@ -111,8 -111,8 +111,9 @@@
<string>dyld-boot-maxslide</string>
<string>dyld-boot-xpc_lwcr</string>
<string>dyld-cfw-camera</string>
+ <string>dyld-cfw-arm64e_x1_cache</string>
<string>kernel-boot-arm64e_x1</string>
+ <string>kernel-boot-cssc_emulation</string>
<string>preboot-cfw-devicetree_board_audio</string>
<string>preboot-cfw-devicetree_haptics</string>
<string>preboot-cfw-devicetree_iphone_product</string>