RK3399 / RK3288 ADB use
Linux installation adb
1. Installation adb
By apt-get install android-tools- adb install adb .
2. The android connect the device to a computer, by lsusb view usb device, as is the portion corresponding to the red android device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 0bda:0821 Realtek Semiconductor Corp
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 5986:06b2 Acer, Inc
Bus 020 Device 002: ID 2207:0006 Fuzhou Rockchip Electronics Co., Ltd.
Bus 001 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
3. If the device does not appear, you can try to create adb_usb.ini file, write the android device VID
echo 0x2207 > ~/.android/adb_usb.ini
4. restart the adb services, and execute adb devices command, if the device is illustrated adb configuration successful.
adb kill-server
adb start-server
adb devices
List of devices attached
69T7N15823003216 device
Windows under ADB installation
1 , from http://www.sunychip.com/content-125.html download adb.zip ,
http://www.chacha8.cn/detail/1132398216.html
2 , extract to C: \ adb
3 , set the environment variable
4 , open a command line window, type: adb shell
如果一切正常,就可以进入adb shell ,在设备上面运行命令。
连接管理
通过type c 线直连
1 、列出所有连接设备及其序列号adb devices
List of devices attach
G1XXI2YZXK device
G2XXI2YZXK device
2 、连接其中一台设备
adb –s G1XXI2YZXK shell (如果仅有一台设备连接,直接adb shell )
通过网络连接
郑州女性不孕不育医院:http://jbk.39.net/yiyuanzaixian/zztjyy/
1 、在设备串口上输入:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
2 、在设备串口上输入ip a ,获取设备地址(172.16.9.76 )
3 、在主机上输入adb connect 172.16.9.76
4 、在主机上输入adb shell
安装/ 卸载apk
1 、adb install [ 选项] *.apk
可带如下参数:
-l: forward lock application
-r: replace existing application
-t: allow test packages
-s: install application on sdcard
-d: allow version code downgrade
2 、 adb uninstall *.apk
其它adb 命令
请用adb –help 获取对应帮助