• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Help How to change USB Settings in LG G3 cat-6 to enable USB Debugging option.

Hi, i am an android developer, and i am trying to run/test my app on my android device i-e LG G3 cat-6, which is loaded with custom ROM, but when i connect it to my PC and run the command on terminal/ADB "adb devices", it doesn't show any device, as my phone is not recognized by my the PC or ADB as an android device. (It is recognized as media device).
...
I have enabled the Developer Options in the phone, but the USB debugging option is greyed out in the option, which makes it unselectable, when i disconnect my device from PC, only then the USB debugging option is turned to black to be selectable, i check/enable this option then again connect my phone to PC and the option again turns to grey.
...
I found on some other thread that this is due to USB settings of the android device.
When i go to USB setting option from notification bar, to see USB PC connection Setting, i only get these 3 options to choose from i-e
1- Charge Phone via USB
2- Media Device (MTP) .. -> {currently selected due to which it is recognized as media device as told earlier}
3- Send Images (PTP)
Of these 3 options whatever i select, i cannot get my issue to be resolved.
In that that someone wrote that by dialing this code *#0808# you will get these additional USB settings as shown in PICTURE (if uploaded) .. But the thing is that even this code is not working on my android LG G3 Cat-6, coz when i dial the code and hit send it says "Connection Problem or Invalid MMI Code". I am wondering is, is this code not working because it is Korean Built Phone (Cat-6 is Korean version), or is it due to the custom ROM that is in the device??
...
So i want to ask if there is another way to change the USB Setting of this phone to enable USB Debugging option and to be able to be recognized by the ADB in my PC [which is my main issue needed to be solved], without changing the current ROM of my device.
I am also uploading screen shots of USB connection setting screen AND Developer Options screen. also the USB settings screen (taken from that thread) that is presumably shown when you dial the above code

Hoping that someone might solve this issue.
Thanks
 

Attachments

  • Screenshot_2015-09-10-12-37-19.png
    Screenshot_2015-09-10-12-37-19.png
    486.7 KB · Views: 390
  • Screenshot_2015-09-10-12-38-27.png
    Screenshot_2015-09-10-12-38-27.png
    383.6 KB · Views: 430
  • USB settings_zpsd8ljqlnj.png
    USB settings_zpsd8ljqlnj.png
    103.8 KB · Views: 578
The reason it turns grey when you've connected it to your PC is because the OS doesn't allow you to change the setting whilst a USB Connection is in use.

I know LG Devices are relatively picky about having the correct drivers installed, have you done that?

Correct drivers can be found here: http://forum.xda-developers.com/android/development/guide-root-method-lg-devices-t3049772

Also, take a look at our mini-sdk here: http://androidforums.com/threads/adb-guide-updated-2014-11-11.443072/#post-5389081 (easier to setup than the full sdk).

Also, in post 3 of that thread, there are alternative ADB drivers you might want to try if the LG drivers still don't work.
 
@El Presidente

Thanks for your reply.
The first link u posted is mostly about rooting, which i do not need,

And as i am an Android Developer, i have already got the whole SDK and Android development Tools, Android Studio and Eclipse, and the adb comes installed with it. The thing is that i used to run apps on other android phones too (of other companies/models) and none of them gave me an issue. My development tool always showed which device was connected , whether an emulator or a real device, so that i could pick a device to run my application on it. And also when i used to run "adb devices" command on the terminal, it showed the list of devices that were connected to my PC, but which this LG G3 it cannot be found, and not recognized as an android device by my ADB.

I have installed the UniversalAdbDriver from the post#3 of the 2nd link that u posted, but it also hasn't solved my problem, and i cannot find OEM driver for LG G3 Cat6, but i know it also wouldn't solve the problem like the Universal-ADB-Driver.

Oh and i also want to know that does this problem occurs on any other phones too?
or whether this occurs on LG G3 cat6 only?
or does the custom ROM of the device also effect the situation?

Actually the phones on which i previously tested my App were mostly 4.2 or less maybe, so there Developer Options weren't hidden, so i am wondering if this problem occurs on newer OS versions where the Developer Options are hidden (which can be shown by tapping Build Number 7 times) and hence restrictions may be set up on debugging options as well on them, which may result in this situation.... So, has anyone else got this problem while using phone other than LG G3.???
 
@El Presidente
Turns out, [as you suspected] that it was issue of the USB driver for LG G3 which wasn't properly installed, as the Universal ADB Driver wasn't working, And i couldn't find its driver on LG's own website, but when i searched using its model number LG-F460S, i found a thread on this link

http://forum.xda-developers.com/lg-g3/general/lg-g3-cat6-f460l-f460k-f460s-owner-t2991923

from where i downloaded the driver for this model. And Finally my issue is solved. Thanks to you who suggested to check the USB driver :) Thank u, i really appreciate your help
 
Back
Top Bottom