<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Chan Chen Coding...

    Fix “???????????? no permissions” with adb and your Android phone

    A common problem when using adb to access your Android phone via USB is:

    $ adb devices List of devices attached ????????????    no permissions 

    According to official Android Developers website:

    If you’re developing on Ubuntu Linux, you need to add a rules file that contains a USB configuration for each type of device you want to use for development. Each device manufacturer uses a different vendor ID. The example rules files below show how to add an entry for a single vendor ID (the HTC vendor ID). In order to support more devices, you will need additional lines of the same format that provide a different value for the SYSFS{idVendor} property.

    Quick fix:

    sudo -s adb kill-server adb start-server adb devices 

    Permanent fix:

    $ lsusb Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 002: ID 093a:2510 Pixart Imaging, Inc. Hama Optical Mouse Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 002: ID 18ea:0004 Matrox Graphics, Inc. TripleHead2Go [Digital Edition] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 001 Device 010: ID 0bb4:0c87 High Tech Computer Corp.  <<<<<<<< my HTC phone Bus 001 Device 008: ID 046d:0817 Logitech, Inc. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 

    Note 0bb4 is the vendor ID. Next, create /etc/udev/rules.d/51-android.rules with the following lines:

    SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666" 

    Final steps:

    sudo chmod a+r /etc/udev/rules.d/51-android.rules sudo udevadm control --reload-rules 

    Done.

    A list of popular vendor IDs:

    Acer0502
    Dell413c
    Foxconn0489
    Garmin-Asus091E
    HTC0bb4
    Huawei12d1
    Kyocera0482
    LG1004
    Motorola22b8
    Nvidia0955
    Pantech10A9
    Samsung04e8
    Sharp04dd
    Sony Ericsson0fce
    ZTE19D2



    -----------------------------------------------------
    Silence, the way to avoid many problems;
    Smile, the way to solve many problems;

    posted on 2013-03-10 13:58 Chan Chen 閱讀(151) 評論(0)  編輯  收藏 所屬分類: Android


    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 亚洲爆乳精品无码一区二区三区 | 亚洲午夜视频在线观看| 国产亚洲综合久久| 永久久久免费浮力影院| 亚洲国产欧美国产综合一区 | 亚洲日韩国产精品乱| 黄色一级视频免费观看| 国内一级一级毛片a免费| 亚洲熟女综合色一区二区三区 | 久久久亚洲欧洲日产国码二区| 午夜免费福利视频| 91在线精品亚洲一区二区| 无码少妇精品一区二区免费动态 | 亚洲一区二区三区免费在线观看| 亚洲最大成人网色| 1000部拍拍拍18免费网站| 亚洲理论片在线中文字幕| 免费毛片在线看片免费丝瓜视频| 精品国产日韩久久亚洲| 日韩中文字幕免费| 中文在线日本免费永久18近| 国产亚洲A∨片在线观看| 久久中文字幕免费视频| 亚洲国产人成在线观看| 在线免费观看毛片网站| 男女啪啪免费体验区| 国产成人A人亚洲精品无码| 100部毛片免费全部播放完整| 亚洲a级成人片在线观看| 日本免费一区二区三区最新| 黄页免费视频播放在线播放| 亚洲国产精品一区二区第一页 | 日韩成人毛片高清视频免费看| 久久夜色精品国产亚洲| 一个人免费观看视频www| 男女啪啪免费体验区| 4480yy私人影院亚洲| 日本xxwwxxww在线视频免费| 中文在线免费看视频| 亚洲sss综合天堂久久久| 相泽亚洲一区中文字幕|