app: core-shizuku — dual-path shell-tier executor + probe, wired into the app
Ports the prober's validated Shizuku tier: AIDL UserService, the build-4 dual-path ShizukuRunner (UserService bind where it works, legacy newProcess reflection fallback where it doesn't — exec_path records which), and ShizukuProbe running the shell command battery, emitting a shizuku-tier link.ip_monitor Test with per-device dumps as evidence. Self-degrades to UNSUPPORTED without Shizuku. Wired into RunViewModel (sets tiers.shizuku); app APK assembles. On-device verification deferred — no device reachable at build time (flaky LAN dropped the tablet, phone debugging off). Expect UserService on OnePlus, newProcess on Lenovo per the prober. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
9809ae57b4
commit
aaed22dd3f
@@ -355,3 +355,20 @@ Wireless-adb beacon (tools/adb-beacon) made this practical: both devices self-re
|
||||
rotating wireless-debug port to fmr:443; a PC connector keeps adb connected. Debugged live
|
||||
against the restricted LAN (cleartext policy, egress filtering, shared-LAN mDNS crossing, fast
|
||||
port rotation) — all handled.
|
||||
|
||||
## App: core-shizuku (shell tier) built + wired (2026-07-31)
|
||||
Ported the prober's validated Shizuku executor into the app as a library module:
|
||||
- AIDL IUserService + UserService (runs `sh -c` as shell/root in the Shizuku-spawned process),
|
||||
Shizuku provider merged into the app manifest.
|
||||
- **ShizukuRunner: the build-4 dual-path executor** — bind the UserService (25s + retry) where it
|
||||
works (OnePlus 7/7), fall back to the legacy `Shizuku.newProcess` reflection API where it never
|
||||
binds (Lenovo). `exec_path` records which path ran.
|
||||
- ShizukuProbe: runs the shell battery (ip neigh / ip -6 route / ip addr / ip monitor /
|
||||
network_stack DHCP / wifi dump) and emits a shizuku-tier `link.ip_monitor` Test with the raw
|
||||
per-device dumps as evidence + commands_ok/exec_path metrics. Self-degrades to UNSUPPORTED when
|
||||
Shizuku isn't running.
|
||||
Wired into RunViewModel (runs after app-tier probes; sets tiers.shizuku). App APK assembles clean.
|
||||
On-device test deferred: at build time no device was reachable (tablet wifi/beacon dropped on the
|
||||
churning LAN; phone wireless debugging disabled to stop reconnect notifications). Will verify on a
|
||||
device later — expecting UserService on the OnePlus, newProcess fallback on the Lenovo, per the
|
||||
prober.
|
||||
|
||||
Reference in New Issue
Block a user