Manage android phones in ubuntu

Source: Internet
Author: User
1 install adbapt-getinstallandroid-tools-adb2 configuration 1) run lsusbBus001Device002: ID8087: 0024IntelCorpIntegratedRateMatchingHubBus002Device002: ID8087: 002

1. install adb

Apt-get install android-tools-adb2. configuration

1) run lsusb

Bus 001 Device 002: ID 8087: 0024 Intel Corp. integrated Rate Matching HubBus 002 Device 002: ID 8087: 0024 Intel Corp. integrated Rate Matching HubBus 001 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b: 0002 Linux Foundation 2.0 root hubBus 001 Device 005: ID 0cf3: 3005 Atheros Communications, Inc. AR3011 g0thbus 001 Device 004: ID 13d3: 5205 IMC Networks Bus 002 Device 006: ID 0bb4: 0cee HTC (High Tech Computer Corp .) bus 002 Device 003: ID 046d: c05a Logitech, Inc. optical Mouse M90: find the corresponding HTC mobile phone information

2) create a 70-android-usb.rules file in the/etc/udev/rules. d Directory and write the file:

SUBSYSTEM = "usb", ATTR {idVendor} = "0bb4", ATTR {idProduct} = "0cee", MODE = "0666", OWNER ="
 
  
"3) restart the service
 
Sudo restart udev 4) query the verification device:
Adb devices 3. use adb to control mobile phones

1) upload a file to your mobile phone

adb push /images/test.jpg /sdcard/
2) Download the file to your computer
Adb pull/sdcard/images/test.jpg/tmp3) to enter the android shell environment
ado shell
For other adb functions, Baidu should handle them. over!
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.