[Q] Debugging on mac - G2 Q&A, Help & Troubleshooting

Hi, I try to use my G2 with Android Studio for development but for some reason ADB doesn't recognize the phone!
Obviously I read around the internet. I've downloaded latest drivers, enabled debugging mode on my device and only thing left is that I dont see the option to use internet (Ethernet) when I plug my device into USB port. This is the step where everyone saying that it works if you do that.
I have a Mac not a PC. On PC it works fine. Any Ideas?

Nvm, Reinstalling the driver did the trick. thanks

Related

[Q] problem connectin usb in downloading mode

hello
i have problem when connecting my device in downloading mode
(volme down+home+power)
it can find no driver.
at my work it went noramly and i pur rom on no problem but at home i can not use odin cause my comp can't find drivers.
i have all drivers instaled and in normal mode works great just in download mode not???
i had xp on and now i instaled win7 and the same problem.
it doesen't matter if i put my usb in debugging mode or not always the same...
any idea...help please??
regards Matjaz
you can install the Android SDK drivers on your home PC
also make sure you have a good working USB port
some computer have defective USB ports that does funny things.
at home 1 of my keyboard does that
1 USB por works great, the 2nd USB port acts like crazy, so i only use it to charge battery on that one.
great thx i will try now those methods.....
tnx
no....none of the solutions works.....any other idea?
it doesn't make any sense.
did you download Android SDK?
when you plug in your phone to the PC, you have to select the drivers that came with the Android SDK
http://developer.android.com/sdk/index.html
if those drivers doesn't work, then you have no way of using Odin or ADB
you need to also set the phone to be in USB debugging mode, inside settings > application

Nexus 4 appears as unknown device

Hello, I am trying to connect my nexus 4 to my computer to put some music on. This used to work, but now it is being detected as an unknown device. I tried updating the drivers to the Universal Naked driver, but it just says the best driver is already installed. I tried with USB debugging on and off, no difference. Also tried 2 different usb cables.
Cyanogenmod Version: 10.1.1-mako
Build: JDQ39E
Thank you for any help!
jining said:
Hello, I am trying to connect my nexus 4 to my computer to put some music on. This used to work, but now it is being detected as an unknown device. I tried updating the drivers to the Universal Naked driver, but it just says the best driver is already installed. I tried with USB debugging on and off, no difference. Also tried 2 different usb cables.
Cyanogenmod Version: 10.1.1-mako
Build: JDQ39E
Thank you for any help!
Click to expand...
Click to collapse
What OS are you using? Windows? Mac? A linux distro?
Also, are you sure you're using MTP instead of PTP (Settings > Storage > menu > Usb Computer Connection) ?
You can try to install google's drivers from the android sdk as well.
vorbatello said:
What OS are you using? Windows? Mac? A linux distro?
Also, are you sure you're using MTP instead of PTP (Settings > Storage > menu > Usb Computer Connection) ?
You can try to install google's drivers from the android sdk as well.
Click to expand...
Click to collapse
I am using Windows 7, it was set to PTP, I just set to MTP, but it still does the same thing. I have turned off my USB debugging in the developer menu as well.
jining said:
I am using Windows 7, it was set to PTP, I just set to MTP, but it still does the same thing. I have turned off my USB debugging in the developer menu as well.
Click to expand...
Click to collapse
I know this is a silly thing to ask, but have you tried rebooting your phone? Something like this happened to me before and a reboot fixed it.
Also, if you have a custom kernel, check that you have USB fast charge disabled. And after that fails, try installing google's drivers. Sorry, I'm just spouting out random ideas at this point.
vorbatello said:
I know this is a silly thing to ask, but have you tried rebooting your phone? Something like this happened to me before and a reboot fixed it.
Also, if you have a custom kernel, check that you have USB fast charge disabled. And after that fails, try installing google's drivers. Sorry, I'm just spouting out random ideas at this point.
Click to expand...
Click to collapse
Thanks for the suggestions. I am using Franco kernel, how do I turn off fast charge?
jining said:
Thanks for the suggestions. I am using Franco kernel, how do I turn off fast charge?
Click to expand...
Click to collapse
Use trickster mod and go to the Kernel Specific page. If fast charge is ticked off, there's not much we can do from there.
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en
Also, have you tried to install google's drivers or make a nandroid and reflash a clean rom?
EDIT: You could also try Koush's universal driver: https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH
I'm afraid I'm out of ideas at this point
vorbatello said:
Use trickster mod and go to the Kernel Specific page. If fast charge is ticked off, there's not much we can do from there.
https://play.google.com/store/apps/details?id=com.bigeyes0x0.trickstermod&hl=en
Also, have you tried to install google's drivers or make a nandroid and reflash a clean rom?
EDIT: You could also try Koush's universal driver: https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH
I'm afraid I'm out of ideas at this point
Click to expand...
Click to collapse
Hmm I am in the trickster mod on the kernel specific screen, but I don't see anything about USB fast charge Where might I get googles drivers? I can't seem to install any drivers because as soon as I uninstall the unknown device, it auto installs some drivers.
Thanks for the help!
jining said:
Hmm I am in the trickster mod on the kernel specific screen, but I don't see anything about USB fast charge Where might I get googles drivers? I can't seem to install any drivers because as soon as I uninstall the unknown device, it auto installs some drivers.
Thanks for the help!
Click to expand...
Click to collapse
So I tried installing the newest Franco kernel Milestone (3), and the USB fast charge is off. I also tried installing a different CM mod, but there is no difference. I also tried installing the universal you gave me, but that didn't work, and i installed the google driver from SDK and that didn't work.
I don't know what else to do...
Hi, try to completly unninstall ALL drivers for nexus, samsung or android related, than install official drivers for nexus 4 and then connect nexus 4. Should work.
maxiiik said:
Hi, try to completly unninstall ALL drivers for nexus, samsung or android related, than install official drivers for nexus 4 and then connect nexus 4. Should work.
Click to expand...
Click to collapse
I tried that, no luck...I don't know what else to do, I have tried 3 different cables. I tried using the drivers that come with the nexus 4 toolkit, but no luck. It charges when plugged in, but i get nothing else. Also it seems like half the time its not even in the device manager as an unrecognized device, and then it intermittently pops up a window saying unrecognized device detected... maybe my USB port is broken on the phone?
Is there something simple I have overlooked to get 4.2.2 to work with my computer?
jining said:
I tried that, no luck...I don't know what else to do, I have tried 3 different cables. I tried using the drivers that come with the nexus 4 toolkit, but no luck. It charges when plugged in, but i get nothing else. Also it seems like half the time its not even in the device manager as an unrecognized device, and then it intermittently pops up a window saying unrecognized device detected... maybe my USB port is broken on the phone?
Is there something simple I have overlooked to get 4.2.2 to work with my computer?
Click to expand...
Click to collapse
Have you managed to solve this? I'm facing almost the same problem!
No, I tried for hours with no luck. I am glad I am not the only one, hopefully a solution will come to us. I have been using airdroid to transfer files from my phone in the mean time.
Im also having the same issue except my computer only recognizes my phone when its connected as a camera.
Sent from my Nexus 4 using xda app-developers app
I am having a similar problem with my daughter's Nexus 4 phone, which is not rooted nor unlocked - it is still completely stock. It was just updated to Android 4.3, however I can't say that this is the cause of the problem because she never attempted to connect her phone to the desktop machine before.
I have a Windows 7 x64 box at home, and spent over two hours last night trying to get the computer to correctly recognize the Nexus 4 phone. I was hoping that the standard MTP Windows driver would handle it perfectly, but no luck. I tried the Google usb drivers, and the ADB interface was recognized, but still no access to the internal storage. I then gave the Naked Drivers a try, and no joy there either.
I am beginning to suspect that the MTP drivers on my desktop are munged, but do not relish the thought of a Win 7 wipe and reinstall.
Anyone else have any ideas?
Thanks much!
I am having a similar problem where I have USB storage set to MTP and Windows doesn't pick it up, whereas PTP Windows will pick up but I can't access any folders other than the camera related folders like DCIM.
So my workaround is doing it the old fashioned way through CMD in windows using adb push.
Example:
Assuming you have all the stuff you want to transfer in a folder called stuff, adb is located in C:\adb, and your folder known as stuff is also in C:\adb:
C:\adb>adb push stuff /data/media/0
The above command starting from the ">" will transfer all files in the folder called stuff to the root of /sdcard. In the N4, /sdcard is symbolically linked to /data/media/0.
Of course you need USB debugging enabled for this to work...
Device Manager (Hopefully this helps)
In the start menu type device manager, in that window you should see android and or something similar at the top. You want to drop the menu down and right click what should say Google ADB Interface and delete it, make sure you check the confirmation box. After reboot your computer! Once booted plug your phone in a viola!!!
I'm having a similar issue.
I can open device manager but there in no Android anything listed. All that comes up when I plug my phone in is 'unrecognized usb device'. I have 5 different cable I have tired. The OS will only bring up the usb error in a USB 3.0 port. It will not do anything if I use the 2.0 port.
I have gone and tried to manually update the drivers through the device manager but when I select the drivers from Android SKD or any of the other driver packs I get an error that it is not a x64 driver.
I found one suggestion about modding the driver to include the device but windows will not even recognize the device other than a unknown usb.
I'm going to have a bricked computer soon. Any help would be appreciated.
Roktgr said:
I'm having a similar issue.
I can open device manager but there in no Android anything listed. All that comes up when I plug my phone in is 'unrecognized usb device'. I have 5 different cable I have tired. The OS will only bring up the usb error in a USB 3.0 port. It will not do anything if I use the 2.0 port.
I have gone and tried to manually update the drivers through the device manager but when I select the drivers from Android SKD or any of the other driver packs I get an error that it is not a x64 driver.
I found one suggestion about modding the driver to include the device but windows will not even recognize the device other than a unknown usb.
I'm going to have a bricked computer soon. Any help would be appreciated.
Click to expand...
Click to collapse
First, Google universal naked drivers xda. Try those. If they don't work go into device manager and go to where it says let me choose drivers from my computer. Then look for the android composite adb interface.
If you're on win 8 you'll need to allow unsigned drivers. Google how to do that
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
First, Google universal naked drivers xda. Try those. If they don't work go into device manager and go to where it says let me choose drivers from my computer. Then look for the android composite adb interface.
If you're on win 8 you'll need to allow unsigned drivers. Google how to do that
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Windows 7x64 on all machines. I am trying this on 2 work computers and getting the same result. I have 2 issues that I think are the root of the issue.
#1 is the phone doesn't do anything in USB debug mode. I keep seeing references to having to approve the computer connection but I haven't seen that yet. I have tired 9 usb ports. 6 on my main computer will not bring anything, not even the usb drive. 3 on the labtop will only bring up a 'unrecognized usb drive'.
#2 is the computer will not recognize the device in anything other than a 'unrecognized usb drive' (UUD). Everyone keeps mentioning the Android Composite ADB interface. It's not there, it doesn't show up or as an option. I can go into the device manager and find the UUD and try and update the driver via the manual method with a disk but it doesn't list any type of hardware that is related to Android or ADB.
Roktgr said:
Windows 7x64 on all machines. I am trying this on 2 work computers and getting the same result. I have 2 issues that I think are the root of the issue.
#1 is the phone doesn't do anything in USB debug mode. I keep seeing references to having to approve the computer connection but I haven't seen that yet. I have tired 9 usb ports. 6 on my main computer will not bring anything, not even the usb drive. 3 on the labtop will only bring up a 'unrecognized usb drive'.
Click to expand...
Click to collapse
Hello,
"#1 is the phone doesn't do anything in USB debug mode." This is normal!
How I experienced the USB debugging option is that, if turned ON:
1. The Nexus does not appear in my Windows env
2. BUT when in recovery mode, I can use the "adb" commands
If USB debugging turned OFF:
1. Then I CAN see the Nexus in my Windows env
2. BUT I cannot use the "adb" commands in recovery mode.
So you definitely need to have the USB debugging option turned off if you want to see your nexus in Windows, IMO
---------- Post added at 04:16 PM ---------- Previous post was at 04:02 PM ----------
Roktgr said:
Windows 7x64 on all machines. I am trying this on 2 work computers and getting the same result. I have 2 issues that I think are the root of the issue.
#2 is the computer will not recognize the device in anything other than a 'unrecognized usb drive' (UUD). Everyone keeps mentioning the Android Composite ADB interface. It's not there, it doesn't show up or as an option. I can go into the device manager and find the UUD and try and update the driver via the manual method with a disk but it doesn't list any type of hardware that is related to Android or ADB.
Click to expand...
Click to collapse
I think you really have an issue with the drivers. I would install the Google USB drivers. Maybe a bit heavy but then you can be sure that drivers are fine:
http://developer.android.com/sdk/win-usb.html

