eclipse using ubuntu - Vibrant General

i cant get my eclipse to debug my phone
if i adb devices i get
??????????????? no permissions
ubuntu 10.4

You need to add the samsung USB vendor code into udev.
Press ALT + F2
In the run dialog, enter:
Code:
gksudo gedit /etc/udev/rules.d/51-android.rules
Enter your password when prompted.
Here is my configuration:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="04e8", MODE="0666"
SUBSYSTEM=="usb", SYSFS{idVendor}=="22b8", MODE="0666"
18d1 = Nexus One
0bb4 = HTC (Dream/Magic/Evo/Hero)
04e8 = Samsung (Moment)
22b8 = Motorola (Droid)
Contained in italics are known phones for sure. I'm going to assume the Vibrant uses the same USB vendor code as the Moment.
ALSO, MAKE SURE THE VENDOR ID (i.e. 04e8) IS ALL LOWERCASE, UNLIKE THIS. I had severe issues figuring out why it still wasn't working after adding, and I found out it IS case sensitive.
Add the Samsung line to your file, and save it. Follow the following instructions.
Open a terminal (Applications -> Accessories -> Terminal).
Type:
Code:
sudo service udev restart
Then unplug and replug your phone.
In the terminal, type:
Code:
adb devices
It should return something like this:
Code:
[email protected]:~$ adb devices
List of devices attached
HT9CZP805116 device
Enjoy!
EDIT:
It may have a different Vendor ID.
If so, in the terminal, type:
Code:
lsusb
It will return something like this:
Code:
[email protected]:~$ lsusb
Bus 002 Device 006: ID 046d:c222 Logitech, Inc. G15 Keyboard / LCD
Bus 002 Device 005: ID 046d:c221 Logitech, Inc. G15 Keyboard / Keyboard
Bus 002 Device 004: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 003: ID 046d:c223 Logitech, Inc. G15 Keyboard / USB Hub
Bus 002 Device 002: ID 046d:c50e Logitech, Inc. MX-1000 Cordless Mouse Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 013: ID 18d1:4e12
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 13 is my Nexus One, so my vendor code would be 18d1. Substitute your result in and you shall achieve win!

Related

[Q] ADB Device List Empty On Ubuntu 10.10

I'm trying to use the APP Droidcam on my phone, the PC client allows you to connect via ADB but with downloading the Android 2.1 SDK and trying just about everything I've found through google search. With typing: adb devices, in the terminal I continue to get: List of devices attached and a blank. Running lsusb it shows my phone is attached.
$ lsusb
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 04e8:681c Samsung Electronics Co., Ltd Galaxy Portal/Spica Android Phone
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ adb devices
List of devices attached
$
Not really sure how to fix this issue or what to adjust. Any advice would be well appreciated!!
is debugging turned on ?
settings > Applications > development > usb debugging

[Q] USB mass storage in linux

