ADB not detecting device samsung i777 in ubuntu 12.04

对着背影说爱祢 提交于 2019-12-20 04:13:46

问题


this is the first time I am trying to setup adb to connect s2 with my ubuntu desktop. However, when I run adb devices and/or adb usb it cannot detect the s2. I have followed the following steps:

  1. create udev rules
  2. add to ~/.android/adb_usb.ini

But the device is not getting connected while I am in the download/odin mode.

My system is Ubuntu 12.04 64-bit and I am using the adb pre-packaged with android studio running lsusb shows me the following output:

Bus 002 Device 004: ID 04e8:685d Samsung Electronics Co., Ltd

I have also added the following line to my /etc/udev/rules.d/51-android.rules :

# Samsung Galaxy I777
SUBSYSTEMS=="usb", ATTRS{idVendor}=="04e8", MODE="0666", GROUP="plugdev"

and for the sake of full disclosure the permissions are:

-rwxr-xr-x 1 root root   95 Jun  2 17:16 51-android.rules

also the ~/.android/adb_usb.ini has the line0x04e8


回答1:


Try this universal udev rule, which matches all adb and fastboot interfaces regardless of vendor ID:

ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:ff420?:*", MODE="0666"


来源:https://stackoverflow.com/questions/16887524/adb-not-detecting-device-samsung-i777-in-ubuntu-12-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!