An elegant, portable, cross-platform utility built in Go to completely automate the Android APK lifecycle: automatically download standard ADB binaries, run high-speed screen mirroring, detect newly installed package IDs without guesswork, and perform secure uninstalls.
- Zero-Configuration Portable Engine: Checks and automatically provisions platform tools (ADB) and screen mirrors (
scrcpy) for Windows, macOS, and Linux out-of-the-box. - High-Speed Mirroring: Instantly launches screen mirroring powered by hardware-accelerated Scrcpy.
- Intelligent App-ID Identifier: Grabs package listings before and after installation to accurately detect your new package ID (averting hidden names or spoofing).
- Auto-Launch Category: Instantly opens the app post-installation on the device.
- Guaranteed Clean Cleanup: Wipe the app on demand and confirm with absolute verification that no leftover data is left behind.
- Fully Secure Extractions: Patched with Zip Slip and Tar Slip protections for safe component decompression.
ADBPureFlow functions as a fast, high-performance mediator between your machine and Android's SDK binaries.
+---------------------------------------------+
| ADBPureFlow Interface |
| (Fyne GUI / CLI console) |
+-------+-----------------------------+-------+
| |
v (File Drop) v (Toolbar Action)
+---------------+--------------+ +--------+--------------+
| Automated Installer | | Scrcpy Mirroring |
| | | |
| 1. Audits existing packages | | 1. Query device port |
| 2. Standard ADB install -r-d | | 2. Run high-FPS stream|
| 3. Snapshot Diff -> App ID | | 3. Set custom title |
| 4. Auto-Launch via Monkey | | |
+--------------+--------------+ +-------+---------------+
| |
+--------------+--------------+
|
v
+-------------+-------------+
| Target Android Device |
+---------------------------+
ADBPureFlow is shipped as a portable, single-command tool requiring zero pre-existing configurations.
- Head over to the GitHub Releases tab.
- Download the binary matching your platform:
- Windows:
adbpureflow-gui-windows-amd64.exe/adbpureflow-cli-windows-amd64.exe - macOS:
adbpureflow-gui-darwin-amd64/adbpureflow-cli-darwin-amd64 - Linux:
adbpureflow-gui-linux-amd64/adbpureflow-cli-linux-amd64
- Windows:
- Run and execute! (On macOS/Linux, make sure to grant run permissions:
chmod +x adbpureflow-*).
- Go: Version 1.20 or newer.
- GCC compiler (only required to compile Fyne GUI dependencies):
- Linux: Install OpenGL/X11 tools:
sudo apt-get install -y libgl1-mesa-dev libegl1-mesa-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libxxf86vm-dev. - macOS: Included default in Xcode tools.
- Windows: MinGW-w64.
- Linux: Install OpenGL/X11 tools:
cd CLI
go run main.gocd GUI
go run main.go app.go- Connect your Android device via USB (or over local WiFi). Ensure USB Debugging is toggled on inside Developer Options.
- Launch the GUI. The device selector will scan and display your phone model automatically.
- Install & Run: Drag and drop any
.apkfile into the window (or click the File icon). The logs will live-update as it gets deployed, and the application will instantly start playing on your phone! - Mirror Screen: Click the Play icon (
MediaPlayIcon) to start streaming your phone's screen in 60fps. - Uninstall: Click the Trash icon (
DeleteIcon), type the package ID, and ADBPureFlow will securely purge the software.
- Run the
adbpureflow-cliexecutable. - Drag-and-drop or type the path to your
.apkpackage and press Enter. - The console automatically coordinates package diffing and triggers an automatic launch.
- It prompts you:
Hapus aplikasi sekarang? / Delete application now? (y/n). Typingyimmediately sweeps the app, confirming deep deletion.
ADBPureFlow is portable, but can also be fine-tuned using these environment variables or local structures:
| Parameter | Default | Description |
|---|---|---|
| System PATH | adb |
If you have ADB pre-installed in your environment, ADBPureFlow uses it instantly. |
scrcpy_core/ |
Directory | Local component storage where automated binaries get safely unzipped. |
- A: Ensure your phone is connected and USB Debugging is turned on. Run
adb devicesin your command shell to verify your machine acknowledges the hardware. Try replugging your cable.
- A: Mirroring requires a device with USB Debugging enabled. Ensure your device screen is unlocked and not in a sleep state.
- A: Make sure you installed all OpenGL/X11 header requirements using the command described in the Developer Setup section.
- Secure Archive Extractors: Decompression routines strictly validate paths to prevent directory traversal exploits.
- Validated Inputs: Raw file parameters are explicitly checked for system existence before executing commands.
- No Hardcoded Credentials: Contains zero hardcoded tokens, hashes, or tracking telemetry.
We are fully open-source and welcoming of active contributors! Please inspect our documentation to learn more about how we build features:
Built with passion for a cleaner, modern Android development experience. Made portable and fast using Go.