Android_sdk Platform Tools [better] -

adb shell screenrecord /sdcard/demo.mp4 --size 720x1280 --bit-rate 4000000 --time-limit 30 adb pull /sdcard/demo.mp4 This uses the device's native encoder—zero performance hit on your app. Don't test manually. Let a digital monkey throw virtual bananas at your UI.

fastboot devices

# Reboot to bootloader adb reboot bootloader fastboot -w Flash a custom recovery (TWRP) fastboot flash recovery twrp.img Reboot the device fastboot reboot Debugging the "Unknown" Issues Ever seen adb devices show unauthorized ? The RSA fingerprint changed. Revoke USB debugging authorizations on the device (Developer Options) and restart the ADB server: android_sdk platform tools

adb version If you see "Android Debug Bridge version 1.0.41", you are ready. You know adb install -r app.apk . Boring. Let's look at the magic. 1. The "My App is Crashing on Launch" Escape Your app crashes instantly on open. Logcat is spamming errors, but you can't tap anything. Use the Activity Manager (AM) to launch cleanly: adb shell screenrecord /sdcard/demo

# Typical location export PATH=$PATH:$HOME/Android/Sdk/platform-tools echo 'export PATH=$PATH:$HOME/Android/Sdk/platform-tools' >> ~/.zshrc fastboot devices # Reboot to bootloader adb reboot

# On device: Go to Developer Options -> Wireless debugging -> Pair device with QR code. # Or, use the pairing code: adb pair 192.168.1.10:42345 # Use the IP and port shown adb connect 192.168.1.10:42345 3. The Screen Recording Wizard You need a bug report video, but screen recording apps lag the UI. Use adb :