0

I have an unbranded Android phone here which I would like to develop some apps on. However, adb devices does not give any output. When I run lsusb, this is the output:

ID 1782:5d01 Spreadtrum Communications Inc.

I suspect that I am lacking some drivers or anything of the sort, but how do I make the adb server recognize the phone?

I am running Ubuntu 13.10, kernel 3.11.0-15-generic.

Phil
  • 25
  • 4

1 Answers1

0

Adding device in android rules file :

use the following commands in ubuntu: first attach your device to system then

how to get the device vendor id:lsusb

cmd for adding device rules ,run the following commands:

sudo gedit /etc/udev/rules.d/51-android.rules

then paste your vendor id like

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

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

Ravind Maurya
  • 2,609
  • 1
  • 20
  • 27
  • Thanks for the answer. I created the file, `SUBSYSTEM=="usb", ATTRS{idVendor}=="1782", MODE="0666"` and restarted udev afterwards. Still, adb does not recognize the phone. – Phil Jan 21 '14 at 08:17
  • i am just suggesting to add your device into your rule file and how to get your device vendor id – Ravind Maurya Jan 21 '14 at 08:19
  • @Phil heve you got the vendor id by lsusb command and after paste and save the vendor id in your file run this command :sudo chmod a+r /etc/udev/rules.d/51-android.rules – Ravind Maurya Jan 21 '14 at 08:21
  • Thanks again. The permissions are correct, yet it's not working. – Phil Jan 21 '14 at 08:26