HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
| Author |
Message |
|
googatrix
Archos Novice
Posts: 17 Joined: Tue Nov 24, 2009 2:47 pm
|
Wed Dec 09, 2009 4:01 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
I gather this is a bug introduced in the 1.4 firmware. Let's hope it gets fixed soon.
|
|
|
 |
|
gunnar-medial
Archos Novice
Posts: 29 Location: Sweden Joined: Tue Oct 06, 2009 2:19 pm
|
Wed Dec 09, 2009 3:02 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
nz - can you confirm if adb is working on Linux with fw 1.4.09 ? It stopped working for me when I upgraded to firmware where the unit began to respond with id's 0e79:1361. I see Archos have posted drivers for Windows (they worked ok now when I tested on XP), will you support Linux as well ?
|
|
|
 |
|
trickybit
Archos Novice
Posts: 1 Joined: Wed Dec 09, 2009 10:37 pm
|
Wed Dec 09, 2009 11:43 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Same problem, same software, save device IDs, same desire for support.
I note that Ubuntu is doing its thing. My rules.d line is: SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666", SYMLINK+="android_adb"
I note that after connection, the symlink /dev/android_adb is in fact created, so I think I got the syntax right.
I wonder if the timing of the update which seems to have cut this off is in any way related to the recent recipes for copying Google's apps and marketplace to the Archos 5.
Jim M.
|
|
|
 |
|
gunnar-medial
Archos Novice
Posts: 29 Location: Sweden Joined: Tue Oct 06, 2009 2:19 pm
|
Thu Dec 10, 2009 12:18 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
I would rather guess the majority of Archos dev team actually develop on Vista (or XP Pro ?) and assume this is what the world needs. BTW: I was surprised to see some renowned device geek reviewers are involved in popularising those APK hacks. It's similar to how Google private APK's got illegally redistributed with some popular mobile phone ROM images recently, and where Google stepped in. Here it's also a threat to the Appslib. But from what I have seen the hacks involve using Windows USB drivers and adb provided by Archos for Windows. And these files work for setting up on device debugging with Eclipse and the Android SDK on XP, Win7 or Vista. Those already underway busy developing on Linux are likely quite disturbed in case they happened to reflash to the irrevocable newest release. I definitely rather develop om Linux due to a much more robust and reliable environment. And good performance.
|
|
|
 |
|
omargohan
Archos Novice
Posts: 3 Joined: Sat Dec 12, 2009 6:56 am
|
Sat Dec 12, 2009 7:28 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Hi everyone,
I can't set my archos on device debugging :cry:
I've read all the post and replies and still can't find the correct way to do it, my device is:
$ lsusb | grep Archos Bus 002 Device 007: ID 0e79:1361 Archos, Inc.
The rule I'm using is:
$ cat /etc/udev/rules.d/51-android.rules SUBSYSTEM=="usb", ATTRS{idVendor}=="0e79", MODE="0666", SYMLINK+="android_adb"
Once I connect the device, it creates the link:
lrwxrwxrwx 1 root root 15 2009-12-12 00:20 /dev/android_adb -> bus/usb/002/009
So far, so good, however when I look for devices using the adb I get nothing:
# adb devices List of devices attached
#
For more references I'm using:
Firmware 1.4.09 Ubuntu 9.04 Android Debug Bridge version 1.0.25
Any idea what I'm doing wrong?
Regards,
|
|
|
 |
|
omargohan
Archos Novice
Posts: 3 Joined: Sat Dec 12, 2009 6:56 am
|
Sat Dec 12, 2009 7:53 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Question: Is "adb push" command a simple copy? or does it have more inside?
If I connect my archos I can see all the files and folders (including /system)
$ pwd /media/ARCHOS5
$ ls -l total 512 drwxrwxrwx 2 10006 10006 4096 2009-12-11 17:36 albumthumbs -rw-rw-rw- 1 root root 288408 2009-09-29 10:38 AppsLib9-29.apk -rw-rw-rw- 1 root root 59288 2008-04-14 06:00 autorun.inf drwxrwxrwx 3 10026 10026 4096 2009-12-11 09:34 data drwxrwxrwx 2 root root 4096 1969-12-31 18:11 Data drwxrwxrwx 3 10006 10006 4096 2009-12-11 09:13 DCIM -rw-rw-rw- 1 root root 79680 1969-12-31 18:22 DevIcon.fil -rw-rw-rw- 1 root root 10814 1969-12-31 18:22 DevLogo.fil drwxrwxrwx 2 10027 10027 4096 2009-12-11 14:10 download drwxrwxrwx 2 root root 4096 1969-12-31 18:22 Downloads drwxrwxrwx 2 root root 4096 1969-12-31 18:11 Flash drwxrwxrwx 2 root root 4096 2009-09-14 13:14 Info drwxrwxrwx 2 root root 4096 2009-12-12 00:48 lost+found drwxrwxrwx 17 root root 4096 2009-12-11 09:22 Music drwxrwxrwx 2 root root 4096 1969-12-31 18:11 PDF drwxrwxrwx 3 root root 4096 1969-12-31 18:07 Pictures drwxrwxrwx 2 root root 4096 2009-09-14 13:15 Playlists drwxrwxrwx 3 root root 4096 2009-10-01 15:22 RECYCLER drwxrwxrwx 5 root root 4096 2009-12-12 00:50 System drwxrwxrwx 4 root root 4096 1969-12-31 18:22 Video
Warm regards,
|
|
|
 |
|
xotaku
Archos Novice
Posts: 1 Joined: Tue Dec 15, 2009 3:14 pm
|
Tue Dec 15, 2009 3:16 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Updated firmware to 1.4.16 and no changes. ./adb devices doesn't show any compatible devs.
|
|
|
 |
