mirror of
https://github.com/Lakr233/vphone-cli.git
synced 2026-09-02 02:34:29 +00:00
Fix typo NONE_INTERACTIVE --> NON_INTERACTIVE
This commit is contained in:
@@ -55,7 +55,7 @@ help:
|
||||
@echo " DT identity properties, post-restore DT rewrite, opt-in build spoof)"
|
||||
@echo " LESS=1 Build, keeping iOS security mitigations enabled."
|
||||
@echo " SKIP_PROJECT_SETUP=1 Skip setup_tools/build"
|
||||
@echo " NONE_INTERACTIVE=1 Auto-continue prompts + boot analysis"
|
||||
@echo " NON_INTERACTIVE=1 Auto-continue prompts + boot analysis"
|
||||
@echo " SUDO_PASSWORD=... Preload sudo credential for setup flow"
|
||||
@echo " NO_BINPACK=1 Excludes the SSH, VNC, ... binaries from being installed (patchless-only, currently)"
|
||||
@echo " NO_VPHONED=1 Excludes vphoned from being installed (patchless-only, currently)"
|
||||
@@ -146,7 +146,7 @@ setup_machine:
|
||||
exit 1; \
|
||||
fi
|
||||
SUDO_PASSWORD="$(SUDO_PASSWORD)" \
|
||||
NONE_INTERACTIVE="$(NONE_INTERACTIVE)" \
|
||||
NON_INTERACTIVE="$(NON_INTERACTIVE)" \
|
||||
NO_BINPACK="$(NO_BINPACK)" \
|
||||
NO_VPHONED="$(NO_VPHONED)" \
|
||||
SPOOF_BUILD="$(SPOOF_BUILD)" \
|
||||
|
||||
@@ -116,7 +116,7 @@ git clone --recurse-submodules https://github.com/Lakr233/vphone-cli.git
|
||||
|
||||
```bash
|
||||
make setup_machine # full automation through "First Boot" (includes restore/ramdisk/CFW)
|
||||
# options: NONE_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# options: NON_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# LESS=1 for patchless variant (- AMFI, SSV, Img4, TXM bypasses)
|
||||
# DEV=1 for dev variant (+ TXM entitlement/debug bypasses)
|
||||
# JB=1 for jailbreak variant (+ full security bypass)
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ git clone --recurse-submodules https://github.com/Lakr233/vphone-cli.git
|
||||
|
||||
```bash
|
||||
make setup_machine # 初回起動までを完全自動化(復元/ラムディスク/CFWを含む)
|
||||
# オプション:NONE_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# オプション:NON_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# LESS=1 で patchless バリアント(- AMFI, SSV, Img4, TXM バイパス)
|
||||
# DEV=1 で開発バリアント(+ TXM entitlement/デバッグバイパス)
|
||||
# JB=1 で脱獄バリアント(dev + 完全セキュリティバイパス)
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ git clone --recurse-submodules https://github.com/Lakr233/vphone-cli.git
|
||||
|
||||
```bash
|
||||
make setup_machine # "First Boot"까지의 전체 과정 자동화 (복원/Ramdisk/커스텀 펌웨어 포함)
|
||||
# 옵션: NONE_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# 옵션: NON_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# LESS=1 Patchless 변형 (- AMFI, SSV, Img4, TXM 우회)
|
||||
# DEV=1 개발 변형 (+ TXM 권한/디버그 우회)
|
||||
# JB=1 탈옥 변형 (dev + 전체 보안 우회)
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ git clone --recurse-submodules https://github.com/Lakr233/vphone-cli.git
|
||||
|
||||
```bash
|
||||
make setup_machine # 完全自动化完成"首次启动"流程(包含 restore/ramdisk/CFW)
|
||||
# 选项:NONE_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# 选项:NON_INTERACTIVE=1 SUDO_PASSWORD=...
|
||||
# LESS=1 patchless 变体(- AMFI、SSV、Img4、TXM 绕过)
|
||||
# DEV=1 开发变体(+ TXM 权限/调试绕过)
|
||||
# JB=1 越狱变体(dev + 完整安全绕过)
|
||||
|
||||
@@ -755,7 +755,7 @@ cache rebuild.
|
||||
- dev: all 7 component payloads match
|
||||
- jb: all 7 component payloads match
|
||||
- Runtime validation blocker observed on 2026-03-10:
|
||||
- `NONE_INTERACTIVE=1 SKIP_PROJECT_SETUP=1 make setup_machine JB=1` reaches the Swift patch stage and reports `[patch-firmware] applied 154 patches for jb`, then fails when the flow transitions into `make boot_dfu`.
|
||||
- `NON_INTERACTIVE=1 SKIP_PROJECT_SETUP=1 make setup_machine JB=1` reaches the Swift patch stage and reports `[patch-firmware] applied 154 patches for jb`, then fails when the flow transitions into `make boot_dfu`.
|
||||
- `make boot_dfu` originally failed at launch-policy time with exit `137` / signal `9` because the release `vphone-cli` could not launch on this host.
|
||||
- `amfidont` was then validated on-host:
|
||||
- it can attach to `/usr/libexec/amfid`
|
||||
|
||||
@@ -54,8 +54,8 @@ BOOT_PROMPT_FALLBACK_TIMEOUT="${BOOT_PROMPT_FALLBACK_TIMEOUT:-60}"
|
||||
BOOT_BASH_PROMPT_REGEX="${BOOT_BASH_PROMPT_REGEX:-bash-[0-9]+(\.[0-9]+)+#}"
|
||||
BOOT_PANIC_REGEX="${BOOT_PANIC_REGEX:-(^|[^p])(panic|kernel panic|panic\\.apple\\.com|stackshot succeeded)}"
|
||||
PMD3_BRIDGE="${PMD3_BRIDGE:-${PROJECT_ROOT}/scripts/pymobiledevice3_bridge.py}"
|
||||
NONE_INTERACTIVE_RAW="${NONE_INTERACTIVE:-0}"
|
||||
NONE_INTERACTIVE=0
|
||||
NON_INTERACTIVE_RAW="${NON_INTERACTIVE:-0}"
|
||||
NON_INTERACTIVE=0
|
||||
NO_BINPACK_RAW="${NO_BINPACK:-0}"
|
||||
NO_BINPACK=0
|
||||
NO_VPHONED_RAW="${NO_VPHONED:-0}"
|
||||
@@ -987,7 +987,7 @@ Options:
|
||||
--skip-project-setup Skip setup_tools/build stage.
|
||||
|
||||
Environment:
|
||||
NONE_INTERACTIVE=1 Auto-continue first-boot prompts + run final boot analysis.
|
||||
NON_INTERACTIVE=1 Auto-continue first-boot prompts + run final boot analysis.
|
||||
SUDO_PASSWORD=... Preload sudo credential via askpass.
|
||||
NO_BINPACK=1 Excludes the SSH, VNC, ... binaries from being installed (patchless-only, currently)
|
||||
NO_VPHONED=1 Excludes vphoned from being installed (patchless-only, currently)
|
||||
@@ -1005,8 +1005,8 @@ EOF
|
||||
|
||||
main() {
|
||||
parse_args "$@"
|
||||
if parse_bool "$NONE_INTERACTIVE_RAW"; then
|
||||
NONE_INTERACTIVE=1
|
||||
if parse_bool "$NON_INTERACTIVE_RAW"; then
|
||||
NON_INTERACTIVE=1
|
||||
fi
|
||||
if parse_bool "$NO_BINPACK_RAW"; then
|
||||
NO_BINPACK=1
|
||||
@@ -1042,7 +1042,7 @@ main() {
|
||||
mode_label="less"
|
||||
fi
|
||||
|
||||
echo "[*] setup_machine mode: ${mode_label}, project_setup=$([[ "$SKIP_PROJECT_SETUP" -eq 1 ]] && echo "skip" || echo "run"), non_interactive=${NONE_INTERACTIVE}, no_binpack=${NO_BINPACK}, no_vphoned=${NO_VPHONED}"
|
||||
echo "[*] setup_machine mode: ${mode_label}, project_setup=$([[ "$SKIP_PROJECT_SETUP" -eq 1 ]] && echo "skip" || echo "run"), non_interactive=${NON_INTERACTIVE}, no_binpack=${NO_BINPACK}, no_vphoned=${NO_VPHONED}"
|
||||
|
||||
if [[ "$SKIP_PROJECT_SETUP" -eq 1 ]]; then
|
||||
echo ""
|
||||
@@ -1104,15 +1104,15 @@ main() {
|
||||
if [[ "$LESS_MODE" -eq 0 || "$NO_BINPACK" -eq 0 ]]; then
|
||||
echo ""
|
||||
echo "=== First boot ==="
|
||||
if [[ "$NONE_INTERACTIVE" -eq 0 ]]; then
|
||||
if [[ "$NON_INTERACTIVE" -eq 0 ]]; then
|
||||
read -r "?[*] press Enter to start VM, after the VM has finished booting, press Enter again to finish last stage"
|
||||
else
|
||||
echo "[*] NONE_INTERACTIVE=1: auto-starting first boot"
|
||||
echo "[*] NON_INTERACTIVE=1: auto-starting first boot"
|
||||
fi
|
||||
|
||||
start_first_boot
|
||||
|
||||
if [[ "$NONE_INTERACTIVE" -eq 0 ]]; then
|
||||
if [[ "$NON_INTERACTIVE" -eq 0 ]]; then
|
||||
read -r "?[*] Press Enter once the VM is fully booted"
|
||||
else
|
||||
wait_for_first_boot_prompt_auto
|
||||
|
||||
Reference in New Issue
Block a user