[Q] USB debugging "permanently on" question - EVO 4G Q&A, Help & Troubleshooting

Are there any reasons why I should turn off the "USB debugging" setting? For example performance or security or battery-life or more?
Thanks again for any ideas!

i looked through my processes(with the USB on and off) and found nothing associated with it that draws power or uses memory...although there may be a process that runs while the device is connected with a computer or other usb source

Thanks for your quick response. So there is apparently no performance/battery impact. That leaves the question of security?
Is it secure to leave this setting on?
Sent from my PC36100 using XDA App

Should be, unless you set it up for wireless debugging either manually or through an app. Then its not entirely secure, though someone would need to know your ip address and have adb to do anything.
Sent from my PC36100 using Tapatalk

a2sd turns on usb debugging permanently?
Don't think I want USB debugging on all the time. Seems like a great new way for future malware to jump from your friend's laptop when you've just plugged in to charge.
Since I flashed a2sd (dtapps2sd-2.7.5.2-1-signed.zip) USB debugging seems to be always on. It shows in notifications, but not in the settings gui (settings -> applications -> development).
Is this normal? Anyone know a way I can stop it?

It is better to turn off USB debugging.
What you see is not normal Maybe it is just a glitch. I would reboot the phone.
You could also try to connect via adb to see whether it is really on.

Related

USB to PC settings

Please excuse my ignorance but can anyone explain what the option under USB to PC "Enable Advanced Network Functionality" does?
I believe I have to select it if I want to connect my PC to the Tytn to use it as a modem.
Is there any reason why this shouldn't be selected all the time?
Thanks
colin_thames said:
Please excuse my ignorance but can anyone explain what the option under USB to PC "Enable Advanced Network Functionality" does?
I believe I have to select it if I want to connect my PC to the Tytn to use it as a modem.
Is there any reason why this shouldn't be selected all the time?
Thanks
Click to expand...
Click to collapse
I am not exactly sure what it does, but if I have it enabled, I cant sync my PDA at work. So I keep it disabled as soon as I install a new OS.
Interesting. It doesn't seem to affect whether I can sync or not. It also seems to be bizarre to have a single setting on a control panel.
Anyone else know what this setting is meant to enable or prevent?
Like the previous post, I'm not completely sure what the functionality of this setting is, but it may be the ability to use the phone as a modem using the remote NDIS (RNDIS) architecture.
Both my co-worker and I need to remove this check in the setting or our latptops will very quickly become frozen, and we have to do a hard reboot.
stangeek said:
Both my co-worker and I need to remove this check in the setting or our latptops will very quickly become frozen, and we have to do a hard reboot.
Click to expand...
Click to collapse
Thanks for your experiences. I too have noticed that the syncing can take longer and seems to use resources when networking is enabled, and at other times it's fine, though I've not had any total freezing of the PC. Is it the laptops that have to be rebooted or the Hermes?
RNDIS is a more robust connection over serial. It also allow you to utilize Internet sharing instead on Wireless modem. The phone will show up under device manager as a network adapter instead of windows mobile based device.
USB to PC Connection Types
"Enable Advanced Network Functionality" - Checked (RNDIS)
"Enable Advanced Network Functionality" - unchecked (Serial USB)
Hope that helps.
colin_thames said:
Thanks for your experiences. I too have noticed that the syncing can take longer and seems to use resources when networking is enabled, and at other times it's fine, though I've not had any total freezing of the PC. Is it the laptops that have to be rebooted or the Hermes?
Click to expand...
Click to collapse
It's the laptops that have to be rebooted. They become completely unresponsive---not even the mouse moves!
alucardlive said:
RNDIS is a more robust connection over serial. It also allow you to utilize Internet sharing instead on Wireless modem. The phone will show up under device manager as a network adapter instead of windows mobile based device.
USB to PC Connection Types
"Enable Advanced Network Functionality" - Checked (RNDIS)
"Enable Advanced Network Functionality" - unchecked (Serial USB)
Hope that helps.
Click to expand...
Click to collapse
Indeed it does, though I wonder why serial USB is offered at all? (I haven't found an 'official' line from MS) Or does this 'robustness' offered by RNDIS come at the cost of syncing being more prone to problems? The experiences of stangeek seem to suggest this. So perhaps RNDIS is only useful when I need to connect to the internet through my pocket pc. Is this right?
(Incidentally, I have a slightly connected question about syncing which I'll put into a separate topic)
Cheers
Colin
is there a registry entry that we can manipulate at time of cooking to have it turned off?
Change HKLM\Drivers\USB\FunctionDrivers\DefaultClientDriver to Serial_Class

usb bug?

Hey guys. I have been using cyangen RC rom and I have a problem. I use.my phone to tether. When I plug it in I get USB and USB debugger and tether works fine built in froyo. If I disconnected however and replug my USB in I do not get USB nor USB debugger to show up even if I go into the menu and try to turn them on myself. Because of this for some weirs reason the built in tether wont work unless both of these are on which forces me to reboot my phone everytime. Wtf is going on?

USB debugging not an option?

I have USB debugging checked in Settings-->Applications-->Development. However, when I plug my phone into my computer via USB, it simply says "Charge Only. When I click the "Charge only" on the notification bar, my only options are: Charge only, HTC Sync, Disk drive, and Mobile Broadband Connect. What's the deal here? I have done USB debugging before....
If USB debugging is on under development settings it should automaticly start USB debugging when you insert a USB cord into both your computer and phone.
There is no menu in the sense nptification interface that has that option but i may be wrong. I haven't used sense since i got my phone.
Sent from my Incredible using Tapatalk
Hmm, then if I have USB Debugging checked, why doesn't it automatically go to USB Debugging when plugged in? Does it matter what ROM I have?
I dont believe your ROM matters but as linuxmotion said, once enable it should automatically turn on once you plug your usb in. It should be on whether you pick charge only or disk drive, etc.. without you having to do anything.
look for a notification about usb debugging when plug your usb in, you should see one if you enabled it in development.

[Q] connect to PC problem

When I connect my evo to my pc via usb it only charges the phone, it won' allow me to access my evos harddrive or sync or tether. Is there a simple setting that I'm missing? I'm not rooted and running GB 2.3.3. Sorry but I'm a noob and would appreciate some help.
try going into settings and look for the connection type. you can change it. its probably just set to charge only and not ask. Don't know where in settings exactly cuz i haven't rocked sense since...since...since....
Can it have anything to do with usb debugging being enabled or not?

Galaxy s ii 4g epic touch USB Mass Storage

Good Morning,
Is there any way to enable USB Mass Storage on the Sprint OTA version of ICS on the Galaxy S ii Epic Touch 4G? If not how do I go back to Gingerbread as not having USB Mass Storage is a deal breaker for me. Any help would be most appreciated as I'm am freaking out.
Do through your settings its there. You have to read and look at your options ahead of time. Download sfhubs ff18 no data and it will make mass storage default when you hook it up to your comouter
Sent from my SPH-D710 using xda premium
Thanks for the info but it's not there
daniel4653,
Thanks for the reply. Under Gingerbread the USE Mass Storage option was under "Wireless and Network". I went and looked at the settings under "Settings", "Wireless and Network" and here is what is available.
Wi-Fi- Toggle
4G Settings Toggle
Bluetooth Toggle
Data Usage
More....
Under more...
Airplane Mode
Kies via Wi-Fi
VPN
Tethering <--- This option only addresses USB internet connection sharing
Wi-Fi Direct
Mobile Networks
Roaming
There is no option to connect my phone as a Mass storage device. Thoughts?
mute1 said:
daniel4653,
Thanks for the reply. Under Gingerbread the USE Mass Storage option was under "Wireless and Network". I went and looked at the settings under "Settings", "Wireless and Network" and here is what is available.
Wi-Fi- Toggle
4G Settings Toggle
Bluetooth Toggle
Data Usage
More....
Under more...
Airplane Mode
Kies via Wi-Fi
VPN
Tethering <--- This option only addresses USB internet connection sharing
Wi-Fi Direct
Mobile Networks
Roaming
There is no option to connect my phone as a Mass storage device. Thoughts?
Click to expand...
Click to collapse
Get USB switcher app
Sent from my SPH-D710 using xda premium
mute1 said:
Good Morning,
Is there any way to enable USB Mass Storage on the Sprint OTA version of ICS on the Galaxy S ii Epic Touch 4G? If not how do I go back to Gingerbread as not having USB Mass Storage is a deal breaker for me. Any help would be most appreciated as I'm am freaking out.
Click to expand...
Click to collapse
See the FAQ in the FF18 ODIN OneClick:
http://forum.xda-developers.com/showthread.php?p=27635584#post27635584
c2) What happened to USB Storage in ICS, how do I get the old GB behavior back?
Turn off USB debugging mode. Plug it into computer and wallah.
On my stock setup, it stays in MTP mode whether USB debugging is enabled or disabled. In GB if you turned on USB Debugging, it automatically switched to Mass Storage mode, but in ICS it stays in MTP mode.
sfhub - that solution is for rooted people. My phone is not rooted. It cannot be per work regulations. I would use MTP or whatever if it worked, but my computer sees a camera and I can only access the DCIM folder. I need to be able to access my phone. No point in an SD card if there is no way to put things on it.
-c
ccattie, Can you be rooted for a few minutes? Just root change the setting and unroot
I don't know - I think I will try and see if MTP (it doesn't work on my phone for some reason) will work before I try that. Don't want work finding out.
someguyatx said:
ccattie, Can you be rooted for a few minutes? Just root change the setting and unroot
Click to expand...
Click to collapse
Maybe its your pc, mine works fine on mtp with Windows 7 but there are mtp patches for older versions of windows like this one http://www.microsoft.com/en-us/download/details.aspx?id=19153
My issue is with my car, I have use port and it doesnt support mtp only usb
ccattie said:
sfhub - that solution is for rooted people. My phone is not rooted. It cannot be per work regulations. I would use MTP or whatever if it worked, but my computer sees a camera and I can only access the DCIM folder. I need to be able to access my phone. No point in an SD card if there is no way to put things on it.
-c
Click to expand...
Click to collapse
I might have put in the Auto Root menu that it requires root, but I don't think it actually requires root. You can just try it in an adb shell, the link above gives instructions to type 2 lines to enable USB Mass Storage mode.
You can also try the switcher app referenced in the link above and in a few posts on this thread.
BTW my MTP mode shows the sdcard when I tried it on XP (I think it shows up as phone or something like that). It was just slow transferring large files.
mute1 said:
Good Morning,
Is there any way to enable USB Mass Storage on the Sprint OTA version of ICS on the Galaxy S ii Epic Touch 4G? If not how do I go back to Gingerbread as not having USB Mass Storage is a deal breaker for me. Any help would be most appreciated as I'm am freaking out.
Click to expand...
Click to collapse
USB debugging is located in the Developer Options in the settings. If I'm reading it correctly you said you couldn't find it. It's there at the top of the list under Developer Options.
Sent from my SPH-D710 using Tapatalk 2
Wait, nevermind sorry. USB debugging and mass Storage. Got the two confused lol
Sent from my SPH-D710 using Tapatalk 2
My MTP issue is resolved, so I am fine for now. I had to run some Microsoft updates and it made my MTP start working.
-c

Categories

Resources