Hello, Kelly !
Please try recommendations of section 3 (How do I use ADB over Ethernet?) in
"Android_Frequently_Asked_Questions.pdf" in android_jb4.3_1.1.0-ga documentation package :
---
From Adroid JB4.2.2, security ADB is enabled by default (ro.adb.security is set to 1). In security ADB mode, the ADB over
ethernet is not allowed. For more details, see How do I enable and disable security ADB?. To use the ADB over ethernet,
there are two steps to follow:
1. Disable the security ADB by changing ADB security setting in init.rc
2. Delete or comment the below line, and then rebuild the boot.img. setprop ro.adb.security 1.
3. Keep the board connecting with usb to the PC, and enable the ‘usb debuging’ from Setting->Developer Options and
then follow the steps below to set up ADB over ethernet.
On the Linux PC, assuming you had built Android code or had installed Android SDK), complete the following actions to use
ADB over ethernet:
$ ping IP_OF_YOUR_BOARD (run "netcfg" on board to get IP address)
$ export ADBHOST=IP_OF_YOUR_BOARD
"adb" is a host tool created during Android build.It's under out/host/linux-x86/bin/. Make
sure you set path properly.
$ adb kill-server (Not sure why this step is needed. Just re-start adb daemon on board.)
$ adb shell
Set the ADB port properly on the device:
$ setprop service.adb.tcp.port 5555
After setting up the ADB listener port, re-enable the USB debug function in the Settings application.
---
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------