Skip to content

DigiWear v2.4.6

Choose a tag to compare

@Dalinuxx Dalinuxx released this 24 Oct 23:40

DigiWear v2.4.6 Release Notes

🎯 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.

📦 Artifacts

  • DigiWear-Companion-release.apk
  • DigiWear-WearOS-release.apk
  • digiwear-aosp-standard-watch-release.apk