You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🎯 Direct Native Streaming Engine & EOF Protocol Fix
Resolved libadb-android EOF False-Positive Stream closed.: In libadb-android, AdbStream.read() throws IOException("Stream closed.") when the remote command finishes outputting and terminates, instead of returning standard -1. Previous implementations mistook this expected stream EOF signal for an installation abort. Added proper ADB EOF handling across execShell(), tryStreamSession(), and tryStageAndInstall().
Direct Native Streaming via exec:cmd package install: Switched from multi-stream PackageInstaller sessions to Android's native single-stream protocol (exec:cmd package install -r -d -g -S <size>), matching the battle-tested Dadb and official Android SDK adb install architecture. The entire APK is streamed in a single socket session directly into Android's native cmd service without intermediate shell buffers or session handshakes.
Auto-Fallbacks: If -g is restricted by platform security (Knox / One UI Watch), it automatically falls back to streaming with -r -d, then to exec:pm install, and finally staged install via /data/local/tmp.
Live Transfer Progress Tracking: Hooked up streaming progress callbacks to WirelessAdbManager so the companion app reports live streaming progress.