← Back to blog

ADB Commands Every Phone Technician Should Know

Sep 1, 2024 • 9 min read
ADB Commands Every Phone Technician Should Know

Setting Up ADB

ADB is part of Android SDK Platform Tools. Download from the official site or use the version bundled with Tfast Unlocker.

Device Connection

adb devices              # List connected devices
adb devices -l           # List with details
adb tcpip 5555           # Enable wireless ADB
adb connect 192.168.1.x  # Connect wirelessly

Device Information

adb shell getprop ro.product.model          # Model
adb shell getprop ro.build.display.id       # Build number
adb shell getprop ro.build.version.security_patch  # Security patch
adb shell dumpsys battery                    # Battery info

Repair Commands

adb reboot recovery      # Boot to recovery
adb reboot bootloader    # Boot to fastboot
adb reboot edl           # Boot to EDL (Qualcomm)

File Management

adb push local_file /sdcard/   # Copy to device
adb pull /sdcard/file ./       # Copy from device
adb install app.apk            # Install APK

Diagnostics

adb logcat               # Real-time logs
adb logcat -b crash      # Crash logs only
adb shell dmesg          # Kernel messages
adb shell top            # Running processes

Mastering these commands will make you significantly more efficient in diagnosing and resolving device issues.