Using Android Debug Bridge (ADB) via TCP/IP
2013-02-24 16:58
369 查看
https://wiki.linaro.org/Platform/Android/SetupAdbOverTcp
WhichBuild
ImageInstallation
SetupAdbOverTcp
On the device running Android (using the serial console):
On your host machine (assuming the its reachable via tcpip):
Note: default adb port is 5555, and using another value is trivial security measure. However,
adb access at all, and networked access foremostly, is utterly insecure and intended to be used only on development-only
devices in a physically and networkedly controlled environment. Never enable those on a production-use device or on
a device which may contain sensitive data. The same goes for unauthenticated root access.
CategoryAndroidTips
Platform/Android/SetupAdbOverTcp (2012-05-03 05:34:44由liuyq0307编辑)
WhichBuild
ImageInstallation
SetupAdbOverTcp
Using Android Debug Bridge (ADB) via TCP/IP
On the device running Android (using the serial console):netcfg eth0 up #get your eth network up netcfg eth0 dhcp #get your dhcp ip for eth0 intergace ifconfig eth0 #confirm your board IP echo 0>/sys/class/android_usb/android0/enable #enable adb via IP stop adbd setprop service.adb.tcp.port 6565 start adbd
On your host machine (assuming the its reachable via tcpip):
export ADBHOST=<board's IP> sudo android-sdk-linux_x86/platform-tools/adb start-server android-sdk-linux_x86/platform-tools/adb connect <board's IP>:6565 android-sdk-linux_x86/platform-tools/adb shell
Note: default adb port is 5555, and using another value is trivial security measure. However,
adb access at all, and networked access foremostly, is utterly insecure and intended to be used only on development-only
devices in a physically and networkedly controlled environment. Never enable those on a production-use device or on
a device which may contain sensitive data. The same goes for unauthenticated root access.
CategoryAndroidTips
Platform/Android/SetupAdbOverTcp (2012-05-03 05:34:44由liuyq0307编辑)
相关文章推荐
- Using Android Debug Bridge (ADB) via TCP/IP
- Using Android Debug Bridge (ADB) over Wifi
- android adb tcpip 协议流程分析
- Android Debug Bridge(ADB)的用法
- android debug bridge(adb)的使用
- android debug using adb
- ADB(Android debug bridge)
- Android Debug Bridge (adb)
- HOW TO SET UP ADB (ANDROID DEBUG BRIDGE) IN MAC OSX
- adb通过TCP/IP来调试Android设备
- adb通过TCP/IP来调试Android设备
- Android debug bridge command line-adb shell tips -logcat/am/pm/dumpsys
- adb通过TCP/IP来调试Android设备
- Android开发中常用的Android Debug Bridge(ADB)指令
- adb通过TCP/IP来调试Android设备
- adb通过TCP/IP来调试Android设备
- adb通过TCP/IP来调试Android设备
- adb通过TCP/IP来调试Android设备,adb直接往editTest文本框里写文本
- Android Debug Bridge(ADB) 技术实现(译)
- adb通过TCP/IP来调试Android设备