USB not working on Windows 7

Last night I finally decided to use Wugs Nexus Root Toolkit to unlock the bootloader, root the device, flash CWM recovery and installed SlimBean ROM. It was somewhat of a pain to get adb to work at first, it had me uninstall drivers off my PC. Now when connecting my tablet to my PC, PC is not letting me view the internal SD card, nothing comes up. I've tried connecting it to another Windows 7 PC, same issue. Wondering if its something with the ROM, anyone else had this problem? What's the solution.
Uninstall USB ADB Driver
I had the same problem. What ended up working was re-connecting the tablets via USB to my Windows 7 machine. Open up Device Manager and find Nexus 7, right-click on it and select Uninstall (this removes the ADB drivers that were used to root, etc). Then disconnect the USB cable and reconnect it. Then it should automatically reinstall the USB drivers for MTP access. Hope that helps.
That's actually what I had to do to get Root Toolbox to work....or so it said.. I'm surprised though, if I hook it up to another PC why that PC wouldn't automatically try to install the driver.. If I have it with USB debugging off, it doesn't show in the display manager, if I enable USB debugging it does. Tried uninstall, disconnect, reconnect USB cable, same issue.
Check your USB Connection settings for MTP yet?
Thank you. Didn't know where that was at first. Went to settings:storage:menu icon:USB connection settings: checked MTP. now my PC is detecting the N7.