|
ImSoFLyy
Archos Guru
Posts: 292 Joined: Thu Mar 12, 2009 7:39 am
|
Sat Dec 19, 2009 2:00 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Canthis be used for windows XP also , because I tried just about everything to get this thing recognized in ADB mode and quite frustrated as of now
|
|
|
 |
|
devo
Archos Expert
Posts: 249 Location: Michigan Joined: Sat Dec 26, 2009 4:33 am
|
Sat Dec 26, 2009 4:37 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Yeah, I'm having the same issue here. Device is showing up as 0e79, but adding that into my rules and restarting udev isn't doing anything. Have they suddenly disabled adb or something? Any suggestions, or anyone having any more luck than I? Using ubuntu 8.04 with firmware 1.4.25.
_________________ hax@is.gd/aYb3e
|
|
|
 |
|
zdrifter
Archos User
Posts: 83 Location: Jupiter, Fl Joined: Thu Dec 10, 2009 2:15 am
|
Wed Jan 06, 2010 5:35 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Go here: http://ubuntuforums.org/showthread.php?t=667720 and follow the outlined directions Cheers
|
|
|
 |
|
gunnar-medial
Archos Novice
Posts: 29 Location: Sweden Joined: Tue Oct 06, 2009 2:19 pm
|
Wed Jan 06, 2010 11:41 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
I still think it's important that Archos respond regarding the lost support for ADB on Linux.
What happened and why did you decide to abandon those who were developing Android apps for the Archos Internet Tablet using Ubuntu ??
Apparently when you fixed that "incorrect vendor ID" something changed that had ADB stop working on Linux.
Is there a way we can get ADB functionality back for Ubuntu ?
|
|
|
 |
|
laustmcgregor
Archos User
Posts: 58 Joined: Mon Dec 21, 2009 1:44 pm
|
Fri Jan 08, 2010 7:10 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
|
|
|
 |
|
devo
Archos Expert
Posts: 249 Location: Michigan Joined: Sat Dec 26, 2009 4:33 am
|
Sat Jan 09, 2010 1:43 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Same, I can confirm this doesn't work on Ubuntu 8.04/1.6.X firmware.
_________________ hax@is.gd/aYb3e
|
|
|
 |
|
laustmcgregor
Archos User
Posts: 58 Joined: Mon Dec 21, 2009 1:44 pm
|
Sat Jan 09, 2010 10:54 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Rectification: it works! I first added the udev rules as indicated somewhere else, then added 0x0e79 in ~/.android/adb_usb.ini, and voila: gentoo, kernel 2.6.31, x64, and firmware 1.6 on the archos
|
|
|
 |
|
googatrix
Archos Novice
Posts: 17 Joined: Tue Nov 24, 2009 2:47 pm
|
Mon Jan 11, 2010 6:15 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Thanks laustmcgregor.
I can confirm that after manually adding 0x0e79 in ~/.android/adb_usb.ini this also works in Ubuntu.
|
|
|
 |
|
devo
Archos Expert
Posts: 249 Location: Michigan Joined: Sat Dec 26, 2009 4:33 am
|
Mon Jan 11, 2010 9:45 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Sigh, still no luck on my end. The rules are there, udev and adb have been restarted, it's plugged in with debugging mode on, the line is in ~/.android/adb_usb.ini - still no dice. What kind of voodoo do I need to do?! :P
This is getting me frustrated because it works just fine in windows with the replacement adb :roll: but unlike every other android device I have, just doesn't seem to want to work with ubuntu.
_________________ hax@is.gd/aYb3e
|
|
|
 |
|
laustmcgregor
Archos User
Posts: 58 Joined: Mon Dec 21, 2009 1:44 pm
|
Tue Jan 12, 2010 12:05 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
* Googatrix: you're welcome! Now unleash your dev power ;-)
* devo: Did you try threatening an A5IT doll with nails?
Have you double checked your configuration? The tiniest mistake in the writing can have the most disastrous effects (ok maybe that's a bit too dramatic). Also, you can send me your udev rule, output of lsusb, and adb_usb.ini by mp for "independent" review if you want (given many eyeballs etc..).
|
|
|
 |
|
googatrix
Archos Novice
Posts: 17 Joined: Tue Nov 24, 2009 2:47 pm
|
Tue Jan 12, 2010 4:36 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
laustmcgregor/gunnar-medial/anybody else who's been poking around: couple of questions! 1) I was expecting to find su under /system/xbin but it's not there. does not find anything. Does this mean no root access, even through adb? 2) Same story with the sqlite executable, cannot find it. Any thoughts?
|
|
|
 |
|
laustmcgregor
Archos User
Posts: 58 Joined: Mon Dec 21, 2009 1:44 pm
|
Tue Jan 12, 2010 10:35 pm  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Did you do that in an adb shell? I did and got: Can't find sqlite though
|
|
|
 |
|
googatrix
Archos Novice
Posts: 17 Joined: Tue Nov 24, 2009 2:47 pm
|
Wed Jan 13, 2010 3:17 am  Re: HOWTO: ADB support on Ubuntu Linux (on-device debugging!)
Yes, through I ran the same in adb shell, there's no su in my tablet. 1) What firmware have you got? Mine is 1.4.25 with Google Market. 2) Did you try running su - (or /system/xbin/su -)? Does it let you login as root? 3) To check for sqlite can you run the following (I think the executable should be sqlite3). On mine it only find a directory ./sqlite_stmt_journals which is empty.
|
|
|
|