mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-04-05 13:09:06 +08:00
Complete Swift firmware patcher parity and CLI wiring
Run SwiftFormat on firmware patcher Remove legacy Python firmware patchers Fix compare pipeline pyimg4 PATH handling Restore Python patchers and prefer fresh restore Update BinaryBuffer.swift Avoid double scanning in patcher apply Prefer Python TXM site before fallback Retarget TXM trustcache finder for 26.1 Remove legacy Python firmware patchers Fail fast on nested virtualization hosts Return nonzero on fatal boot startup Add amfidont helper for signed boot binary Stage AMFI boot args for next host reboot Add host preflight for boot entitlements Fail fast when boot entitlements are unavailable Switch firmware patch targets to Swift CLI Record real Swift firmware parity results Verify Swift firmware pipeline end-to-end parity Fix Swift firmware pipeline JB dry-run
This commit is contained in:
20
README.md
20
README.md
@@ -70,6 +70,15 @@ Boot into Recovery (long press power button), open Terminal, then choose one set
|
||||
sudo amfidont --path [PATH_TO_VPHONE_DIR]
|
||||
```
|
||||
|
||||
Repo helper:
|
||||
|
||||
```bash
|
||||
make amfidont_allow_vphone
|
||||
```
|
||||
|
||||
This helper computes the current signed `vphone-cli` CDHash and uses the
|
||||
URL-encoded project path form observed by `AMFIPathValidator`.
|
||||
|
||||
**Install dependencies:**
|
||||
|
||||
```bash
|
||||
@@ -225,6 +234,17 @@ AMFI/debug restrictions are not bypassed correctly. Choose one setup path:
|
||||
|
||||
- **Option 2 (debug restrictions only):**
|
||||
use Recovery mode `csrutil enable --without debug` (no full SIP disable), then install/load [`amfidont`](https://github.com/zqxwce/amfidont) while keeping AMFI otherwise enabled.
|
||||
For this repo, `make amfidont_allow_vphone` packages the required encoded-path
|
||||
and CDHash allowlist startup.
|
||||
|
||||
**Q: `make boot` / `make boot_dfu` starts and then fails with `VZErrorDomain Code=2 "Virtualization is not available on this hardware."`**
|
||||
|
||||
The host itself is running inside an Apple virtual machine, so nested
|
||||
Virtualization.framework guest boot is unavailable. Run the boot flow on a
|
||||
non-nested macOS 15+ host instead. `make boot_host_preflight` will show this as
|
||||
`Model Name: Apple Virtual Machine 1` with `kern.hv_vmm_present=1`.
|
||||
`make boot` / `make boot_dfu` now fail fast through `boot_binary_check` before
|
||||
attempting VM startup on that kind of host.
|
||||
|
||||
**Q: System apps (App Store, Messages, etc.) won't download or install.**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user