Skip to content
Dhiva-LabsPublic

About

ADB command center for your Linux desktop — device dashboard, logcat, app manager, file explorer, screen tools, wireless pairing, and a real adb shell

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

DroidDeck

ARM64 builds Linux x64 | arm64 Linux: deb | rpm | Arch | AppImage | Flatpak | Snap

An ADB command center for your Linux desktop.

Documentation: step-by-step guides at learn.dhivalabs.com: install · beginner guide · troubleshooting. New to the topic? Try the Android and ADB learning track.

DroidDeck — Devices tab

DroidDeck wraps adb (and, optionally, scrcpy) in a polished Material 3 desktop app: a live device dashboard, logcat viewer, app manager, file explorer, screen tools, wireless pairing and a real interactive shell — the things you reach for constantly while shipping an Android app, without leaving a GUI.

Features

  • Devices — live device tracking straight off the adb server's track-devices socket, with a polling fallback if the socket is ever unavailable; per-device Android version, battery, resolution/density and IP details.
  • Logcat — streamed logcat -v threadtime into a 50k-line ring buffer, with priority, tag, free-text and package filters (the package filter resolves and tracks that app's live pid).
  • Apps — package manager with user/system/all views, launch, force-stop, clear-data, uninstall, streamed APK install (drag-and-drop or file picker), and APK extraction that pulls base and split APKs.
  • Files — a device file explorer with breadcrumb navigation, push by drag-and-drop or file picker, pull to ~/Downloads, new folder, rename, delete, and byte-for-byte reliable transfers (checksum-verified push/pull round-trips).
  • Screen — one-click screenshot capture, screenrecord clips stopped SIGINT-safe (so the file always stays playable), and an scrcpy launcher with quality/latency presets and session tracking.
  • Wireless — enable tcpip over USB, connect by IP, Android 11+ pairing, mDNS discovery of devices on the network, and a saved-devices list with one-click reconnect.
  • Shell — a real interactive terminal (xterm + a pty-spawned adb shell) with copy and paste (Ctrl+C copies a selection, or right-click), alongside a quick-actions grid: navigation keys, rotation, density/size presets, and dumpsys shortcuts.

Screenshots

Devices Devices Logcat Logcat
Apps Apps Files Files
Screen Screen Wireless Wireless
Shell Shell

Requirements

  • Linux, x86-64 or ARM64
  • adb — part of Android platform-tools. DroidDeck looks for it via a Settings override, then $PATH, then common SDK install locations (e.g. ~/Android/Sdk/platform-tools).
  • scrcpy — optional, only needed for screen mirroring.

Install

Ubuntu PPA (24.04, x86-64):

sudo add-apt-repository ppa:dhiva-labs/apps
sudo apt update
sudo apt install droiddeck

Snap Store:

sudo snap install adb-deck
sudo snap connect adb-deck:adb-support

.deb (Debian/Ubuntu), x86-64 and ARM64:

sudo dpkg -i droiddeck_1.0.4_amd64.deb    # x86-64
sudo dpkg -i droiddeck_1.0.4_arm64.deb    # ARM64 (aarch64)

Build the package yourself with packaging/build_deb.sh (see below), or grab a prebuilt one from this repo's Releases page. The script builds the package for the architecture of the machine it runs on.

Other distributions, x86-64 and ARM64: CI builds these from the same release build as the .deb and attaches them to releases from the next release on. They are built on Ubuntu 24.04, so they need a distribution at least that new (glibc 2.39): Fedora 40 or later, RHEL/Rocky/Alma 10, openSUSE Tumbleweed, current Arch Linux. openSUSE Leap 15 and RHEL 9 are too old. The .rpm declares the glibc version it needs, so dnf and zypper refuse a system that is too old instead of installing an app that cannot start. Unlike the .deb, which only recommends adb, the .rpm and the Arch package depend on the distribution's adb (android-tools); scrcpy stays optional.

# Fedora, RHEL, Rocky, Alma (dnf installs android-tools with it)
sudo dnf install ./droiddeck-1.0.4-1.x86_64.rpm            # or .aarch64.rpm
# openSUSE Tumbleweed (the same .rpm; it is not signed)
sudo zypper install --allow-unsigned-rpm ./droiddeck-1.0.4-1.x86_64.rpm
# Arch Linux, Manjaro, EndeavourOS
sudo pacman -U ./droiddeck-1.0.4-1-x86_64.pkg.tar.zst      # or -aarch64
# AppImage, any glibc distribution with GTK 3 (install adb first)
chmod +x DroidDeck-1.0.4-x86_64.AppImage && ./DroidDeck-1.0.4-x86_64.AppImage
# Flatpak (the GNOME 51 runtime comes from Flathub; install adb on the system)
flatpak remote-add --user --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak install --user ./droiddeck-1.0.4-x86_64.flatpak     # or -aarch64
flatpak run com.dhivalabs.droid_deck

Each release also carries droiddeck-bin-<version>-aur.tar.gz, the PKGBUILD and .SRCINFO of an AUR droiddeck-bin package that repackages the release .deb. It is not on the AUR yet.

The Flatpak does not carry adb or scrcpy. It runs the ones installed on your system (sudo dnf install android-tools, sudo apt install adb, ...), so the adb server, its USB access and your udev rules stay with the system, exactly as with the .deb. That needs permission to run commands on the host, and files you push, pull or install must be in your home directory. See packaging/flatpak/README.md.

Build from source:

flutter pub get
flutter build linux --release

The bundle is written to build/linux/x64/release/bundle/ on an x86-64 machine and to build/linux/arm64/release/bundle/ on an ARM64 one — run droid_deck inside it. Flutter cannot cross-compile the Linux desktop target, so build on a machine of the architecture you want.

Wireless debugging: connecting a phone

Android 11+ (pairing-code flow):

  1. On the phone: Settings → Developer options → Wireless debugging → Pair device with pairing code.
  2. It shows a host:port and a 6-digit code. Enter both into DroidDeck's Wireless tab, in the Pair a device card, and press Pair.
  3. Pairing uses its own port — go back to the phone's main Wireless debugging screen for the connect port, then use that host:port with Connect in DroidDeck.

Android 10 and below (USB first):

  1. Plug the phone in over USB with USB debugging enabled, and select it in DroidDeck.
  2. Press Enable tcpip :5555 on the Wireless tab.
  3. Once adbd restarts in TCP mode, use the one-click Connect to <ip>:5555 button that appears next to it.

Troubleshooting

  • "adb not found." DroidDeck checks a Settings override first, then $PATH, then common SDK locations (~/Android/Sdk/platform-tools, etc). If none of those find it, open Settings and point it at your adb binary directly.
  • /sdcard looks like a single link entry instead of a folder. toybox's ls only dereferences a symlink argument when it's given a trailing slash — DroidDeck already lists device paths that way internally, so this is handled; it only bites if you're comparing against a raw adb shell ls.
  • A screen recording of an idle screen is a few KB and barely plays. Android's screenrecord only emits frames when the screen content changes — interact with the device while recording.
  • scrcpy mirroring is unavailable. Install it with sudo apt install scrcpy, then press Re-detect on the Screen tab (no restart needed).

Development

flutter test

Integration tests drive the real app against a live device, so they need a booted emulator or attached device visible as emulator-5554:

flutter test integration_test -d linux

Sponsors

Dhiva Labs is an independent, self-funded lab. Sponsorships help bring this project and the rest of Dhiva Labs to every platform, iPhone and Mac included.

Sponsor Dhiva Labs

Monthly sponsors at $10 and up are listed here:

Be the first: sponsor Dhiva Labs.

License

MIT — see LICENSE.


A Dhiva Labs project.

About

ADB command center for your Linux desktop — device dashboard, logcat, app manager, file explorer, screen tools, wireless pairing, and a real adb shell

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages