[Q] LG G3 USB debugging? - G3 Q&A, Help & Troubleshooting

Hello,
I recently got my LG G3 which I plan to also use as a secondary testing device for my apps. However, on my Ubuntu machine, I can't get it to be recognized by adb.
I unlocked the developer menu, checked the USB debugging box and plugged it in. While the device is recognized for the most part (MTP for transferring files), when I run 'adb devices' there is nothing listed.
Is there another setting I am missing?
Thanks!

On vs985 even if I have debugging checked I have to go into storage and check the Ethernet setting to on for debugging to show up
Sometimes it will show its checked but I have to recheck it to make it work (wierd)
Maybe try revoking prevoius authorizaionts for usb debugging also

Related

[Q] My computer cannot recognize my devices MTP

I just got my Nexus 7(2013) device.
I used to transfer files between my computer and my Nexus 4.
When I plugged in my N4, my computer recognizes my N4 and device manager showed there is a portable devices "Nexus 4"
However when I plugged in my new N7, my computer cannot detect it and device manager showed "Android Device" with "Android Composite ADB Interface" under it.
I cannot find any new drive in My Computer although the device is charging through USB.
I have tried to disable/enable USB Debugging, using different USB cables, switching USB option between MTP and PTP and reinstalling Nexus usb driver from google and all of them do not work.
May I ask for any solution?
Thanks:fingers-crossed::fingers-crossed:
Uninstall/remove the drivers
reboot
then reinstall using these drivers
http://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Even if you did it before, try again, with the removal of drivers and the reboot.
Also you may want to try different ports, cables, computers
sfhub said:
Uninstall/remove the drivers
reboot
then reinstall using these drivers
http://dl-ssl.google.com//android/repository/latest_usb_driver_windows.zip
Even if you did it before, try again, with the removal of drivers and the reboot.
Also you may want to try different ports, cables, computers
Click to expand...
Click to collapse
I've tried that before
I may now try a few times more
By the way, I realized that I can use Wugfresh toolkit and completed the full driver test to bootloader mode. However, I cant even detect the hard drive.
I finally enabled to use PTP to access the photos.
However I am still unable to use MTP to transfer other types of files..
Any help?:fingers-crossed::fingers-crossed:
EggShaarawy said:
I finally enabled to use PTP to access the photos.
However I am still unable to use MTP to transfer other types of files..
Any help?:fingers-crossed::fingers-crossed:
Click to expand...
Click to collapse
Please perform the following even if you have done it before.
In this current state, turn on MTP. Then turn off USB debugging. See if MTP shows up. If so, use this fix to get MTP working with USB debugging.
[FIX] MTP with USB debugging / ADB within Recovery (windows/nexus7)
sfhub said:
Please perform the following even if you have done it before.
In this current state, turn on MTP. Then turn off USB debugging. See if MTP shows up. If so, use this fix to get MTP working with USB debugging.
[FIX] MTP with USB debugging / ADB within Recovery (windows/nexus7)
Click to expand...
Click to collapse
I am sorry that I cannot understand it completely.
May I ask
1. Should I uninstall just the entry with Nexus 7 as description in Nirsoft USBDeview and then reboot?
2. You mentioned that "When you turn on USB debugging and windows asks for an MTP driver, just provide mtp_driver.zip". How can I use the zip file? After rebooting and enabling USB debugging, my toolbar on bottom-right has a icon showing I have a MTP and I can choose to "remove MTP safely" just like plugging in a USB flash drive. However, there is not a hard drive in My Computer. Maybe is it the difference between Windows XP and WIndows 7? Or did I misunderstand your instruction?
Thanks for helping! :good:
I finally did it with USB debugging and MTP on.
I occasionally update the Android ADB Interface driver and install Composite USB Device from the list and my computer detects my hard drive!!
Is it possible to get my MTP working without enabling USB Debugging or is it normal to detect mtp with USB Debugging on? :good:
EggShaarawy said:
I finally did it with USB debugging and MTP on.
Click to expand...
Click to collapse
One of the drivers you installed previously which was modified to get MTP working. was implemented too aggressively and is now blocking your ability to use MTP with USB debugging turned off.
For normal systems with no drivers loaded, they have the opposite problem, in that they can get MTP working when USB debugging is disabled, but lose MTP when USB debugging is enabled.
When USB debugging is disabled and MTP is enabled, the USB port advertises that it is compatible with standard MTP drivers, so windows automatically installs. However if you have a custom driver installed, it can block that automatic process.
With USB debugging turned on, the USB port no longer advertises MTP compatibility, so windows is normally confused and doesn't know what driver to use. That you were able to get it working with USB debugging enabled proves to me that you have a custom driver installed that was modified to get MTP working.
The way I wrote my changes to the MTP driver was to leave the standard MTP alone and only intercept the MTP when USB debugging is enabled. Thus my changes don't block normal MTP operation when USB debugging is disabled.
EggShaarawy said:
Is it possible to get my MTP working without enabling USB Debugging or is it normal to detect mtp with USB Debugging on? :good:
Click to expand...
Click to collapse
Yes, but you are going to need to figure out which driver you installed is causing the issue and remove it so it doesn't get in the way.
Alternatively, try a different PC that has never had drivers installed and use just the one I pointed you at earlier.
You don't use the zip file directly, you unzip the contents and will have a .inf file.
When windows asks for a driver (USB debugging turned on and MTP turned on) you point the install at the .inf provided. It will do the rest automatically.
sfhub said:
One of the drivers you installed previously which was modified to get MTP working. was implemented too aggressively and is now blocking your ability to use MTP with USB debugging turned off.
For normal systems with no drivers loaded, they have the opposite problem, in that they can get MTP working when USB debugging is disabled, but lose MTP when USB debugging is enabled.
When USB debugging is disabled and MTP is enabled, the USB port advertises that it is compatible with standard MTP drivers, so windows automatically installs. However if you have a custom driver installed, it can block that automatic process.
With USB debugging turned on, the USB port no longer advertises MTP compatibility, so windows is normally confused and doesn't know what driver to use. That you were able to get it working with USB debugging enabled proves to me that you have a custom driver installed that was modified to get MTP working.
The way I wrote my changes to the MTP driver was to leave the standard MTP alone and only intercept the MTP when USB debugging is enabled. Thus my changes don't block normal MTP operation when USB debugging is disabled.
Yes, but you are going to need to figure out which driver you installed is causing the issue and remove it so it doesn't get in the way.
Alternatively, try a different PC that has never had drivers installed and use just the one I pointed you at earlier.
You don't use the zip file directly, you unzip the contents and will have a .inf file.
When windows asks for a driver (USB debugging turned on and MTP turned on) you point the install at the .inf provided. It will do the rest automatically.
Click to expand...
Click to collapse
I have been using the same computer to root Galaxy Nexus and Nexus 4 and I remembered I have been using some tool similar to the one you provided.
Maybe it makes my computer cannot recognize the MTP
Anyway, Thanks

Solved: Usb debugging enabled- no ADB

Got an unlocked Tmo Note III, rooted.
Was trying to use adb, but my only usb options are Media Device or Camera.
No "just charging".
USB debugging is enabled, but doesn't show when I connect the phone to pc.
Any ideas what I'm missing here?
Edited to add:
Had to reinstall the Samsung drivers, and redo debugging privileges for pc

MTP Mode?

Is there a trick to make MTP work under Windows 10? I used it once (via the swipe down, hitting the USB Mode and changing to MTP) before enabeling develper mode.
Now in Developer mode I changed it under Network --> USB Configuration --> MTP but my tablet does not show up on my PC. Do I need to change anything else? Already tried switching between the USB configurations, rebooting the device and so on, but nothing seems to work...
May be wrong but:-
W10 out of the box doesn't support MTP. You may need to install the Android Debug Bridge USB driver on your Windows machine and then connect that driver to your Android device. With the tablet disconnected open W10 Device manager, now connect the tablet to the USB port. Device Manager screen should immediately refresh and show 2 lines at the top of the screen:
Android Device
Android Composite ADB Interface.
Assuming your cable is ok then the absence of these two lines indicates you need the driver installed. The driver is installed as part of Google's Android Studio in the Platform Tools sub directory. If you just want the drivers then they are available to download (no links ) There are automated methods , see http://forum.xda-developers.com/showthread.php?p=48915118#post48915118 or Nexus Root Toolkit does it. ( You should have usb debugging enabled in the tablets Developer menu)
Once the drivers are installed then when you enable MTP via the Notification or your menu "path" then Device manager will show the tablet under the "Portable Devices" line.
I originally got my laptop to work with the Pixel C using Window 8.1. I had trouble at first finding a driver that would work. I tried various drivers, but I eventually got it to work with PDANet. I believe that the trick for me was to first use PTP to get the correct drivers installed. You should be able to switch from PTP to MTP once PTP is working correctly.
I have subsequently upgraded from Windows 8.1 to Windows 10. I had a similar issue again with the drivers. I first used PTP to get the proper driver installed and then switched to MTP.
I always use the pull down menu on the Pixel C to change from charging to PTP once working and then to MTP.
With PTP, you should be able to see the Pixel C drive on the computer but only able to access the photos. Once you switch to MTP, you should see all the folders.
For fastboot, you need to use PTP and not MTP.
Found this post via Google, it's an issue for me with the Pixel phone, too. Photo mode works normally, MTP doesn't.
For others who also find this post, I read that supposedly the Pixel phones install ADB drivers automagically, but this isn't happening for me, and @SmokinCharger's fixes haven't worked either.

