ADB (Android Debug Bridge) 是電腦與 Android 裝置溝通的橋樑,採 Socket 監聽 5554 等埠。啟用 USB 偵錯後即可操作。
C:\adb)。cd C:\adb。


adb install file.apk / adb install -r file.apk(重裝)adb uninstall pkg.name / adb uninstall -k pkg.name(保留資料)adb logcat - 即時日誌adb devices - 列出裝置adb pull /sdcard/file.txt C:\ - 手機→電腦adb push C:\file.txt /sdcard/ - 電腦→手機adb shell - 進入終端機adb remount - 重掛載系統分區讀寫adb reboot / adb reboot recovery / adb reboot bootloaderadb shell su mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system exit exit adb push flash_image.zip /system/bin/flash_image adb push recovery-RA-heroc-v1.6.2.img /sdcard adb shell chmod 0755 /system/bin/flash_image reboot
熟練 ADB 可解決多數系統層級問題,減少刷機風險。