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.

  • Which Ubuntu version are you using on your desktop? – David Planella Mar 27 '15 at 6:23
  • 14.04. Solution below worked. – Se6 Mar 27 '15 at 8:40
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.)

  • where is he android.ini file, do i create it and if yes where?? – Diogo Figueira Apr 3 '15 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. – Christopher Bludau Apr 3 '15 at 20:03
  • but in my pc or android?? – Diogo Figueira Apr 3 '15 at 23:48
  • 1
    Ah, sorry. On your PC. – Christopher Bludau Apr 4 '15 at 4:55
  • Also note the usage of sudo is required when restarting the adv server, even if there is no error without. – AnthonyB Sep 24 '17 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.