Install, uninstall, and manage apps on an Android device from the command line without a GUI tool.
Simulate screen touches and swipes for automated Android testing or scripting repetitive device interactions.
Read device information like battery status, screen resolution, and Android version from the terminal.
Connect to an Android device wirelessly using ADB over Wi-Fi without a USB cable on Android 11 and above.
ADB stands for Android Debug Bridge, a command-line tool that lets your computer communicate with an Android device or emulator. This repository is a comprehensive Chinese-language guide (with an English translation available) to ADB commands and their practical uses, organized by category. The guide starts with the basics: how to connect a device via USB or wirelessly, how to target a specific device when multiple are connected at once, and how to verify the connection is working. For Android 11 and above, it covers the newer wireless pairing method that avoids USB cables entirely. For app management, the guide covers commands to list installed apps, install and uninstall APK files, clear app data and caches, see which app is currently in the foreground, and enable or disable individual apps without uninstalling them. A dedicated section covers simulated input: you can send button presses (power, home, back, volume controls, media keys), simulate screen touches and swipes, and type text from the command line. This is useful for automated testing or scripting repetitive device interactions. The device information section documents commands to read the screen resolution, battery status, device model, Android version, IP address, CPU details, and memory usage. The settings section explains how to change screen resolution and density from the command line. Separate sections cover viewing Android system logs filtered by level or tag, using the Monkey tool for stress testing, flashing-related commands for recovery and fastboot modes, and security toggles for SELinux. This is a documentation guide, not a software package. It contains shell commands with example output rather than code to install. The full README is longer than what was shown.
← mzlogin on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.