• v1.0.5-preview.10 a426878001

    Qwest v1.0.5 Preview 10 (ADB Connect hang fix)
    Some checks failed
    Android / build (push) Has been cancelled
    Pre-release

    codex released this 2026-11-14 16:15:23 +03:00 | 28 commits to main since this release

    Qwest 1.0.5 Preview 10 — fix Wireless ADB connection hanging after pairing

    A Quest owner reported that pairing succeeded in Preview 9, but pressing Connect left Qwest indefinitely showing "Connecting to this headset's local ADB port...".

    Cause and fix

    The pinned LibADB Android 3.1.1 source contained two distinct unbounded stream waits: it could miss an immediate ADB OPEN acknowledgement on localhost (the OKAY arrived before it called wait()), and it could wait forever for additional data after receiving a shell command's final WRTE followed by CLSE. Either can cause the reported stuck state.

    • Qwest now builds a small source-available, licensed LibADB maintenance fork pinned to original commit c849886ebc6d48e7b46d967e78a6bb65c90c3b74 (19 original Java source files, upstream licenses retained). Only three stream classes have Qwest fixes.
    • ADB OPEN synchronizes before sending the request, checks explicit ACK state and returns an error after a bounded wait rather than hanging.
    • Shell reads drain all buffered data and return clean EOF when the peer closes the stream; missing responses produce meaningful timeouts. Bounded sync reads remain supported.
    • The Root screen now shows progress for the TLS connection, each of eight read-only shell queries, and the firmware/catalog check. It reports which step failed instead of a permanent "Connecting..." message.
    • Initial TLS connection has a bounded 18-second handshake wait with an explanation of the difference between the pairing port and the connection port.

    After updating

    Install Qwest-v1.0.5-preview.10-debug.apk over Preview 9. It uses the same art.pegasko.qwest package and debug signer and keeps the same Preview 9 ADB RSA identity. No new pairing code is required as long as Android still considers this app paired and Wireless Debugging remains enabled. Use the current Wireless debugging connection port, not the temporary one-time pairing port; Android may change the connection port when debugging restarts.

    Open Qwest → Root → Root from this Quest → Connect, then read the new progress or error text. Do not share pairing codes, ADB private keys or other credentials when reporting problems.

    Verification

    • Commit: a42687800176dce531fc842c65937574ef49f42d.
    • Package: art.pegasko.qwest; version 1.0.5-preview.10 (versionCode 10); minSdk 26, targetSdk 34.
    • 170 passing Android unit tests across 34 suites, zero failures, no skips; Android lint (app and source-available LibADB library) and signed APK assembly passed.
    • New mock ADB server tests cover immediate OKAY + output/close, empty shell output, missing stream ACK, missing data and rejected stream, checking that none blocks indefinitely.
    • The signed APK DEX was inspected for the actual bounded stream code and new progress messages. Offline Fugu/Frida asset, source/license pin, APK signature and Linux companion tests passed.
    • APK: 39,066,768 bytes, SHA-256 9fdb2ca145a8ebfb33faa0a84ddfca21c5ccc81266526a1f605f451ad7a4dc26.

    Existing root limitations

    Real Quest hardware was not attached during this build. These local protocol regression tests address a concrete source-level hang but do not prove the owner's connection works yet. They also do not establish successful root: Fugu still requires an eligible older exact firmware and an authorized ADB shell and does not work on fixed kernels patched from June 4, 2026. This release does not install persistent Magisk root.

    Attachments

    • Qwest-v1.0.5-preview.10-debug.apk — updated Android test APK.
    • Qwest-Quest-ADB-Shell-Companion-1.0.5-preview.10.tar.gz — optional Linux ADB shell companion with pinned MIT Fugu ARM64 executable (unchanged root engine).
    • Qwest-Linux-Source-Companion-1.0.5-preview.10.tar.gz — optional source-only Linux companion.
    • Qwest-v1.0.5-preview.10-SHA256SUMS.txt — integrity hashes of the APK and both companions.

    See docs/on-quest-root.md, docs/verification-report-1.0.5-preview.10.md and third_party/libadb-android/UPSTREAM.md for source, licensing and verification details.

    Downloads