Recently encountered a problem, no USB interface how to make Android device connected to the PC? Later colleagues told me that the original can use the network to connect it, so debugging up more convenient, fortunately there is a network port to provide connectivity. In fact, it is very simple, just add the following sentence to the System/build.prop file:
service.adb.tcp.port=5555
Enter the serial terminal
[Email protected]:/$ su[email protected]:/# VI System/build.prop
Since System/build.prop is a system file and requires the root user, all input SU commands are switched to the root user and you can see that the root user is marked with "#".
Android Device network connection is good, you can view the network IP address of the device, view access: "System Settings", "Ethernet Settings", "Ethernet"
Network ip:192.168.0.117
Connection :
Go to cmd Command box and enter ADB connect 192.168.0.117
Connect the device, all the ADB commands can be used, and Android application debugging is also convenient, the same can be used for USB debugging, download apk and see Logcat printing information.
Verification :
Note :
Every time you restart your Android device, you need to enter the command to reconnect the device with the ADB connect IP address
Android devices use network connection debugging