Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can usb debugging for Kindle Fire can be enabled on a Linux (Ubuntu)?

Tags:

linux

android

adb

I am trying to do some Android development on a Kindle Fire, however I am having trouble making my Ubuntu 11.04 recognize the device for using it with the ADB. I've added a line like this SUBSYSTEM=="usb", ATTR{idVendor}=="1949", MODE="0666", GROUP="plugdev" in my etc/udev/rules.d/51-android.rules file, restarted the computer and plugged in the Fire but still adb devices did not show it.

Any suggestions?

like image 205
r1k0 Avatar asked Nov 24 '11 12:11

r1k0


3 Answers

It seems that it works if you edit ~/.android/adb_usb.ini and add 2 lines containing 0x1949 and 0x006 and restart the adb server using

adb kill-server
adb start-server

Also, the 51-android.rules file contains the Lab126 vendor id.

You may also need to edit the inf file. See the instructions here: http://g-ecx.images-amazon.com/images/G/01/sdk/Connecting_your_Kindle_Fire_to_ADB.pdf

like image 79
r1k0 Avatar answered Oct 15 '22 02:10

r1k0


  1. Add a single line to: ~/.android/adb_usb.ini. The content of the line: 0x1949
  2. Restart server

    $ adb kill-server

    $ sudo adb start-server

Worked for me on Ubuntu 11.10

like image 2
AlikElzin-kilaka Avatar answered Oct 15 '22 01:10

AlikElzin-kilaka


There will be a number of steps you have to take. Basically you need to edit an ini file. Different steps is needed for MAC and PC. Kindle Fire: Enable USB Debugging

like image 1
David Avatar answered Oct 15 '22 00:10

David