Skip to content

Reference ​

Tables for looking things up: shortcuts, settings, file locations, limits and the adb command behind each button. This page describes DroidDeck 1.0.4.

Tabs ​

TabPurposeGuide
DevicesDevice list, states and detailsConnect a device
LogcatLive device log with filtersRead the device log
AppsInstall, launch, stop, clear, uninstall, extractManage apps
FilesBrowse, push, pull, rename, deleteBrowse and transfer files
ScreenScreenshot, recording, scrcpy mirrorUse the screen tools
WirelessPair, connect, saved devicesConnect over Wi-Fi
ShellTerminal and quick actionsUse the shell and quick actions
SettingsPaths to adb and scrcpyThis page

Shell tab shortcuts ​

KeysAction
Ctrl + CCopy the selection and clear it. With nothing selected, interrupt the running command.
Ctrl + Shift + CCopy the selection.
Ctrl + InsertCopy the selection.
Ctrl + VPaste.
Ctrl + Shift + VPaste.
Shift + InsertPaste.
Ctrl + Shift + ASelect all.
Ctrl + ASent to the shell: move to the start of the line.
Right-clickOpen a menu with Copy and Paste.

Elsewhere, Enter in the Connect by IP field connects, and Enter in the New folder and Rename windows confirms a valid name.

Settings ​

The Settings tab has one section, Tools, with a card for each program.

SettingWhat it doesDefault
Custom adb path (leave empty to auto-detect)The full path of the adb program to use, for example /home/you/Android/Sdk/platform-tools/adb.Empty: auto-detect
Custom scrcpy path (leave empty to auto-detect)The full path of the scrcpy program to use, for example /usr/bin/scrcpy.Empty: auto-detect

Select Save & re-detect to store both fields and look for the tools again. Each card then shows a green tick with the version and path it found, or a red cross with advice.

Where DroidDeck looks for adb and scrcpy ​

DroidDeck uses the first working program it finds, in this order:

  1. The custom path in Settings.
  2. Your PATH.
  3. These locations, in order:
ProgramLocations
adb~/Android/Sdk/platform-tools/adb, /usr/lib/android-sdk/platform-tools/adb, /opt/android-sdk/platform-tools/adb, /usr/bin/adb, /snap/bin/adb
scrcpy/usr/bin/scrcpy, /usr/local/bin/scrcpy, /snap/bin/scrcpy, ~/.local/bin/scrcpy

The adb card on the Devices tab shows which adb was chosen and its version.

Where files are saved ​

In the names below, the serial is the device's serial as shown in the device picker.

WhatFolderFile name
Pulled files and folders~/DownloadsThe same name as on the device
Extracted APKs~/Downloads/droiddeck-apks/, in a folder named after the packageThe APK names from the device
Logcat export~/Downloadsdroiddeck-logcat-, serial, date and time, .log
ScreenshotThe folder you choose, or ~/Pictures/droiddeckdroiddeck-, serial, date and time, .png
Screen recording~/Videosdroiddeck-, serial, date and time, .mp4
scrcpy recording~/Videosdroiddeck-scrcpy-, date and time, .mkv

DroidDeck creates these folders when they do not exist.

Limits ​

ItemLimit
Logcat lines held in memory50,000; the oldest are dropped after that
Shell scrollback10,000 lines
Screen recording length30, 60 or 180 seconds per clip
Transfers shown in the Transfers panelThe 3 most recent
Pairing code6 digits
APKs installed per action1

The adb command behind each action ​

Useful when you want to do the same thing in a script. DroidDeck adds -s and the device's serial to each command so it reaches the selected device.

ActionCommand
Logcat streamadb logcat -v threadtime
Clear (logcat -c)adb logcat -c
Install APKadb install -r -t, then the file
Force-stopadb shell am force-stop, then the package
Clear data…adb shell pm clear, then the package
Uninstall…adb uninstall, then the package
Extract APKadb shell pm path, then adb pull for each APK
Push hereadb push
Pull to ~/Downloadsadb pull
Delete…adb shell rm -rf, then the path
Captureadb exec-out screencap -p
Screen recordingadb shell screenrecord --time-limit, then the seconds
Enable tcpip :5555adb tcpip 5555
Revert to USBadb usb
Connectadb connect, then host:port
Pairadb pair, then host:port and the code
Discovered listadb mdns services
Back, Home, Recents, Poweradb shell input keyevent with 4, 3, 187 or 26
Densityadb shell wm density, then the value or reset
Sizeadb shell wm size, then the value or reset
Dumpsys shortcutsadb shell dumpsys, then battery, activity top or meminfo

Commands to start DroidDeck ​

PackageCommand
.deb, PPAdroiddeck
Snapadb-deck
Flatpakflatpak run com.dhivalabs.droid_deck

The snap also provides adb-deck.adb, the adb it uses, for commands such as adb-deck.adb kill-server.

Next steps ​