Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

refactor: use PascalCase source folders

Lakr8157664e0022
diff --git a/.gitignore b/.gitignore
index 8e1249e6..51972828 100644
--- a/.gitignore
+++ b/.gitignore
@@ -335,7 +335,7 @@ __marimo__/
/references/
scripts/vphoned/vphoned
/cfw_input/
-sources/VPhoneCore/VPhoneBuildInfo.swift
+Sources/VPhoneCore/VPhoneBuildInfo.swift
# libarchive drops zero-byte tar.XXXXXXXX files in the process's working
# directory while restoring macOS metadata — a relative mkstemp template in
# its own sources, so TMPDIR does not redirect them. Harmless, but they should
diff --git a/AGENTS.md b/AGENTS.md
index 62d189ec..b092146c 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -9,7 +9,7 @@ Virtual iPhone boot tool using Apple's Virtualization.framework with PCC researc
- **Boot (GUI):** `vphone-cli vm launch <name>`
- **Boot (DFU):** `vphone-cli vm launch <name> --dfu`
- **AMFI refuses `vphone-vm`?** Use the bundled `vphone-amfi-allow` helper as shown in `docs/guides/host-setup.md`. Repeat after every build because it allowlists cdhashes. See Key Patterns.
-- **Restore:** `vphone-cli restore`, in process. Vendored libirecovery + idevicerestore (`sources/MobileRecoveryCore`, `sources/MobileRestoreCore`) over the `AppleMobileDeviceLibrary` xcframeworks. No interpreter, no environment to provision, no setup step. See `research/restore/p2_restore_off_python.md`.
+- **Restore:** `vphone-cli restore`, in process. Vendored libirecovery + idevicerestore (`Sources/MobileRecoveryCore`, `Sources/MobileRestoreCore`) over the `AppleMobileDeviceLibrary` xcframeworks. No interpreter, no environment to provision, no setup step. See `research/restore/p2_restore_off_python.md`.
- **Platform:** macOS 15+ (Sequoia). `vphone-vm` needs amfid to accept its private entitlements: either SIP off with `amfi_get_out_of_my_way=1`, or SIP on (`--without debug`) plus an allowlist bypass the user runs. Both are in `docs/guides/host-setup.md`; neither is installed by this project.
- **Language:** Swift 6.0 (SwiftPM), private APIs via [Dynamic](https://github.com/mhdhejazi/Dynamic). This package's own manifest is `swift-tools-version:6.0`, but the **toolchain floor is Swift 6.2**: `libcapstone-spm` declares 6.2 so that it can reach `CSetting.disableWarning` instead of `.unsafeFlags`, which is what lets it be depended on by version at all.
- **Dependencies:** Host and guest SwiftPM packages resolve dependencies by URL and version; `Package.resolved` pins the full graphs. The only git submodule is `scripts/repos/insert_dylib`, a build-time test reference. **No Python anywhere, and no Homebrew package at runtime** — see Tiers below.
@@ -42,10 +42,10 @@ See `research/` for detailed firmware pipeline, component origins, patch breakdo
```
Package.swift # SwiftPM targets and tests
-sources/
+Sources/
├── vphone.entitlements # Private API entitlements (7 keys) — signed ONTO vphone-vm ONLY
│
-├── vphone-cli/ # Entry point. NO entitlements, so it always launches.
+├── VPhoneCLI/ # Entry point. NO entitlements, so it always launches.
│ │ # Argument parsing + orchestration; spawns the others.
│ ├── main.swift # Parses, and forwards `boot` to vphone-vm
│ ├── VPhoneCLI.swift # Root command, patch-firmware/patch-component
@@ -68,10 +68,10 @@ sources/
│ ├── VPhoneVirtualMachineSelection.swift # Interactive VM picker
│ └── VPhoneProgressBar.swift # Terminal progress rendering
│
-├── vphone-vm/ # The ONLY entitled binary — a parse and a run loop
+├── VPhoneVM/ # The ONLY entitled binary — a parse and a run loop
│ └── main.swift # VPhoneBootCLI.parseOrExit() → VPhoneGuestApp.run()
│
-├── vphone-archive/ # Thin shell over VPhoneArchive
+├── VPhoneArchiveCLI/ # Thin shell over VPhoneArchive
│ └── main.swift # extract / create / decompress / list / cat / fingerprint
│
├── VPhoneCore/ # No UI, no guest — what both entry points share
@@ -102,7 +102,7 @@ sources/
│ ├── libirecovery.c # Upstream's bytes, unmodified. master, NOT 1.3.1 — the
│ │ # release predates the iPhone99,11 / vresearch101ap entry
│ │ # and without it a restore cannot identify the vphone VM
-│ ├── include/libirecovery.h # Upstream's public header
+│ ├── Include/libirecovery.h # Upstream's public header
│ └── config.h # Ours — what ./configure concludes on macOS
│
├── MobileRestoreCore/ # idevicerestore, vendored C, built IDEVICERESTORE_NOMAIN
@@ -110,7 +110,7 @@ sources/
│ ├── vphone_restore_bridge.c # Ours — the library entry point upstream's main() was
│ ├── vphone_zip_stub.c + zip.h # Ours — libzip has no counterpart here; see zip.h's header
│ ├── config.h # Ours
-│ └── include/vphone_restore_bridge.h # The only header a dependent sees
+│ └── Include/vphone_restore_bridge.h # The only header a dependent sees
│
├── VPhoneRestore/ # Swift over those two C targets — replaced the Python bridge
│ ├── VPhoneRecoveryProbe.swift # irecv_open_with_ecid_and_attempts + timeout polling
@@ -197,11 +197,11 @@ research/ # Detailed firmware/patch documentation
### Key Patterns
- **Three host binaries, one of them entitled.** `vphone-cli` carries no entitlements, so it launches on any host and is always there to explain what is wrong. `vphone-vm` holds all 7 private keys and is the only thing amfid can refuse. `vphone-archive` does the unpacking. **Do not sign `vphone-cli` with entitlements** — that is how it used to be, and it is why the entry point could not start without a bypass already running.
-- **The AMFI bypass is ours, and it writes heap, not code.** `vphone-amfi-allow` (`sources/vphone-amfi-allow/`, this project's copy of [Lakr233/amfi-allow](https://github.com/Lakr233/amfi-allow)) puts the cdhashes of both `vphone-vm` copies into `/Library/Preferences/com.apple.security.coderequirements.plist` — a file AMFI already reads — and flips one byte of `_isRunningInternalBuild` in amfid's `AMFIRequirementsManager` singleton so it consults that file. It is an **allowlist**, scoped to the cdhashes you name; do not describe it as a global switch. The helper's `allow`, `status`, and `off` commands manage it; see `docs/guides/host-setup.md`. It is a **per-build** step, because a cdhash changes with every signature. It must be **arm64e** to match amfid's slice, and `scripts/build.sh` builds it with clang. The heap write is the load-bearing detail: `vphone-letmein` and LLDB-based tools dirty an executable page, and on a host with `vm.cs_system_enforcement = 1` the kernel kills amfid for that and takes the guest with it.
+- **The AMFI bypass is ours, and it writes heap, not code.** `vphone-amfi-allow` (`Sources/VPhoneAMFIAllow/`, this project's copy of [Lakr233/amfi-allow](https://github.com/Lakr233/amfi-allow)) puts the cdhashes of both `vphone-vm` copies into `/Library/Preferences/com.apple.security.coderequirements.plist` — a file AMFI already reads — and flips one byte of `_isRunningInternalBuild` in amfid's `AMFIRequirementsManager` singleton so it consults that file. It is an **allowlist**, scoped to the cdhashes you name; do not describe it as a global switch. The helper's `allow`, `status`, and `off` commands manage it; see `docs/guides/host-setup.md`. It is a **per-build** step, because a cdhash changes with every signature. It must be **arm64e** to match amfid's slice, and `scripts/build.sh` builds it with clang. The heap write is the load-bearing detail: `vphone-letmein` and LLDB-based tools dirty an executable page, and on a host with `vm.cs_system_enforcement = 1` the kernel kills amfid for that and takes the guest with it.
- **Guest launches go through `VPhoneGuestLaunchPlanner`** (`VPhoneCore`). It resolves `vphone-vm` as a sibling of the running image — never through `PATH` — checks its two PV=3 entitlements, then probes with `vphone-vm --help` for SIGKILL. A refusal is reported with the exact command the user has to run; the planner never arranges a bypass itself. Never spawn the guest directly.
- **Restore runs in `vphone-cli`'s own process.** `VPhoneRestore` calls `vphone_restore_run()` in `MobileRestoreCore`; there is no subprocess, no bridge script and no environment to resolve first. The three commands the old Python bridge exposed became `restore --get-shsh`, `restore` and `restore --offline`; its fourth, `usbmux-list`, had no call site and was not ported. `research/restore/p2_restore_off_python.md` has the decision and the behaviour table.
- **Private API access:** Via [Dynamic](https://github.com/mhdhejazi/Dynamic) library (runtime method dispatch from pure Swift). No ObjC bridge.
-- **App lifecycle:** `vphone-vm/main.swift` → `VPhoneGuestApp.run()` → `NSApplication` + `VPhoneVirtualMachineAppDelegate`. Entry points hold no logic.
+- **App lifecycle:** `VPhoneVM/main.swift` → `VPhoneGuestApp.run()` → `NSApplication` + `VPhoneVirtualMachineAppDelegate`. Entry points hold no logic.
- **Configuration:** `ArgumentParser` → `VPhoneBootCLI` (in `VPhoneCore`, parsed by both binaries) → `VPhoneVirtualMachine.Options` → `VZVirtualMachineConfiguration`.
- **Guest daemon (vphoned):** SwiftNIO HTTP/WebSocket API on VSOCK 1339, using IcliKit for common device operations. The complete pinned icli CLI is installed inside the guest and available through `icli.execute` with an argv array. `VPhoneGuestControl` reaches HTTP directly over VSOCK; the former length-prefixed service on 1337 is removed. Camera data remains on 1338. The host exposes 1339 only when boot is given `--api-listen`.
- **Menu system:** `VPhoneMenuController` + per-menu extensions (Keys, Type, Location, Connect, Install, Record).
@@ -231,7 +231,7 @@ research/ # Detailed firmware/patch documentation
### Patchers
-Every patcher is Swift, in `sources/FirmwarePatcher`. The boot chain and kernel
+Every patcher is Swift, in `Sources/FirmwarePatcher`. The boot chain and kernel
run through `patch-firmware`; the CFW/DSC patchers are `vphone-cli cfw <verb>`,
one verb per patch, driven by `scripts/cfw_install*.sh` only.
@@ -248,7 +248,7 @@ There is none, and adding any is a regression.
heredoc, and nothing resolves a `python3` at runtime. `git ls-files '*.py'`
returns nothing; that is the standing check.
- There is no environment to activate and no dependency list to install. The
- restore backend was the last holdout and is now `sources/VPhoneRestore` over
+ restore backend was the last holdout and is now `Sources/VPhoneRestore` over
two vendored C targets — see `research/restore/p2_restore_off_python.md`.
- A patch, a probe, a format reader or a device protocol belongs in Swift,
where it is built, signed, gated by `scripts/check_aux.sh` and tested with
@@ -257,7 +257,7 @@ There is none, and adding any is a regression.
`scripts/check_aux.sh` cannot see.
- There is no counter-example left. `amfidont` used to be cited as one — a
third-party tool the user installed into their own Python — and it is gone
- too: the AMFI bypass is `sources/vphone-amfi-allow`, one C file built by
+ too: the AMFI bypass is `Sources/VPhoneAMFIAllow`, one C file built by
clang, and it needs no interpreter, no LLDB and no Xcode.
### Kernel patcher guardrails
diff --git a/Package.swift b/Package.swift
index ccbb7d2f..c147f835 100644
--- a/Package.swift
+++ b/Package.swift
@@ -43,7 +43,7 @@ let package = Package(
.package(url: "https://github.com/apple/swift-nio.git", exact: "2.83.0"),
],
targets: [
- .target(name: "VPhoneAPIKit", path: "sources/VPhoneAPIKit"),
+ .target(name: "VPhoneAPIKit", path: "Sources/VPhoneAPIKit"),
.target(
name: "FirmwarePatcher",
dependencies: [
@@ -60,14 +60,14 @@ let package = Package(
"VPhoneArchive",
"VPhoneCore",
],
- path: "sources/FirmwarePatcher",
+ path: "Sources/FirmwarePatcher",
),
.target(
name: "VPhoneCore",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
],
- path: "sources/VPhoneCore",
+ path: "Sources/VPhoneCore",
linkerSettings: [
.linkedFramework("Virtualization"),
],
@@ -83,7 +83,7 @@ let package = Package(
.product(name: "LibArchive", package: "libarchive.xcframework"),
"VPhoneCore",
],
- path: "sources/VPhoneArchive",
+ path: "Sources/VPhoneArchive",
),
// Ad-hoc and PKCS#12 Mach-O code signing, byte for byte what ldid
// writes. It replaces ldid, which is the only program this project
@@ -93,7 +93,7 @@ let package = Package(
// PKCS#12 and the CMS.
.target(
name: "VPhoneSign",
- path: "sources/VPhoneSign",
+ path: "Sources/VPhoneSign",
linkerSettings: [
.linkedFramework("Security"),
],
@@ -117,13 +117,13 @@ let package = Package(
// libusbmuxd, as prebuilt xcframeworks.
.product(name: "AppleMobileDeviceLibrary", package: "AppleMobileDeviceLibrary"),
],
- path: "sources/MobileRecoveryCore",
+ path: "Sources/MobileRecoveryCore",
// Upstream's LGPL-2.1 text. It ships with the source; it does not
// compile, so SwiftPM has to be told it is not an input.
exclude: ["COPYING"],
- publicHeadersPath: "include",
+ publicHeadersPath: "Include",
cSettings: [
- // config.h sits beside libirecovery.c rather than in include/,
+ // config.h sits beside libirecovery.c rather than in Include/,
// so it stays out of the module's umbrella and no dependent
// ever sees a PACKAGE_VERSION it did not ask for.
.headerSearchPath("."),
@@ -143,7 +143,7 @@ let package = Package(
// and the last reason this repository has a venv. Upstream is a
// program; here it is a library, built with IDEVICERESTORE_NOMAIN so
// its main(), getopt table and signal handling are excluded, and
- // driven through sources/MobileRestoreCore/include/vphone_restore_bridge.h.
+ // driven through Sources/MobileRestoreCore/Include/vphone_restore_bridge.h.
//
// Two files in this target are not upstream's and both say so at the
// top: config.h, which is what ./configure would have written, and the
@@ -161,17 +161,17 @@ let package = Package(
// libimobiledevice, its glue, libplist, libusbmuxd, libtatsu.
.product(name: "AppleMobileDeviceLibrary", package: "AppleMobileDeviceLibrary"),
],
- path: "sources/MobileRestoreCore",
+ path: "Sources/MobileRestoreCore",
// Upstream's LGPL-2.1 text, which ships with the source and does
// not compile.
exclude: ["COPYING"],
- publicHeadersPath: "include",
+ publicHeadersPath: "Include",
cSettings: [
// Reaches config.h and the libzip stub, both of which sit
- // beside the .c files rather than in include/ — include/ is
+ // beside the .c files rather than in Include/ — Include/ is
// the generated module's umbrella, and neither a second
// PACKAGE_VERSION nor a fake <zip.h> belongs in a header a
- // dependent imports. include/ holds the bridge header alone.
+ // dependent imports. Include/ holds the bridge header alone.
.headerSearchPath("."),
.define("HAVE_CONFIG_H", to: "1"),
.define("IRECV_STATIC", to: "1"),
@@ -201,7 +201,7 @@ let package = Package(
"MobileRecoveryCore",
"MobileRestoreCore",
],
- path: "sources/VPhoneRestore",
+ path: "Sources/VPhoneRestore",
linkerSettings: [
.linkedLibrary("z"),
],
@@ -219,7 +219,7 @@ let package = Package(
.product(name: "NIOPosix", package: "swift-nio"),
"VPhoneCore",
],
- path: "sources/VPhoneVirtualMachineKit",
+ path: "Sources/VPhoneVirtualMachineKit",
linkerSettings: [
.linkedFramework("Virtualization"),
.linkedFramework("AppKit"),
@@ -228,7 +228,7 @@ let package = Package(
.linkedFramework("AVFoundation"),
],
),
- // The only binary signed with sources/vphone.entitlements.
+ // The only binary signed with Sources/vphone.entitlements.
.executableTarget(
name: "vphone-vm",
dependencies: [
@@ -236,7 +236,7 @@ let package = Package(
"VPhoneCore",
"VPhoneVirtualMachineKit",
],
- path: "sources/vphone-vm",
+ path: "Sources/VPhoneVM",
// Swift 6.4 may autolink compatibility dylibs for generic code in
// dependencies even when this executable has no symbol references.
// Strip those unused load commands so the shipped app remains
@@ -264,7 +264,7 @@ let package = Package(
"VPhoneCore",
"VPhoneRestore",
],
- path: "sources/vphone-cli",
+ path: "Sources/VPhoneCLI",
),
.executableTarget(
name: "vphone-archive",
@@ -273,7 +273,7 @@ let package = Package(
"VPhoneArchive",
"VPhoneCore",
],
- path: "sources/vphone-archive",
+ path: "Sources/VPhoneArchiveCLI",
),
// The SUDO_ASKPASS program, and the probe behind `VPhoneSudo.route()`.
// No ArgumentParser and no VPhoneCore: it is two verbs, it runs while
@@ -282,7 +282,7 @@ let package = Package(
// put AppKit under vphone-cli.
.executableTarget(
name: "vphone-ask-for-permission",
- path: "sources/vphone-ask-for-permission",
+ path: "Sources/VPhoneAskForPermission",
),
// `vphone-amfi-allow` is NOT here, and cannot be: SwiftPM emits arm64
// and it has to be arm64e to read amfid's ObjC runtime. `scripts/build.sh`
diff --git a/sources/AppIcon.icns b/Sources/AppIcon.icns
similarity index 100%
rename from sources/AppIcon.icns
rename to Sources/AppIcon.icns
diff --git a/sources/FirmwarePatcher/ARM64/ARM64Constants.swift b/Sources/FirmwarePatcher/ARM64/ARM64Constants.swift
similarity index 100%
rename from sources/FirmwarePatcher/ARM64/ARM64Constants.swift
rename to Sources/FirmwarePatcher/ARM64/ARM64Constants.swift
diff --git a/sources/FirmwarePatcher/ARM64/ARM64Disassembler.swift b/Sources/FirmwarePatcher/ARM64/ARM64Disassembler.swift
similarity index 100%
rename from sources/FirmwarePatcher/ARM64/ARM64Disassembler.swift
rename to Sources/FirmwarePatcher/ARM64/ARM64Disassembler.swift
diff --git a/sources/FirmwarePatcher/ARM64/ARM64Encoder.swift b/Sources/FirmwarePatcher/ARM64/ARM64Encoder.swift
similarity index 100%
rename from sources/FirmwarePatcher/ARM64/ARM64Encoder.swift
rename to Sources/FirmwarePatcher/ARM64/ARM64Encoder.swift
diff --git a/sources/FirmwarePatcher/ARM64/ARM64Inst.swift b/Sources/FirmwarePatcher/ARM64/ARM64Inst.swift
similarity index 100%
rename from sources/FirmwarePatcher/ARM64/ARM64Inst.swift
rename to Sources/FirmwarePatcher/ARM64/ARM64Inst.swift
diff --git a/sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift b/Sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift
rename to Sources/FirmwarePatcher/AVPBooter/AVPBooterPatcher.swift
diff --git a/sources/FirmwarePatcher/Binary/BinaryBuffer.swift b/Sources/FirmwarePatcher/Binary/BinaryBuffer.swift
similarity index 100%
rename from sources/FirmwarePatcher/Binary/BinaryBuffer.swift
rename to Sources/FirmwarePatcher/Binary/BinaryBuffer.swift
diff --git a/sources/FirmwarePatcher/Binary/IM4PHandler.swift b/Sources/FirmwarePatcher/Binary/IM4PHandler.swift
similarity index 100%
rename from sources/FirmwarePatcher/Binary/IM4PHandler.swift
rename to Sources/FirmwarePatcher/Binary/IM4PHandler.swift
diff --git a/sources/FirmwarePatcher/Binary/InPlaceRewrite.swift b/Sources/FirmwarePatcher/Binary/InPlaceRewrite.swift
similarity index 100%
rename from sources/FirmwarePatcher/Binary/InPlaceRewrite.swift
rename to Sources/FirmwarePatcher/Binary/InPlaceRewrite.swift
diff --git a/sources/FirmwarePatcher/Binary/MachOParser.swift b/Sources/FirmwarePatcher/Binary/MachOParser.swift
similarity index 100%
rename from sources/FirmwarePatcher/Binary/MachOParser.swift
rename to Sources/FirmwarePatcher/Binary/MachOParser.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcher.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcher.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcher.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherAEA.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherAEA.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherAEA.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherAEA.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherDiskImage.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherFileOps.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherFileOps.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherFileOps.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherFileOps.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherGuestPayload.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherGuestPayload.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherGuestPayload.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherGuestPayload.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherManifest.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherManifest.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherManifest.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherManifest.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherProcess.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherProcess.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherProcess.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherProcess.swift
diff --git a/sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherSealing.swift b/Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherSealing.swift
similarity index 100%
rename from sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherSealing.swift
rename to Sources/FirmwarePatcher/CryptexFilesystem/CryptexFilesystemPatcherSealing.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareBuildVersion.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareBuildVersion.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareBuildVersion.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareBuildVersion.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemons.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemons.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemons.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemons.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsDropbear.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsDropbear.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsDropbear.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsDropbear.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsLaunchd.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsLaunchd.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsLaunchd.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareDaemonsLaunchd.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareInjectDylib.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareInjectDylib.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareInjectDylib.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareInjectDylib.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachLookupExceptions.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachLookupExceptions.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachLookupExceptions.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachLookupExceptions.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachOCodeSignature.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachOCodeSignature.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachOCodeSignature.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwareMachOCodeSignature.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/CustomFirmwarePostRestoreDeviceTree.swift b/Sources/FirmwarePatcher/CustomFirmware/CustomFirmwarePostRestoreDeviceTree.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/CustomFirmwarePostRestoreDeviceTree.swift
rename to Sources/FirmwarePatcher/CustomFirmware/CustomFirmwarePostRestoreDeviceTree.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+Results.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+Results.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+Results.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+Results.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+StringAnchor.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+StringAnchor.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+StringAnchor.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader+StringAnchor.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareCacheLoader.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage+DynamicMetadata.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage+DynamicMetadata.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage+DynamicMetadata.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage+DynamicMetadata.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareDiskImage.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsam.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsam.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsam.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsam.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsamDiscovery.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsamDiscovery.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsamDiscovery.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareJetsamDiscovery.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation+Anchoring.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation+Anchoring.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation+Anchoring.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation+Anchoring.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareMobileActivation.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareSeputil.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareSeputil.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareSeputil.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareSeputil.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDog.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDog.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDog.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDog.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogDiscovery.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogDiscovery.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogDiscovery.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogDiscovery.swift
diff --git a/sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogSymbolTargets.swift b/Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogSymbolTargets.swift
similarity index 100%
rename from sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogSymbolTargets.swift
rename to Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/CustomFirmwareWatchDogSymbolTargets.swift
diff --git a/sources/FirmwarePatcher/DeviceTree/DeviceTreeNodeAdditions.swift b/Sources/FirmwarePatcher/DeviceTree/DeviceTreeNodeAdditions.swift
similarity index 100%
rename from sources/FirmwarePatcher/DeviceTree/DeviceTreeNodeAdditions.swift
rename to Sources/FirmwarePatcher/DeviceTree/DeviceTreeNodeAdditions.swift
diff --git a/sources/FirmwarePatcher/DeviceTree/DeviceTreePatchDefinitions.swift b/Sources/FirmwarePatcher/DeviceTree/DeviceTreePatchDefinitions.swift
similarity index 100%
rename from sources/FirmwarePatcher/DeviceTree/DeviceTreePatchDefinitions.swift
rename to Sources/FirmwarePatcher/DeviceTree/DeviceTreePatchDefinitions.swift
diff --git a/sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift b/Sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift
rename to Sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift
diff --git a/sources/FirmwarePatcher/DeviceTree/DeviceTreePropertyPatches.swift b/Sources/FirmwarePatcher/DeviceTree/DeviceTreePropertyPatches.swift
similarity index 100%
rename from sources/FirmwarePatcher/DeviceTree/DeviceTreePropertyPatches.swift
rename to Sources/FirmwarePatcher/DeviceTree/DeviceTreePropertyPatches.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheChunkSet.swift b/Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheChunkSet.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheChunkSet.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheChunkSet.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheCodeSignature.swift b/Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheCodeSignature.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheCodeSignature.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheCodeSignature.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheError.swift b/Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheError.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheError.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheError.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheLocalSymbolTable.swift b/Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheLocalSymbolTable.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheLocalSymbolTable.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheLocalSymbolTable.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheSymbolResolver.swift b/Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheSymbolResolver.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheSymbolResolver.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/DyldSharedCacheSymbolResolver.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheCameraPatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheCameraPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheCameraPatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheCameraPatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher+MachOStringSites.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher+MachOStringSites.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher+MachOStringSites.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher+MachOStringSites.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheHypervisorVirtualMachinePatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBForceKernPatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBForceKernPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBForceKernPatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBForceKernPatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBSwapEndPatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBSwapEndPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBSwapEndPatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheIOMFBSwapEndPatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLSDEmbeddedRegPatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLSDEmbeddedRegPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLSDEmbeddedRegPatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLSDEmbeddedRegPatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLockdownModePatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLockdownModePatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLockdownModePatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheLockdownModePatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheMaxSlidePatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheMaxSlidePatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheMaxSlidePatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheMaxSlidePatcher.swift
diff --git a/sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheXPCLWCRPatcher.swift b/Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheXPCLWCRPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheXPCLWCRPatcher.swift
rename to Sources/FirmwarePatcher/DyldSharedCache/Patchers/DyldSharedCacheXPCLWCRPatcher.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootArgs.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootArgs.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootArgs.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootArgs.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootxPrecondition.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootxPrecondition.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootxPrecondition.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchBootxPrecondition.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchImage4Callback.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchImage4Callback.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchImage4Callback.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchImage4Callback.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchPanicBypass.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchPanicBypass.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchPanicBypass.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchPanicBypass.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchRootfsBypass.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchRootfsBypass.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchRootfsBypass.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchRootfsBypass.swift
diff --git a/sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchSerialLabels.swift b/Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchSerialLabels.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchSerialLabels.swift
rename to Sources/FirmwarePatcher/IBoot/BasePatches/IBootPatchSerialLabels.swift
diff --git a/sources/FirmwarePatcher/IBoot/IBootJailbreakPatcher.swift b/Sources/FirmwarePatcher/IBoot/IBootJailbreakPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/IBootJailbreakPatcher.swift
rename to Sources/FirmwarePatcher/IBoot/IBootJailbreakPatcher.swift
diff --git a/sources/FirmwarePatcher/IBoot/IBootPatcher.swift b/Sources/FirmwarePatcher/IBoot/IBootPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/IBoot/IBootPatcher.swift
rename to Sources/FirmwarePatcher/IBoot/IBootPatcher.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsGraft.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsGraft.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsGraft.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsGraft.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsMount.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsMount.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsMount.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsMount.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSeal.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSeal.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSeal.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSeal.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSnapshot.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSnapshot.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSnapshot.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchApfsSnapshot.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchBsdInit.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchBsdInit.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchBsdInit.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchBsdInit.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDebugger.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDebugger.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDebugger.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDebugger.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDyldPolicy.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDyldPolicy.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDyldPolicy.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchDyldPolicy.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchExcGuard.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchExcGuard.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchExcGuard.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchExcGuard.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchLaunchConstraints.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchLaunchConstraints.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchLaunchConstraints.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchLaunchConstraints.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchPostValidation.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchPostValidation.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchPostValidation.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchPostValidation.swift
diff --git a/sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchSandbox.swift b/Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchSandbox.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchSandbox.swift
rename to Sources/FirmwarePatcher/Kernel/BasePatches/KernelPatchSandbox.swift
diff --git a/sources/FirmwarePatcher/Kernel/ExperimentalPatches/KernelExperimentalPatchHvVmmRename.swift b/Sources/FirmwarePatcher/Kernel/ExperimentalPatches/KernelExperimentalPatchHvVmmRename.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/ExperimentalPatches/KernelExperimentalPatchHvVmmRename.swift
rename to Sources/FirmwarePatcher/Kernel/ExperimentalPatches/KernelExperimentalPatchHvVmmRename.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiExecve.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiExecve.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiExecve.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiExecve.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiTrustcache.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiTrustcache.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiTrustcache.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchAmfiTrustcache.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchCredLabel.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchCredLabel.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchCredLabel.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchCredLabel.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchHookCredLabel.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchHookCredLabel.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchHookCredLabel.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchHookCredLabel.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchLoadDylinker.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchLoadDylinker.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchLoadDylinker.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchLoadDylinker.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchPostValidation.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchPostValidation.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchPostValidation.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/CodeSigning/KernelJailbreakPatchPostValidation.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchIomfbSwap.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchIomfbSwap.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchIomfbSwap.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchIomfbSwap.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchNvram.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchNvram.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchNvram.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Drivers/KernelJailbreakPatchNvram.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchThreadSetState.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchThreadSetState.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchThreadSetState.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchThreadSetState.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchVmMapDelete.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchVmMapDelete.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchVmMapDelete.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Frida/KernelJailbreakPatchVmMapDelete.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchPortToMap.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchPortToMap.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchPortToMap.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchPortToMap.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchSharedRegion.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchSharedRegion.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchSharedRegion.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchSharedRegion.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmFault.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmFault.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmFault.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmFault.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmProtect.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmProtect.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmProtect.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Memory/KernelJailbreakPatchVmProtect.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchKcall10.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchKcall10.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchKcall10.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchKcall10.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchProcPidinfo.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchProcPidinfo.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchProcPidinfo.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchProcPidinfo.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSpawnPersona.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSpawnPersona.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSpawnPersona.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSpawnPersona.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSyscallmask.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSyscallmask.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSyscallmask.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchSyscallmask.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskConversion.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskConversion.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskConversion.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskConversion.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskForPid.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskForPid.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskForPid.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchTaskForPid.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchThidCrash.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchThidCrash.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchThidCrash.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Process/KernelJailbreakPatchThidCrash.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchContainerUpcall.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchContainerUpcall.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchContainerUpcall.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchContainerUpcall.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchExecPolicyKill.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchExecPolicyKill.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchExecPolicyKill.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchExecPolicyKill.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchFpfsScopedOpen.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchFpfsScopedOpen.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchFpfsScopedOpen.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchFpfsScopedOpen.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucMacf.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucMacf.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucMacf.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucMacf.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucSandbox.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucSandbox.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucSandbox.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchIoucSandbox.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchMacMount.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchMacMount.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchMacMount.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchMacMount.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchProcSecurity.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchProcSecurity.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchProcSecurity.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchProcSecurity.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchSandboxExtended.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchSandboxExtended.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchSandboxExtended.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Sandbox/KernelJailbreakPatchSandboxExtended.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchBsdInitAuth.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchBsdInitAuth.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchBsdInitAuth.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchBsdInitAuth.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDiskImages2.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDiskImages2.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDiskImages2.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDiskImages2.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDounmount.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDounmount.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDounmount.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchDounmount.swift
diff --git a/sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchSecureRoot.swift b/Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchSecureRoot.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchSecureRoot.swift
rename to Sources/FirmwarePatcher/Kernel/JailbreakPatches/Storage/KernelJailbreakPatchSecureRoot.swift
diff --git a/sources/FirmwarePatcher/Kernel/KernelExperimentalPatcher.swift b/Sources/FirmwarePatcher/Kernel/KernelExperimentalPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/KernelExperimentalPatcher.swift
rename to Sources/FirmwarePatcher/Kernel/KernelExperimentalPatcher.swift
diff --git a/sources/FirmwarePatcher/Kernel/KernelJailbreakPatcher.swift b/Sources/FirmwarePatcher/Kernel/KernelJailbreakPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/KernelJailbreakPatcher.swift
rename to Sources/FirmwarePatcher/Kernel/KernelJailbreakPatcher.swift
diff --git a/sources/FirmwarePatcher/Kernel/KernelJailbreakPatcherBase.swift b/Sources/FirmwarePatcher/Kernel/KernelJailbreakPatcherBase.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/KernelJailbreakPatcherBase.swift
rename to Sources/FirmwarePatcher/Kernel/KernelJailbreakPatcherBase.swift
diff --git a/sources/FirmwarePatcher/Kernel/KernelPatcher.swift b/Sources/FirmwarePatcher/Kernel/KernelPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/KernelPatcher.swift
rename to Sources/FirmwarePatcher/Kernel/KernelPatcher.swift
diff --git a/sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift b/Sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift
similarity index 100%
rename from sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift
rename to Sources/FirmwarePatcher/Kernel/KernelPatcherBase.swift
diff --git a/sources/FirmwarePatcher/Manifest/FirmwareManifest.swift b/Sources/FirmwarePatcher/Manifest/FirmwareManifest.swift
similarity index 100%
rename from sources/FirmwarePatcher/Manifest/FirmwareManifest.swift
rename to Sources/FirmwarePatcher/Manifest/FirmwareManifest.swift
diff --git a/sources/FirmwarePatcher/Manifest/ManifestHashPatcher.swift b/Sources/FirmwarePatcher/Manifest/ManifestHashPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/Manifest/ManifestHashPatcher.swift
rename to Sources/FirmwarePatcher/Manifest/ManifestHashPatcher.swift
diff --git a/sources/FirmwarePatcher/PatchInfrastructure/PatchRecord.swift b/Sources/FirmwarePatcher/PatchInfrastructure/PatchRecord.swift
similarity index 100%
rename from sources/FirmwarePatcher/PatchInfrastructure/PatchRecord.swift
rename to Sources/FirmwarePatcher/PatchInfrastructure/PatchRecord.swift
diff --git a/sources/FirmwarePatcher/PatchInfrastructure/PatcherError.swift b/Sources/FirmwarePatcher/PatchInfrastructure/PatcherError.swift
similarity index 100%
rename from sources/FirmwarePatcher/PatchInfrastructure/PatcherError.swift
rename to Sources/FirmwarePatcher/PatchInfrastructure/PatcherError.swift
diff --git a/sources/FirmwarePatcher/PatchInfrastructure/PatcherProtocol.swift b/Sources/FirmwarePatcher/PatchInfrastructure/PatcherProtocol.swift
similarity index 100%
rename from sources/FirmwarePatcher/PatchInfrastructure/PatcherProtocol.swift
rename to Sources/FirmwarePatcher/PatchInfrastructure/PatcherProtocol.swift
diff --git a/sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift b/Sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift
similarity index 100%
rename from sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift
rename to Sources/FirmwarePatcher/Pipeline/FirmwarePipeline.swift
diff --git a/sources/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift b/Sources/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift
similarity index 100%
rename from sources/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift
rename to Sources/FirmwarePatcher/Pipeline/FirmwarePipelineComponents.swift
diff --git a/sources/FirmwarePatcher/Pipeline/FirmwarePipelineDiscovery.swift b/Sources/FirmwarePatcher/Pipeline/FirmwarePipelineDiscovery.swift
similarity index 100%
rename from sources/FirmwarePatcher/Pipeline/FirmwarePipelineDiscovery.swift
rename to Sources/FirmwarePatcher/Pipeline/FirmwarePipelineDiscovery.swift
diff --git a/sources/FirmwarePatcher/TXM/TXMDevPatcher.swift b/Sources/FirmwarePatcher/TXM/TXMDevPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/TXM/TXMDevPatcher.swift
rename to Sources/FirmwarePatcher/TXM/TXMDevPatcher.swift
diff --git a/sources/FirmwarePatcher/TXM/TXMPatcher.swift b/Sources/FirmwarePatcher/TXM/TXMPatcher.swift
similarity index 100%
rename from sources/FirmwarePatcher/TXM/TXMPatcher.swift
rename to Sources/FirmwarePatcher/TXM/TXMPatcher.swift
diff --git a/sources/Info.plist b/Sources/Info.plist
similarity index 100%
rename from sources/Info.plist
rename to Sources/Info.plist
diff --git a/sources/MobileRecoveryCore/COPYING b/Sources/MobileRecoveryCore/COPYING
similarity index 100%
rename from sources/MobileRecoveryCore/COPYING
rename to Sources/MobileRecoveryCore/COPYING
diff --git a/sources/MobileRecoveryCore/include/libirecovery.h b/Sources/MobileRecoveryCore/Include/libirecovery.h
similarity index 100%
rename from sources/MobileRecoveryCore/include/libirecovery.h
rename to Sources/MobileRecoveryCore/Include/libirecovery.h
diff --git a/sources/MobileRecoveryCore/config.h b/Sources/MobileRecoveryCore/config.h
similarity index 100%
rename from sources/MobileRecoveryCore/config.h
rename to Sources/MobileRecoveryCore/config.h
diff --git a/sources/MobileRecoveryCore/libirecovery.c b/Sources/MobileRecoveryCore/libirecovery.c
similarity index 100%
rename from sources/MobileRecoveryCore/libirecovery.c
rename to Sources/MobileRecoveryCore/libirecovery.c
diff --git a/sources/MobileRestoreCore/COPYING b/Sources/MobileRestoreCore/COPYING
similarity index 100%
rename from sources/MobileRestoreCore/COPYING
rename to Sources/MobileRestoreCore/COPYING
diff --git a/sources/MobileRestoreCore/include/vphone_restore_bridge.h b/Sources/MobileRestoreCore/Include/vphone_restore_bridge.h
similarity index 98%
rename from sources/MobileRestoreCore/include/vphone_restore_bridge.h
rename to Sources/MobileRestoreCore/Include/vphone_restore_bridge.h
index 773b6147..8c229598 100644
--- a/sources/MobileRestoreCore/include/vphone_restore_bridge.h
+++ b/Sources/MobileRestoreCore/Include/vphone_restore_bridge.h
@@ -2,7 +2,7 @@
* vphone_restore_bridge.h
*
* The one public header of MobileRestoreCore, and the only thing in this
- * target's include/ directory. Everything else here — idevicerestore's own
+ * target's Include/ directory. Everything else here — idevicerestore's own
* sources, config.h and the libzip stub — is private to the target, so a
* Swift caller sees this file and nothing else.
*
diff --git a/sources/MobileRestoreCore/ace3.c b/Sources/MobileRestoreCore/ace3.c
similarity index 100%
rename from sources/MobileRestoreCore/ace3.c
rename to Sources/MobileRestoreCore/ace3.c
diff --git a/sources/MobileRestoreCore/ace3.h b/Sources/MobileRestoreCore/ace3.h
similarity index 100%
rename from sources/MobileRestoreCore/ace3.h
rename to Sources/MobileRestoreCore/ace3.h
diff --git a/sources/MobileRestoreCore/asr.c b/Sources/MobileRestoreCore/asr.c
similarity index 100%
rename from sources/MobileRestoreCore/asr.c
rename to Sources/MobileRestoreCore/asr.c
diff --git a/sources/MobileRestoreCore/asr.h b/Sources/MobileRestoreCore/asr.h
similarity index 100%
rename from sources/MobileRestoreCore/asr.h
rename to Sources/MobileRestoreCore/asr.h
diff --git a/sources/MobileRestoreCore/common.c b/Sources/MobileRestoreCore/common.c
similarity index 100%
rename from sources/MobileRestoreCore/common.c
rename to Sources/MobileRestoreCore/common.c
diff --git a/sources/MobileRestoreCore/common.h b/Sources/MobileRestoreCore/common.h
similarity index 100%
rename from sources/MobileRestoreCore/common.h
rename to Sources/MobileRestoreCore/common.h
diff --git a/sources/MobileRestoreCore/config.h b/Sources/MobileRestoreCore/config.h
similarity index 98%
rename from sources/MobileRestoreCore/config.h
rename to Sources/MobileRestoreCore/config.h
index f7b96237..d939e001 100644
--- a/sources/MobileRestoreCore/config.h
+++ b/Sources/MobileRestoreCore/config.h
@@ -4,8 +4,8 @@
* Hand-written stand-in for the config.h that idevicerestore's autotools build
* generates. It is NOT an upstream file: everything else under this target is
* upstream's own source, and this is the one file SwiftPM has to supply in
- * autoconf's place. It lives beside the .c files rather than in include/ for
- * the same reason MobileRecoveryCore's does — include/ is this target's public
+ * autoconf's place. It lives beside the .c files rather than in Include/ for
+ * the same reason MobileRecoveryCore's does — Include/ is this target's public
* header directory and becomes the generated module's umbrella, and no
* dependent should inherit a PACKAGE_VERSION it did not ask for. Two targets
* in this package now carry a config.h, and if both were public they would
diff --git a/sources/MobileRestoreCore/deviceinterfaced.c b/Sources/MobileRestoreCore/deviceinterfaced.c
similarity index 100%
rename from sources/MobileRestoreCore/deviceinterfaced.c
rename to Sources/MobileRestoreCore/deviceinterfaced.c
diff --git a/sources/MobileRestoreCore/deviceinterfaced.h b/Sources/MobileRestoreCore/deviceinterfaced.h
similarity index 100%
rename from sources/MobileRestoreCore/deviceinterfaced.h
rename to Sources/MobileRestoreCore/deviceinterfaced.h
diff --git a/sources/MobileRestoreCore/dfu.c b/Sources/MobileRestoreCore/dfu.c
similarity index 100%
rename from sources/MobileRestoreCore/dfu.c
rename to Sources/MobileRestoreCore/dfu.c
diff --git a/sources/MobileRestoreCore/dfu.h b/Sources/MobileRestoreCore/dfu.h
similarity index 100%
rename from sources/MobileRestoreCore/dfu.h
rename to Sources/MobileRestoreCore/dfu.h
diff --git a/sources/MobileRestoreCore/download.c b/Sources/MobileRestoreCore/download.c
similarity index 100%
rename from sources/MobileRestoreCore/download.c
rename to Sources/MobileRestoreCore/download.c
diff --git a/sources/MobileRestoreCore/download.h b/Sources/MobileRestoreCore/download.h
similarity index 100%
rename from sources/MobileRestoreCore/download.h
rename to Sources/MobileRestoreCore/download.h
diff --git a/sources/MobileRestoreCore/endianness.h b/Sources/MobileRestoreCore/endianness.h
similarity index 100%
rename from sources/MobileRestoreCore/endianness.h
rename to Sources/MobileRestoreCore/endianness.h
diff --git a/sources/MobileRestoreCore/fdr.c b/Sources/MobileRestoreCore/fdr.c
similarity index 100%
rename from sources/MobileRestoreCore/fdr.c
rename to Sources/MobileRestoreCore/fdr.c
diff --git a/sources/MobileRestoreCore/fdr.h b/Sources/MobileRestoreCore/fdr.h
similarity index 100%
rename from sources/MobileRestoreCore/fdr.h
rename to Sources/MobileRestoreCore/fdr.h
diff --git a/sources/MobileRestoreCore/fls.c b/Sources/MobileRestoreCore/fls.c
similarity index 100%
rename from sources/MobileRestoreCore/fls.c
rename to Sources/MobileRestoreCore/fls.c
diff --git a/sources/MobileRestoreCore/fls.h b/Sources/MobileRestoreCore/fls.h
similarity index 100%
rename from sources/MobileRestoreCore/fls.h
rename to Sources/MobileRestoreCore/fls.h
diff --git a/sources/MobileRestoreCore/ftab.c b/Sources/MobileRestoreCore/ftab.c
similarity index 100%
rename from sources/MobileRestoreCore/ftab.c
rename to Sources/MobileRestoreCore/ftab.c
diff --git a/sources/MobileRestoreCore/ftab.h b/Sources/MobileRestoreCore/ftab.h
similarity index 100%
rename from sources/MobileRestoreCore/ftab.h
rename to Sources/MobileRestoreCore/ftab.h
diff --git a/sources/MobileRestoreCore/idevicerestore.c b/Sources/MobileRestoreCore/idevicerestore.c
similarity index 100%
rename from sources/MobileRestoreCore/idevicerestore.c
rename to Sources/MobileRestoreCore/idevicerestore.c
diff --git a/sources/MobileRestoreCore/idevicerestore.h b/Sources/MobileRestoreCore/idevicerestore.h
similarity index 100%
rename from sources/MobileRestoreCore/idevicerestore.h
rename to Sources/MobileRestoreCore/idevicerestore.h
diff --git a/sources/MobileRestoreCore/img3.c b/Sources/MobileRestoreCore/img3.c
similarity index 100%
rename from sources/MobileRestoreCore/img3.c
rename to Sources/MobileRestoreCore/img3.c
diff --git a/sources/MobileRestoreCore/img3.h b/Sources/MobileRestoreCore/img3.h
similarity index 100%
rename from sources/MobileRestoreCore/img3.h
rename to Sources/MobileRestoreCore/img3.h
diff --git a/sources/MobileRestoreCore/img4.c b/Sources/MobileRestoreCore/img4.c
similarity index 100%
rename from sources/MobileRestoreCore/img4.c
rename to Sources/MobileRestoreCore/img4.c
diff --git a/sources/MobileRestoreCore/img4.h b/Sources/MobileRestoreCore/img4.h
similarity index 100%
rename from sources/MobileRestoreCore/img4.h
rename to Sources/MobileRestoreCore/img4.h
diff --git a/sources/MobileRestoreCore/ipsw.c b/Sources/MobileRestoreCore/ipsw.c
similarity index 100%
rename from sources/MobileRestoreCore/ipsw.c
rename to Sources/MobileRestoreCore/ipsw.c
diff --git a/sources/MobileRestoreCore/ipsw.h b/Sources/MobileRestoreCore/ipsw.h
similarity index 100%
rename from sources/MobileRestoreCore/ipsw.h
rename to Sources/MobileRestoreCore/ipsw.h
diff --git a/sources/MobileRestoreCore/limera1n.c b/Sources/MobileRestoreCore/limera1n.c
similarity index 100%
rename from sources/MobileRestoreCore/limera1n.c
rename to Sources/MobileRestoreCore/limera1n.c
diff --git a/sources/MobileRestoreCore/limera1n.h b/Sources/MobileRestoreCore/limera1n.h
similarity index 100%
rename from sources/MobileRestoreCore/limera1n.h
rename to Sources/MobileRestoreCore/limera1n.h
diff --git a/sources/MobileRestoreCore/limera1n_payload.h b/Sources/MobileRestoreCore/limera1n_payload.h
similarity index 100%
rename from sources/MobileRestoreCore/limera1n_payload.h
rename to Sources/MobileRestoreCore/limera1n_payload.h
diff --git a/sources/MobileRestoreCore/locking.c b/Sources/MobileRestoreCore/locking.c
similarity index 100%
rename from sources/MobileRestoreCore/locking.c
rename to Sources/MobileRestoreCore/locking.c
diff --git a/sources/MobileRestoreCore/locking.h b/Sources/MobileRestoreCore/locking.h
similarity index 100%
rename from sources/MobileRestoreCore/locking.h
rename to Sources/MobileRestoreCore/locking.h
diff --git a/sources/MobileRestoreCore/log.c b/Sources/MobileRestoreCore/log.c
similarity index 100%
rename from sources/MobileRestoreCore/log.c
rename to Sources/MobileRestoreCore/log.c
diff --git a/sources/MobileRestoreCore/log.h b/Sources/MobileRestoreCore/log.h
similarity index 100%
rename from sources/MobileRestoreCore/log.h
rename to Sources/MobileRestoreCore/log.h
diff --git a/sources/MobileRestoreCore/mbn.c b/Sources/MobileRestoreCore/mbn.c
similarity index 100%
rename from sources/MobileRestoreCore/mbn.c
rename to Sources/MobileRestoreCore/mbn.c
diff --git a/sources/MobileRestoreCore/mbn.h b/Sources/MobileRestoreCore/mbn.h
similarity index 100%
rename from sources/MobileRestoreCore/mbn.h
rename to Sources/MobileRestoreCore/mbn.h
diff --git a/sources/MobileRestoreCore/normal.c b/Sources/MobileRestoreCore/normal.c
similarity index 100%
rename from sources/MobileRestoreCore/normal.c
rename to Sources/MobileRestoreCore/normal.c
diff --git a/sources/MobileRestoreCore/normal.h b/Sources/MobileRestoreCore/normal.h
similarity index 100%
rename from sources/MobileRestoreCore/normal.h
rename to Sources/MobileRestoreCore/normal.h
diff --git a/sources/MobileRestoreCore/recovery.c b/Sources/MobileRestoreCore/recovery.c
similarity index 100%
rename from sources/MobileRestoreCore/recovery.c
rename to Sources/MobileRestoreCore/recovery.c
diff --git a/sources/MobileRestoreCore/recovery.h b/Sources/MobileRestoreCore/recovery.h
similarity index 100%
rename from sources/MobileRestoreCore/recovery.h
rename to Sources/MobileRestoreCore/recovery.h
diff --git a/sources/MobileRestoreCore/restore.c b/Sources/MobileRestoreCore/restore.c
similarity index 100%
rename from sources/MobileRestoreCore/restore.c
rename to Sources/MobileRestoreCore/restore.c
diff --git a/sources/MobileRestoreCore/restore.h b/Sources/MobileRestoreCore/restore.h
similarity index 100%
rename from sources/MobileRestoreCore/restore.h
rename to Sources/MobileRestoreCore/restore.h
diff --git a/sources/MobileRestoreCore/vphone_restore_bridge.c b/Sources/MobileRestoreCore/vphone_restore_bridge.c
similarity index 100%
rename from sources/MobileRestoreCore/vphone_restore_bridge.c
rename to Sources/MobileRestoreCore/vphone_restore_bridge.c
diff --git a/sources/MobileRestoreCore/vphone_zip_stub.c b/Sources/MobileRestoreCore/vphone_zip_stub.c
similarity index 100%
rename from sources/MobileRestoreCore/vphone_zip_stub.c
rename to Sources/MobileRestoreCore/vphone_zip_stub.c
diff --git a/sources/MobileRestoreCore/zip.h b/Sources/MobileRestoreCore/zip.h
similarity index 100%
rename from sources/MobileRestoreCore/zip.h
rename to Sources/MobileRestoreCore/zip.h
diff --git a/sources/vphone-amfi-allow/LICENSE b/Sources/VPhoneAMFIAllow/LICENSE
similarity index 100%
rename from sources/vphone-amfi-allow/LICENSE
rename to Sources/VPhoneAMFIAllow/LICENSE
diff --git a/sources/vphone-amfi-allow/vphone-amfi-allow.c b/Sources/VPhoneAMFIAllow/vphone-amfi-allow.c
similarity index 100%
rename from sources/vphone-amfi-allow/vphone-amfi-allow.c
rename to Sources/VPhoneAMFIAllow/vphone-amfi-allow.c
diff --git a/sources/VPhoneAPIKit/VPhoneAPIClient.swift b/Sources/VPhoneAPIKit/VPhoneAPIClient.swift
similarity index 100%
rename from sources/VPhoneAPIKit/VPhoneAPIClient.swift
rename to Sources/VPhoneAPIKit/VPhoneAPIClient.swift
diff --git a/sources/VPhoneArchive/VPhoneArchiveError.swift b/Sources/VPhoneArchive/VPhoneArchiveError.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchiveError.swift
rename to Sources/VPhoneArchive/VPhoneArchiveError.swift
diff --git a/sources/VPhoneArchive/VPhoneArchiveExtractor.swift b/Sources/VPhoneArchive/VPhoneArchiveExtractor.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchiveExtractor.swift
rename to Sources/VPhoneArchive/VPhoneArchiveExtractor.swift
diff --git a/sources/VPhoneArchive/VPhoneArchiveOptions.swift b/Sources/VPhoneArchive/VPhoneArchiveOptions.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchiveOptions.swift
rename to Sources/VPhoneArchive/VPhoneArchiveOptions.swift
diff --git a/sources/VPhoneArchive/VPhoneArchivePaths.swift b/Sources/VPhoneArchive/VPhoneArchivePaths.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchivePaths.swift
rename to Sources/VPhoneArchive/VPhoneArchivePaths.swift
diff --git a/sources/VPhoneArchive/VPhoneArchiveReader.swift b/Sources/VPhoneArchive/VPhoneArchiveReader.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchiveReader.swift
rename to Sources/VPhoneArchive/VPhoneArchiveReader.swift
diff --git a/sources/VPhoneArchive/VPhoneArchiveWriter.swift b/Sources/VPhoneArchive/VPhoneArchiveWriter.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneArchiveWriter.swift
rename to Sources/VPhoneArchive/VPhoneArchiveWriter.swift
diff --git a/sources/VPhoneArchive/VPhoneBundleTransfer.swift b/Sources/VPhoneArchive/VPhoneBundleTransfer.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneBundleTransfer.swift
rename to Sources/VPhoneArchive/VPhoneBundleTransfer.swift
diff --git a/sources/VPhoneArchive/VPhoneIPSWCache.swift b/Sources/VPhoneArchive/VPhoneIPSWCache.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneIPSWCache.swift
rename to Sources/VPhoneArchive/VPhoneIPSWCache.swift
diff --git a/sources/VPhoneArchive/VPhoneTreeFingerprint.swift b/Sources/VPhoneArchive/VPhoneTreeFingerprint.swift
similarity index 100%
rename from sources/VPhoneArchive/VPhoneTreeFingerprint.swift
rename to Sources/VPhoneArchive/VPhoneTreeFingerprint.swift
diff --git a/sources/vphone-archive/main.swift b/Sources/VPhoneArchiveCLI/main.swift
similarity index 100%
rename from sources/vphone-archive/main.swift
rename to Sources/VPhoneArchiveCLI/main.swift
diff --git a/sources/vphone-ask-for-permission/main.swift b/Sources/VPhoneAskForPermission/main.swift
similarity index 100%
rename from sources/vphone-ask-for-permission/main.swift
rename to Sources/VPhoneAskForPermission/main.swift
diff --git a/sources/vphone-cli/VPhoneCLI.swift b/Sources/VPhoneCLI/VPhoneCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneCLI.swift
rename to Sources/VPhoneCLI/VPhoneCLI.swift
diff --git a/sources/vphone-cli/VPhoneCustomFirmwareDyldSharedCacheVerbsCLI.swift b/Sources/VPhoneCLI/VPhoneCustomFirmwareDyldSharedCacheVerbsCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneCustomFirmwareDyldSharedCacheVerbsCLI.swift
rename to Sources/VPhoneCLI/VPhoneCustomFirmwareDyldSharedCacheVerbsCLI.swift
diff --git a/sources/vphone-cli/VPhoneCustomFirmwareInstaller.swift b/Sources/VPhoneCLI/VPhoneCustomFirmwareInstaller.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneCustomFirmwareInstaller.swift
rename to Sources/VPhoneCLI/VPhoneCustomFirmwareInstaller.swift
diff --git a/sources/vphone-cli/VPhoneCustomFirmwareMachOVerbsCLI.swift b/Sources/VPhoneCLI/VPhoneCustomFirmwareMachOVerbsCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneCustomFirmwareMachOVerbsCLI.swift
rename to Sources/VPhoneCLI/VPhoneCustomFirmwareMachOVerbsCLI.swift
diff --git a/sources/vphone-cli/VPhoneCustomFirmwarePatchCLI.swift b/Sources/VPhoneCLI/VPhoneCustomFirmwarePatchCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneCustomFirmwarePatchCLI.swift
rename to Sources/VPhoneCLI/VPhoneCustomFirmwarePatchCLI.swift
diff --git a/sources/vphone-cli/VPhoneFirmwareAEACLI.swift b/Sources/VPhoneCLI/VPhoneFirmwareAEACLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneFirmwareAEACLI.swift
rename to Sources/VPhoneCLI/VPhoneFirmwareAEACLI.swift
diff --git a/sources/vphone-cli/VPhoneFirmwareCLI.swift b/Sources/VPhoneCLI/VPhoneFirmwareCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneFirmwareCLI.swift
rename to Sources/VPhoneCLI/VPhoneFirmwareCLI.swift
diff --git a/sources/vphone-cli/VPhoneFirmwareDownloadCLI.swift b/Sources/VPhoneCLI/VPhoneFirmwareDownloadCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneFirmwareDownloadCLI.swift
rename to Sources/VPhoneCLI/VPhoneFirmwareDownloadCLI.swift
diff --git a/sources/vphone-cli/VPhoneFirmwarePreparer.swift b/Sources/VPhoneCLI/VPhoneFirmwarePreparer.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneFirmwarePreparer.swift
rename to Sources/VPhoneCLI/VPhoneFirmwarePreparer.swift
diff --git a/sources/vphone-cli/VPhoneFirmwareSourceSelection.swift b/Sources/VPhoneCLI/VPhoneFirmwareSourceSelection.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneFirmwareSourceSelection.swift
rename to Sources/VPhoneCLI/VPhoneFirmwareSourceSelection.swift
diff --git a/sources/vphone-cli/VPhoneHostAutomationProbe.swift b/Sources/VPhoneCLI/VPhoneHostAutomationProbe.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneHostAutomationProbe.swift
rename to Sources/VPhoneCLI/VPhoneHostAutomationProbe.swift
diff --git a/sources/vphone-cli/VPhoneHostPreflight.swift b/Sources/VPhoneCLI/VPhoneHostPreflight.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneHostPreflight.swift
rename to Sources/VPhoneCLI/VPhoneHostPreflight.swift
diff --git a/sources/vphone-cli/VPhonePCCGPURecovery.swift b/Sources/VPhoneCLI/VPhonePCCGPURecovery.swift
similarity index 100%
rename from sources/vphone-cli/VPhonePCCGPURecovery.swift
rename to Sources/VPhoneCLI/VPhonePCCGPURecovery.swift
diff --git a/sources/vphone-cli/VPhoneProgressBar.swift b/Sources/VPhoneCLI/VPhoneProgressBar.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneProgressBar.swift
rename to Sources/VPhoneCLI/VPhoneProgressBar.swift
diff --git a/sources/vphone-cli/VPhoneRestoreCLI.swift b/Sources/VPhoneCLI/VPhoneRestoreCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneRestoreCLI.swift
rename to Sources/VPhoneCLI/VPhoneRestoreCLI.swift
diff --git a/sources/vphone-cli/VPhoneSignCLI.swift b/Sources/VPhoneCLI/VPhoneSignCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneSignCLI.swift
rename to Sources/VPhoneCLI/VPhoneSignCLI.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineCLI.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineCLI.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineCLI.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineCreateCLI.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineCreateCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineCreateCLI.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineCreateCLI.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineCreateOptions.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineCreateOptions.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineCreateOptions.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineCreateOptions.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineCreator.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineCreator.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineCreator.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineCreator.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineLaunchCLI.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineLaunchCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineLaunchCLI.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineLaunchCLI.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineSelection.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineSelection.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineSelection.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineSelection.swift
diff --git a/sources/vphone-cli/VPhoneVirtualMachineTransferCLI.swift b/Sources/VPhoneCLI/VPhoneVirtualMachineTransferCLI.swift
similarity index 100%
rename from sources/vphone-cli/VPhoneVirtualMachineTransferCLI.swift
rename to Sources/VPhoneCLI/VPhoneVirtualMachineTransferCLI.swift
diff --git a/sources/vphone-cli/main.swift b/Sources/VPhoneCLI/main.swift
similarity index 100%
rename from sources/vphone-cli/main.swift
rename to Sources/VPhoneCLI/main.swift
diff --git a/sources/VPhoneCore/VPhoneAEA.swift b/Sources/VPhoneCore/VPhoneAEA.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneAEA.swift
rename to Sources/VPhoneCore/VPhoneAEA.swift
diff --git a/sources/VPhoneCore/VPhoneAPFSSnapshot.swift b/Sources/VPhoneCore/VPhoneAPFSSnapshot.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneAPFSSnapshot.swift
rename to Sources/VPhoneCore/VPhoneAPFSSnapshot.swift
diff --git a/sources/VPhoneCore/VPhoneBootCLI.swift b/Sources/VPhoneCore/VPhoneBootCLI.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneBootCLI.swift
rename to Sources/VPhoneCore/VPhoneBootCLI.swift
diff --git a/sources/VPhoneCore/VPhoneBootPatterns.swift b/Sources/VPhoneCore/VPhoneBootPatterns.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneBootPatterns.swift
rename to Sources/VPhoneCore/VPhoneBootPatterns.swift
diff --git a/sources/VPhoneCore/VPhoneBundle.swift b/Sources/VPhoneCore/VPhoneBundle.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneBundle.swift
rename to Sources/VPhoneCore/VPhoneBundle.swift
diff --git a/sources/VPhoneCore/VPhoneBundleOperations.swift b/Sources/VPhoneCore/VPhoneBundleOperations.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneBundleOperations.swift
rename to Sources/VPhoneCore/VPhoneBundleOperations.swift
diff --git a/sources/VPhoneCore/VPhoneBundleReport.swift b/Sources/VPhoneCore/VPhoneBundleReport.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneBundleReport.swift
rename to Sources/VPhoneCore/VPhoneBundleReport.swift
diff --git a/sources/VPhoneCore/VPhoneFirmwareCatalog.swift b/Sources/VPhoneCore/VPhoneFirmwareCatalog.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneFirmwareCatalog.swift
rename to Sources/VPhoneCore/VPhoneFirmwareCatalog.swift
diff --git a/sources/VPhoneCore/VPhoneFirmwareIndex.swift b/Sources/VPhoneCore/VPhoneFirmwareIndex.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneFirmwareIndex.swift
rename to Sources/VPhoneCore/VPhoneFirmwareIndex.swift
diff --git a/sources/VPhoneCore/VPhoneFirmwareMatrix.swift b/Sources/VPhoneCore/VPhoneFirmwareMatrix.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneFirmwareMatrix.swift
rename to Sources/VPhoneCore/VPhoneFirmwareMatrix.swift
diff --git a/sources/VPhoneCore/VPhoneFirmwarePicker.swift b/Sources/VPhoneCore/VPhoneFirmwarePicker.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneFirmwarePicker.swift
rename to Sources/VPhoneCore/VPhoneFirmwarePicker.swift
diff --git a/sources/VPhoneCore/VPhoneGuestBinaries.swift b/Sources/VPhoneCore/VPhoneGuestBinaries.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneGuestBinaries.swift
rename to Sources/VPhoneCore/VPhoneGuestBinaries.swift
diff --git a/sources/VPhoneCore/VPhoneGuestLauncher.swift b/Sources/VPhoneCore/VPhoneGuestLauncher.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneGuestLauncher.swift
rename to Sources/VPhoneCore/VPhoneGuestLauncher.swift
diff --git a/sources/VPhoneCore/VPhoneInstallPackage.swift b/Sources/VPhoneCore/VPhoneInstallPackage.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneInstallPackage.swift
rename to Sources/VPhoneCore/VPhoneInstallPackage.swift
diff --git a/sources/VPhoneCore/VPhoneLaunchLayout.swift b/Sources/VPhoneCore/VPhoneLaunchLayout.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneLaunchLayout.swift
rename to Sources/VPhoneCore/VPhoneLaunchLayout.swift
diff --git a/sources/VPhoneCore/VPhoneLibrary.swift b/Sources/VPhoneCore/VPhoneLibrary.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneLibrary.swift
rename to Sources/VPhoneCore/VPhoneLibrary.swift
diff --git a/sources/VPhoneCore/VPhoneManagedProcess.swift b/Sources/VPhoneCore/VPhoneManagedProcess.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneManagedProcess.swift
rename to Sources/VPhoneCore/VPhoneManagedProcess.swift
diff --git a/sources/VPhoneCore/VPhoneNetworking.swift b/Sources/VPhoneCore/VPhoneNetworking.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneNetworking.swift
rename to Sources/VPhoneCore/VPhoneNetworking.swift
diff --git a/sources/VPhoneCore/VPhonePCCGPUDriver.swift b/Sources/VPhoneCore/VPhonePCCGPUDriver.swift
similarity index 100%
rename from sources/VPhoneCore/VPhonePCCGPUDriver.swift
rename to Sources/VPhoneCore/VPhonePCCGPUDriver.swift
diff --git a/sources/VPhoneCore/VPhoneProcessRunner.swift b/Sources/VPhoneCore/VPhoneProcessRunner.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneProcessRunner.swift
rename to Sources/VPhoneCore/VPhoneProcessRunner.swift
diff --git a/sources/VPhoneCore/VPhoneRemoteZip.swift b/Sources/VPhoneCore/VPhoneRemoteZip.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneRemoteZip.swift
rename to Sources/VPhoneCore/VPhoneRemoteZip.swift
diff --git a/sources/VPhoneCore/VPhoneResources.swift b/Sources/VPhoneCore/VPhoneResources.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneResources.swift
rename to Sources/VPhoneCore/VPhoneResources.swift
diff --git a/sources/VPhoneCore/VPhoneRestoreInfo.swift b/Sources/VPhoneCore/VPhoneRestoreInfo.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneRestoreInfo.swift
rename to Sources/VPhoneCore/VPhoneRestoreInfo.swift
diff --git a/sources/VPhoneCore/VPhoneRestoreOperations.swift b/Sources/VPhoneCore/VPhoneRestoreOperations.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneRestoreOperations.swift
rename to Sources/VPhoneCore/VPhoneRestoreOperations.swift
diff --git a/sources/VPhoneCore/VPhoneSudo.swift b/Sources/VPhoneCore/VPhoneSudo.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneSudo.swift
rename to Sources/VPhoneCore/VPhoneSudo.swift
diff --git a/sources/VPhoneCore/VPhoneVerbosity.swift b/Sources/VPhoneCore/VPhoneVerbosity.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneVerbosity.swift
rename to Sources/VPhoneCore/VPhoneVerbosity.swift
diff --git a/sources/VPhoneCore/VPhoneVirtualMachineManifest.swift b/Sources/VPhoneCore/VPhoneVirtualMachineManifest.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneVirtualMachineManifest.swift
rename to Sources/VPhoneCore/VPhoneVirtualMachineManifest.swift
diff --git a/sources/VPhoneCore/VPhoneVirtualMachinePicker.swift b/Sources/VPhoneCore/VPhoneVirtualMachinePicker.swift
similarity index 100%
rename from sources/VPhoneCore/VPhoneVirtualMachinePicker.swift
rename to Sources/VPhoneCore/VPhoneVirtualMachinePicker.swift
diff --git a/sources/VPhoneRestore/VPhoneRecoveryProbe.swift b/Sources/VPhoneRestore/VPhoneRecoveryProbe.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRecoveryProbe.swift
rename to Sources/VPhoneRestore/VPhoneRecoveryProbe.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreBackendError.swift b/Sources/VPhoneRestore/VPhoneRestoreBackendError.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreBackendError.swift
rename to Sources/VPhoneRestore/VPhoneRestoreBackendError.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreEvent.swift b/Sources/VPhoneRestore/VPhoneRestoreEvent.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreEvent.swift
rename to Sources/VPhoneRestore/VPhoneRestoreEvent.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreIdentity.swift b/Sources/VPhoneRestore/VPhoneRestoreIdentity.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreIdentity.swift
rename to Sources/VPhoneRestore/VPhoneRestoreIdentity.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreLayout.swift b/Sources/VPhoneRestore/VPhoneRestoreLayout.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreLayout.swift
rename to Sources/VPhoneRestore/VPhoneRestoreLayout.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreOptions.swift b/Sources/VPhoneRestore/VPhoneRestoreOptions.swift
similarity index 98%
rename from sources/VPhoneRestore/VPhoneRestoreOptions.swift
rename to Sources/VPhoneRestore/VPhoneRestoreOptions.swift
index 0511706c..4b435909 100644
--- a/sources/VPhoneRestore/VPhoneRestoreOptions.swift
+++ b/Sources/VPhoneRestore/VPhoneRestoreOptions.swift
@@ -10,7 +10,7 @@ import MobileRestoreCore
/// closure, never a function pointer.
public struct VPhoneRestoreOptions: Sendable, Equatable {
/// The extracted `iPhone*_Restore` directory. A `.ipsw` archive is
- /// rejected: this build has no libzip (see `sources/MobileRestoreCore/zip.h`).
+ /// rejected: this build has no libzip (see `Sources/MobileRestoreCore/zip.h`).
public var restoreDirectory: URL
/// Where personalized components and `shshOnly`'s output land. `nil` is
diff --git a/sources/VPhoneRestore/VPhoneRestoreRunner.swift b/Sources/VPhoneRestore/VPhoneRestoreRunner.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreRunner.swift
rename to Sources/VPhoneRestore/VPhoneRestoreRunner.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreService.swift b/Sources/VPhoneRestore/VPhoneRestoreService.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreService.swift
rename to Sources/VPhoneRestore/VPhoneRestoreService.swift
diff --git a/sources/VPhoneRestore/VPhoneRestoreTicket.swift b/Sources/VPhoneRestore/VPhoneRestoreTicket.swift
similarity index 100%
rename from sources/VPhoneRestore/VPhoneRestoreTicket.swift
rename to Sources/VPhoneRestore/VPhoneRestoreTicket.swift
diff --git a/sources/VPhoneSign/VPhoneCodeSignature.swift b/Sources/VPhoneSign/VPhoneCodeSignature.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneCodeSignature.swift
rename to Sources/VPhoneSign/VPhoneCodeSignature.swift
diff --git a/sources/VPhoneSign/VPhoneMachOImage.swift b/Sources/VPhoneSign/VPhoneMachOImage.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneMachOImage.swift
rename to Sources/VPhoneSign/VPhoneMachOImage.swift
diff --git a/sources/VPhoneSign/VPhoneSignBytes.swift b/Sources/VPhoneSign/VPhoneSignBytes.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignBytes.swift
rename to Sources/VPhoneSign/VPhoneSignBytes.swift
diff --git a/sources/VPhoneSign/VPhoneSignDER.swift b/Sources/VPhoneSign/VPhoneSignDER.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignDER.swift
rename to Sources/VPhoneSign/VPhoneSignDER.swift
diff --git a/sources/VPhoneSign/VPhoneSignEntitlements.swift b/Sources/VPhoneSign/VPhoneSignEntitlements.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignEntitlements.swift
rename to Sources/VPhoneSign/VPhoneSignEntitlements.swift
diff --git a/sources/VPhoneSign/VPhoneSignEntitlementsReader.swift b/Sources/VPhoneSign/VPhoneSignEntitlementsReader.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignEntitlementsReader.swift
rename to Sources/VPhoneSign/VPhoneSignEntitlementsReader.swift
diff --git a/sources/VPhoneSign/VPhoneSignError.swift b/Sources/VPhoneSign/VPhoneSignError.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignError.swift
rename to Sources/VPhoneSign/VPhoneSignError.swift
diff --git a/sources/VPhoneSign/VPhoneSignIdentity.swift b/Sources/VPhoneSign/VPhoneSignIdentity.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignIdentity.swift
rename to Sources/VPhoneSign/VPhoneSignIdentity.swift
diff --git a/sources/VPhoneSign/VPhoneSignPKCS12.swift b/Sources/VPhoneSign/VPhoneSignPKCS12.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSignPKCS12.swift
rename to Sources/VPhoneSign/VPhoneSignPKCS12.swift
diff --git a/sources/VPhoneSign/VPhoneSigner.swift b/Sources/VPhoneSign/VPhoneSigner.swift
similarity index 100%
rename from sources/VPhoneSign/VPhoneSigner.swift
rename to Sources/VPhoneSign/VPhoneSigner.swift
diff --git a/sources/vphone-vm/main.swift b/Sources/VPhoneVM/main.swift
similarity index 91%
rename from sources/vphone-vm/main.swift
rename to Sources/VPhoneVM/main.swift
index 729d534c..0a197144 100644
--- a/sources/vphone-vm/main.swift
+++ b/Sources/VPhoneVM/main.swift
@@ -1,7 +1,7 @@
// vphone-vm — the process that actually runs a guest.
//
// This is the only binary in the project signed with the private
-// virtualization entitlements (sources/vphone.entitlements), and it is
+// virtualization entitlements (Sources/vphone.entitlements), and it is
// deliberately the smallest thing that can hold them: it parses the boot
// options, becomes an NSApplication, and hands off to VPhoneVirtualMachineAppDelegate.
// Everything a user types goes through vphone-cli, which carries no
diff --git a/sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneAPIProxy.swift b/Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneAPIProxy.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneAPIProxy.swift
rename to Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneAPIProxy.swift
diff --git a/sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControl.swift b/Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControl.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControl.swift
rename to Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControl.swift
diff --git a/sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlApps.swift b/Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlApps.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlApps.swift
rename to Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlApps.swift
diff --git a/sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlKeychain.swift b/Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlKeychain.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlKeychain.swift
rename to Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlKeychain.swift
diff --git a/sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlSystem.swift b/Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlSystem.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlSystem.swift
rename to Sources/VPhoneVirtualMachineKit/GuestCommunication/VPhoneGuestControlSystem.swift
diff --git a/sources/VPhoneVirtualMachineKit/HostDevices/VPhoneCameraServer.swift b/Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneCameraServer.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/HostDevices/VPhoneCameraServer.swift
rename to Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneCameraServer.swift
diff --git a/sources/VPhoneVirtualMachineKit/HostDevices/VPhoneFrameProducer.swift b/Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneFrameProducer.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/HostDevices/VPhoneFrameProducer.swift
rename to Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneFrameProducer.swift
diff --git a/sources/VPhoneVirtualMachineKit/HostDevices/VPhoneLocationProvider.swift b/Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneLocationProvider.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/HostDevices/VPhoneLocationProvider.swift
rename to Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneLocationProvider.swift
diff --git a/sources/VPhoneVirtualMachineKit/HostDevices/VPhoneScreenRecorder.swift b/Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneScreenRecorder.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/HostDevices/VPhoneScreenRecorder.swift
rename to Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneScreenRecorder.swift
diff --git a/sources/VPhoneVirtualMachineKit/HostDevices/VPhoneTouchIDMonitor.swift b/Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneTouchIDMonitor.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/HostDevices/VPhoneTouchIDMonitor.swift
rename to Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneTouchIDMonitor.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserModel.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserModel.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserModel.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserModel.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserView.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserView.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserView.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppBrowserView.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppWindowController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppWindowController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppWindowController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneAppWindowController.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserModel.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserModel.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserModel.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserModel.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserView.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserView.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserView.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileBrowserView.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileWindowController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileWindowController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileWindowController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneFileWindowController.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserModel.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserModel.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserModel.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserModel.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserView.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserView.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserView.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainBrowserView.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainItem.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainItem.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainItem.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainItem.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainWindowController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainWindowController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainWindowController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneKeychainWindowController.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneQuickLookController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneQuickLookController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneQuickLookController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneQuickLookController.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneRemoteFile.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneRemoteFile.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneRemoteFile.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Browsers/VPhoneRemoteFile.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuApps.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuApps.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuApps.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuApps.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuBattery.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuBattery.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuBattery.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuBattery.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuCamera.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuCamera.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuCamera.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuCamera.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuConnect.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuConnect.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuConnect.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuConnect.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuController.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuKeys.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuKeys.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuKeys.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuKeys.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuLocation.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuLocation.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuLocation.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuLocation.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuRecord.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuRecord.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuRecord.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/Menu/VPhoneMenuRecord.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineKeySender.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineKeySender.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineKeySender.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineKeySender.swift
diff --git a/sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineWindowController.swift b/Sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineWindowController.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineWindowController.swift
rename to Sources/VPhoneVirtualMachineKit/UserInterface/VPhoneVirtualMachineWindowController.swift
diff --git a/sources/VPhoneVirtualMachineKit/VPhoneBootCLI+VirtualMachine.swift b/Sources/VPhoneVirtualMachineKit/VPhoneBootCLI+VirtualMachine.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VPhoneBootCLI+VirtualMachine.swift
rename to Sources/VPhoneVirtualMachineKit/VPhoneBootCLI+VirtualMachine.swift
diff --git a/sources/VPhoneVirtualMachineKit/VPhoneGuestApp.swift b/Sources/VPhoneVirtualMachineKit/VPhoneGuestApp.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VPhoneGuestApp.swift
rename to Sources/VPhoneVirtualMachineKit/VPhoneGuestApp.swift
diff --git a/sources/VPhoneVirtualMachineKit/VPhoneHostAutomationServer.swift b/Sources/VPhoneVirtualMachineKit/VPhoneHostAutomationServer.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VPhoneHostAutomationServer.swift
rename to Sources/VPhoneVirtualMachineKit/VPhoneHostAutomationServer.swift
diff --git a/sources/VPhoneVirtualMachineKit/VPhoneVirtualMachineAppDelegate.swift b/Sources/VPhoneVirtualMachineKit/VPhoneVirtualMachineAppDelegate.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VPhoneVirtualMachineAppDelegate.swift
rename to Sources/VPhoneVirtualMachineKit/VPhoneVirtualMachineAppDelegate.swift
diff --git a/sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachine.swift b/Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachine.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachine.swift
rename to Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachine.swift
diff --git a/sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineError.swift b/Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineError.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineError.swift
rename to Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineError.swift
diff --git a/sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineHardwareModel.swift b/Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineHardwareModel.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineHardwareModel.swift
rename to Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineHardwareModel.swift
diff --git a/sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineView.swift b/Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineView.swift
similarity index 100%
rename from sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineView.swift
rename to Sources/VPhoneVirtualMachineKit/VirtualMachine/VPhoneVirtualMachineView.swift
diff --git a/sources/vphone.entitlements b/Sources/vphone.entitlements
similarity index 100%
rename from sources/vphone.entitlements
rename to Sources/vphone.entitlements
diff --git a/research/0_binary_patch_comparison.md b/research/0_binary_patch_comparison.md
index c3f874ff..5e13f31a 100644
--- a/research/0_binary_patch_comparison.md
+++ b/research/0_binary_patch_comparison.md
@@ -281,7 +281,7 @@ addresses (49 gates each, zero verdict differences).
### Swift port status — the six independent Mach-O patchers (2026-09-23)
Rows 1, 2, 3, 5 and 13 above, plus the EXP `watchdogd` patch, now have Swift
-implementations under `sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/`. The patches did not
+implementations under `Sources/FirmwarePatcher/CustomFirmware/ExecutablePatches/`. The patches did not
change. Each was run against its Python on two `cp -c` clones of the real 24A435
binary in `ipsws/ref_extract/macho_pristine/`, both with re-attestation off (what
the Python emits) and on (against `cfw_macho_codesign.reattest_modified_offsets`).
@@ -427,7 +427,7 @@ that check into a silent skip rather than a failure. CI no longer initialises it
list; P2 then deleted the list.** `requirements.txt`, `scripts/setup_venv.sh`,
`scripts/setup_venv_linux.sh`, the `make setup_venv` target and
`scripts/pymobiledevice3_bridge.py` are all gone — the restore backend was the
-last program holding any of them up, and it is `sources/VPhoneRestore` over
+last program holding any of them up, and it is `Sources/VPhoneRestore` over
vendored libirecovery and idevicerestore now
(`research/restore/p2_restore_off_python.md`). No Python is tracked in this repository
and nothing resolves a `python3` at runtime.
@@ -1114,7 +1114,7 @@ cache rebuild.
- `patch_sandbox_hooks_extended`
- `patch_post_validation_additional`
- 2026-03-07 host-side note:
- - reviewed private Virtualization.framework display APIs against the recorder pipeline in `sources/vphone-cli/Devices/VPhoneScreenRecorder.swift`.
+ - reviewed private Virtualization.framework display APIs against the recorder pipeline in `Sources/VPhoneVirtualMachineKit/HostDevices/VPhoneScreenRecorder.swift`.
- replaced the old AppKit-first recorder path with a private-display-only implementation built around hidden `VZGraphicsDisplay._takeScreenshotWithCompletionHandler:` capture.
- added still screenshot actions that can copy the captured image to the pasteboard or save a PNG to disk using the same private capture path.
- `make build` is used as the sanity check path; live VM validation is still needed to confirm the exact screenshot object type returned on macOS 15.
diff --git a/research/firmware/firmware_manifest_and_origins.md b/research/firmware/firmware_manifest_and_origins.md
index 2bace0cd..48694bd3 100644
--- a/research/firmware/firmware_manifest_and_origins.md
+++ b/research/firmware/firmware_manifest_and_origins.md
@@ -413,7 +413,7 @@ compatible[] list see when enumerating identifiers, now reports
in isolation.
Wiring: all 5 patches are declared in
-`sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift` under
+`Sources/FirmwarePatcher/DeviceTree/DeviceTreePatcher.swift` under
`propertyPatches`. The serializer rebuilds the entire tree on every run,
so each new value is written at the same slot length as the original.
The `compatible` patch uses a new `PropertyValue.bytes(Data)` case that
diff --git a/research/history/intg_update_status.md b/research/history/intg_update_status.md
index 3c055d5d..72b6b76b 100644
--- a/research/history/intg_update_status.md
+++ b/research/history/intg_update_status.md
@@ -55,7 +55,7 @@ is 2,396 lines against 2,410 at the branch base.
| P0.5 | admission gates | ✅ **`make check-aux`, six gates, all green, dist list empty** — see [`d2_d3_self_containment.md`](../host/d2_d3_self_containment.md) |
| **P1.0–1.5** | CFW patchers | ✅ **complete** — `scripts/patchers/` deleted at `d90371a`, 26 files / 6,539 lines into 24 `vphone-cli cfw` verbs |
| **P2.0** | can libirecovery see the virtual DFU endpoint? | ✅ **yes** — `research/restore/p2_dfu_spike.md` |
-| **P2.1–2.2** | vendor libirecovery + idevicerestore | ✅ `sources/MobileRecoveryCore`, `sources/MobileRestoreCore` |
+| **P2.1–2.2** | vendor libirecovery + idevicerestore | ✅ `Sources/MobileRecoveryCore`, `Sources/MobileRestoreCore` |
| **P2.3** | Swift wrapper + call-site replacement | ◐ **built and unit-tested; 4 of the 7 behaviour rows still need a device** |
| **P2.4** | Python → zero | ✅ **complete** — see D1 above |
| P3, P4 | shell | ❌ not started |
@@ -81,7 +81,7 @@ embedded in shell heredocs. All of it is gone.
| what | lines at `6d5ce7d` | where it went |
| --- | ---: | --- |
| `scripts/patchers/` (26 files) | 5,098 | 24 `vphone-cli cfw` verbs (P1) |
-| `scripts/pymobiledevice3_bridge.py` | 268 | `sources/VPhoneRestore` + two C targets (P2) |
+| `scripts/pymobiledevice3_bridge.py` | 268 | `Sources/VPhoneRestore` + two C targets (P2) |
| `scripts/fw_manifest.py` | 237 | no callers — deleted |
| `scripts/vm_manifest.py` | 123 | `VPhoneVirtualMachineManifest.swift` |
| `tools/apfs_snap_rename.py` | 95 | `vphone-cli cfw flip-snapshot` |
@@ -254,7 +254,7 @@ Recorded because they were measured, not reasoned about.
- **`ipsw` / `aea` / `ldid` are called by absolute `/opt/homebrew` path from
Swift**, not through `PATH`. §1.4 counts the shell call sites. Gate 2 lists
all of them.
-- **`sources/vphone.entitlements` has 7 keys**, not the 4 the plan says or the
+- **`Sources/vphone.entitlements` has 7 keys**, not the 4 the plan says or the
5 `CLAUDE.md` said. Two of them — location and BiometricKit — belong to
`Devices/`, which is why they all landed on `vphone-vm`.
- **The Python inventory in §1.2.1 misses a file.** It lists five blocks of
@@ -288,7 +288,7 @@ Re-run these rather than trusting the tables:
```zsh
git ls-files '*.py' # D1: must print nothing
-grep -rn '_resolve_python3' scripts/ sources/ Makefile # must print nothing
+grep -rn '_resolve_python3' scripts/ Sources/ Makefile # must print nothing
grep -rn '<<.*PY' scripts/ # heredocs: must print nothing
grep -rn 'python' scripts/*.sh # comments only, no call sites
diff --git a/research/history/manifest_and_refactoring_summary.md b/research/history/manifest_and_refactoring_summary.md
index d8275217..11175885 100644
--- a/research/history/manifest_and_refactoring_summary.md
+++ b/research/history/manifest_and_refactoring_summary.md
@@ -17,7 +17,7 @@
### Files Created
-- `sources/VPhoneCore/VPhoneVirtualMachineManifest.swift` - Manifest structure (compatible with security-pcc)
+- `Sources/VPhoneCore/VPhoneVirtualMachineManifest.swift` - Manifest structure (compatible with security-pcc)
- `scripts/vm_manifest.py` - Python script to generate config.plist
### Changes Made
diff --git a/research/host/d2_d3_self_containment.md b/research/host/d2_d3_self_containment.md
index d31f7cec..ec1cfb7a 100644
--- a/research/host/d2_d3_self_containment.md
+++ b/research/host/d2_d3_self_containment.md
@@ -119,11 +119,11 @@ Two details that are easy to get wrong:
page fault is a **SIGBUS** — a killed process, no failed assertion, nothing
in the log. Those reads say so in the spelling:
`Data(contentsOfFileToRewrite:)`, defined once in
- `sources/FirmwarePatcher/Binary/InPlaceRewrite.swift`.
+ `Sources/FirmwarePatcher/Binary/InPlaceRewrite.swift`.
`VPhoneSigner` keeps its mapping and is safe *because* it renames over the
file rather than truncating it; rename does not invalidate a mapping.
-`make check-aux` enforces the rule for `sources/`. **`tests/` is deliberately
+`make check-aux` enforces the rule for `Sources/`. **`tests/` is deliberately
outside it**: a test opens a committed fixture of a few megabytes, so mapping
buys nothing, and those fixtures are exactly what the patch tests mutate and
write back over. Holding the tests to the production rule would trade a memory
@@ -141,7 +141,7 @@ problem they do not have for a SIGBUS they would.
| 1 | recursive `otool -L` over the bundle; every absolute path fails, including one that resolves inside the bundle today |
| 1b | the same, on a copy moved elsewhere and renamed |
| 1c | the bundle holds the dist manifest and **nothing else** — a build-tier file inside it is a hard failure, and so is a stale file the manifest does not name |
-| 2 | per-tier source scan: `PATH` lookups, Homebrew paths, dist scripts exec'ing build-tier scripts, unmapped reads in `sources/`, and any interpreter anywhere |
+| 2 | per-tier source scan: `PATH` lookups, Homebrew paths, dist scripts exec'ing build-tier scripts, unmapped reads in `Sources/`, and any interpreter anywhere |
| 3 | each entry binary doing its smallest real job under `env -i PATH=/usr/bin:/bin` |
**Gate 4 is still missing**: a machine with no Homebrew at all, running a
diff --git a/research/kernel/kernel_jb_patch_notes.md b/research/kernel/kernel_jb_patch_notes.md
index 246faa5d..6cadb211 100644
--- a/research/kernel/kernel_jb_patch_notes.md
+++ b/research/kernel/kernel_jb_patch_notes.md
@@ -8,7 +8,7 @@ Last updated: 2026-03-07
> XNU-backed ones — carried into the Swift port and are why this file is kept;
> the commands are not runnable as written. There is no Python in this
> repository and no environment to install any into. The port lives in
-> `sources/FirmwarePatcher/Kernel/JailbreakPatches/`; to run anything below, recover
+> `Sources/FirmwarePatcher/Kernel/JailbreakPatches/`; to run anything below, recover
> the patchers from git history at `78cbeea`.
## Overview
diff --git a/research/kernel_jailbreak_patches/26.5_jb_hook_fixes.md b/research/kernel_jailbreak_patches/26.5_jb_hook_fixes.md
index 75d0ee7c..f2956005 100644
--- a/research/kernel_jailbreak_patches/26.5_jb_hook_fixes.md
+++ b/research/kernel_jailbreak_patches/26.5_jb_hook_fixes.md
@@ -213,9 +213,9 @@ here:
## Where to look in the code
-- The hooks live in `sources/FirmwarePatcher/Kernel/JailbreakPatches/` (one file per hook), grouped
+- The hooks live in `Sources/FirmwarePatcher/Kernel/JailbreakPatches/` (one file per hook), grouped
by subsystem into `CodeSigning/`, `Sandbox/`, `Memory/`, `Process/`, `Storage/`, `Drivers/`
and `Frida/`, with shared helpers in
- `sources/FirmwarePatcher/Kernel/KernelJBPatcherBase.swift`.
+ `Sources/FirmwarePatcher/Kernel/KernelJailbreakPatcherBase.swift`.
- Deeper, per-hook reverse-engineering notes are in `research/kernel_jailbreak_patches/` and the
patch inventory is `research/0_binary_patch_comparison.md`.
diff --git a/research/kernel_jailbreak_patches/README.md b/research/kernel_jailbreak_patches/README.md
index 7511e79e..27aa31f9 100644
--- a/research/kernel_jailbreak_patches/README.md
+++ b/research/kernel_jailbreak_patches/README.md
@@ -2,7 +2,7 @@
[Research library](../README.md) · [Patch comparison](../0_binary_patch_comparison.md) · [Document framework](PATCH_DOC_FRAMEWORK.md)
-These notes explain the source anchors, binary matches and validation evidence for individual JB kernel patches. The Swift implementations live under `sources/FirmwarePatcher/Kernel/JailbreakPatches/`; the notes are research records, not commands to apply a patch by hand.
+These notes explain the source anchors, binary matches and validation evidence for individual JB kernel patches. The Swift implementations live under `Sources/FirmwarePatcher/Kernel/JailbreakPatches/`; the notes are research records, not commands to apply a patch by hand.
| Area | Patch notes |
| --- | --- |
diff --git a/research/kernel_jailbreak_patches/patch_vm_map_protect.md b/research/kernel_jailbreak_patches/patch_vm_map_protect.md
index e21608e2..42daae6b 100644
--- a/research/kernel_jailbreak_patches/patch_vm_map_protect.md
+++ b/research/kernel_jailbreak_patches/patch_vm_map_protect.md
@@ -56,7 +56,7 @@
- Release kernel used: extracted raw Mach-O `/tmp/vphone-kcache-release-26.1.raw`.
- Release outcome: `hit` at `0x00B8424C`.
- Release emitted patch: `b #0x28 [_vm_map_protect]`.
-- Method: focused `KernelJBPatcher.patch_vm_map_protect()` dry-runs, in the Python environment this repository had on that date. Both the Python patcher and that environment are gone; the port is `sources/FirmwarePatcher/Kernel/JailbreakPatches/`.
+- Method: focused `KernelJBPatcher.patch_vm_map_protect()` dry-runs, in the Python environment this repository had on that date. Both the Python patcher and that environment are gone; the port is `Sources/FirmwarePatcher/Kernel/JailbreakPatches/`.
- Result: the reworked matcher hits the same semantic gate on both PCC 26.1 research and PCC 26.1 release, and the research hit **matches upstream exactly**.
## Why This Should Generalize Beyond The Current Research Image
diff --git a/research/restore/p2_dfu_spike.md b/research/restore/p2_dfu_spike.md
index 89b334f9..c0fbfbff 100644
--- a/research/restore/p2_dfu_spike.md
+++ b/research/restore/p2_dfu_spike.md
@@ -6,7 +6,7 @@
> re-evaluate if it fails, rather than vendoring idevicerestore on an assumption.
> **Since answered and acted on.** The migration this spike unblocked is done:
-> the restore path is `sources/VPhoneRestore` over vendored libirecovery and
+> the restore path is `Sources/VPhoneRestore` over vendored libirecovery and
> idevicerestore, and `scripts/pymobiledevice3_bridge.py` no longer exists.
> Everything below is written as of the day of the spike, when it still did.
> `research/restore/p2_restore_off_python.md` has what P2 went on to do.
diff --git a/research/restore/p2_restore_off_python.md b/research/restore/p2_restore_off_python.md
index a7bc0e96..ca0ce6cc 100644
--- a/research/restore/p2_restore_off_python.md
+++ b/research/restore/p2_restore_off_python.md
@@ -8,7 +8,7 @@
> provisioning blocks in `setup_tools.sh` and `setup_machine.sh`. D1 — zero
> Python — is met.
>
-> What replaced it: `sources/VPhoneRestore` (1,040 lines of Swift) over two
+> What replaced it: `Sources/VPhoneRestore` (1,040 lines of Swift) over two
> vendored C targets, `MobileRecoveryCore` (libirecovery) and
> `MobileRestoreCore` (idevicerestore), with everything else arriving as
> prebuilt xcframeworks.
@@ -48,7 +48,7 @@ product can `#include <plist/plist.h>`, `<libimobiledevice/libimobiledevice.h>`,
Two things are not in that package, and both are load-bearing.
-### `sources/MobileRecoveryCore` — libirecovery 1.3.1
+### `Sources/MobileRecoveryCore` — libirecovery 1.3.1
4,629 lines. It talks to iBoot and iBSS over USB, which is the half of a restore
`idevicerestore` does not get from libimobiledevice. Upstream ships it as an
@@ -61,7 +61,7 @@ for libusb; that is deliberate here too, because a libusb backend would put a
Homebrew dylib in the link and gate 1 rejects it. It is also what
`research/restore/p2_dfu_spike.md` proved works — see below.
-### `sources/MobileRestoreCore` — idevicerestore
+### `Sources/MobileRestoreCore` — idevicerestore
20,918 lines, of which **1,399 are ours** and each of those files says so at the
top:
@@ -70,7 +70,7 @@ top:
| --- | ---: | --- |
| `vphone_restore_bridge.c` | 703 | the library entry point upstream's `main()` was |
| `vphone_zip_stub.c` | 260 | libzip's twenty-two entry points, each failing loudly |
-| `include/vphone_restore_bridge.h` | 166 | the target's only public header |
+| `Include/vphone_restore_bridge.h` | 166 | the target's only public header |
| `zip.h` | 143 | libzip's signatures, so upstream's `.c` compiles unchanged |
| `config.h` | 127 | what `./configure` would have written |
@@ -113,7 +113,7 @@ restore backend in the bundle.
## The Swift layer
-`sources/VPhoneRestore` is what actually replaces the bridge script. The Python
+`Sources/VPhoneRestore` is what actually replaces the bridge script. The Python
had four commands; three are ported with the same arguments, the same errors and
the same two lines of output that scripts and people have been grepping for
(`[+] SHSH saved: …`, `[+] Using cached SHSH: …`).
diff --git a/scripts/build.sh b/scripts/build.sh
index 36bece16..3924ba41 100755
--- a/scripts/build.sh
+++ b/scripts/build.sh
@@ -32,16 +32,16 @@ ASKPASS_BINARY=".build/release/vphone-ask-for-permission"
# Not built by `swift build`: SwiftPM emits arm64 and this one has to be arm64e
# to walk amfid's ObjC runtime. See the header of its C file.
AMFI_BINARY=".build/release/vphone-amfi-allow"
-AMFI_SOURCE="sources/vphone-amfi-allow/vphone-amfi-allow.c"
+AMFI_SOURCE="Sources/VPhoneAMFIAllow/vphone-amfi-allow.c"
BUNDLE=".build/vphone-cli.app"
BUNDLE_BIN="${BUNDLE}/Contents/MacOS/vphone-cli"
BUNDLE_VM="${BUNDLE}/Contents/MacOS/vphone-vm"
BUNDLE_ARCHIVE="${BUNDLE}/Contents/MacOS/vphone-archive"
BUNDLE_ASKPASS="${BUNDLE}/Contents/MacOS/vphone-ask-for-permission"
BUNDLE_AMFI="${BUNDLE}/Contents/MacOS/vphone-amfi-allow"
-INFO_PLIST="sources/Info.plist"
-ENTITLEMENTS="sources/vphone.entitlements"
-BUILD_INFO="sources/VPhoneCore/VPhoneBuildInfo.swift"
+INFO_PLIST="Sources/Info.plist"
+ENTITLEMENTS="Sources/vphone.entitlements"
+BUILD_INFO="Sources/VPhoneCore/VPhoneBuildInfo.swift"
GIT_HASH="$(git rev-parse --short HEAD 2>/dev/null || echo unknown)"
for arg in "$@"; do
@@ -109,7 +109,7 @@ cp -f "$ARCHIVE_BINARY" "$BUNDLE_ARCHIVE"
cp -f "$ASKPASS_BINARY" "$BUNDLE_ASKPASS"
cp -f "$AMFI_BINARY" "$BUNDLE_AMFI"
cp -f "$INFO_PLIST" "${BUNDLE}/Contents/Info.plist"
-cp -f "sources/AppIcon.icns" "${BUNDLE}/Contents/Resources/AppIcon.icns"
+cp -f "Sources/AppIcon.icns" "${BUNDLE}/Contents/Resources/AppIcon.icns"
rm -f "${BUNDLE}/Contents/Resources/signcert.p12"
# The bundle is built over whatever is already there, so these two are removed
# although nothing copies either one any more: bundles built before VPhoneSign
diff --git a/scripts/check_aux.sh b/scripts/check_aux.sh
index eeecb863..f4889aad 100755
--- a/scripts/check_aux.sh
+++ b/scripts/check_aux.sh
@@ -295,14 +295,14 @@ check_sources() {
# "/usr/local/bin:" as a PATH element, which is a directory in the GUEST, not
# a program on this host.
hits=$(grep -rnE '(opt/homebrew|usr/local)/(bin|opt|lib|sbin)/[A-Za-z0-9_.-]+' \
- --include='*.swift' sources/ 2>/dev/null | grep -v ':[0-9]*: *//')
+ --include='*.swift' Sources/ 2>/dev/null | grep -v ':[0-9]*: *//')
if [[ -n "$hits" ]]; then
while IFS= read -r line; do
[[ -z "$line" ]] && continue
fail "gate 2 [dist]: hardcoded prefix in Swift — $line"
done <<< "$hits"
else
- green " ok gate 2 [dist]: no Homebrew path anywhere in sources/"
+ green " ok gate 2 [dist]: no Homebrew path anywhere in Sources/"
fi
# --- Shell: one file at a time, judged by its own tier. ---
@@ -376,9 +376,9 @@ check_sources() {
# through that mapping is a SIGBUS — a killed process with no failed
# assertion, which is how it presented. Those reads say so in the spelling:
# `Data(contentsOfFileToRewrite:)`, defined once, in
- # sources/FirmwarePatcher/Binary/InPlaceRewrite.swift, with the reason.
+ # Sources/FirmwarePatcher/Binary/InPlaceRewrite.swift, with the reason.
#
- # So the rule for sources/ is: no bare `Data(contentsOf:)`. Either it is
+ # So the rule for Sources/ is: no bare `Data(contentsOf:)`. Either it is
# mapped, or it names itself as the rewrite case.
#
# tests/ is deliberately NOT covered, and that is not laziness. What a test
@@ -387,7 +387,7 @@ check_sources() {
# over, which is the one shape where mapping is wrong. Holding the tests to
# the production rule would trade a memory problem they do not have for a
# SIGBUS they would.
- hits=$(grep -rn 'Data(contentsOf:' --include='*.swift' sources/ 2>/dev/null \
+ hits=$(grep -rn 'Data(contentsOf:' --include='*.swift' Sources/ 2>/dev/null \
| grep -v 'mappedIfSafe' \
| grep -vE ':[0-9]+: *//')
if [[ -n "$hits" ]]; then
@@ -396,7 +396,7 @@ check_sources() {
fail "gate 2: unmapped file read — ${line%%:*}:${${line#*:}%%:*} (add options: .mappedIfSafe)"
done <<< "$hits"
else
- green " ok gate 2: every file read in sources/ is mapped or a declared rewrite"
+ green " ok gate 2: every file read in Sources/ is mapped or a declared rewrite"
fi
# --- No interpreter, in any tier. ---