wkbin/AdbFileManager
Acerca de
A full-featured adb file manager
Productividad y automatizaciónWhat you can do
- Fluent UI — controls and icons from Compose Fluent UI, with consistent dialogs, input validation, scrollbars, tooltips, and light/dark/system themes.
- Optional Kadb wireless backend — pair with Android Wireless debugging and use direct wireless file transfers and shell commands, with mDNS connection-port discovery. The existing ADB backend remains available.
- Dual-pane file manager & draggable split — browse the local computer on the left and the Android device on the right with a resizable, persisted split divider, right-click context menus, list/thumbnail grid modes, and safe OS Trash deletion on the local pane.
- Collapsible local pane — collapse the local pane for a compact, device-focused layout. The preference is remembered between launches.
Crecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Recopilando historial
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
OriginalADB File Manager
A desktop file manager for browsing and managing Android devices through ADB, built with Kotlin, Compose Desktop, and Fluent UI.
Highlights
Fluent UI — controls and icons from Compose Fluent UI, with consistent dialogs, input validation, scrollbars, tooltips, and light/dark/system themes.
Optional Kadb wireless backend — pair with Android Wireless debugging and use direct wireless file transfers and shell commands, with mDNS connection-port discovery. The existing ADB backend remains available.
Dual-pane file manager & draggable split — browse the local computer on the left and the Android device on the right with a resizable, persisted split divider, right-click context menus, list/thumbnail grid modes, and safe OS Trash deletion on the local pane.
Collapsible local pane — collapse the local pane for a compact, device-focused layout. The preference is remembered between launches.
Reliable Windows & high-speed batch transfers — paths are passed as structured process arguments, uploads use an ASCII staging file plus an Android-side rename to preserve Unicode names, and large folders pack into
.zipor.tar.gzstreams automatically.Persistent transfer queue & conflict resolution — background concurrency (1–4 workers), per-task pause/cancel/retry, and skip/replace/keep-both conflict dialogs.
Drag and drop — drag files between the local and Android panes or directly to the OS desktop/explorer.
Root (
su) &run-asparity — inspect, upload, create, copy, move, rename, delete, andchmodfiles under root or debuggable app sandboxes.Built-in editors & viewers — code/text editor (syntax highlighting, find/replace, format/minify, lossless encoding), zoomable image viewer, ZIP/APK archive browser, pure-Kotlin SQLite3
.dbviewer (with search, DDL,WITHOUT ROWID, and CSV export), and read-only Hex binary inspector.Two-way folder sync — compare local and remote folders recursively with Two-Way, Upload/Download-only, and Mirror modes, then execute sync via the transfer queue.
Docked Logcat, ADB terminal & multi-device broadcast — multi-tab ADB terminal with ANSI colors, Ctrl+C interrupt, and persistent custom snippets; docked and modal Logcat with level/process filters; and multi-device broadcast for Shell, APK install, and batch file push.
Device & Scrcpy tools — QR code pairing, mDNS wireless discovery, friendly device model names and custom aliases, App Manager (APK inspection, backup, freeze/unfreeze, uninstall), Scrcpy mirroring, screenshot, screen recording, and bidirectional clipboard.
Adaptive desktop UI — responsive initial window sizing, light/dark/system themes, and Chinese/English interfaces.
Recent changes
Version 3.3.0 moves the desktop interface to Compose Fluent UI, refines dialog sizing and scrolling, improves long-filename and multiline-input layouts, and adds an experimental Kadb wireless backend. GitHub Actions can package all three desktop platforms when a release is published.
Changes introduced in v3.1.0
Version 3.1.0 replaces the former device-only file view with a dual-pane workflow and adds a full editor and terminal experience. It also fixes the Windows CP936/GBK transfer failures that affected filenames containing spaces or non-ASCII characters.
See Release notes for v3.1.0 for the detailed comparison, fixes, and upgrade notes.
Requirements
- Windows, macOS, or Linux desktop
- An Android device or emulator with ADB debugging enabled
- Java 25 when building from source
Installers include a Java runtime; Java does not need to be installed separately to run the packaged application.
ADB is bundled with the application. Settings also allow a custom executable or the system PATH version. On Windows, the bundled runtime is verified with SHA-256 before use, so an identical or currently running adb.exe is not overwritten during startup.
Install
Download the package for your operating system from the GitHub Releases page. Windows users can install the .msi package directly.
Build from source
git clone https://github.com/wkbin/AdbFileManager.git
cd AdbFileManager
./gradlew run
On Windows PowerShell, use .\gradlew.bat in place of ./gradlew. Set JAVA_HOME to a JDK 25 installation before building.
Run tests:
./gradlew test
The wireless hardware smoke test is skipped unless its device and authentication environment variables are supplied. Ordinary tests do not require a connected device.
Build a release installer for the current operating system:
./gradlew packageReleaseDistributionForCurrentOS
Native packages must be built on their corresponding operating system:
| Platform | Installer | Additional packaging tools |
|---|---|---|
| Windows x64 | .msi |
WiX Toolset 3.x (candle.exe and light.exe on PATH) |
| macOS x64 | .dmg |
macOS packaging tools |
| Linux x64 | .deb |
fakeroot and Debian packaging tools |
Release installers are written under build/compose/binaries/main-release/. The GitHub Actions workflow configures the runner tools for each platform.
Automated builds and releases
GitHub Actions runs tests on Windows, macOS, and Linux for pushes to main and pull requests.
To publish installers, update Constants.VERSION in src/main/kotlin/Constants.kt and nativeDistributions.packageVersion in build.gradle.kts to the same X.Y.Z version. Commit those changes together with the workflow, then publish a GitHub Release with the matching vX.Y.Z or X.Y.Z tag. After all three builds pass, the workflow attaches x64 Windows .msi, macOS .dmg, and Linux .deb installers to that release.
You can also run Build and release desktop apps manually from the Actions tab to build downloadable workflow artifacts. The installers include a Java runtime and are unsigned. A tag push alone does not publish installers; publish the GitHub Release or run the workflow manually. On failure, inspect the reports-<platform> artifact, including build/compose/logs/ for native packaging errors.
Usage
- Enable USB debugging on the Android device and connect it by USB or wireless ADB.
- Select the device in ADB File Manager.
- Browse local folders in the left pane and Android storage in the right pane.
- Use the arrow action on a row to copy it to the opposite pane, or drag from the row's drag handle.
- Open supported text files on the Android side to edit them directly.
- Use the terminal button for interactive ADB or device-shell commands.
Both panes support right-click context menus, list/thumbnail grid views, and built-in inspection dialogs (images, archives, SQLite databases, and read-only Hex view). Local deletions use the OS Recycle Bin / Trash when supported, with confirmation prompts.
Wireless debugging and Kadb
The default backend uses the ADB executable. To try the direct wireless backend, enable Kadb wireless backend (experimental) in Settings, then open Wireless connection.
- Enable Wireless debugging on an Android 11+ device and keep the device and computer on the same network.
- Open Pair device with pairing code on the device. Enter its IP address, pairing port, and current six-digit code in the application.
- Enter the connection port from the main Wireless debugging screen. With Kadb enabled, you can leave this field blank to attempt mDNS discovery.
- For a device already paired with this backend, the pairing port and code can be left blank.
The pairing port and connection port are different values. If discovery is unavailable on the network, enter the connection port explicitly. USB connections, screen mirroring, and raw ADB commands still require the ADB executable.
Notes for Windows
- Avoid exporting into protected folders such as
C:\Usersitself. Open your own user directory, Downloads, Desktop, or another writable folder first. - The application checks the destination before export and disables opposite-pane copy actions for read-only local folders.
- Unicode and spaced filenames are supported even when the Windows ANSI code page is GBK/CP936.
Technology
- Kotlin and Kotlin Coroutines/Flow
- Compose Desktop with Compose Fluent UI and Fluent icons
- Android Debug Bridge (ADB), with optional Kadb wireless transport
- Koin dependency injection
- Mozilla Universal Charset Detector
Contributing
Contributions, issue reports, and feature suggestions are welcome. See CONTRIBUTING.md.
License
Released under the MIT License.
Explorar proyectos relacionados
Cargando…