[TUT] ADB over WiFi
I thought some people might appreciate the instructions to get adb working over WiF:
Type this in your terminal emulator on your One X:
setprop service.adb.tcp.port 5555
(5555 can be whatever you want.)
Then check it with this:
When it returns "5555" then run this command in the terminal (or command prompt) on your computer:
adb connect 192.168.0.151
Obviously enter your device's IP address in place of 192.168.0.151. Your computer must have adb (duh!) and your phone must be on the same network.
And you should be connected!
To tell the One X to listen for adb on the USB port instead of TCP again, enter this into the terminal emulator:
setprop service.adb.tcp.port -1
Or just reboot the phone.
And to tell your computer to use USB for adb instead of TCP:
I would definitely use the USB cable to push large files or even small files that you really don't want to risk corrupting (partition images you plan on dding, etc).
Very importantly, keep in mind, when your phone is listening for adb via WiFi, it's wide open... anybody that that the adb installed and knows your device's IP address can access it without a password. Again, a simple reboot will turn it off though.
PS - Your