make explicit the connect-port option on adb-only
This commit is contained in:
parent
df7c18a9af
commit
756c3342fd
|
|
@ -36,8 +36,9 @@ Usage:
|
||||||
./0_termux-setupv2.sh --with-adb
|
./0_termux-setupv2.sh --with-adb
|
||||||
-> Termux baseline + Debian bootstrap + ADB pair/connect if needed (skips if already connected).
|
-> Termux baseline + Debian bootstrap + ADB pair/connect if needed (skips if already connected).
|
||||||
|
|
||||||
./0_termux-setupv2.sh --adb-only
|
./0_termux-setupv2.sh --adb-only [--connect-port PORT]
|
||||||
-> Only ADB pair/connect if needed (no Debian; skips if already connected).
|
-> Only ADB pair/connect if needed (no Debian; skips if already connected).
|
||||||
|
Tip: --connect-port skips the CONNECT PORT prompt (you’ll still be asked for PAIR PORT + PAIR CODE).
|
||||||
|
|
||||||
./0_termux-setupv2.sh --connect-only [CONNECT_PORT]
|
./0_termux-setupv2.sh --connect-only [CONNECT_PORT]
|
||||||
-> Connect-only (no pairing). Use this after the device was already paired before.
|
-> Connect-only (no pairing). Use this after the device was already paired before.
|
||||||
|
|
@ -54,7 +55,7 @@ Usage:
|
||||||
-> baseline + Debian + ADB pair/connect if needed + (Android 12-13 only) apply --ppk + run --check.
|
-> baseline + Debian + ADB pair/connect if needed + (Android 12-13 only) apply --ppk + run --check.
|
||||||
|
|
||||||
Optional:
|
Optional:
|
||||||
--connect-port 41313 (5 digits) Skip CONNECT PORT prompt
|
--connect-port 41313 (5 digits) Skip CONNECT PORT prompt used with --adb-only
|
||||||
--timeout 180 Seconds to wait per prompt
|
--timeout 180 Seconds to wait per prompt
|
||||||
--reset-debian Reset (reinstall) Debian in proot-distro
|
--reset-debian Reset (reinstall) Debian in proot-distro
|
||||||
--no-log Disable logging
|
--no-log Disable logging
|
||||||
|
|
@ -314,13 +315,13 @@ main() {
|
||||||
self_check
|
self_check
|
||||||
ok "0_termux-setupv2.sh completed (mode=$MODE)."
|
ok "0_termux-setupv2.sh completed (mode=$MODE)."
|
||||||
log "---- Mode list ----"
|
log "---- Mode list ----"
|
||||||
log "Connect-only: --connect-only [PORT]"
|
log "Connect-only --connect-only [PORT]"
|
||||||
log "Pair+connect: --adb-only"
|
log "Pair+connect --adb-only [--connect-port PORT]"
|
||||||
log "Check: --check"
|
log "Check --check"
|
||||||
log "Apply PPK: --ppk-only"
|
log "Apply PPK --ppk-only"
|
||||||
log "Base+Debian+Pair+connect: --with-adb"
|
log "Base+Debian+Pair+connect --with-adb"
|
||||||
log "Full run: --all"
|
log "Full run --all"
|
||||||
log "Reset Debian: --reset-debian"
|
log "Reset Debian --reset-debian"
|
||||||
log "-------------------"
|
log "-------------------"
|
||||||
final_advice
|
final_advice
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue