RepositorySwift
LA

Lakr233/vphone-cli

Run a virtual iPhone on an Apple Silicon Mac.

17.1ksao
2.0kfork
4issue
19lượt xem

🚀 Boot a Virtual iPhone on Apple Silicon

vphone-cli runs a virtual iPhone (iOS 26) on Apple Silicon Macs using Apple's Virtualization.framework and PCC research VM infrastructure.

vphone-cli is a Swift-based command-line tool that boots a virtualized iPhone environment on Apple Silicon Macs. It leverages Apple's Virtualization.framework combined with PCC research VM infrastructure to run iOS 26. The project supports five firmware patch variants ranging from patchless to experimental, each offering different levels of security bypass and feature access.

✨ Highlights

  • Patchless Variant: Uses 4 patches and 2 phases with fw_patch_less + boot_less targets, requiring minimal AMFI/SIP configuration.
  • Regular Variant: Applies 42 patches across 10 phases via fw_patch + cfw_install for standard usage.
  • Development Variant: Includes 53 patches and 12 phases with additional TXM entitlement and debug bypasses.
  • Jailbreak Variant: Features 113 patches and 14 phases for full security bypass, including Sileo, apt, and TrollStore installation.
  • Experimental Variant: Provides 141 patches and 18 phases as a JB superset that patches kernel and DSC to deceive Apple services about VM status.
  • Automated JB Setup: First-boot jailbreak finalization runs via /cores/vphone_jb_setup.sh LaunchDaemon with logging at /var/log/vphone_jb_setup.log.
  • Multi-Language Support: README available in Korean, Japanese, Chinese, and English.
  • Flexible Configuration: VM settings configurable via Makefile options including CPU, memory, disk size, and patch variants.

💡 Why it matters

Unlike traditional iOS simulation, vphone-cli uses Apple's native Virtualization.framework to run actual iOS firmware on Apple Silicon Macs, providing near-native performance and compatibility. The tiered firmware patching approach allows users to choose the right balance between functionality and system integrity, from minimal patchless configurations to full jailbreak environments.

The tool is particularly valuable for developers testing iOS applications without physical devices, security researchers exploring iOS internals, and enthusiasts wanting to run iOS on Mac hardware. The experimental variant's ability to make Apple services believe the device is non-VM while preserving VM-specific features demonstrates sophisticated understanding of iOS internals.


#iOS #Virtualization #AppleSilicon #Jailbreak #TiniX