Windows 10 Not Finding My Phone

Hello, I am having a rather strange problem. My PC did the dreaded auto upgrade to windows 10 the other day and I also got a new Nexus 6P. It seems my computer won't recognize my phone, at all, when I plug it in via USB. It's not even showing up in the device manager as a problem, it's like nothing happens at all.
I have
- downloaded and installed the latest google usb driver (right click install)
- downloaded the latest mtp drivers
- downloaded official nexus package from Huawei
- installed ADB and android SDK and also reinstalled the drivers from the SDK manager.
- downloaded some update for windows media player as someone mentioned that could be the problem
- tried different cables
- tried different ports (usb 3 too)
I am really at a loss. My work computer works just fine with it so I know the phone and the cable are okay and other things work on those ports on my home computer. By the way the computer is Windows 10 pro - 64bit
robproctor said:
Hello, I am having a rather strange problem. My PC did the dreaded auto upgrade to windows 10 the other day and I also got a new Nexus 6P. It seems my computer won't recognize my phone, at all, when I plug it in via USB. It's not even showing up in the device manager as a problem, it's like nothing happens at all.
I have
- downloaded and installed the latest google usb driver (right click install)
- downloaded the latest mtp drivers
- downloaded official nexus package from Huawei
- installed ADB and android SDK and also reinstalled the drivers from the SDK manager.
- downloaded some update for windows media player as someone mentioned that could be the problem
- tried different cables
- tried different ports (usb 3 too)
I am really at a loss. My work computer works just fine with it so I know the phone and the cable are okay and other things work on those ports on my home computer. By the way the computer is Windows 10 pro - 64bit
Click to expand...
Click to collapse
Have you installed Google USB Driver for nexus 6p? If not, download Google USB Driver, extract it and save it in your any name folder that you can locate it later, plug n6p in your pc or laptop and it should pop up with USB option to select either file transfer or picture transfer, click one of them, Windows should be able to find n6p driver, if not, go to setting on your pc, device manager, then look at highlighted USB of your nexus 6p whether it is properly installed, if not, then install it by finding the driver that you extracted in that specific folder... Hoping this works for you.
luckyfate said:
Have you installed Google USB Driver for nexus 6p? If not, download Google USB Driver, extract it and save it in your any name folder that you can locate it later, plug n6p in your pc or laptop and it should pop up with USB option to select either file transfer or picture transfer, click one of them, Windows should be able to find n6p driver, if not, go to setting on your pc, device manager, then look at highlighted USB of your nexus 6p whether it is properly installed, if not, then install it by finding the driver that you extracted in that specific folder... Hoping this works for you.
Click to expand...
Click to collapse
Thanks for the response, but yea I already got the new usb drivers and installed them via right click install. The thing is though that in device manager the phone doesnt show up, at all, not even as a problem device. Its like its not there. The phone shows that its charging, but it doesn't recognize that its plugged into a usb port. Im really unsure what to do about this.
robproctor said:
Thanks for the response, but yea I already got the new usb drivers and installed them via right click install. The thing is though that in device manager the phone doesnt show up, at all, not even as a problem device. Its like its not there. The phone shows that its charging, but it doesn't recognize that its plugged into a usb port. Im really unsure what to do about this.
Click to expand...
Click to collapse
Did you install x64 driver from Google USB Driver? Check to see to make sure your USB android debugging is checked. It is kind of odd, try to reboot your pc and nexus 6p, then plug your phone in different USB port if your pc has extra USB port..
luckyfate said:
Did you install x64 driver from Google USB Driver? Check to see to make sure your USB android debugging is checked. It is kind of odd, try to reboot your pc and nexus 6p, then plug your phone in different USB port if your pc has extra USB port..
Click to expand...
Click to collapse
Are you referring to this USB driver? I dont actually see a 64 and 32 version:
https://developer.android.com/studio/run/win-usb.html
robproctor said:
Are you referring to this USB driver? I dont actually see a 64 and 32 version:
https://developer.android.com/studio/run/win-usb.html
Click to expand...
Click to collapse
Should be on top of the folder that your extracted...​
Ah I see what you are referring to. Well, here is the thing, how do I install those drivers? Remember I cant find it device manager to update the drivers. The only way I could find to install them was to right click the android_winusb.inf file and choose install. It said it installed okay, but of course its not working. Any idea?
By the way, I also have usb debugging on and usb configuration WAS set to MTP, but I just changed it to try the different variations, but now its stuck on charging and wont change to MTP, but I think its because the phone isnt being recognized by the computer because this morning at the office I was able to change the usb type to mtp and the others, but that computer recognized the phone... AGHHHH WTF
robproctor said:
Ah I see what you are referring to. Well, here is the thing, how do I install those drivers? Remember I cant find it device manager to update the drivers. The only way I could find to install them was to right click the android_winusb.inf file and choose install. It said it installed okay, but of course its not working. Any idea?
Click to expand...
Click to collapse
By the way, if your Android debugging on or check? Just turn "developer options" on your phone and then check Android Debugging. To install x64 USB Driver, on your pc, control panel, device Manager, look for phone USB Driver to see it has some kind of yellow triangle, if so update x64 driver from your extracted folder...
luckyfate said:
By the way, if your Android debugging on or check? Just turn "developer options" on your phone and then check Android Debugging. To install x64 USB Driver, on your pc, control panel, device Manager, look for phone USB Driver to see it has some kind of yellow triangle, if so update x64 driver from your extracted folder...
Click to expand...
Click to collapse
Hey Lucky, I really appreciate you helping me out here, but just so you know I am no newb with this kinda stuff. I have went through this process on a couple other computers with no problem, so when I say its not showing up in device manager I mean its literally not there. Its not there and just under some other name or with a problem icon, its literally not in the device list. Also, I do have usb debugging on
luckyfate said:
By the way, if your Android debugging on or check? Just turn "developer options" on your phone and then check Android Debugging. To install x64 USB Driver, on your pc, control panel, device Manager, look for phone USB Driver to see it has some kind of yellow triangle, if so update x64 driver from your extracted folder...
Click to expand...
Click to collapse
Please go to YouTube and type "install usb driver on nexus 6p" search and then follow instructions from the video... Good luck.
WAIT! I got it... Wow I would of never thought this, but apprently my Wacom was the problem. As soon as I unplogged my wacom tablet the phone picked right up... Strange... Anyways, case closed... freaking conflicts!
Okay hold on, still having problems. Well, now the computer dings when I plug it in, but it still doesnt show up. However when I change the phone usb to PTP the phone becomes visible on the pc in windows explorer (but still not in device manager) and when I put it to MTP it disconnects and I cant see it in windows explorer anymore, and still cant find it in device manager... Ugh...
Okay sorry for all the messages, but i did get the MTP working. I had to uninstall the reinstall the drivers a couple times... very strange, but whatever its working... yay!
robproctor said:
Okay sorry for all the messages, but i did get the MTP working. I had to uninstall the reinstall the drivers a couple times... very strange, but whatever its working... yay!
Click to expand...
Click to collapse
Did you figure out the problem? I'm having the exact same problem with mine and with USB mode not switching from Charging and the PC not even recognizing a USB device was plugged in.
I found using a different cable solved my problem. Don't really know why cause the first one I used seemed fine and worked to charge it, but by using a different one, Win 10 recognized it and got me in the game.