Is there a way to connect to a linux system as a mass storage device to access the SD and internal memory?
I have had other android devices and never had any issue with just plugging it in and it just popping up. I am running linux mint KDE (Ubuntu based). This is the first device i tried with Honeycomb. It seems to use Acer sync instaed stock usb storage mode anyway.
A500 to Ubuntu USB
I could not get my Ubuntu machines to recognize the tablet when I plugged in the USB cable. Bummer.
Digging around I found a similar issue experienced by Xoom owners. The original article describing the fix is here. The steps listed there are for the Xoom, not the Acer, although the fix is almost the same.
I am posting the slightly modified instructions again here for clarity and brevity.
I did this fix on both Ubuntu 10.10 (Maverick) and 11.04 (Natty). Your mileage may vary.
1. Get the mtpfs package installed on your machine.
Code:
sudo apt-get install mtpfs
2. In the tablet, go to Settings->Applications->Development and turn USB Debugging on (check the box). For me, this was required for file transfers to work.
3. Plug your USB cable into the tablet and your Ubuntu machine.
4. Open your Terminal app on the Ubuntu machine.
5. Use the lsusb command to get the vendor id. Type "lsusb" in Terminal.
6. The output should look something like this:
Code:
[email protected]:~$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 006: ID 046d:c52f Logitech, Inc. Wireless Mouse M305
Bus 003 Device 005: ID 05af:0802 Jing-Mold Enterprise Co., Ltd
Bus 003 Device 002: ID 03eb:3301 Atmel Corp. at43301 4-Port Hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0502:3325 Acer, Inc.
Bus 001 Device 003: ID 04f2:b16b Chicony Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The line with "Acer, Inc." in it tells you the VendorID. In the example above, it's 0502.
** Disconnect the USB cable at this point **
7. Create a UDEV rule file. Use your editor of choice, mine is nano.
Code:
sudo nano /etc/udev/rules.d/51-android.rules
The file should contain this line when you are finished:
Code:
SUBSYSTEM=="usb", ATTR{idVendor}=="0502", MODE="0666"
8. Create a mount point and make yourself the owner.
Code:
sudo mkdir /media/a500
sudo chown [B][COLOR="darkred"]user[/COLOR]:[COLOR="darkred"]user[/COLOR][/B] /media/a500
IMPORTANT: Replace user:user with your user name and default group on your Ubuntu machine. For most people it will be your login name. If your login is "bob", then replace user:user with bob:bob, capice?
9. Add the mount point to fstab.
Code:
sudo nano /etc/fstab
At the bottom of the file, type this stuff:
Code:
# mount point for moto xoom
mtpfs /media/xoom fuse user,noauto,allow_other 0 0
10. Modify fuse.conf. Uncomment user_allow_other.
Code:
sudo nano /etc/fuse.conf
Look for #user_allow_other and remove the #.
11. Add yourself to the fuse group.
Code:
sudo nano /etc/group
Look for the line starting with "fuse" and put your login at the end of that line (if it's not already there).
12. Reboot.
You should see your mount point in Nautilus when you open it. After plugging in the USB cable, you can click the a500 entry under Places to mount the tablet.
Be sure to unmount it before disconnecting it. (always a good practice)
It took some time for some large folders to display. Patience is good.
From what I read, better fixes are on the horizon, but who knows when. For now, this allows me to get my music and movies on the tablet more rapidly than using wifi.
Thanks to roberj13 over at forum.xda-developers.com for the original post.

[Q] Simple development on 10.1 retail via Linux?

Greetings,
I'd have posted this on '10.1 development', but I'm not allowed to yet.
I just received the new G.T. 10.1 to use for development. I'm trying to push my first Android app to it, but am having no luck. I'm running the latest Ubuntu. I've followed the instructions here:
Code:
http : // developer.android.com/guide/developing/device.html
Here's my rules file:
Code:
$ ls -l /etc/udev/rules.d/51-android.rules
-rw-r--r-- 1 root root 55 2011-06-18 08:42 /etc/udev/rules.d/51-android.rules
$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", SYSFS{idVendor}="04e8", MODE="0666"
but I get this from adb:
Code:
$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
???????????? no permissions
My device is seen by Ubuntu:
Code:
$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04e8:685e Samsung Electronics Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Here's my system id:
Code:
$ uname -a
Linux ubuntu 2.6.32-30-generic #59-Ubuntu SMP Tue Mar 1 21:30:21 UTC 2011 i686 GNU/Linux
Can anyone tell me what I'm missing? Has anyone connected to the new US consumer 10.1? Any help in getting me over this hump would be greatly appreciated.
Blat
USB debugging enabled?
What if you run adb as root?
try the commands bellow:
Code:
su
adb kill-server
adb start-server

Help with tf300t USB and LINUX

I have asus tf300t and linux ubuntu 12.04
I dont see my device when connected via USB,
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
of course adb devices comes empty too.
I do have SDK installed and had no problem with other device, samsung galaxy S3.
For some reason the ASUS is not detecting that it is connected. No notification in android. no lsusb in linux (((
anyone have any advice?
BTW do I connect the USB cable to the docking KBD or the tablet?
If still open ….
What about the system log files like
Code:
dmesg
resp.
Code:
tail -n 10 -f /var/log/messages
after plug in of your device?
By the way, I have an issue with my Asus Memo Pad FHD 10 and fastboot!
http://forum.xda-developers.com/showthread.php?t=2527305
Best regards
rudi

sahara installation on ubuntu 16.04

Welcome
Sahara installation on ubuntu 16.04, all you need is there
https://github.com/openpst/sahara
Done
Time to test
Vale Piotr
Adding test results
[email protected]:~$ lsusb
Bus 002 Device 004: ID 05c6:9008 Qualcomm, Inc. Gobi Wireless Modem (QDL mode)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Sahara install Qualcomm driver
It save me lot of work
[email protected]:~$ fastboot devices
[email protected]:~$
fastboot don't find device
[email protected]:~$ adb devices -l
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
[email protected]:~$ adb connect
Usage: adb connect <host>[:<port>]
must learn a bit
SALT and SP_Flash_Tool-5.1916_Linux don't see port
Vale

Categories

Resources