adb connector configuration

A. Adb install environment

   1.1. Windown driver installation

        1. Download the drivers (ADB Kits): http://adbshell.com/downloads

        2. adb test

            <1> decompressor driver

            <2> Open cmd, (adb if the path environment variable can be added in any test adb path, not only in the decompression test of the path.)

         

    

    1.2. Ubuntu environment configuration of adb

        1.2.1 Install adb tool

sudo apt-get install android-tools-adb

   1.2.2 adding device identification

mkdir -p ~ / .android
 vi ~ / .android / adb_usb.ini 
# add the following line 
0x2207

        1.2.3 added udev rules

the sudo  VI /etc/udev/rules.d/ 51 is - android.rules 
# add the following line: 
the SUBSYSTEM == " USB " , the idVendor the ATTR {} == " 2207 " , the MODE = " 0666 "

       1.2.4. Udev rules take effect

sudo udevadm control --reload-rules
sudo udevadm trigger

       1.2.5. Restart the adb server

sudo adb kill-server
adb start-server

        1.2.6. View adb version

 

Two network connection adb

    2.1  Let adbd restart the device side and listens on TCP port 5555

# Let adbd reboot the device side and listens on port 5555 TCP
 adb tcpip 5555 # then you can disconnect the USB connection # remote connection device, the IP address is 192.168.1.100 adb Connect 192.168 . 1.100 : 5555 # Disconnect adb disconnect 192.168 . 1.100 : 5555

Three. USB connection adb

     3.1. Android PC using a USB connection

      3.2. Use adb devices

 

 

References: http://wiki.t-firefly.com/zh_CN/Firefly-RK3288/adb_debug.html

 

Guess you like

Origin www.cnblogs.com/linux-37ge/p/11068938.html