If MTP, PTP does not work (If you can't acces phone storage with PC)

My Win10 Insider Preview machine did not recognize the phone. Nothing happened when I connected the phone and I could not access storage of the phone.
Below is the solution for it:
Go to Control Panel - Device Manager - LeMobile Android Device (could be under a different name. Choose the one that is your phone) - Update Driver - Manually Install a Driver - Let me pick a list of available drivers on my computer - MTP USB .
4K2K said:
My Win10 Insider Preview machine did not recognize the phone. Nothing happened when I connected the phone and I could not access storage of the phone.
Below is the solution for it:
Go to Control Panel - Device Manager - LeMobile Android Device (could be under a different name. Choose the one that is your phone) - Update Driver - Manually Install a Driver - Let me pick a list of available drivers on my computer - MTP USB .
Click to expand...
Click to collapse
Uhm ... when you connected the phone to computer you changed the mode on phone from USB charging to MTP mode ?
In my Win10 x64 build 14392.447 not problem to see the phone in MTP mode after changing mode on phone.
Alternative solution is to use KDE Connect app over Wifi. Bonus is that once set up, it is possible to push files from the phone to the PC without any interaction on the PC side - e.g. useful if the PC doubles as a file server.
losteagle said:
Uhm ... when you connected the phone to computer you changed the mode on phone from USB charging to MTP mode ?
In my Win10 x64 build 14392.447 not problem to see the phone in MTP mode after changing mode on phone.
Click to expand...
Click to collapse
Both of my home & works computer (Win10 14959) failed to detect it as MTP or PTP drive. Might have been due to those having previous phone's drivers.
But I faced same problem with fresh out of the box Win8 laptop.
No issue with the MTP, however I can't seem to get adb to work. list of devices attached is showing empty.
ksj0823 said:
No issue with the MTP, however I can't seem to get adb to work. list of devices attached is showing empty.
Click to expand...
Click to collapse
I had the same issue, i reinstalled minimal ADB and removed the drivers from my pc, rebooted my pc. Plugged the phone into a different USB port and voilá ADB could see it
Citroon said:
I had the same issue, i reinstalled minimal ADB and removed the drivers from my pc, rebooted my pc. Plugged the phone into a different USB port and voilá ADB could see it
Click to expand...
Click to collapse
Wanted to add my voice here too that I did the same - I had to clean up previous drivers I had installed over time for varios phones and different ADB versions like the one from clockworkmod - once I cleaned that out and installed google drivers from SDK PTP worked and I was able to do Helium restores
I had issue on my Win10 PC, but I found that after I disabled USB debugging, it would work as MTP/PTP, but not for ADB of course. So apparently, I have to toggle USB debugging ON/OFF to switch back and forth from MTP and ADB.
Small pain in the butt.
Solution.
I had the same issue. Drove me NUTS for about an hour. In the end, simply unchecked the USB DEBUGING in developer settings. This will make it pop up immediately.
Update:
I clearly should have read the post above mine first.

Categories

Resources