I develop Android apps, and I recently rooted, Rom'd, and kernel'd my Incredible. (I installed a custom kernel and rom). Now, when it tells me to debug on a running device and to select a running device, my Incredible doesn't appear in the list.
Can somebody solve how to make it appear? Thanks!
does adb find it? if not usb debugging might be turned off check settings->applications
adb doesn't find it. USB debugging is also on.
if you are running eclipse on linux you will have to add your cellphone´s vendor to /etc/udev/rules.d/51-android.rules for eclipse to recognize it
just google: 51-android.rules eclipse vendor device and you will get the whole list of vendors and how to set up the rules according to your distro
if you are on mac or windows im clueless cause i´ve never try it there...
on windows i´m guessing you have to have the drivers installed, on mac probably is something like on linux
I'm on a mac, and how exactly would I change the cellphone vendor? (assuming it works for mac)
Related
Hi all,
I've searched the forums (honestly), but I can't find an answer to my problem.
I have a Vodafone branded 32B phone.
I installed the AndroidSDK as supposed to, added the path, made the phone root, booted into the recovery console using fastboot and flashed my phone with different operating systems... but during all this time I hever got ADB to work.
Whatever I do, adb never finds the phone. Fastboot works and finds it, when it's in fastboot mode, but ADB never. So, I can't permanently install the recovery console nor do any of the other funky stuff.
ADB doesn't work when the phone is in fastboot mode nor normally operating. I have USB Debugging turned on. The phone works normally and I can access the SDCard just fine.
Any help?
Suggestion.
Look into purchasing a G1 to be kept as a spare and used for development. That's what I've done with my G1. GParted is within most recovery images nowadays, therefore you can do most anything there, well...important functions that is. Keep that in mind.
You might need to uninstall the driver that recognizes your phone, then manually install the updated driver.
Reignzone said:
You might need to uninstall the driver that recognizes your phone, then manually install the updated driver.
Click to expand...
Click to collapse
that's what i had to do to get it to recognise my phone.
i'm pretty sure the driver came with SDK. either way i've attached the one i used.
go into device manager and update the driver it's currently using with the attached one.
Incorrect driver.
It should be the 1st driver listed in the Android SDK file.
As far as I know, you could also choose to push ADB to your system32 file folder under the C: drive in your computer. That is if you're using a Windows machine.
just a thought
Are you on windows or linux? If you're in ubuntu try sudo adb ... the default unprivilaged user doesnt automatically have access to the device.
If you're in Windows I would uninstall the Android Phone device in device manager and reboot with the phone disconnected. Then connect it and install the usb driver from the sdk when prompted. Might also pay to download the sdk again.
Install HTC Sync
Another known way to fix the issue is to download and install HTC Sync http://www.htc.com/au/SupportViewNews.aspx?dl_id=573&news_id=169
This seems to install the correct drivers
For more info check the Wiki:
http://wiki.xda-developers.com/index.php?pagename=HTC_Sapphire_Hacking#sec02
Hey Guys,
Forgot to mention I'm on Windows Vista 64 bits.
That last suggestion did the trick. I went to the site and downloaded the HTCDriverUpdate_Vista_64bits.exe, and within seconds I had an ADB connection.
Thanks for your help!
Hello
I have a stock Vodaphone Magic and I'm looking to root it, but to do this I need to get adb to see it, which I'm having problems with.
When I plugged it in first to charge it used window's default drivers for the SD card etc. Trying to update the drivers with the ones included in the SDK dosn't seem to work as Windows says that they're less recent.
Also, I can't see any sort of "ADB" section in the device manager, even with USB debugging turned on in the phone.
Any help? I'd really like to root my phone so I can use WPA Enterprise!
Edit: Already read the wiki page, no help.
I remember having this problem when I first set up the Android SDK.
However in my device manager I did have a device, it wasn't called Android or Magic or anything similar. From what I remember it was a bunch of random letters and numbers.
From there I right clicked it, went to Properties, Update Driver and then pointed it to the directory with the drivers.
Thats how I did it in Windows 7, if that doesn't work for you then I'm not sure sorry.
Hi,
I recently had the same problem as you. The first time you plug in your phone sometimes Windows will assign USB drivers to the device instead of the ADB interface. To correct this, I uninstalled the drivers and pointed the computer to the ADB files as the new drivers. After those install it should be labelled correctly and work.
Hello everyone,
So I've installed ACER's adb drivers, but when I connect the tablet to my computer it shows up as an MTP device. I've tried updating the driver and manually browsing to the driver's location, but windows says that driver is not compatible with my device? BTW: I am running a fresh install of Windows 7 64-bit.
Any tips would be appreciated.
Thanks!
I'm having the same issue. It seems like everyone else's Iconia "just worked" with adb.
I've tried installing the acer drivers. It puts a folder in my Program Files directory...but I don't see what I'm supposed to do there. There's "EUUDriverInstaller" but when I click on it nothing (seems to) happens.
When I plug the device in it uses some generic Microsoft driver to show the device contents but composite adb doesn't show up at all like it does for my Droid.
I've reboot several times on both device and laptop. I've uninstalled / reinstalled the application that made that driver directory.
I opened an application in the driver directory under the x64 folder and it opened up the windows driver installer and installed some drivers...but still no composite adb when I plug it in.
It was called "dpinst" and installed:
Linux Developer Community Net
Acer, Inc (androidusb) USB
Google, Inc (WindUSB) USB
then a couple others about a modem and ports
It is on usb debugging and I've toggled it on and off.
It's running 3.1 stock and I'm on x64 Windows 7
Both command prompt adb devices is empty under "List of devices attached" and Eclipse devices is empty.
My sdk is fully updated.
Curiously it appears Acer hides the driver if you specify Honeycomb 3.1
If you're going to be playing around with development, I highly recommend installing a Linux distribution. Android is built upon Linux, and there are quite a few development tools which just work better under it. Anyway, if you try Linux, the udev rules for the iconia are:
UBSYSTEMS=="usb", ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3325", MODE="0666", OWNER="user" #ACER
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3341", MODE="0666", OWNER="user" #ACER
where you replace "user" with your username, but keep it in quotes.
apapousek said:
If you're going to be playing around with development, I highly recommend installing a Linux distribution. Android is built upon Linux, and there are quite a few development tools which just work better under it. Anyway, if you try Linux, the udev rules for the iconia are:
UBSYSTEMS=="usb", ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3325", MODE="0666", OWNER="user" #ACER
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0502", ATTRS{idProduct}=="3341", MODE="0666", OWNER="user" #ACER
where you replace "user" with your username, but keep it in quotes.
Click to expand...
Click to collapse
I appreciate the suggestion, but I'd rather not install another partition just to adb connect this tablet.
Some additional differences I've noticed.
It seems like the tablet is going straight to mounting if that means anything. Connecting my Droid doesn't bring up the Autoplay menu while connecting the tablet automatically asks me how I want to access the data in the autoplay menu. It does *say* usb debugging is on, but no "ACER composite ADB interface" appears in my device manager.
Edit:
It seems like my situation is comparable to this guy in regards to the device just being treated like a flash drive. forum.xda-developers.com/showthread.php?t=734139 He says the rom was the problem...but I can't see why this stock rom should have an issue.
I had the same problem on my Windows 7 computer.
The solution is simple. Just go into Devices and Printers or whatever it's called (the one where you see the printers, cameras,...). My version of Windows is in my native language so I don't know the exact name but you'll find it. You won't see the option in Device Management so don't search there. I found the proper location by accident.
Then you'll see the Acer icon and mine had an exclamation mark on it. So I right clicked on it and updated drivers (point the new drivers to Acer driver directory that holds adb drivers). Acer has to be in USB debugging mode (option under settings).
ADB then worked for me and it was a lot less hassle that I had with using ADB on my HTC Desire.
I'm used to all the different quirks when using computers but I do agree that Linux always worked best with ADB. So far I had to think of creative ways to set ADB on my Windows computer. No Android device ever installed drivers in the same way or even worked until I messed with it a little.
I'm too on Windows 7 64bits and for the drivers I go to http://support.acer.com/us/en/product/default.aspx
If you want I have re-upload the drivers on my 4shared
Just extract and launch the setup
have a good day.
PS : Sorry for my poor English
bpivk said:
I had the same problem on my Windows 7 computer.
The solution is simple. Just go into Devices and Printers or whatever it's called (the one where you see the printers, cameras,...). My version of Windows is in my native language so I don't know the exact name but you'll find it. You won't see the option in Device Management so don't search there. I found the proper location by accident.
Then you'll see the Acer icon and mine had an exclamation mark on it. So I right clicked on it and updated drivers (point the new drivers to Acer driver directory that holds adb drivers). Acer has to be in USB debugging mode (option under settings).
ADB then worked for me and it was a lot less hassle that I had with using ADB on my HTC Desire.
I'm used to all the different quirks when using computers but I do agree that Linux always worked best with ADB. So far I had to think of creative ways to set ADB on my Windows computer. No Android device ever installed drivers in the same way or even worked until I messed with it a little.
Click to expand...
Click to collapse
I don't seem to have another icon. I have this one referring to the Iconia Tab, but when I right click on it it just treats it like a flash drive.
I can't link the picture yet (need to have 8 posts), but there is on "Acer Iconia Tab" in Devices and Printers, but there's no yellow exclaimation mark and when I right click it it just has the option to browse files, it treats it like a flash drive.
It's under "Unspecified"
EVEALEX62 said:
I'm too on Windows 7 64bits and for the drivers I go to
EDIT : [Had to remove URLS to quote]
Just extract and launch the setup
have a good day.
PS : Sorry for my poor English
Click to expand...
Click to collapse
I've downloaded those drivers, unzipping them, and ran the setup several times =/.
EDIT:
I feel like a tool, someone at stack overflow suggested I switch to a different port (not just unplugging / re-plugging it into the same one), I guess that finally told windows to reanalyze it. Should have figured it would have been something silly for such a basic problem, shame on me for keeping all my other ports full.
Thanks for the help everyone!
Sorry I have forget to say :
1) click right on the "!" and choose uninstall. (on device manager)
2) Unplugg the USB
3) Install the setup (post above)
4) replugg the USB and wait for Windows install the drivers ...
EVEALEX62 said:
Sorry I have forget to say :
1) click right on the "!" and choose uninstall. (on device manager)
2) Unplugg the USB
3) Install the setup (post above)
4) replugg the USB and wait for Windows install the drivers ...
Click to expand...
Click to collapse
That worked! Thanks.
Figured it out
Hey guys,
Thanks for all of your suggestions, but none of them worked. I ended up having to disable automatic driver installation, then went into Windows\System32\DriverStore\FileRepository and deleted the folders corresponding to the drivers that windows kept on insisting I wanted. After that everything worked great!
I am using my laptop for ADB currently, but I want to know if it is possible to run ADB through windows in a Virtual Machine? I have gotten to where I have ADB running and the VM reconizeds the phone but as soon as I type,
Code:
adb devices
There is no response. Side note: I am using VMware and am running Tvall's CM7 on my phone.
Edit: solved was a driver issue
adb works when drivers for adb were installed
did you install drivers from Android SDK Tools?
at second you need turn usb debugging on (settings/applications/development)
5[Strogino] said:
adb works when drivers for adb were installed
did you install drivers from Android SDK Tools?
at second you need turn usb debugging on (settings/applications/development)
Click to expand...
Click to collapse
Yes I know this. The virtual machine knows the device is there(ADB drivers are installed) but in cmd it doesn't work. USB debugging is on, another option is the wireless ADB from CM7, but I have no idea how that works. Thanks for the help.
acseazzu said:
Yes I know this. The virtual machine knows the device is there(ADB drivers are installed) but in cmd it doesn't work. USB debugging is on, another option is the wireless ADB from CM7, but I have no idea how that works. Thanks for the help.
Click to expand...
Click to collapse
When connecting phone through usb debugging there is 'Android USB Devices' section in Device Manager (My Computer / Manage / System Tools / Device Manager). Do you have this section while connecting?
Wireless adb application establishes connection via custom port and adb can use this port to communicate with phone.
5[Strogino] said:
When connecting phone through usb debugging there is 'Android USB Devices' section in Device Manager (My Computer / Manage / System Tools / Device Manager). Do you have this section while connecting?
Wireless adb application establishes connection via custom port and adb can use this port to communicate with phone.
Click to expand...
Click to collapse
In device Manager it has "Android Composite ADB Interface" and a "HTC Android Device" My VM connects to HTC Android device, not letting me connect to it in ADB. Before I connect my device and before it installed the drivers I installed the Google driver package from AndroidSDK. Thanks for your help.
How did you fix it?
acseazzu said:
In device Manager it has "Android Composite ADB Interface" and a "HTC Android Device" My VM connects to HTC Android device, not letting me connect to it in ADB. Before I connect my device and before it installed the drivers I installed the Google driver package from AndroidSDK. Thanks for your help.
Click to expand...
Click to collapse
So how did you end up fixing this? I want to connect my phone to the VM.
This is happening to me right now. I have a VM Windows 7, it can detect a "HTC Android Device" but the platform-tool command line cant detect my phone. Even with ADB USB drivers, platform-tools, as well as HTC-sync installed.
How did you fix it? Please tell me
kazzarok said:
So how did you end up fixing this? I want to connect my phone to the VM.
This is happening to me right now. I have a VM Windows 7, it can detect a "HTC Android Device" but the platform-tool command line cant detect my phone. Even with ADB USB drivers, platform-tools, as well as HTC-sync installed.
How did you fix it? Please tell me
Click to expand...
Click to collapse
I uninstalled all the drivers (with USBdeview) and instead of installing with the Google Driver I used the HTC one for MyTouch 3G. I think I installed the drivers before I plugged in the phone. And also what software are you using to run your VM?
acseazzu said:
I uninstalled all the drivers (with USBdeview) and instead of installing with the Google Driver I used the HTC one for MyTouch 3G. I think I installed the drivers before I plugged in the phone. And also what software are you using to run your VM?
Click to expand...
Click to collapse
I am using Oracle VM Virtualbox. Doing VM Windows 7 under Ubuntu 11.10.
I have been trying a few times in the VM Windows 7. I tried the lastest HTC Sync 3.0.0.0 as well as the older version 2.0.3.3 that worked when I was using full Windows 7.
But in VM, nothing works
The VM win 7 can detect a USB Composite Device, but it cant find the correct driver.
edit:
Oh my god!! hopefully you still havent read this post yet because I just got it working!
In the settings of the VM, theres an option to enable USB 2.0
But to enable that, we must install the Oracle VM VirtualBox Extension Pack
It works!
edit2:
but somehow the transfer speed is really slow...
i guess i will just install windows again dual boot it
Yay! Congrats if I helped at all please hit the thanks button.
Sent from my Dream/Sapphire using XDA
acseazzu said:
Yay! Congrats if I helped at all please hit the thanks button.
Sent from my Dream/Sapphire using XDA
Click to expand...
Click to collapse
Not until you tell me about your VM
I want to know that because at the moment the transfering and intallation of APK files in Oracle VM VirtualBox is utterly slow (comparing with my old Win7 days), I am interested in other alternative VM which might be faster.
I see you mentioned VMware in you first post, I went to their website (link) but I see a lot different products... can you tell me which one you used, can you please tell me more about your VM?
Thanks in adcance.
edit:
Hey there again, I fainlly got VMware working.
I went for VMware Player 4.0.2. But for Ubuntu 12.04, we need a custom patch the VMware before it can run gracefully.
Not I have got it running now, VMware is so much faster than Oracle VM.
Thanks for the suggestsion!
kazzarok said:
Not until you tell me about your VM
I want to know that because at the moment the transfering and intallation of APK files in Oracle VM VirtualBox is utterly slow (comparing with my old Win7 days), I am interested in other alternative VM which might be faster.
I see you mentioned VMware in you first post, I went to their website (link) but I see a lot different products... can you tell me which one you used, can you please tell me more about your VM?
Thanks in advance.
edit:
Hey there again, I fainlly got VMware working.
I went for VMware Player 4.0.2. But for Ubuntu 12.04, we need a custom patch the VMware before it can run gracefully.
Not I have got it running now, VMware is so much faster than Oracle VM.
Thanks for the suggestsion!
Click to expand...
Click to collapse
I personally use Workstation. But for me VMware is alot faster than Oracle VM VirtualBox. Glad I could help
adb driver won't connect
I'm running windows parrallel on my mac. On the windows side I have the samsung drivers downloaded but when I go to root my phone the command line says doesn't recognize. Anyone know away I can get drivers to recognize phone when running virtual on a mac?
dear devs, I posted in the general forum, instead this should be the right place
Android Studio does not recognize my phone, so I am wondering how did you do to develop and test apps!
I checked everything, developer options, check USB debugging, gradle.build etc, the phone is not recognized on windows because lack the original drivers that AFAIK are not available. Also from a previous post are recommended some tools, I downloaded, but i am afraid to run this exe.
I have even tried to install from AS the SDK Extras Google USB drivers, but the telephone is not recognized.
I guess you find a workaround to make possible developing apps.
please could you share something about that?
under Linux is recognized, lubuntu 16.4 default kernel. On Windows still not
Really? Because my linux doesn't recognize it. I tried in download mode and with the phone running, and I have debugging mode enabled. It appears nothing if I execute "adb devices", just a blank list.
My kernel version is 4.4.50. Maybe updating it to 4.9 would fix the problem? I searched for kernel verdion of ubuntu 16.04 (because trocchietto mentioned it as a working platform" and has the same kernel.
What I have to do?