Project Overview
ADB-Toolkit is a Shell script that wraps Android Debug Bridge (ADB) commands into a menu-driven interface. Instead of memorizing dozens of ADB flags and syntax, you get a numbered menu that lets you run common Android device operations — app management, screen capture, file transfer, device info, and more — by selecting options rather than typing raw commands.
The project targets developers and enthusiasts who work with Android devices regularly but find raw ADB syntax tedious to recall mid-session. V2 adds more operations and a cleaner menu structure compared to the original release.
One thing to know upfront: this is a personal convenience script by a single contributor with no formal release process, no changelog, and no test suite. Factor that into any decision to depend on it in a shared or repeatable workflow.
Key Challenges Addressed
Raw ADB has a steep recall curve. The same developer who can write complex build scripts will blank on whether it is adb shell pm list packages -3 or adb shell pm list packages -f when needed in a hurry. ADB-Toolkit targets three specific friction points:
-
Command recall overhead: the menu maps readable descriptions to correct ADB invocations so you do not need the man page open.
-
Multi-step operations: some useful workflows (like wireless debugging setup) require several sequential ADB commands in the right order. The toolkit chains these so you do not skip a step.
-
Shell environment friction: on Windows especially, running raw ADB in a consistent bash environment is awkward. The script gives you a predictable execution layer.
Getting Started
Clone the repository and make the script executable:
git clone https://github.com/ASHWIN990/ADB-Toolkit.git
cd ADB-Toolkit
chmod +x ADB-Toolkit.sh
./ADB-Toolkit.sh
Prerequisites you must satisfy first:
-
ADB must be installed and on your
PATH. On macOS:brew install android-platform-tools. On Linux:sudo apt install adb. The script does not check for this — you will get confusing errors from ADB itself ifadbis not found. -
A device must be connected via USB with USB debugging enabled, or already paired via
adb pairfor wireless. Running the toolkit without a recognized device produceserror: no devices/emulators foundfrom ADB, which the script does not catch or explain. -
Run inside a bash shell. Zsh compatibility is not tested and some menu inputs may behave differently.
Sharp edges you will hit immediately:
-
If you have multiple devices connected, ADB will error unless a specific device is targeted via
-s. ADB-Toolkit has no device selector — disconnect extra devices before using it or operations will fail. -
Some
adb shellcommands differ between Android versions. A command that works on Android 12 may fail silently on Android 8. The toolkit documents no per-command API-level requirements.
Features and Use Cases
The toolkit organizes operations into a numbered top-level menu. Typical use cases:
App management: install, uninstall, list installed packages, clear app data, force-stop apps. Useful during development when you are repeatedly cycling through fresh installs without opening Android Studio.
Device information: dump build props, check battery status, retrieve device identifiers. Handy for quick device profiling before running device-specific tests.
File operations: push and pull files between your host and the device /sdcard/ tree. If you do a lot of manual file testing, this saves typing the full adb push /path/to/local /sdcard/target form repeatedly.
Screen capture and recording: take screenshots and screen recordings and pull them to the local machine automatically. Faster than navigating the device manually for capturing test evidence.
Networking and wireless ADB: automates the adb tcpip and adb connect sequence for Wi-Fi debugging. This is where the toolkit saves the most practical time — the two-command sequence has to happen in the right order every session, and a missed step means starting over.
System and shell access: quick entry into adb shell, reboot to recovery or bootloader, and a handful of root-oriented commands for rooted devices.
Ecosystem and Dependencies
ADB-Toolkit has no dependencies beyond ADB itself and bash. It does not wrap any higher-level Android tooling.
If you need screen mirroring and remote control on top of ADB operations, scrcpy is actively maintained and explicitly supports multi-device selection via -s — a gap ADB-Toolkit does not fill.
For colorized logcat filtering during debugging, pidcat pairs well with this toolkit. It handles log presentation while ADB-Toolkit handles device control. Note that pidcat's commit activity has slowed in recent years; check its issue tracker for current Android API-level compatibility before adopting it.
If you already use Android Studio, its built-in Device Manager and Logcat cover most of the same operations with better error handling and a GUI. ADB-Toolkit's value is specifically on the command line without an IDE open.
Architectural Overview
The entire project is a single bash script (ADB-Toolkit.sh) with nested case statements driving menu navigation. Each menu selection executes one or more adb subprocess calls, then returns to the menu on completion.
This design is easy to read and modify. Adding a new operation means adding one menu entry and one case branch. There is no state management, no configuration file, and no plugin layer.
The flat-script design also means there is no separation between UI and logic. If you want to automate a specific operation non-interactively — for example, in a CI step — you cannot call it by function name or flag. You will need to invoke the raw ADB command directly or modify the script to accept arguments.
Pros and Cons
Pros:
-
Zero setup beyond ADB itself. Clone and run immediately.
-
Useful for developers who use ADB sporadically and do not retain full command syntax between sessions.
-
Readable bash source — you can see exactly what ADB command each menu item runs, which builds your own ADB knowledge over time.
-
The wireless debugging setup sequence is the biggest practical time-saver: two commands that have to run in the right order, automated into one menu selection.
Cons:
-
Single-maintainer project with no formal release process, no changelog, and no semantic versioning.
-
No multi-device support. With more than one device connected, most operations fail or target the wrong device.
-
Interactive-only design. You cannot use this in CI pipelines, automation scripts, or any headless context.
-
No error handling for common failures: ADB not found, no device connected, insufficient permissions. Errors pass through from ADB directly with no actionable guidance.
-
Android API-level compatibility is undocumented per command.
Comparison and Alternatives
GitHub stars
Weekly star gains
Full metrics details
GitHub GraphQL current stargazer cohort, reconstructed from starredAt events and totalCount retrieved in one stable pagination walk. GitHub does not expose historical unstar events, so this is not an exact ledger of past star counts.
ADB Toolkit
GitHub GraphQL current stargazer cohort, reconstructed from starredAt events and totalCount retrieved in one stable pagination walk. GitHub does not expose historical unstar events, so this is not an exact ledger of past star counts.
180 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub GraphQL current stargazer cohort, reconstructed from starredAt events and totalCount retrieved in one stable pagination walk. GitHub does not expose historical unstar events, so this is not an exact ledger of past star counts.
81 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Issues opened
Weekly total
Full metrics details
GitHub API observation. Historical values render only when the source provides a real observation for that day.
ADB Toolkit
GitHub API observation. Historical values render only when the source provides a real observation for that day.
144 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub API observation. Historical values render only when the source provides a real observation for that day.
36 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Issues closed
Weekly total
Full metrics details
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
ADB Toolkit
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
144 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
36 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Pull requests opened
Weekly total
Full metrics details
GitHub API observation. Historical values render only when the source provides a real observation for that day.
ADB Toolkit
GitHub API observation. Historical values render only when the source provides a real observation for that day.
144 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub API observation. Historical values render only when the source provides a real observation for that day.
36 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Pull requests closed
Weekly total
Full metrics details
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
ADB Toolkit
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
144 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
36 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Pull requests merged
Weekly total
Full metrics details
GitHub API observation. Historical values render only when the source provides a real observation for that day.
ADB Toolkit
GitHub API observation. Historical values render only when the source provides a real observation for that day.
144 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub API observation. Historical values render only when the source provides a real observation for that day.
36 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Open/closed pull request ratio
Weekly average
Full metrics details
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
ADB Toolkit
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
180 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub Search pull-request totals queried for exact UTC days; rolling values are sums of proven daily counts.
81 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Open/closed issues ratio
Weekly average
Full metrics details
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
ADB Toolkit
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
180 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub Search issue totals queried for exact UTC days; rolling values are sums of proven daily counts.
81 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Releases
Weekly total
Full metrics details
GitHub release published_at events bucketed by UTC day; drafts are excluded.
ADB Toolkit
GitHub release published_at events bucketed by UTC day; drafts are excluded.
180 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
scrcpy
GitHub release published_at events bucketed by UTC day; drafts are excluded.
81 observed daily rows. Missing days are not fabricated.
| Date | Value |
|---|
Hotness score
Weekly average
Full metrics details
Derived only from GitHub GraphQL starredAt events after daily star totals are reconciled.
ADB Toolkit
Derived only from GitHub GraphQL starredAt events after daily star totals are reconciled.
180 observed daily rows. Missing days are not fabricated.
Per-day formula: 0.40 × Hot today + 0.40 × Hot week + 0.20 × Breakout.
- Same-day multiplier = stars 1d ÷ max(1, stars 7d ÷ 7)
- Weekly multiplier = stars 7d ÷ max(1, stars 30d ÷ 30 × 7)
- Fortnight multiplier = stars 14d ÷ max(1, stars 90d ÷ 90 × 14)
- Hot today = clamp(70 × log-scale(stars 1d, 1000) + 30 × breakout-scale(same-day, 4))
- Hot week = clamp(75 × log-scale(stars 7d, 5000) + 25 × breakout-scale(weekly, 3))
- Breakout = clamp(35 × breakout-scale(same-day, 4) + 40 × breakout-scale(weekly, 3) + 25 × breakout-scale(fortnight, 2.5))
| Date | Stars | Stars 1d | Stars 7d | Stars 14d | Stars 30d | Stars 90d | Same-day multiplier | Weekly multiplier | Fortnight multiplier | Hot today | Hot week | Breakout | Stored score |
|---|
scrcpy
Derived only from GitHub GraphQL starredAt events after daily star totals are reconciled.
81 observed daily rows. Missing days are not fabricated.
Per-day formula: 0.40 × Hot today + 0.40 × Hot week + 0.20 × Breakout.
- Same-day multiplier = stars 1d ÷ max(1, stars 7d ÷ 7)
- Weekly multiplier = stars 7d ÷ max(1, stars 30d ÷ 30 × 7)
- Fortnight multiplier = stars 14d ÷ max(1, stars 90d ÷ 90 × 14)
- Hot today = clamp(70 × log-scale(stars 1d, 1000) + 30 × breakout-scale(same-day, 4))
- Hot week = clamp(75 × log-scale(stars 7d, 5000) + 25 × breakout-scale(weekly, 3))
- Breakout = clamp(35 × breakout-scale(same-day, 4) + 40 × breakout-scale(weekly, 3) + 25 × breakout-scale(fortnight, 2.5))
| Date | Stars | Stars 1d | Stars 7d | Stars 14d | Stars 30d | Stars 90d | Same-day multiplier | Weekly multiplier | Fortnight multiplier | Hot today | Hot week | Breakout | Stored score |
|---|
Reliability score
Weekly average
Full metrics details
Derived from the displayed continuity, closure, shipping, liveness, and support-burden components.
ADB Toolkit
Derived from the displayed continuity, closure, shipping, liveness, and support-burden components.
180 observed daily rows. Missing days are not fabricated.
Per-day formula: 0.30 × Continuity + 0.30 × Closure + 0.20 × Shipping + 0.10 × Liveness + 0.10 × Support burden.
- Continuity = 35% active ratio 90d + 20% active ratio 30d + 15% PR efficiency 90d + 10% PR efficiency 30d + 10% liveness + 10% observed-history coverage
- Closure = 55% PR merge efficiency 90d + 45% issue close efficiency 90d
- Shipping = 100 × (20% × release ratio 30d + 30% × release ratio 90d + 50% × release ratio 180d); ratios are releases ÷ 2, 6, and 12, capped at 1
- Support burden = 100 − 2 × open issues per 1,000 stars
- Liveness = 100 × exp(−pushed days ago ÷ 120)
Stars, issues, pull requests, and releases are daily observations. Pushed-days and license are repository snapshot-derived inputs and are not independent historical GitHub events.
| Date | Issues opened | Issues closed | PRs opened | PRs merged | Releases | Stars | Open issues | Pushed days ago | Continuity | Closure | Shipping | Liveness | Support burden | License | Observed days | Missing days | Needs healing | Stored score |
|---|
scrcpy
Derived from the displayed continuity, closure, shipping, liveness, and support-burden components.
81 observed daily rows. Missing days are not fabricated.
Per-day formula: 0.30 × Continuity + 0.30 × Closure + 0.20 × Shipping + 0.10 × Liveness + 0.10 × Support burden.
- Continuity = 35% active ratio 90d + 20% active ratio 30d + 15% PR efficiency 90d + 10% PR efficiency 30d + 10% liveness + 10% observed-history coverage
- Closure = 55% PR merge efficiency 90d + 45% issue close efficiency 90d
- Shipping = 100 × (20% × release ratio 30d + 30% × release ratio 90d + 50% × release ratio 180d); ratios are releases ÷ 2, 6, and 12, capped at 1
- Support burden = 100 − 2 × open issues per 1,000 stars
- Liveness = 100 × exp(−pushed days ago ÷ 120)
Stars, issues, pull requests, and releases are daily observations. Pushed-days and license are repository snapshot-derived inputs and are not independent historical GitHub events.
| Date | Issues opened | Issues closed | PRs opened | PRs merged | Releases | Stars | Open issues | Pushed days ago | Continuity | Closure | Shipping | Liveness | Support burden | License | Observed days | Missing days | Needs healing | Stored score |
|---|
| Project | Repo | Hotness (~6mo) | PRs merged (~6mo) | Star growth (~6mo) |
|---|---|---|---|---|
| ADB-Toolkit | https://github.com/ASHWIN990/ADB-Toolkit | 3.71 | 0 | 262 |
| scrcpy | https://github.com/Genymobile/scrcpy | 3.69 | 0 | 46170 |
| pidcat | https://github.com/JakeWharton/pidcat | metrics pending | 0 | metrics pending |
scrcpy covers the same ADB convenience space with far stronger maintenance signals: it is actively developed by Genymobile, has thorough official documentation, handles multi-device selection explicitly via -s, and adds screen mirroring and remote control on top of a full ADB operation set.
pidcat covers a narrower scope — colorized logcat filtering — but does it precisely. It is written by Jake Wharton and is widely used in Android development. Commit activity has slowed, so verify current Android API-level support before adopting it.
The best overall alternative is scrcpy. It has the strongest maintenance signals of the two, explicit multi-device support, richer documentation, and a significantly wider feature set while remaining command-line-first.
Conclusion
ADB-Toolkit is the right pick for solo Android developers who want a fast command-line menu for routine device tasks without memorizing ADB flag syntax. Start with the official repository and you are running in under a minute.
Do not use ADB-Toolkit with multiple devices connected — it has no -s device selector, so operations will fail or silently target the wrong device. Before your first session, run adb devices and confirm exactly one entry appears.
