Hi!
I got OTA update to ICS today, and everything went smooth. The phone is working fine. I connect it to iMac, run adb devices, and there is see my device. I'm also using vmware fusion with Ubuntu, where I develop Android apps. Ubuntu does not see this device. Previously, it worked fine. Yes, the device is connected and configured to be available to guest machine.
dmesg and lsusb output follows:
[email protected]:~$ lsusb
Bus 002 Device 005: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[email protected]:~$ dmesg
[ 3751.650501] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 3763.141707] usb 1-1: new high speed USB device using ehci_hcd and address 46
[ 3778.252927] hub 1-0:1.0: unable to enumerate USB device on port 1
[ 3778.936251] usb 1-1: new high speed USB device using ehci_hcd and address 47
[ 3794.048386] hub 1-0:1.0: unable to enumerate USB device on port 1
Does anybody know what is going on?
Thanks!
Regards,
Miha.
Am I the only one having this problem? Any other Ubuntu users with Galaxy S2 and ICS update?
On the phone. Go to setttings/Wireless and networks/USB utilities/connect storage to PC.
bored_stupid said:
On the phone. Go to setttings/Wireless and networks/USB utilities/connect storage to PC.
Click to expand...
Click to collapse
This disables USB debugging. I did it anyway, but it still does not show up. Unfortunately.
I solved this by editing Ubuntu.vmx file. I added the following lines (I believe the last line makes a difference):
Code:
usb.quirks.device0 = "0x4e8:0x681d skip-reset" # Mass Storage
usb.quirks.device1 = "0x4e8:0x68a9 skip-reset" # Media
usb.quirks.device2 = "0x4e8:0x6877 skip-reset" # Kies
usb.quirks.device3 = "0x4e8:0x6866 skip-reset" # SGS2 ICS
Related
Hi guys,
I have used the following tutorials:
http://forum.xda-developers.com/showthread.php?t=735375
http://forum.xda-developers.com/showthread.php?t=921169&page=2
But still when I type "./adb devices" or "sudo ./adb devices" all I get is "List of aevices attached" followed by a blank. Do you know a way to fix this?
I'm using a Samsung Galaxy Tab.
Thanks in advance.
Could you paste your dmesg? What's your OS?
Could you paste your 51-android.rules and output of lsusb?
My OS is Ubuntu 11.10
The output of lsusb is:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 03f0:5c11 Hewlett-Packard PhotoSmart C4200 Printer series
Bus 003 Device 002: ID 045e:00f7 Microsoft Corp. LifeCam VX-1000
Bus 006 Device 002: ID 046d:c03d Logitech, Inc. M-BT96a Pilot Optical Mouse
Bus 006 Device 003: ID 045e:0730 Microsoft Corp.
Bus 002 Device 005: ID 04e8:6877 Samsung Electronics Co., Ltd
Click to expand...
Click to collapse
The 51-android-rules file contains
SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666
Click to expand...
Click to collapse
Are you using the stock USB cable that came with your tablet? Is the cable in good shape?
I had a Samsung device that would not show up under my devices in Ubuntu. I later discovered it was because my cable was damaged internally. It charged, but had trouble connecting for data.
Is there any way this could be the issue?
adb driver
are you sure you have install the adb driver ?
The vendor id in your udev file is the HTC vendor id.. you should use the samsung one: 04e8
Besides, you can just try:
adb kill-server
and then:
sudo adb start-server
and see if you can get your device listed
it's so easy, just turn off your android device, then hold down both "Volume Down" key and "Power" at the same time, wait a few seconds till it start in recovery mode, done.
now type adb devices, and you'll see your device.
So, I have an HTC Evo 4G running Gingerbread Deck 1.3, with the Tiamat Evo v4.1 kernel (2.6.38.8) and I've been having issues with the wired/USB tether. I've been trying it connect to two laptops running Ubuntu 11.10 and 12.04 and it doesn't work on either. I ran ifconfig on both and USB0 interface doesn't show up. I'm using the native tethering app, but I also used Wired Tether 1.4, and that didn't work. The log didn't show any errors. I can't find anything wrong with either laptop or the phone besides the fact that USB0 is not showing up and no tethering. The hotspot/wifi tether works fine, and I can mount the SD card fine. Could someone help me out?
UPDATE: So, I tried tethering again with a live USB boot of Ubuntu, and still nothing. Clearly this is an issue with the phone. I recall this feature working before, but I can't remember if it was with gingerbread deck or CM7. I had this problem before with my Epic 4G, but it had something to do with the USB stack. Is that still an issue? Any tips on finding out the root of the problem?
*bump*
*bump*
Sent from my PC36100 using XDA
I'm not an expert, but I'll give a try. Can you please do lsusb and dmesg|tail commands after connecting the phone?
from Ad!MoBiLe:: LGP698 Optimus Net Dual
acorreya said:
I'm not an expert, but I'll give a try. Can you please do lsusb and dmesg|tail commands after connecting the phone?
from Ad!MoBiLe:: LGP698 Optimus Net Dual
Click to expand...
Click to collapse
I'm not sure if you wanted me to attempt to tether or not when connected.
Here are the outputs NOT tethered:
Code:
[email protected]:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1c7a:0801 LighTuning Technology Inc. Fingerprint Reader
Bus 002 Device 003: ID 064e:a115 Suyin Corp.
Bus 008 Device 002: ID 0d7d:ac06 Phison Electronics Corp.
Bus 002 Device 007: ID 0bb4:0c8d High Tech Computer Corp. EVO 4G (debug)
Code:
[email protected]:~$ dmesg|tail
[ 129.487703] usbcore: registered new interface driver cdc_ether
[ 130.956095] rndis_host 2-1:1.0: RNDIS init failed, -110
[ 130.956154] rndis_host: probe of 2-1:1.0 failed with error -110
[ 130.956231] usbcore: registered new interface driver rndis_host
[ 482.085851] usb 2-1: USB disconnect, device number 6
[ 496.104133] usb 2-1: new high-speed USB device number 7 using ehci_hcd
[ 496.253090] scsi7 : usb-storage 2-1:1.0
[ 497.255140] scsi 7:0:0:0: Direct-Access HTC Supersonic 0100 PQ: 0 ANSI: 2
[ 497.255732] sd 7:0:0:0: Attached scsi generic sg2 type 0
[ 497.265129] sd 7:0:0:0: [sdb] Attached SCSI removable disk
Here are the outputs tethered:
Code:
[email protected]:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 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
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 1c7a:0801 LighTuning Technology Inc. Fingerprint Reader
Bus 002 Device 003: ID 064e:a115 Suyin Corp.
Bus 008 Device 002: ID 0d7d:ac06 Phison Electronics Corp.
Bus 002 Device 006: ID 0bb4:0c04 High Tech Computer Corp.
Code:
[email protected]:~$ dmesg|tail
[ 123.241994] type=1400 audit(1337702014.006:30): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince" pid=2537 comm="apparmor_parser"
[ 123.243551] type=1400 audit(1337702014.006:31): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=2540 comm="apparmor_parser"
[ 123.243940] type=1400 audit(1337702014.006:32): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2540 comm="apparmor_parser"
[ 123.245642] type=1400 audit(1337702014.010:33): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince//launchpad_integration" pid=2537 comm="apparmor_parser"
[ 129.045723] usb 2-1: USB disconnect, device number 5
[ 129.320166] usb 2-1: new high-speed USB device number 6 using ehci_hcd
[ 129.487703] usbcore: registered new interface driver cdc_ether
[ 130.956095] rndis_host 2-1:1.0: RNDIS init failed, -110
[ 130.956154] rndis_host: probe of 2-1:1.0 failed with error -110
[ 130.956231] usbcore: registered new interface driver rndis_host
So, i reflashed GBDeck 1.3 and USB tethering works fine. I suspect it might've been a kernel issue.
Great to know!
from Ad!MoBiLe:: LGP698 Optimus Net Dual
Hi
I have installed Arch Linux but cannot find suitable material on setting up drivers and utilities for flashing rom on Linux specifically arch linux.
I can setup arch even if instructions are available for other distro Linux Mint and Ubuntu so any link can come in handy.
I was using flashtool in windows but after shifting to Arch, I am not sure whats the right procedure to do it.
I have unlocked bootloader and rooted rom (FXP kernel + MIUI) installed as of now which I want to change asap.
Please help.
Regards
Hello,
You don't need any drivers,just install android-udev and android-sdk-platform-tools for adb and fastboot (both from aur).
Download latest flastool and run it from the terminal just like you do in windows (it requires jre and libusbx from official repos ).
Ok I have reinstalled fatsboot, android-sdk-platform-tools and openjre
Now I still cannot use fastboot devices , its list nothing.
Also since I should have adb available (from sdk-platform) when I run adb it says no command ?
Code:
[[email protected] fastboot]$ fastboot devices
[[email protected] fastboot]$ sudo fastboot devices
[[email protected] fastboot]$ sudo fastboot devices
[[email protected] fastboot]$ sudo adb
sudo: adb: command not found
[[email protected] fastboot]$ adb
bash: adb: command not found
I have also installed udev-android , previous I created 51-android.rules manually but still doesnt work.
fastboot won't list the devices nor it works.
Code:
[sha[email protected] fastboot]$ lsusb
Bus 002 Device 005: ID 413c:2107 Dell Computer Corp.
Bus 002 Device 003: ID 046d:c051 Logitech, Inc. G3 (MX518) Optical Mouse
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 021: ID 0fce:5146 Sony Ericsson Mobile Communications AB
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
First of all make sure you have enabled usb debugging on your phone.Adb and fastboot should be under /opt/android-sdk/platform-tools/ and also 51-android.rules file in /usr/lib/udev/rules.d/ (with -rw-r--r-- permissions).
With these things i have everything in my sytem to flash roms etc,maybe you're missing something with your installation.
Also for more information check wiki from archlinux wiki.archlinux.org/index.php/android
The issue is now solved.
I'm trying to set up adb in Ubuntu 14.04.3 64bit but its not showing up when I connect my device.
Here is what I did
I installed adb and fastboot using these commands
Code:
sudo apt-get install android-tools-adb android-tools-fastboot
I got the adb driver files from my device and executed it
Code:
sh ~/Desktop/adb_config_Linux_OSX.sh
The command got executed and adb_usb.ini file got created successfully at ~/.android/ folder.
Now I connected my device with USB debugging ON
When I run the adb devices command this is what I get
Code:
List of devices attached
The list of devices is empty.
When I run my lsusb command
Code:
Bus 001 Device 005: ID 0cf3:0036 Atheros Communications, Inc.
Bus 001 Device 003: ID 0bda:5756 Realtek Semiconductor Corp.
Bus 001 Device 010: ID 2a70:904d
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
The vendor is not showing up. It is left blank.
I tried the same method in both MTP as well as PTP mode. Still no luck.
Could someone help me out please because I operate only on Ubuntu and can't use Windows.
Have you enabled `android debug`?
YumeMichi said:
Have you enabled `android debug`?
Click to expand...
Click to collapse
You mean usb debugging?? Yes I have
Run the script as root and you should be fine, tested with Linux Mint 17.2.
Not sure if it makes a difference, I made it executable with chmod +x and run as root from my home directory instead of using sh.
Solved the issue...The RSA fingerprint had to be accepted on the device.
Also I had to run all commands as administrator using sudo
Sent from my ONE E1003 using Tapatalk
My oneplus x is rooted and running latest orion os. The problem is that it is not appearing in lsusb command in Ubuntu 16.04. When I connect my phone nothing appears. But I can use my phone for usb tethering to connect my pc to internet. I want to be able to use mtp & adb. Can anyone help?
And here is the output of lsusb:
Code:
$ lsusb
Bus 002 Device 004: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 005: ID 05c6:6769 Qualcomm, Inc.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 008: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 006: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Update: Interesting when I disconnect my phone "Bus 002 Device 005: ID 05c6:6769 Qualcomm, Inc. " disappears.
Bump!
I don't know..but my onyx is recognized on Ubuntu. I have installed Android Studio from here, maybe that's why.
raulx222 said:
I don't know..but my onyx is recognized on Ubuntu. I have installed Android Studio from here, maybe that's why.
Click to expand...
Click to collapse
Can u send me the default mac os driver .sh file which can be obtained by emulated cdrom of onyx? May be installing that will help.
raulx222 said:
I don't know..but my onyx is recognized on Ubuntu. I have installed Android Studio from here, maybe that's why.
Click to expand...
Click to collapse
Ok after installing android studio, my device is actually being shown in the nautilus as mtp device but when I click on it following error occurs:
Unable to open MTP device '[usb:002,009]'
The output of lsusb is still the same i.e.:
Code:
$ lsusb
Bus 002 Device 009: ID 05c6:6765 Qualcomm, Inc.
Bus 002 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 003: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
sixline said:
Ok after installing android studio, my device is actually being shown in the nautilus as mtp device but when I click on it following error occurs:
Unable to open MTP device '[usb:002,009]'
The output of lsusb is still the same i.e.:
Code:
$ lsusb
Bus 002 Device 009: ID 05c6:6765 Qualcomm, Inc.
Bus 002 Device 003: ID 058f:6387 Alcor Micro Corp. Flash Drive
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 001 Device 003: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Click to expand...
Click to collapse
Make sure you are using latest Ubuntu and have your phone's screen unlocked. Also make sure that your cable works properly, maybe try another one.
raulx222 said:
Make sure you are using latest Ubuntu and have your phone's screen unlocked. Also make sure that your cable works properly, maybe try another one.
Click to expand...
Click to collapse
Well I am using ubuntu 16.04 lts as i mentioned in the op so its the latest. And i am using the oem cable came with the device. I ve also checked with two more cables which are working with other phones.
Sent from my ONE E1003 using XDA-Developers mobile app
Well atleast adb is now recognizing my device by following the procedure given by Evan Carroll at http://askubuntu.com/questions/461729/ubuntu-is-not-detecting-my-android-device
Now only problem remains is the mtp which return error: Unable to open MTP device '[usb:002,018]'
sixline said:
Well atleast adb is now recognizing my device by following the procedure given by Evan Carroll at http://askubuntu.com/questions/461729/ubuntu-is-not-detecting-my-android-device
Now only problem remains is the mtp which return error: Unable to open MTP device '[usb:002,018]'
Click to expand...
Click to collapse
Can you try to reboot phone while the phone is plugged?
Kéno40 said:
Can you try to reboot phone while the phone is plugged?
Click to expand...
Click to collapse
Yes I can reboot my phone using adb.
sixline said:
Yes I can reboot my phone using adb.
Click to expand...
Click to collapse
Edit sorry , I meant :
Try to reboot your computer while the phone is plugged
Edit : An outdated french guide with Go-MTPFS (not sure it could help)
http://korben.info/installer-nexus-7-android-4-0-ubuntu.html
Kéno40 said:
Edit sorry , I meant :
Try to reboot your computer while the phone is plugged
Edit : An outdated french guide with Go-MTPFS (not sure it could help)
http://korben.info/installer-nexus-7-android-4-0-ubuntu.html
Click to expand...
Click to collapse
Thanks for your concern but I switched rom to sultan's cm13, after that its working.