Run a virtual iPhone on an Apple Silicon Mac.
Swift
Ask the host for paravirtual GPU binary version 252 (Task3), opt-in
Arbifox640f4fdd9cf6
diff --git a/Research/0_binary_patch_comparison.md b/Research/0_binary_patch_comparison.mdindex 45ff0932..da4d1938 100644--- a/Research/0_binary_patch_comparison.md+++ b/Research/0_binary_patch_comparison.md@@ -761,6 +761,7 @@ Apple's ROM and this patch. See `Firmware/openavb_boot_rom.md`.| JB-29 | C | `patch_fpfs_scoped_vnode_open` | Sandbox MACF `mpo_vnode_check_open` (`ops[267]`) → per-process trampoline code cave | **iOS-27 random-respring fix (fpfs balloon).** JB-09 blanket-neuters `mpo_vnode_check_open` (`ops[267]` → allow) so processes can read `/var/jb`. But FileProvider's fpfs parent-walk (`fpfs_pkg_fd_lookup` → `openbyid` climbing via `getattrlistat(ATTR_CMN_PAROBJID)`) uses the stock check's EACCES at the domain-container boundary as its terminus; neutered, the walk climbs unbounded → `ResolverService` (FileProviderResolver) balloons to ~12 GB → `vm-compressor-space-shortage` jetsam → backboardd killed → **respring** (seen on 27b4/24A5390f). Fix keeps the global bypass and enforces the real check for the FileProvider daemons only: on 27, `ops[267]` is left un-neutered (removed from JB-09's blanket list — conditional `if !applyIOS27` in `patchSandboxHooksExtended`), then retargeted to a 20-insn code-cave trampoline that inlines `current_proc` (`mrs tpidr_el1` → `ldr [+0x3F0]` uthread → `ldr [+0x18]` proc), loads `p_comm` (`+0x56C`), compares the first 8 bytes to `"Resolver"`/`"fileprov"`, and on match `b`s to the real `vnode_check_open` (restores the terminus) else returns allow (`mov x0,#0 ; ret` → `/var/jb` reads + Sileo/TrollStore icons unaffected). Register-only (x8–x10), no frame/call (~18 insns/open). Struct offsets recovered via the VZ gdb stub on vphone600; cave bytes from the Keystone-backed `ARM64Encoder`, verified by Capstone round-trip; the `ops[267]` retarget preserves the auth-rebase high bits (same encoder family as JB-09). **VALIDATED on-device (2026-07-23, `17,3_27.0_24A5390f` + cloudOS 26.4, JB, `setup_machine` deploy): resprings stop; Sileo/TrollStoreLite icons render.** Backward-compat: a 26.5 base is unaffected (`ops[267]` still blanket-neutered there) — verified byte-identical kernelcache pre-vs-post (`cmp` clean, `sha256` unchanged). See `KernelJBPatchFpfsScopedOpen.swift`. | Y || JB-30 | B | `patchParavirtDisplayRefreshRate` (record `kernel-cfw-display_promotion`; introduced as `kernel-exp-display_refresh_120hz`, renamed when `standard` turned it on) | `AppleParavirtDisplay::createDisplayAttributes` (AppleParavirtGPUIOGPUFamily), the per-mode timing element call | **ProMotion: 120 Hz display timing (on in `standard` since 2026-10-09; it shipped opt-in from 2.4.2).** The host VM service builds its one `PGDisplayMode` with a constant 60.0 Hz and writes it into the display shared state page as a 16-byte entry (u16 width, u16 height, u32 refresh in 16.16 Hz, flags); the guest turns each entry into an IOAV timing element with `ldurh w1,[xN,#-8]; ldurh w2,[xN,#-6]; ldur w3,[xN,#-4]; bl`. The `ldur w3` becomes `movz w3,#120,lsl #16`. Anchor: the `createDisplayAttributes` logger cstring (all refs in one function) + the only w1/w2/w3 load triple off one base at -8/-6/-4 ahead of a call. Gated by `KernelCustomFirmwarePatcher.applyProMotion`, set from the plan. See `Research/Guest/display_refresh_rate.md`. | Y || JB-31 | C | `patchParavirtUserClientsNarrow` (records `kernel-cfw-paravirt_user_clients.redirect` / `.cave`; introduced as `kernel-exp-paravirt_user_clients`, renamed when `standard` turned it on) | Same IOUserClient Sandbox gate; the deny block's `ldr Xt,[sp,#imm]` eight bytes before the fail-log `adrp` | **Paravirtual device access on a 26.x / 18.x base (on in `standard` since 2026-10-04; it shipped opt-in).** Narrow replacement for the broad gate-off: at the deny point the class-name C string is already in x0, so a code-cave trampoline reads its first eight bytes and branches to the gate's NotPermitted allow target only for `ApplePar` / `AppleVid` / `AppleVir` / `IOSurfac` (AppleParavirt\*, AppleVideoToolboxParavirt\*, AppleVirtIO\*, IOSurfaceAcceleratorParavirtClient); every other denial runs the displaced `ldr` and falls through to the real deny. Fixes `MTLCreateSystemDefaultDevice()` nil in daemons/CLI and the VideoToolbox/ANE/IOSurface denials (upstream issue #22) without opening the rest. Cave words verified by clang/as + capstone round-trip; the two `b` words via `ARM64Encoder`. Gated by `KernelCustomFirmwarePatcher.applyParavirtUserClients`, set from the plan when `applyIOS27` is false. See `Research/Guest/gpu_acceleration.md`. | Y |+| JB-32 | B | `patchParavirtTask3Version` (records `kernel-exp-paravirt_gpu_task3.request` / `.features`) | `setupVersion` in AppleParavirtGPUIOGPUFamily: the version request `mov wR,#imm` and the `mov x0, xGranted; bl` that computes the guest's own features | **Paravirtual GPU binary version 252 (Task3), opt-in research (blocked in every shipped preset, added 2026-10-19).** The cloudOS 26.4 kext asks the host for 245; the host's `getAPVFeaturesForVersion` adds supportsDisplayBrightnessCaps at 250, supportsHDRContentHeadroom at 251 and supportsTask3 at 252, and Task3 makes `-[PGRemoteTask calculateCachePathAndExtension:taskRoot:]` name a task's host shader cache after bytes 0x28–0x3b of the guest task root page when they are not all zero. The request immediate becomes 252, and the guest's feature computation is fed the original immediate, because the guest's own table stops at the version it was built for and would step back down. Anchor: the `setupVersion` logger cstring (all refs in one function), a lone `mov wR,#imm` stored to a just-loaded device base, the 32-bit readback of the same displacement, and the `mov x0, xGranted` immediately before a `bl`. Replacement words via `ARM64Encoder.encodeMovzW`. Gated by `KernelCustomFirmwarePatcher.applyParavirtTask3`. Verified on `Lychee` (iPhone17,3 27.0.1, cloudOS 26.4, macOS 27.0.1 host): both sites found once, host logs `Guest requested binary version: 252, setting binary version to: 252`, 0 GPU restarts, and task cache directories keep random names because the guest still writes zeros there. A host that does not know 252 makes the kext step down from that host's maximum minus one; not tested. See `Research/Guest/gpu_acceleration.md`. | Y |### EXP-Only Kernel Methods (Reference List)diff --git a/Research/Guest/gpu_acceleration.md b/Research/Guest/gpu_acceleration.mdindex 0a4d1704..588d31c9 100644--- a/Research/Guest/gpu_acceleration.md+++ b/Research/Guest/gpu_acceleration.md@@ -215,6 +215,11 @@ So this cannot be fixed by a guest firmware patch, which is the only thinggiving the guest driver code to populate it would be new kext code — but itwould still only matter if the host read it, which it does not.+**Correction (2026-10-19):** the guest does switch that byte. It is+supportsTask3, set by the binary version the guest kext negotiates, and a+kernel patch can ask for it. See "The keyed host cache: binary version 252+(Task3)" below. The rest of this paragraph predates that.+Reaching the host cache would mean changing the host ParavirtualizedGraphicsframework. That is Apple's code on the sealed system volume, and the shippedbundle runs only system libraries, so it is out of scope. The post-boot@@ -506,6 +511,57 @@ clang`) and zsh drivers. The method to repeat: watch the guest log for `Tryingto restart GPU` and capture backboardd's syslog while Camera launches. A resultwithout the restart count is worthless, and so is one that stops before Camera.+#### The keyed host cache: binary version 252 (Task3), 2026-10-19++The host half can be fixed the way Apple designed it: a task cache named after+the guest process, which therefore persists, instead of one named at random.++Where the feature byte comes from. `-[_PGDevice setBinaryVersion:]` fills the+host's `APVFeatures` from the version the guest kext asks for+(`getAPVFeaturesForVersion`, a ladder reached through a jump table for versions+200–252). Field names from the ivar's type encoding in the GPU task binary:++| Offset | Field | First version |+| --- | --- | --- |+| `0x33` | supportsMultipleDisplays | 245 |+| `0x34` | supportsDisplayBrightnessCaps | 250 |+| `0x35` | supportsHDRContentHeadroom | 251 |+| `0x36` | supportsTask3 | 252 |++The host logs the request: `Guest requested binary version: 245, setting+binary version to: 245` for the cloudOS 26.4 kext.++What 250–252 change on the host (macOS 27.0.1), from every read of those bytes:+`0x34` only in `-[_PGDisplayNub testUpdateBrightnessCaps:]`; `0x35` nowhere+found; `0x36` only in `calculateCachePathAndExtension:`. The GPU task process+reads its copy of the struct in one place, the handshake, and only+supportsArgumentBuffers. The version itself (`_binaryVersion`, `+0x4e0`) is+read only for MMIO readback and suspend/resume.++The guest side, in AppleParavirtGPUIOGPUFamily (cloudOS 26.4):++- `setupVersion` writes its version to device register `+0x34`, reads back what+ the host granted, and builds its own feature table from it. That table stops+ at 245, so a granted 252 is invalid to the guest and it steps back down.+ Nothing else in the kext reads the stored version (`+0x51c`).+- Each task's root page is a fresh 16 KiB buffer. The kext writes a 40-byte+ header (`0x00`–`0x27`; the word at `+4` is 2), and bytes `0x28`–`0x3b`, the+ ones Task3 reads as the key, stay zero.++Phase 1, `kernel-exp-paravirt_gpu_task3`: the request becomes 252 and the+guest's features are computed from its original 245. Verified on `Lychee`+(installed with `cfw update-kernel`): the host logs `Guest requested binary+version: 252, setting binary version to: 252`, 0 GPU restarts, Settings opens+and closes normally, and task directories still have 20-character random names,+because the key bytes are zero. On its own it changes nothing visible; it is+the switch the identity write needs.++Phase 2, not done: write a stable per-program identity (20 bytes, such as a hash+of the process's code signature or name) at `0x28` when the kext fills the+header. The kext never touches process identity, and the kernel has no symbols,+so this needs a code-cave patch calling kernel functions found by semantic+anchors.+## Heap Textures Have No CPU LayoutOn the iPadOS 26.6.2 iPad Pro guest (cloudOS 26.4 driver, `standard` preset),diff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/CustomFirmwarePatches/Drivers/KernelCustomFirmwarePatchParavirtTask3.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/CustomFirmwarePatches/Drivers/KernelCustomFirmwarePatchParavirtTask3.swiftnew file mode 100644index 00000000..2a37e00f--- /dev/null+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/CustomFirmwarePatches/Drivers/KernelCustomFirmwarePatchParavirtTask3.swift@@ -0,0 +1,174 @@+// KernelCustomFirmwarePatchParavirtTask3.swift — CFW kernel patch: ask the host+// for paravirtual GPU binary version 252 while the guest keeps the features of+// the version it was built for.+//+// Background: the guest GPU kext (AppleParavirtGPUIOGPUFamily) negotiates a+// binary version with ParavirtualizedGraphics at start-up, and the host derives+// its APVFeatures from it (`getAPVFeaturesForVersion`), a ladder where newer+// versions add flags. The cloudOS 26.4 kext asks for 245. 250 adds+// supportsDisplayBrightnessCaps, 251 supportsHDRContentHeadroom and 252+// supportsTask3, which makes `-[PGRemoteTask calculateCachePathAndExtension:+// taskRoot:]` name a task's host shader cache after 20 guest bytes (task root+// page, offset 0x28) when they are not all zero, instead of 10 random bytes.+// Host-side, the 250 flag is read only by a brightness test hook and the 251+// flag by nothing. See Research/Guest/gpu_acceleration.md.+//+// The kext's `setupVersion` path:+//+// mov wR, #<version> ; the version this kext was built for+// str wR, [xSelf, #ivar]+// ldr xRegs, [xSelf, #regs]+// str wR, [xRegs, #reg] ; request+// ...+// ldr wV, [xRegs, #reg] ; what the host granted+// ...+// mov x0, xV ; guest-side features for that version+// bl <guest getAPVFeaturesForVersion>+//+// The guest's own table stops at the version it was built for, so a granted 252+// would come back invalid and the kext would step down again. The patch asks for+// 252 and computes the guest's features from the original immediate, so the+// guest keeps its behaviour while the host runs its Task3 path.+//+// Anchor (no offsets): the `setupVersion` cstring, whose references all sit in+// that one function; inside it, the request store and the readback of the same+// register displacement, and the granted version passed to the next call.++import Foundation+import VPhonePatchKit++extension KernelCustomFirmwarePatcher {+ /// The binary version whose host features include supportsTask3.+ private static let paravirtTask3Version: UInt16 = 252++ @discardableResult+ func patchParavirtTask3Version() -> Bool {+ log("\n[CFW]AppleParavirtGPU binary version: request \(Self.paravirtTask3Version), keep the guest's own features")++ guard let (ks, ke) = kernTextRange else {+ log(" [-] no kernel text range")+ return false+ }+ guard let nameOff = buffer.findString("setupVersion") else {+ log(" [-] setupVersion cstring not found")+ return false+ }+ let refs = findStringRefs(nameOff, in: (ks, ke))+ let starts = Set(refs.compactMap { findFunctionStart($0.adrpOff) })+ guard starts.count == 1, let funcStart = starts.first,+ let lastRef = refs.map(\.adrpOff).max()+ else {+ log(" [-] setupVersion not resolved to one function (found \(starts.count))")+ return false+ }++ var hits: [(request: Int, rd: UInt32, version: UInt16, featureArg: Int)] = []+ var off = funcStart+ while off < lastRef {+ defer { off += 4 }+ guard let (rd, version) = plainMoveW(at: off),+ version >= 200, version < Self.paravirtTask3Version,+ let regDisp = requestStore(of: rd, after: off),+ let granted = readback(disp: regDisp, after: off),+ let featureArg = versionArgument(granted.register, after: granted.offset)+ else { continue }+ hits.append((off, rd, version, featureArg))+ }++ guard hits.count == 1, let hit = hits.first else {+ log(" [-] version request not found uniquely (found \(hits.count))")+ return false+ }+ guard let request = ARM64Encoder.encodeMovzW(rd: hit.rd, imm16: Self.paravirtTask3Version),+ let guestVersion = ARM64Encoder.encodeMovzW(rd: 0, imm16: hit.version)+ else {+ log(" [-] could not encode the version constants")+ return false+ }++ emit(+ hit.request,+ request,+ patchID: FirmwarePatchSetCatalog.paravirtTask3Patch + ".request",+ virtualAddress: fileOffsetToVA(hit.request),+ description: "binary version request mov w\(hit.rd),#\(hit.version) -> #\(Self.paravirtTask3Version)",+ )+ emit(+ hit.featureArg,+ guestVersion,+ patchID: FirmwarePatchSetCatalog.paravirtTask3Patch + ".features",+ virtualAddress: fileOffsetToVA(hit.featureArg),+ description: "guest features from the granted version -> mov w0,#\(hit.version)",+ )+ return true+ }++ /// The register number and value when the instruction at `off` is a lone+ /// `mov wN, #imm` (no `movk` after it).+ private func plainMoveW(at off: Int) -> (UInt32, UInt16)? {+ guard let insn = disasAt(off), insn.mnemonic == "mov",+ let ops = insn.detail?.operands, ops.count == 2,+ ops[0].type == .register, ops[1].type == .immediate,+ (0 ... 0xFFFF).contains(ops[1].imm),+ let rd = (0 ... 30).first(where: { ARM64Register.w($0) == ops[0].reg }),+ disasAt(off + 4)?.mnemonic != "movk"+ else { return nil }+ return (UInt32(rd), UInt16(ops[1].imm))+ }++ /// The displacement of the register store `str wN, [xB, #disp]` that follows+ /// within four instructions, where `xB` was just loaded from memory: the+ /// version request written to the device.+ private func requestStore(of rd: UInt32, after off: Int) -> Int32? {+ let reg = ARM64Register.w(Int(rd))+ var loadedBases: Set<ARM64Register> = []+ for delta in stride(from: 4, through: 16, by: 4) {+ guard let insn = disasAt(off + delta), let ops = insn.detail?.operands else { return nil }+ if insn.mnemonic == "ldr", ops.count == 2, ops[0].type == .register, ops[1].type == .memory {+ loadedBases.insert(ops[0].reg)+ }+ if insn.mnemonic == "str", ops.count == 2, ops[0].type == .register, ops[0].reg == reg,+ ops[1].type == .memory, ops[1].mem.index == .invalid, loadedBases.contains(ops[1].mem.base)+ {+ return ops[1].mem.disp+ }+ if insn.isJump || insn.isCall || insn.isReturn { return nil }+ }+ return nil+ }++ /// The 32-bit load of the same device register within the next 12+ /// instructions: what the host granted.+ private func readback(disp: Int32, after off: Int) -> (register: ARM64Register, offset: Int)? {+ for delta in stride(from: 8, through: 48, by: 4) {+ guard let insn = disasAt(off + delta), let ops = insn.detail?.operands else { return nil }+ if insn.mnemonic == "ldr", ops.count == 2, ops[0].type == .register,+ (0 ... 30).contains(where: { ARM64Register.w($0) == ops[0].reg }),+ ops[1].type == .memory, ops[1].mem.index == .invalid, ops[1].mem.disp == disp+ {+ return (ops[0].reg, off + delta)+ }+ if insn.isReturn || insn.mnemonic == "b" || insn.mnemonic == "br" { return nil }+ }+ return nil+ }++ /// The `mov x0, xV` immediately before a `bl`, within the next 16+ /// instructions, passing the granted version on.+ private func versionArgument(_ granted: ARM64Register, after off: Int) -> Int? {+ guard let number = (0 ... 30).first(where: { ARM64Register.w($0) == granted }) else { return nil }+ let wide = ARM64Register.x(number)+ for delta in stride(from: 4, through: 64, by: 4) {+ guard let insn = disasAt(off + delta), let ops = insn.detail?.operands else { return nil }+ if insn.mnemonic == "mov", ops.count == 2,+ ops[0].type == .register, ops[0].reg == .x(0),+ ops[1].type == .register, ops[1].reg == wide,+ disasAt(off + delta + 4)?.mnemonic == "bl"+ {+ return off + delta+ }+ if insn.isReturn || insn.mnemonic == "b" || insn.mnemonic == "br" { return nil }+ }+ return nil+ }+}diff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/KernelCustomFirmwarePatcher.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/KernelCustomFirmwarePatcher.swiftindex 25df12f3..aed4c1f1 100644--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/KernelCustomFirmwarePatcher.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Kernel/KernelCustomFirmwarePatcher.swift@@ -46,6 +46,10 @@ public final class KernelCustomFirmwarePatcher: KernelCustomFirmwarePatcherBase,/// writes what the reference records were taken from.public var applyParavirtUserClients = false+ /// Paravirtual GPU binary version 252 (Task3). Opt-in; false here so a patcher+ /// built directly writes what the reference records were taken from.+ public var applyParavirtTask3 = false+public func findAll() throws -> [PatchRecord] {parseMachO()buildADRPIndex()@@ -119,6 +123,11 @@ public final class KernelCustomFirmwarePatcher: KernelCustomFirmwarePatcherBase,patchParavirtDisplayRefreshRate()}+ // Opt-in: ask the host for the Task3 binary version.+ if applyParavirtTask3 {+ patchParavirtTask3Version()+ }+// Group CpatchCredLabelUpdateExecve()patchHookCredLabelUpdateExecve()diff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelCustomFirmwarePatchSet.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelCustomFirmwarePatchSet.swiftindex 6e2c572f..c851d1b5 100644--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelCustomFirmwarePatchSet.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareKernelCustomFirmwarePatchSet.swift@@ -317,6 +317,19 @@ public enum FirmwareKernelCustomFirmwarePatchSet {""",target: .firmware(.kernelcache),),++ // MARK: Paravirtual GPU++ VPhonePatchDeclaration(+ identifier: FirmwarePatchSetCatalog.paravirtTask3Patch,+ title: "GPU Task3 version",+ summary: """+ Research: the guest GPU driver asks the host for binary version 252 \+ (Task3) while keeping its own features, so the host can key each \+ guest process's shader cache instead of starting it empty.+ """,+ target: .firmware(.kernelcache),+ ),],requires: ["vphone.kernel.base"],provides: ["vphone.kernel.cfw"],diff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swiftindex 0545a54e..fa8a7328 100644--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift@@ -61,7 +61,7 @@ public enum FirmwarePatchSetCatalog {Set(FirmwareKernelFridaPatchSet.manifest.patches.map(\.identifier)).union(hypervisorConcealmentPatches).union(experimentalIdentityPatches)- .union([FirmwareKernelCustomFirmwarePatchSet.tvTPROPagers, misTrustAuthPatch, FirmwareGuestSystemPatchSet.settingsRootRows, FirmwareGuestSystemPatchSet.settingsSoftwareUpdate, FirmwareGuestSystemPatchSet.tvTPRO, FirmwareGuestSystemPatchSet.tvOTAUserland])+ .union([FirmwareKernelCustomFirmwarePatchSet.tvTPROPagers, misTrustAuthPatch, FirmwareGuestSystemPatchSet.settingsRootRows, FirmwareGuestSystemPatchSet.settingsSoftwareUpdate, FirmwareGuestSystemPatchSet.tvTPRO, FirmwareGuestSystemPatchSet.tvOTAUserland, paravirtTask3Patch])/// ProMotion: the 120 Hz timing for the paravirtual display.///@@ -78,6 +78,12 @@ public enum FirmwarePatchSetCatalog {/// `Research/Guest/display_refresh_rate.md`.public static let proMotionPatch = "kernel-cfw-display_promotion"+ /// Paravirtual GPU binary version 252 (Task3) with the guest keeping its own+ /// features: lets the host key each task's shader cache by guest-supplied+ /// bytes. Off unless a VM selects it. See+ /// `Research/Guest/gpu_acceleration.md`.+ public static let paravirtTask3Patch = "kernel-exp-paravirt_gpu_task3"+/// Identifiers a released bundle declared that a later one renamed, old to new.////// A VM's `PatchSelection.plist` and `PatchReceipt.plist` outlive the bundlediff --git a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swiftindex 41564dba..28f30078 100644--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift@@ -298,6 +298,7 @@ extension FirmwarePipeline {applyProMotion: applyProMotion,applyTVTPROPagers: isEnabled(FirmwareKernelCustomFirmwarePatchSet.tvTPROPagers, fallback: false),applyParavirtUserClients: applyParavirtUserClients,+ applyParavirtTask3: isEnabled(FirmwarePatchSetCatalog.paravirtTask3Patch, fallback: false),includeBase: includeKernelBase,includeCustomFirmware: includeKernelCustomFirmware,includeHypervisor: includeHypervisor,@@ -447,6 +448,7 @@ extension FirmwarePipeline {applyProMotion: Bool,applyTVTPROPagers: Bool,applyParavirtUserClients: Bool,+ applyParavirtTask3: Bool,includeBase: Bool,includeCustomFirmware: Bool,includeHypervisor: Bool,@@ -468,6 +470,7 @@ extension FirmwarePipeline {p.applyProMotion = applyProMotionp.applyTVTPROPagers = applyTVTPROPagersp.applyParavirtUserClients = applyParavirtUserClients+ p.applyParavirtTask3 = applyParavirtTask3p.gate = gatereturn p}diff --git a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/standard.plist b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/standard.plistindex 52f8f095..fe2ff2d6 100644--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/standard.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/standard.plist@@ -68,6 +68,7 @@<key>Patches</key><array><string>kernel-exp-frida_thread_set_state_entitlement_flag</string>+ <string>kernel-exp-paravirt_gpu_task3</string><string>kernel-exp-frida_vm_map_delete_immutable_code</string><string>kernel-exp-hv_vmm</string><string>dyld-exp-hv_vmm</string>diff --git a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plistindex a59cab73..8304b4d1 100644--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist@@ -68,6 +68,7 @@<key>Patches</key><array><string>kernel-exp-frida_thread_set_state_entitlement_flag</string>+ <string>kernel-exp-paravirt_gpu_task3</string><string>kernel-exp-frida_vm_map_delete_immutable_code</string><string>kernel-exp-hv_vmm</string><string>dyld-exp-hv_vmm</string>diff --git a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plistindex 7460860e..6c5f3872 100644--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist@@ -68,6 +68,7 @@<key>Patches</key><array><string>kernel-exp-frida_thread_set_state_entitlement_flag</string>+ <string>kernel-exp-paravirt_gpu_task3</string><string>kernel-exp-frida_vm_map_delete_immutable_code</string><string>kernel-exp-hv_vmm</string><string>dyld-exp-hv_vmm</string>