Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Merge branch 'pr-808' into merge-pr-808

Jacky6c360c70edc9
diff --cc VPhoneDaemon/Daemon/main.swift
index b399d9b1,094a1eec..452655cf
--- a/VPhoneDaemon/Daemon/main.swift
+++ b/VPhoneDaemon/Daemon/main.swift
@@@ -23,7 -23,8 +23,9 @@@ guard vp_native_watch_proxy() == 0 els
GuestLockScreenIdle.startOnStartup()
// Before the server, so `/v1/health` reports a drop from its first answer.
GuestMobileGestaltCache.dropIfStaleOnStartup()
+GuestMobileGestaltCache.presentAlwaysOnDisplayOnStartup()
+ // An iOS 18 screen stays black until backboardd runs without surface compression.
+ GuestCoreAnimationCompression.applyOnStartup()
// Before audiomxd is asked for sound again; see the type for what it cannot cover.
GuestVirtualAudioProduct.storeOnStartup()
// After SpringBoard has had time to come up, so the inner panel's layout
diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestDisplayPatchSet.swift
index 353a0ddb,6889734a..fb1adba3
--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestDisplayPatchSet.swift
+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestDisplayPatchSet.swift
@@@ -27,10 -30,11 +30,11 @@@ public enum FirmwareGuestDisplayPatchSe
VPhonePatchDeclaration(
identifier: "dyld-boot-iomfb_swapend",
title: "IOMFB swap-end size",
- summary: "Resizes the swap-end structure a 26.0, 18.x or experimental 17.7 userland submits.",
+ summary: "Resizes the swap-end structure a 26.0, 18.x or experimental 17.7 userland submits to a 26.x kernel.",
target: .dyldSharedCache,
applicability: VPhonePatchApplicability(
- iOSBase: .oneOf([.release(major: 26, minor: 0), .major(18), .major(17)]),
+ iOSBase: .oneOf([.release(major: 26, minor: 0), .major(18), .major(17), .major(16)]),
+ cloudOS: .atLeast(major: 26, minor: 0),
),
bootEssential: true,
),
diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelFridaPatchSet.swift
index e25bc00d,52a8ed58..7d812329
--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelFridaPatchSet.swift
+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelFridaPatchSet.swift
@@@ -50,9 -56,7 +56,11 @@@ public enum FirmwareKernelFridaPatchSe
title: "Syscall filters off",
summary: "Ignores per-process syscall filters, so Frida's agent survives inside filtered daemons such as trustd or backboardd.",
target: .firmware(.kernelcache),
- applicability: fridaCapableWithIOS18,
++ // 26.1 for the iOS 16/17 experimental pairings, 26.4+ and iOS 18
++ // for the Frida-capable standard presets; union of #802 and #808.
+ applicability: VPhonePatchApplicability(cloudOS: .oneOf([
- .release(major: 26, minor: 1), .atLeast(major: 26, minor: 4),
++ .release(major: 26, minor: 1), .atLeast(major: 26, minor: 4), .major(18),
+ ])),
),
],
requires: ["vphone.kernel.cfw"],