Skip to content

Releases

v3.7

Choose a tag to compare

@github-actions github-actions released this 27 Nov 19:03

Fixes the version shown in the app: v3.4 to v3.6 reported 3.4 in the app's header and log. The version name and code now match the release.

Same relay as before: the app holds the USB link to the target phone and forwards raw ADB packets to 127.0.0.1:6000, so the adb in Termux works normally.

Testing: v3.7 was tried by the author on a real phone over USB OTG and works. The earlier Java version was tested on one pair of phones. Other devices, Android versions and adapters are untested, so reports are welcome. Debug-signed APK, not signed with a release key.

Install in Termux:
pkg install android-tools
adb kill-server
adb connect 127.0.0.1:6000

app renamed to ADBLink

Choose a tag to compare

@MostafaAshry513 MostafaAshry513 released this 26 Nov 21:37
e194413

Debug-signed APK. It is not signed with a release key.

Full Changelog: v3.5...v3.6

v3.5 - new app icon

Choose a tag to compare

@MostafaAshry513 MostafaAshry513 released this 26 Nov 19:34
f40212a

Debug-signed APK. It is not signed with a release key.

What's Changed

Full Changelog: v3.4...v3.5

v3.4 - first tagged release

Choose a tag to compare

@MostafaAshry513 MostafaAshry513 released this 26 Nov 11:56
8490239

First tagged release: the USB relay app that lets the real adb in Termux
control a second Android phone over a USB OTG cable, with no root on the host
phone and no computer involved.

Download: adbotg-bridge-v34.apk (below)
SHA-256: 273031d2431ce71c10d79fcace40f6071717f924abe9984ab76877ae4fd8a85b

What works

  • Relays raw ADB packets between the target phone's adbd and
    127.0.0.1:6000, so Termux's adb works as usual: shell (with proper
    terminal sizing), push, pull, install, logcat, reboot, forward.
  • The app never holds adb keys; RSA authentication stays between Termux's
    adb and the target, which shows its normal "Allow USB debugging?" prompt.
  • Foreground service with automatic reconnect when the cable drops.
  • Tested on real hardware by the author: host phone running Termux, target
    phone on Android 11 (targetSdk 34, minSdk 21).

Build verification

Built from this source tree with JDK 17 and Android SDK 34. All 13 unit tests
pass (./gradlew :cli:testDebugUnitTest, fake adb target over a local socket).
One timing-sensitive test (garbageBytesCloseSessionWithHexEvidence) failed
once on a slow single-core machine and passed on re-run.

Known caveats

  • Tested on one pair of phones; other devices, Android versions, USB hubs and
    adapters may behave differently.
  • One adb client at a time; a new connection replaces the old one.
  • The relay is an open adb port on 127.0.0.1 while it runs - stop the
    service when you are done.
  • Developed with an AI assistant writing most of the code under the author's
    direction, with the author doing the on-device testing. Read the code before
    trusting it with a device you care about.

Build from source: see BUILDING.md.