5

With an Ubuntu phone BQ E4.5, I have enabled the Developer mode and connected through USB. when I issue: adb devices it returns nothing and adb shell returns "error: device not found"

Whether I unmount or not the device does not change anything. (note that I can see the phone fine with MTP...)

I can see the device with lsusb, but it has no description:

Bus 001 Device 010: ID 2a47:0c02

Any pointer please? Thanks in advance.

2
  • Which Ubuntu version are you using on your desktop? Mar 27, 2015 at 6:23
  • 14.04. Solution below worked.
    – Se6
    Mar 27, 2015 at 8:40

1 Answer 1

9

adb shows a device only when it knows the vendor of the device. The vendor of the bq E4.5 seems not known by default.

To change that edit or create the file ~/.android/adb_usb.ini and add the following line

0x2a47

That is the vendor id of the bq E4.5.

Restart the adb server after you edited the file

sudo adb kill-server;  sudo adb start-server

You can find out the id by yourself with lsusb. (I made the id bold so you can see where to look for it in the lsusb output)

Bus 003 Device 002: ID **2a47**:0c02 

(Or you could execute lsusb -v and look for the idVendor field.)

6
  • where is he android.ini file, do i create it and if yes where?? Apr 3, 2015 at 19:36
  • 1
    The android.ini file has to be in your home directory in the folder .android. If the file does not exist you have to create it. Apr 3, 2015 at 20:03
  • but in my pc or android?? Apr 3, 2015 at 23:48
  • 1
    Ah, sorry. On your PC. Apr 4, 2015 at 4:55
  • Also note the usage of sudo is required when restarting the adv server, even if there is no error without.
    – Anthony
    Sep 24, 2017 at 13:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .