[Q] How do you fix Debugging from Auto Starting?? - G Tablet General

Every time I connect my USB to my computer USB debugging auto starts and it is not selected in settings. I am tired of my laptop crashing every time I connect. Even if I catch it there is no way to stop it using any menu options.
How do I turn it off from auto starting. I can not side load as a result. So I have no way to get ROMs on my G Tab.

edirector said:
Every time I connect my USB to my computer USB debugging auto starts and it is not selected in settings. I am tired of my laptop crashing every time I connect. Even if I catch it there is no way to stop it using any menu options.
How do I turn it off from auto starting. I can not side load as a result. So I have no way to get ROMs on my G Tab.
Click to expand...
Click to collapse
Settings, applications, development
Sent from my VEGAn-TAB-v1.0.0b5.1.1 using Tapatalk

The debugging is unchecked, always unchecked yet it starts auto every time I usb from laptop crashing my system.

Related

Charge isn't going into USB Mass Storage

It was working before I rooted.
I am using PBJ Voodoo Overclock Kernel with 1.8.5 Gummycharged and the SD card fix, before I flashed the kernel/rom/fix the mass storage was working fine, I could drag and drop but now (even though it's set to USB Mass Storage) whenever I plug it in the only thing detected is 'CD Drive (E: )'. Can anyone help? I'd really like to start putting my Music/Videos on my Charge. Thanks in advance :]
Try either:
Enabling USB debugging mode (Settings --> Applications --> Development)
OR
Setting the USB mode to ask on connection
aznxk3vi17 said:
Try either:
Enabling USB debugging mode (Settings --> Applications --> Development)
Setting the USB mode to ask on connection
Click to expand...
Click to collapse
Debugging mode works as a temporary solution I guess, it causes alot of problems with my computer, it freezes it up and most of the time it can't finish the copy process, right now I'm just using my MicroSD USB reader, if that ever fails I could just put the SD card in my old phone which worked fine, thanks though
I am having the same issue. I got the phone yesterday and rooted last night and it won't connect either. It'll charge fine, but that's it. I am on my work PC so I cannot do much testing, but putting it in USB debugging mode at least made the PC recognize it.
I had to set it to ask on connection for it to work for me
Sent from my SCH-I510
aznxk3vi17 said:
Try either:
Enabling USB debugging mode (Settings --> Applications --> Development)
OR
Setting the USB mode to ask on connection
Click to expand...
Click to collapse
I did a quick reboot and enabled the debug and it seems to work now thanks. Seems like the sd fixed works afterall. Thanks everyone.
I cannot get phone to connect in mass storage either every time it loads it brings up a scan drive screen with quick fix or continue without scanning. Then opens as CD Drive, I am completely lost and getting no feedback, have yet to try SD Fix or where to get it or how to get it.
Have you done everything I told you? After you do all that, go to setting, USB Settings then check "ask on connection."

USB debugging turns off

