Skip to content

v0.3.0-beta.2 — Android port (beta)

Pre-release
Pre-release

Choose a tag to compare

@earthonion earthonion released this 13 Nov 18:30

Native Kotlin/Android port of GarlicTransfer, living in android/ on the android-port branch.

Attached: GarlicTransfer-0.3.0-beta.2-android.apk (debug-signed beta build, minSdk 26)
SHA-256: ac7562e661019f677afbbfee67f95ecb79839d1eaab5b2f24df1f4da6234c28a

What's in the port

  • :core — pure Kotlin protocol library ported from the Python PoC: DDP discovery, AE handshake + AES-128-GCM record layer, PSK/oracle key derivation (local kernel oracle + HTOS volunteer workers), download client, SQLite metadata engine, upload source-console emulator, pairing listener, local save library.
  • :app — Jetpack Compose (Material 3, dark) app: Discover, console browse/download, local-save Library, Upload, Settings.

Root notice for Upload

Upload binds TCP 1004/1005 and UDP 1006 — ports below 1024, which Android reserves. The app tells you before the transfer starts; on rooted devices (Magisk/KernelSU) it can temporarily lower net.ipv4.ip_unprivileged_port_start to 1004 via libsu so only the transfer ports open, restoring the default afterwards. Unrooted devices whose kernels allow low ports can still use "Try without root".

Verified

  • 111 JVM protocol tests (:core:test) against loopback-emulated peers.
  • On-device instrumented loopback transfer test on an Android 14 emulator.
  • Live flows on an emulator: upload hosting served the Python PoC client byte-exact; download browsed the app's own emulated console.

Research software — back up your saves before using Upload.

Full Changelog: v0.2.22...v0.3.0-beta.2