Wednesday, December 16, 2009

Archos's solution to ADB connection bug with Mac OSX since 1.4.xx firmwares

Archos support proposes a solution to the bug on ADB connection mode with Mac OSX 10.6.2 with firmwares updates since 1.4.07 to the latest 1.4.16 :

You actually need to modify or create the adb_usb.ini file

In terminal, you need to type :
echo "0x0e79" >~/.android/adb_usb.ini
Then
./adb kill-server
and
./adb start-server


I just modify the first command in order to preserve the original contents of the ~/.android/adb_usb.ini file by issuing the following command
echo "0x0e79" >> ~/.android/adb_usb.ini


Here is the result :

$ adb devices
List of devices attached

$ adb devices
List of devices attached

$ more ~/.android/adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
$ echo "0x0e79" >> ~/.android/adb_usb.ini
$ more ~/.android/adb_usb.ini
# ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
# USE 'android update adb' TO GENERATE.
# 1 USB VENDOR ID PER LINE.
0x0e79
$ adb kill-server
$ adb start-server
$ adb devices
List of devices attached
A5S-xxxx0004-xxxx0000-0403xxxx-1500xxxx device


All works perfectly.

12 comments:

a2b said...

According to this thread HOWTO: ADB support on Ubuntu Linux (on-device debugging!) on the forum ArchosFans.com support forum, it seems there are still some problems connecting A5IT with a Linux system

Boris said...

Awesome, I thought I was missing a conf or a connection mode parameter for my internet tablet 5... Thanks a million for your super useful tip.

(Worked on 10.5.8 using Android Debug Bridge version 1.0.25)

a2b said...

@Boris

You welcome

a2b said...

Some useful « vendor_id » to be used in place of the « "0x0e79" » part in the
« echo "0x0e79" >> ~/.android/adb_usb.ini »
command are listed in the «USB Vendor IDs » section of the Developing on a Device resource from Android developers

schwiz said...

Awesome! Wish this worked for PC as well +1 for mac ^.^

a2b said...

I'm very proud and honored that this post has been referenced on Berkeley's Fall 2010 CS 160 Tips and Tricks. So I wish a special welcome to all Berkeley's students. :-)

a2b said...

How to connect the Archos 101 internet tablet using ADB : head to [résolu] Développer sur Archos 101

a2b said...

How to connect the Samsung Galaxy on Mac OSX using ADB and recovery issue : head to Problème + mini recovery + error: device not found

a2b said...

Some resources on HOWTO: ADB support on Ubuntu Linux (on-device debugging!)

a2b said...

cross link to David Defour's embedded device homework page for his Université de Perpignan's master students

Hnery Amely said...

I like your blog post. Keep on writing this type of great stuff. I'll make sure to follow up on your blog in the future. I love android and no we can play Android Apps on PC with Android Emulator.

a2b said...

@Hnery Amely

I'll keep your comment - which I consider being a spam - only because of the android emulator reference.