Related
Hi All.
I'm hoping you can help - I've searched far and wide (including the awesome little "Here are the similar threads we found" box that appears when you create a thread) with no luck.
Basically, my phone is as in my signature, but I can't get ADB to work. I go "adb devices" and it doesn't list anything. adb.exe is working, and I can access it and everything via command prompt, but no dice on actually using it.
Not sure if this is helpful or related, but fastboot works 100% perfectly which is what confuses the heck out of me.
I'm running Win7-64Bit. The only abnormality is that Device Manager lists "Android Phone" as an unknown device, yet I can mount USB storage (both in Recovery and when booted into Android) and access the SD-Card.
Trying to locate drivers for "Android Phone" via Windows Update, as well as looking in "C:\android-sdk-windows\extras\google\usb_driver" doesn't assist (drivers are in the directory). Not sure if that is related, but it might be.
Thanks for any and all replies
expza said:
Hi All.
I'm hoping you can help - I've searched far and wide (including the awesome little "Here are the similar threads we found" box that appears when you create a thread) with no luck.
Basically, my phone is as in my signature, but I can't get ADB to work. I go "adb devices" and it doesn't list anything. adb.exe is working, and I can access it and everything via command prompt, but no dice on actually using it.
Not sure if this is helpful or related, but fastboot works 100% perfectly which is what confuses the heck out of me.
I'm running Win7-64Bit. The only abnormality is that Device Manager lists "Android Phone" as an unknown device, yet I can mount USB storage (both in Recovery and when booted into Android) and access the SD-Card.
Trying to locate drivers for "Android Phone" via Windows Update, as well as looking in "C:\android-sdk-windows\extras\google\usb_driver" doesn't assist (drivers are in the directory). Not sure if that is related, but it might be.
Thanks for any and all replies
Click to expand...
Click to collapse
I'm afraid windows 7-64 bit appears to be the problem. I have the same problem but, as yet, not the solution. If you have access to a computer running a different version of windows you should be able to get it to work on there!
Sorry i can't be any more help.
Windows 7 64-bit IS working - I am using it and it works without problems.
Do you have USB Debugging enabled in Settings > Application > Development?
Also: try this driver & instructions: http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
davebugyi said:
Windows 7 64-bit IS working - I am using it and it works without problems.
Do you have USB Debugging enabled in Settings > Application > Development?
Also: try this driver & instructions: http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
Click to expand...
Click to collapse
Hi Dave, thanks for the reply.
I definitely have USB Debugging enabled - I also am 100% sure that I have installed the hboot driver before (I did it when rooting for the first time ages ago), and can confirm this by booting into Bootloader and having "Android Bootloader Interface" appear as a known device.
Also, with the HBOOT-Driver, it lists the phone as "Android 1.0" when Unknown, whereas my situation lists "Android Phone" as the unknown device.
davebugyi said:
Windows 7 64-bit IS working - I am using it and it works without problems.
Click to expand...
Click to collapse
Same here.
Have you added the environment variable for the sdk directory? It won't work if you don't.
Also.. install .. HTC Sync.. .and try.. and again uninstall only HTC sync.. and leave the HTC driver and try
I've had issues getting it working too and haven't quite figured out the sequence to get it to work. All I remember is the Android SDK drivers don't work, you need to use the HTC ones. You don't need to uninstall HTC Sync (try re-installing it though). You might then need to run update drivers on the unknown device for it to find them.
I can confirm that it does work with HTC Sync still installed. I sometimes find ADB devices takes a few attempts or restarting ADB to actually work.
vnvman said:
Have you added the environment variable for the sdk directory? It won't work if you don't.
Click to expand...
Click to collapse
Hi vnvman.
Thanks for the reply - I have indeed, my "PATH" value is as below:
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\XviD MPEG-4 Video Codec 1.2.2 64-BIT;C:\Program Files (x86)\Common Files\Teleca Shared;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem\;C:\android-sdk-windows\platform-tools;C:\android-sdk-windows\tools
Click to expand...
Click to collapse
However, even if I cd in CMD to the platform-tools folder and run adb from there, no luck. ADB itself works perfectly, but it just doesn't recognize my phone.
bobsie41 said:
I'm afraid windows 7-64 bit appears to be the problem. I have the same problem but, as yet, not the solution. If you have access to a computer running a different version of windows you should be able to get it to work on there!
Sorry i can't be any more help.
Click to expand...
Click to collapse
Like some others users posted here, win 7 x64 is working for me without any problems.
expza said:
Hi All.
I'm hoping you can help - I've searched far and wide (including the awesome little "Here are the similar threads we found" box that appears when you create a thread) with no luck.
Basically, my phone is as in my signature, but I can't get ADB to work. I go "adb devices" and it doesn't list anything. adb.exe is working, and I can access it and everything via command prompt, but no dice on actually using it.
Not sure if this is helpful or related, but fastboot works 100% perfectly which is what confuses the heck out of me.
I'm running Win7-64Bit. The only abnormality is that Device Manager lists "Android Phone" as an unknown device, yet I can mount USB storage (both in Recovery and when booted into Android) and access the SD-Card.
Trying to locate drivers for "Android Phone" via Windows Update, as well as looking in "C:\android-sdk-windows\extras\google\usb_driver" doesn't assist (drivers are in the directory). Not sure if that is related, but it might be.
Thanks for any and all replies
Click to expand...
Click to collapse
Try to reinstall android sdk completely following this guide:
http://wiki.cyanogenmod.com/wiki/Howto:_Install_the_Android_SDK
Hi MatDrOiD.
Thanks for the reply, I'll give that a shot as well as try jhonybravo4u and Antcodd's ideas.
Appreciate all input. If I get it working, I'll be sure to update this post so that anyone else who might have this problem has a solution
davebugyi said:
Windows 7 64-bit IS working - I am using it and it works without problems.
Do you have USB Debugging enabled in Settings > Application > Development?
Also: try this driver & instructions: http://unrevoked.com/rootwiki/doku.php/public/windows_hboot_driver_install
Click to expand...
Click to collapse
What i meant is that windows 7 seems 64bit seems to cause more problems than any other windows os. I had a windows 7 64bit computer and after days of pratting about i managed to get it working now, further down the road, and a bit more knowledgable(i think!) i have a new more powerful windows 7 64bit machine and i can't for the life of me get it working.
I know run adb from my wifes vista laptop and had no trouble whatsoever in setting this up.
If u tried "everything", u better don't ask for more ;-p
Sent from my HTC Desire using XDA Premium App
It worked for me last time, but then I formatted my drive, and now can't get it to work for the love of god. Actually I can, but I have to change the driver every time Android phone pops up in the device manager using have disk.
I don't see any other threads, so is it just me struggling to install working ADB drivers?
The zip file I found in another thread made out like it was installed, but apparently not...
Any tips?
Windows 7/8? The drivers that I posted in the dev thread should work.
If you're on Windows 8 though, you'll have to reboot in that insecure driver installation mode thing.
Sent from my HTCONE using Tapatalk
Win 7 64 bit. I think I'm using the right ones, don't quite understand why it can't be seen
It shows up in Device Manager in which ever of the 3 ones I try, but when I try 'adb devices' nothing shows.
AndyCr15 said:
Win 7 64 bit. I think I'm using the right ones, don't quite understand why it can't be seen
It shows up in Device Manager in which ever of the 3 ones I try, but when I try 'adb devices' nothing shows.
Click to expand...
Click to collapse
You try "ADB Composite Device" or something along those lines? When you run that one it should be good.
When you download the zip, you should just extract the whole thing. Then after that I find the driver manually instead of having it search the folders. Are you selecting the android_winusb.inf for the driver?
I'm on the same OS for my main desktop and I do a lot of my work with the N1 on there using those drivers. Are you using normal command prompt in the platform-tools folder? I don't use anything other than command prompt for adb, so I'm not sure about those picking it up.
Sorry if that isn't any help, but I'm not sure what would stop it from picking it up after you use those drivers.
the other threads zip file works fine with my win 64. Are you going through a usb hub? That can mess it up
Sent from my N1 using XDA Premium 4 mobile app
No, no hub. Yep, doing all as I should. I'll try a different cable and different port though.
Linux
ADB not working on Ubuntu 13.10. No issue with fastboot. When I do ADB devices, it doesn't return anything at all aside from "List of devices attached" with a blank space underneath.
Curiously, even after enabling USB debugging I am never given the RSA popup asking me to confirm access. I'm guessing the two are related but even after revoking previous confirmations via the Developer Menu, I still can't get it to pop up.
mybrotherischad said:
ADB not working on Ubuntu 13.10. No issue with fastboot. When I do ADB devices, it doesn't return anything at all aside from "List of devices attached" with a blank space underneath.
Curiously, even after enabling USB debugging I am never given the RSA popup asking me to confirm access. I'm guessing the two are related but even after revoking previous confirmations via the Developer Menu, I still can't get it to pop up.
Click to expand...
Click to collapse
I recently got this going on Ubuntu 12 on VIrtualBox.
I have to start the adb server as root to get it working, i.e sudo adb start-server,
before I do 'adb devices'.
Also if you use VIrtualBox don't forget to add the usb filter for adb mode too.
ChodTheWacko said:
I recently got this going on Ubuntu 12 on VIrtualBox.
I have to start the adb server as root to get it working, i.e sudo adb start-server,
before I do 'adb devices'.
Also if you use VIrtualBox don't forget to add the usb filter for adb mode too.
Click to expand...
Click to collapse
Running natively. No luck doing it as root.
I have problems get running adb on Android 4.4 (CM11)
i have installed aktuall Android SDK and HTC Driver, but i dont get a notification on HOX to accept the PC.
Im on Windows 8.1
And yes i have enabled USB debugging. is there someone, where this combination will work?
thanks
cyber8607 said:
I have problems get running adb on Android 4.4 (CM11)
i have installed aktuall Android SDK and HTC Driver, but i dont get a notification on HOX to accept the PC.
Im on Windows 8.1
And yes i have enabled USB debugging. is there someone, where this combination will work?
thanks
Click to expand...
Click to collapse
Got it working with a guide on CM10.2 thread:
Disconnect cable
On phone:
Settings -> Storage
Press Menu button -> USB computer connection
Select MTP
On PC (command prompt):
adb kill-server
adb devices
Connect cable
Do you activated in dev settings usb debugging you can enable dev settings with going to settings/about and tap 7x fast on build number, it's not activated so you need to activate it at first
Gesendet von meinem HTC One X mit Tapatalk
Quite interesting but ADB seems to come on when your device is turned off and then connected to the PC (As described in this XDA thread), I'm on a CM10.2 based SentinelROMv5 and it worked when I tested it.
Adb works fine on kitkat...I tried all kitkat roms which are available for hox and all had working adb
Gesendet von meinem HTC One X mit Tapatalk
First check your adb version, it must be 1.0.31, I am not sure about the number, it should be similar, not 1.0.27 or something order. You type adb version to do it. And then open device manager in Windows, check whether you have Adb devices recognized. Windows sucks at recognising Android, you can have exclamation mark on the phone which is not recognized or Windows had recognized the phone as something else. If it is not correctly recognized, you should manually install the driver which is inside sdk folder. It is not easy to work with android on Windows, by using a Mac or a Linux you eliminate a lot of pain.
Sent from my One X using Tapatalk
Just a small tip:
You can use the 'ADB over network' option, which uses wifi instead - works great for me when I develop apps
If you still have problems..I have 8.1 too,and had kikat roms,delete all other HTC drivers,and then connect your phone again..8.1 will automatically install correct drivers
Hi all,
I'm sure this is the right place to ask, but i'm using xamarin to do some dev, been using it for years and love it, have no problems debugging at all. However with the G4, despite me having USB debugging enabled, it never prompts me to authorize my computer and therefore the G4 never appears in my list of devices which I can debug with. When I connect USB the phone shows the icon to say it's in USB Debugging mode but still makes no difference.
a call to adb devices doesn't list it at all.
Can anyone offer any advice as to why I can't use it for debugging?
Thanks in advance
_Belial said:
Hi all,
I'm sure this is the right place to ask, but i'm using xamarin to do some dev, been using it for years and love it, have no problems debugging at all. However with the G4, despite me having USB debugging enabled, it never prompts me to authorize my computer and therefore the G4 never appears in my list of devices which I can debug with. When I connect USB the phone shows the icon to say it's in USB Debugging mode but still makes no difference.
a call to adb devices doesn't list it at all.
Can anyone offer any advice as to why I can't use it for debugging?
Thanks in advance
Click to expand...
Click to collapse
Install the LG Unified Drivers.
SUperb, that worked a treat, many thanks.
_Belial said:
SUperb, that worked a treat, many thanks.
Click to expand...
Click to collapse
mind posting a link to the drivers? thanks
If you are running Linux change the connection type on the phone to camera not mtp.
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
_Belial said:
Sure thing, these are the ones I installed and worked fine for me
http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00320110909
Click to expand...
Click to collapse
thanks but I think these are for a mac according to the file name.
climo said:
thanks but I think these are for a mac according to the file name.
Click to expand...
Click to collapse
Here's the windows version: http://tool.xcdn.gdms.lge.com/dn/downloader.dev?fileKey=UW00120120425
I'm having issues even after installing the unified driver. Any help would be appreciated
Linux drivers/firmware?
Anyone seen anything related to linux software support for the phone?
My dev environment is Linux want to adb to phone through linux (in my particular case ubuntu 15.04).
anyone know how to search on LG's site to find the drivers there?
They have one of those sites that pretends everything magically works so why would anyone want scary things like drivers
last night I had to select the third option in the list to get android studio to see my g4. I think it was STP or something about photo mode. When i had it in MTP (or whatever the middle option was) it never worked.
I use Mac 10.10 and didn't need any drivers, just had to select this option on my phone once plugged in.
Sent from my LG-H810 using Tapatalk
cuhead528 said:
Anyone seen anything related to linux software support for the phone?
My dev environment is Linux want to adb to phone through linux (in my particular case ubuntu 15.04).
Click to expand...
Click to collapse
Did you get adb to wotk from ubuntu? I don't see the G4 but my other androids?
Sent from my LG-H815 using Tapatalk
Termehansen said:
Did you get adb to wotk from ubuntu? I don't see the G4 but my other androids?
Hi - I did get the AndroidSDK working, including ADB, with the LG G4. So there's that. Have been able to read all the information off the phone, but haven't done much beyond that to repartition the file system.
Click to expand...
Click to collapse
crogue5 said:
last night I had to select the third option in the list to get android studio to see my g4. I think it was STP or something about photo mode. When i had it in MTP (or whatever the middle option was) it never worked.
I use Mac 10.10 and didn't need any drivers, just had to select this option on my phone once plugged in.
Sent from my LG-H810 using Tapatalk
Click to expand...
Click to collapse
Thank you! That is exactly what I had to do. I could never successfully run "adb devices" on my Xubuntu system against my G4. Once I set it to PTP instead of MTP (USB debugging already enabled), my phone popped up asking for permission to allow USB debugging from the computer. Click OK, ran "adb devices" and the device is listed.
Hi everyone,
I was running CM 14.2 or something, which keept crashing so I decided to try PureNexus 7.1.2, which I didn't install with google apps so it was useless (no WIFI no Bluetooth & there wasn't an option to tick to connect to the PC). I went to the Recovery menu to use a USB Stick via OTG to unzip google apps to make it work. But I could not access external storage. I wiped everything (cache/Delvik/factory reset) telling myself adb would work later.
It didn't. This happend a week ago i've tried at least a dozen tutorials but still I don't find anything working in my case.
I followed tutorials showing how to install the correct driver through the Manager, but this one won't show "other devices" in which is meant to appear my device.
I tried the different ports on the computer and I know my cable is ok because the Nexus charges from it. I tried changing things with permissions and things as indicated on MS Q&A website.
I tried the GUI version of ADB : did not find the device. I will try to do these same processes from another computer but I doubt this will change anything, so....
Please help, I'm freaking desperate.
Thanks for your attention.
Samoth
Edit : I'm sorry if I wasn't clear : since I wiped everything the damn thing won't boot.
Moreover, when it did boot I didn't have access to developer options since i did not install the ROM correctly.
Edit 2 : The cable was not right AND the right port of my computer doesn't want to recognise the device, eventhough it works great for anything else.
I couldn't get back to stock Android because of... Opengapps already installed eventhough i wiped everything off.
I figured I'd give it a last try reinstalling CM but newer, worked perfectly.
Thanks for everyone helping me !
Try this: go to developers options. There is a point USB config. Change from mtp to RNDIS and back. Probably the device will be recognised by your PC.
I have the same problem with the nexus 7 and a s5mini running a 7.1.2 rom
Gesendet von meinem SM-G800F mit Tapatalk
HirogenX said:
Try this: go to developers options. There is a point USB config. Change from mtp to RNDIS and back. Probably the device will be recognised by your PC.
I have the same problem with the nexus 7 and a s5mini running a 7.1.2 rom
Gesendet von meinem SM-G800F mit Tapatalk
Click to expand...
Click to collapse
Hello, maybe I wasn't clear I edited the post. Go to developer options means you can boot, and I can't :crying:
Thanks for your answer though ! have a nice day.
Ah, ok. Sorry!
Gesendet von meinem SM-G800F mit Tapatalk
SamothXV said:
I know my cable is ok because the Nexus charges from it.
Click to expand...
Click to collapse
I've heard this before... https://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/help-resetting-to-stock-flo-q-t3693110
So, don't worry about developer/adb and do the following:
- boot in fastboot mode (when off press power+vol.dn)
- connect it to your PC
- check if N7 registers on PC
- if not, try another cable and solutions from the linked thread
- if yes, install new CM14.1 or https://developers.google.com/android/images
:good:
k23m said:
I've heard this before... https://forum.xda-developers.com/nexus-7-2013/nexus-7-2013-qa/help-resetting-to-stock-flo-q-t3693110
So, don't worry about developer/adb and do the following:
- boot in fastboot mode (when off press power+vol.dn)
- connect it to your PC
- check if N7 registers on PC
- if not, try another cable and solutions from the linked thread
- if yes, install new CM14.1 or https://developers.google.com/android/images
:good:
Click to expand...
Click to collapse
I changed my cable and now it connects fine, I first tried to install pureNexus : boots up but it's black screen with notification saying an app keeps crashing.
Then I did try to follow instructions on your link but the scripts don't seem to work : says "waiting fo any device" and doesn't do anything eventhough adb has detected the device. (I'm using mac os here)
I also tried on windows but I still have to figure out how to make adb work, i'll keep you updated.
thanks for your answer man !