add Android adb fastboot support on UBUNTU 16.04

===============================
  add udev device for adb and fastboot in ubuntu
    --below is example--
    $ lsusb  // use lsub to check device's DEVICE ID
        Bus 001 Device 085: ID 05c6:9091 Qualcomm, Inc.

    sudo vi /lib/udev/rules.d/70-android-tools-fastboot.rules
    and
    sudo vi /lib/udev/rules.d/70-android-tools-adb.rules
    and

    add below content in both of above files
    ---
    ACTION=="add|change", SUBSYSTEM=="usb", \
      ATTRS{idVendor}=="05c6", \
      ATTRS{idProduct}=="9091", \
      TAG+="uaccess"

  ----

    //restart service
    service udev restart

    now plug in USB cable with Android Device ,your android device can regonize by "adb devices" or "fastboot devices"

arrow
arrow
    全站熱搜

    CuteParrot 發表在 痞客邦 留言(0) 人氣()