Files
fuguquest/java
henryandClaude Opus 4.8 4590b4f2fd More adb-root speedups: batch poisons + parallel credmod (14s -> ~11s)
Building on the prior 32->14s pass, further cuts profiled on live Q3:
- Multi-file Writer (e2e.dex): one Writer invocation now poisons N files under a
  single JVM + one IpSec SA. The base chain's inject-lib + libandroid poisons are
  batched into one call (poison_batch) instead of two -> saves a JVM+SA (~1.5s).
- Parallel cred carrier: --adb-root builds the adbd cred module (host clang, ~1.2s)
  in a background thread during the base chain (adbd pid is stable; rebuilds only if
  it changed) -> fully overlapped.
- Skip the slow dd|base64 read of libandroid's original bytes when the run won't
  revert (adb-root/no-restore).
- Faster polling: trackingservice-restart 1s->0.3s, adbd-root verify 1s->0.3s.

Net on this Q3: ~11s to a root adb shell (uid0 + u:r:kernel:s0), single clean
inject pass, no retries. Multi-file Writer also speeds the QPro/Q2/postex flows.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
2026-09-21 18:16:41 +02:00
..