Whenever I restart my phone usb debugging disables. Currently running a rootedoneclick ics leak. Any ideas on how to fix this annoying bug?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2 Beta-4
Same, I hate myself. Thinking about build.pop ing it.
Sent from Aperture Science. You Monster.
merlen said:
Whenever I restart my phone usb debugging disables. Currently running a rootedoneclick ics leak. Any ideas on how to fix this annoying bug?
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2 Beta-4
Click to expand...
Click to collapse
tried a fix permissions in cwm yet? you'd be surprised how many things this will fix.
promiseofcake said:
Same, I hate myself. Thinking about build.pop ing it.
Sent from Aperture Science. You Monster.
Click to expand...
Click to collapse
try init.d instead, safe me thinks
merlen said:
Whenever I restart my phone usb debugging disables. Currently running a rootedoneclick ics leak. Any ideas on how to fix this annoying bug?
Click to expand...
Click to collapse
Not a bug, it's caused by UltraCfg app which has 'Tethering always On' mode set by default, and so it disables usb debugging on reboot.
Go into UltraCfg and set 'Tethering always Off' and reboot-- then usb debugging will remain enabled across reboots. Tethering will still work, just have to tick the 'USB tethering' box when need to use it.
Who woulda guessed it?
cschmitt said:
Not a bug, it's caused by UltraCfg app which has 'Tethering always On' mode set by default, and so it disables usb debugging on reboot.
Go into UltraCfg and set 'Tethering always Off' and reboot-- then usb debugging will remain enabled across reboots. Tethering will still work, just have to tick the 'USB tethering' box when need to use it.
Click to expand...
Click to collapse
Never would have guessed this would be the source of this being toggled. However, when I set "Tethering always off" I cannot use "Portable WiFi" at all - I used UltraCfg originally to fix it (turn UltraCfg to "Tethering always On" even though it appears pre-selected, then turn on WiFi Access Point & hit home button when the connecting dialog hangs. Come back to Tethering dialog and setup your router. I am repeating the instruction here in case anyone drops into this thread
original thread: http://forum.xda-developers.com/showthread.php?t=1566037
So yeah, with "Tethering always off" WiFi tethering is... always off, though I haven't tried Wired tethering. Any way to have WiFi Tethering AND keep USB Debugging turned on? I guess I will find it ina ROM in any event. Have to put that on my checklist of things to determine BEFORE flashing a new ROM.
SmartAs$Phone said:
Never would have guessed this would be the source of this being toggled. However, when I set "Tethering always off" I cannot use "Portable WiFi" at all - I used UltraCfg originally to fix it (turn UltraCfg to "Tethering always On" even though it appears pre-selected, then turn on WiFi Access Point & hit home button when the connecting dialog hangs. Come back to Tethering dialog and setup your router. I am repeating the instruction here in case anyone drops into this thread
original thread: http://forum.xda-developers.com/showthread.php?t=1566037
So yeah, with "Tethering always off" WiFi tethering is... always off, though I haven't tried Wired tethering. Any way to have WiFi Tethering AND keep USB Debugging turned on? I guess I will find it ina ROM in any event. Have to put that on my checklist of things to determine BEFORE flashing a new ROM.
Click to expand...
Click to collapse
Just turn if off and use WiFi Tether App/ many of them, and that's it. It will not affect it.
SmartAs$Phone said:
So yeah, with "Tethering always off" WiFi tethering is... always off, though I haven't tried Wired tethering. Any way to have WiFi Tethering AND keep USB Debugging turned on?
Click to expand...
Click to collapse
The answer is, by setting 'Tethering always off' in UltraCfg.
I've set 'Tethering always off' with UltraCfg and both USB tethering an Wifi Hotspot still work fine... and USB Debugging doesn't turn off after every reboot.
I believe the meaning of 'Tethering always on/off' has to do with what action occurs when connected to a computer via USB. If I set 'Tethering always on' in UltraCfg then my phone automatically jumps into USB tethering mode everytime I connect it to my laptop via USB (very annoying behavior!). If I set it to 'Tethering always off' then the phone only enters USB tethering mode when I tick the 'USB tethering' box.
Not smoking anything, really.
odeccacccp said:
Just turn if off and use WiFi Tether App/ many of them, and that's it. It will not affect it.
Click to expand...
Click to collapse
K, Thanks. Was hoping to use the stock item without throwing another app at it. well turning usb debugging on is not that big a deal, I can just flip it on when I need it.

Can't access USB mass storage on my PC

So I can't connect my Droid RAZR to my windows 7 machine...
I have tried a lot of things!
I've tried:
*Different computers including Vista and Linux
*Different cables
*Different fastboot files
*Re-installing drivers
*Factory reset
*PIM sync from the market etc.
What happens when I plug my phone into my PC is the computer recognizes it, it makes a sound, then it says Unknown Device connected or some times it says USB malfunctioned and then on my lockscreen it says the phone is charging but it doesn't show on my battery icon.
Whats also interesting is if I got into Fastboot mode and connect to my computer it says USB connected and then I can use it in RSD with no problems.
I'm on ICS with no root.
Please help!
Sent from my Nexus 7 using XDA Premium HD app
Try turning on USB Debugging (if you haven't), under Settings > Applications > Development.
I had the same prob with my S3... Tip from Post above solved my problem...
neomeone said:
Try turning on USB Debugging (if you haven't), under Settings > Applications > Development.
Click to expand...
Click to collapse
Thanks but I've already tried that
Jeanjacq said:
Thanks but I've already tried that
Click to expand...
Click to collapse
With the phone plugged in, have you tried opening up the lockscreen so you can get to your phone? Please take a screenshot of the device manager settings.
Computer Management -> Device Manager -> Find the device (double click on it) -> Details -> Hardware Ids
Or you can write out what the hardware ID is. Thanks.
YOu said you also tried it in linux. please post the output from lsusb for any unknown devices
Huawei Mercury
I am also having a similar issue with the pc not recognizing the phone. I never had an issue with this problem. I have only rooted my phone with no custom room. I have always connected my phone to the pc and was giving a connection screen on my phone asking me if i want to connect as a mass media storage. A week ago this behavior stopped. I don't know what to do anymore. I don't remember doing anything to the phone to mess up the setting? I connected it to several computers using different micro usb data cables and nothing occurs.
The only thing happens is my phone receives a charge from the computer and thats it. Any ideas? Is there anyway i can reset the system or what not?
quickser4u619 said:
I am also having a similar issue with the pc not recognizing the phone. I never had an issue with this problem. I have only rooted my phone with no custom room. I have always connected my phone to the pc and was giving a connection screen on my phone asking me if i want to connect as a mass media storage. A week ago this behavior stopped. I don't know what to do anymore. I don't remember doing anything to the phone to mess up the setting? I connected it to several computers using different micro usb data cables and nothing occurs.
The only thing happens is my phone receives a charge from the computer and thats it. Any ideas? Is there anyway i can reset the system or what not?
Click to expand...
Click to collapse
same problem here with my S3 mini can anyone help? please
neomeone said:
Try turning on USB Debugging (if you haven't), under Settings > Applications > Development.
Click to expand...
Click to collapse
me also facing same problem and already i turned on USB Debugging mode but nothing happened. still i can't connect USB mass storage of my android device
Hey guys what you should try to do is use this :
after pluggin in your devices and removing their current driver in device manager(control panel>admin tools>computer management>device manager>
and then install this
http://adbdriver.com/upload/AdbDriverInstaller.exe
also make sure you adb debugging is enabled (if it's not visible(setttings>about/info>build number tap it multiple times) usually its settings>dev options>usb debugging.
also maybe try using this software as pc suite myphonexplorer
Can you guys go to the storage menu in settings, press the menu key, select USB connection mode (or something like that) and play around with the settings in there? Try that out.
Sent from my Nexus 4 using XDA Free mobile app

Remembering USB Connection Type?

Is there any way to save the USB connection type when plugging the phone to the PC? Specifically MTP. I'm on the Verizon variant, unrooted.
Right now, when I plug it in, it comes up with "Connected as installer" and the Verizon Mobile cd drive thing gets mounted. If I wait it out or if I manually go into the phone and swipe down notifications to change the type to Media device (MTP), the phone mounts. Problem is, the next time i plug in the phone again, I have to either wait it out again or select MTP again. Is there a way to save it to the MTP option? First time on a Samsung phone and not sure if it was just like this since the beginning of time or what.
I get the same thing as well, and sometimes it wont do anything at all unless I unlock with my fingerprint. Auto MTP mount option or app would be nice.

Getting Android Auto to automatically connect to car headunit

Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
I would clear data, force stop, and reinstall Android Auto. I use it every day and have no problems at all. Connects automatically.
My HTC M9 had no end of problems with AA. Would not connect half time time unless I replugged it in, and the voice-to-text function was buggy as hell. My OP6 is smooth as silk.
Thanks. I tried that and even deleted the phone from my car. It didn't work. I had to change the mode to mpt to get it to do the initial connection. Same for reconnecting. Doh!
Do you use Tasker? I wrote a task that will automatically change the setting to MTP. It requires the Tasker plugin - AutoInput as well.
I do have tasker. How do I set it up to do that? Thanks.
theman22 said:
I do have tasker. How do I set it up to do that? Thanks.
Click to expand...
Click to collapse
So I actually created two different profiles/tasks.
1) Detects when USB power is plugged and then opens developer settings and scrolls automatically to usb configuration and makes the change. This profile/task requires the plugin AutoInput.
2) Uses AutoNotification to detect when there is a notification in your tray stating that the device is being charged. Then it will use AutoInput again to click on the notification and change it to 'USB for file transfer'.
I only attached #1. Import it into to Tasker and see if that works. If not, I can add the second option.
theman22 said:
Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
Click to expand...
Click to collapse
God, it's annoying. It happens in all the modern androids. My S8+ 5T and now my OP6
My OP6 has no issues connecting to my Pioneer AVH-2330NEX. Just plug it in and AA starts right up. Bluetooth is pretty reliable as well, which is how I connect most of the time.
It usually takes a minute or 2 for my AA to come up on my screen (2017 Charger). Once it's connected, it runs super smooth. But I wish it was a little more responsive once I plug in the cable. Now I have to wait for it to come up before I can launch any app (Maps, Spotify, etc)
I"m going to see if the MTP method makes it connect "faster". If so, I'll look into building a Tasker Profile as well like @azsl1326
azsl1326 said:
So I actually created two different profiles/tasks.
1) Detects when USB power is plugged and then opens developer settings and scrolls automatically to usb configuration and makes the change. This profile/task requires the plugin AutoInput.
2) Uses AutoNotification to detect when there is a notification in your tray stating that the device is being charged. Then it will use AutoInput again to click on the notification and change it to 'USB for file transfer'.
I only attached #1. Import it into to Tasker and see if that works. If not, I can add the second option.
Click to expand...
Click to collapse
This is really close. I had to add one more scroll down step in the developer menu and change the mode to MIDI. It doesn't work 100% though. If the developer options menu is already open, it reopens wherever it was and sometimes the scroll down goes too far... Perhaps there is a more stable way to do this?
Attached is my modified tasker profile.
theman22 said:
This is really close. I had to add one more scroll down step in the developer menu and change the mode to MIDI. It doesn't work 100% though. If the developer options menu is already open, it reopens wherever it was and sometimes the scroll down goes too far... Perhaps there is a more stable way to do this?
Attached is my modified tasker profile.
Click to expand...
Click to collapse
I have another profile that uses AutoNotifications to detect when there is a notification in the tray regarding USB charging. It will then use AutoInput to select this option from the notification tray and change it to 'Transfer files'. I can post that here if you are interested. It does require two paid plugins.
You could add a task to clear recents before running the AndroidAuto task - that way it should ensure that Developers Option screen is no longer active.
azsl1326 said:
I have another profile that uses AutoNotifications to detect when there is a notification in the tray regarding USB charging. It will then use AutoInput to select this option from the notification tray and change it to 'Transfer files'. I can post that here if you are interested. It does require two paid plugins.
Click to expand...
Click to collapse
If it works reliably, I'm interested.
theman22 said:
If it works reliably, I'm interested.
Click to expand...
Click to collapse
Here you go. I think both of these Auto plugins have free trials, so you should be able to try it before you buy it.
Disabling USB debugging has helped me
theman22 said:
Each time I get into my car and connect my OnePlus 6 via USB, I have to change the USB connection type on the phone to MTP in order for Android Auto to connect. Once I change the setting and it connects, Android Auto runs well and stays connected until I turn off my car. Without changing the USB setting, the phone will stay in charging mode and Android Auto does not connect.
My car is a 2016 Honda Accord EX and I am using an OEM cable. The phone is rooted, developer options are enabled, and USB debugging is off. When I go into the developer options and try to change the default USB connection mode to something other than charging, the setting change doesn't seem to take.
Is there a way to automatically use MTP mode when I connect the phone to my car? Or something else I can do to get it connected without having to change a setting on my phone each time I get in my car?
Click to expand...
Click to collapse
I replied to you in the other thread, OnePlus 6 and Android Auto
But to fix your issue, this MIGHT be the solution for you specifically. Setup an appointment with your local Honda dealer, and ask to get Technical Service Bulletin 16-059 installed.
This fixed my issue for my '16 Accord when AA wasn't working at all with my PH-1
Or you can just simply choose this option to mtp as default on USB connection. It's in developer settings.
Berlifan said:
Disabling USB debugging has helped me
Click to expand...
Click to collapse
I have read about this and disabled USB debugging. It does sound like it works for some users but it didn't make a difference for me, unfortunately...
surface13 said:
I replied to you in the other thread, OnePlus 6 and Android Auto
But to fix your issue, this MIGHT be the solution for you specifically. Setup an appointment with your local Honda dealer, and ask to get Technical Service Bulletin 16-059 installed.
This fixed my issue for my '16 Accord when AA wasn't working at all with my PH-1
Click to expand...
Click to collapse
I will go ahead and do this. Thank you for the suggestion!
Joyarup said:
Or you can just simply choose this option to mtp as default on USB connection. It's in developer settings.
Click to expand...
Click to collapse
I've tried this as well. The setting does not seem to stick. It sometimes works the next time I plug my phone into my car but the 2nd time I plug my phone in, the default in developer settings is back to USB.
azsl1326 said:
Here you go. I think both of these Auto plugins have free trials, so you should be able to try it before you buy it.
Click to expand...
Click to collapse
This did not work when I tried it today. I'm guessing there is some difference on my phone that would require the setting to be tweaked. I'll look into this.
theman22 said:
I have read about this and disabled USB debugging. It does sound like it works for some users but it didn't make a difference for me, unfortunately...
I will go ahead and do this. Thank you for the suggestion!
I've tried this as well. The setting does not seem to stick. It sometimes works the next time I plug my phone into my car but the 2nd time I plug my phone in, the default in developer settings is back to USB.
Click to expand...
Click to collapse
Didn't know that..
I had the same issue with a VW Passat 2016, and the solution was to enable USB debugging, and after that everything is working ok.
Unfortunately I'm facing another issue. If I'm initiating a call with the phone connected to AA, usually by voice command, the sound is routed randomly on the headset, speaker and sometime to Bluetooth.
Every time I have to set manually from phone app in AA on the car screen to route the sound to Bluetooth, and this is annoying. . Do you experience this issue as well?
Thanks!

Categories

Resources