ADB Debugging No Longer Connecting to PC

I'm stumped with this one. My HTC 10 no longer will connect to my computer at home or at work when I have USB debugging enabled. I don't get any entry in device manager. I'm running the 2.28.617.8 firmware w/ Viper 4.3.1. I utilize the universal adb driver. When debugging is enabled, the phone message says I'm connected to a slow charger. I have verified the ports on both computers are functional by attaching other devices. I have the connection settings for MTP enabled. I also tried revoking the debugging authorizations in the hope it would reset everything. The only way I can find around it, is to turn off usb debugging. Then, when I connect the phone it will mount properly and I can transfer files. This is ok for the short term, but is not ideal. Does anyone know what I might be missing?
I had this same issue after restoring a TWRP backup on a replacement 2.28.617.8 phone. RUU and restore all my settings mostly by hand fixed it.
Do you have HTC Sync installed? Try installing that, connect the phone and on the phone grant HTC Sync permission.

Question USB Debug Mode

My windows 10 PC only recognizes my P6P when I have usb debugging turned on. I can turn usb debugging off and it's not recognized, tried a reboot and still have to have usb debugging on to transfer files via usb cable. Not really a problem as I don't mind usb debugging on all the time but just wondering if there's a solution with it off. Seems to be the only issue I've found in 7-8 days of use.
ggrant3876 said:
My windows 10 PC only recognizes my P6P when I have usb debugging turned on. I can turn usb debugging off and it's not recognized, tried a reboot and still have to have usb debugging on to transfer files via usb cable. Not really a problem as I don't mind usb debugging on all the time but just wondering if there's a solution with it off. Seems to be the only issue I've found in 7-8 days of use.
Click to expand...
Click to collapse
From what i have seen even with android Auto have to have debugging turned on and have to go way down list to enable data. Default is no data. No reason to ever turn off debugging. mine has been on since around 2010.
Go into system devices in win 10, (I never got passed 7 x64 lol) with fone usb debugging turned off, what devices have an exclamation mark?
Then turn on usb debugging while viewing system hardware devices to spot any changes..?
In dev options, in fone, or wherever it is in yours, check usb settings, you know, where you can set usb to mtp, or file transfer etc... check those settings.
edit, and one question, if usb debugging is turned off, can you still charge fone from pc?
prdog1 said:
From what i have seen even with android Auto have to have debugging turned on and have to go way down list to enable data. Default is no data. No reason to ever turn off debugging. mine has been on since around 2010.
Click to expand...
Click to collapse
Yes, that's always the first thing I turn on but just thought it odd that it has to be on to transfer files.

Categories

Resources