LineageOS 16 USB Preferences - LineageOS Questions & Answers

Settings -> USB Preferences
I set this to 'File Transfer'. However, every time I unplug the USB cable, it reverts back to 'No data transfer'. Never seen this before on other Android images; the preference always remains set.
Is there a way to make this setting stick, or is this a bug?

claytoncarney said:
Settings -> USB Preferences
I set this to 'File Transfer'. However, every time I unplug the USB cable, it reverts back to 'No data transfer'. Never seen this before on other Android images; the preference always remains set.
Is there a way to make this setting stick, or is this a bug?
Click to expand...
Click to collapse
Tried the setting in developer options? Default USB configuration

kurtn said:
Tried the setting in developer options? Default USB configuration
Click to expand...
Click to collapse
Settings -> System -> Developer options -> Default USB Configuration
The only options found here refer to Bluetooth options. There is nothing there regarding USB; which is odd...
OK, wait... Did not realize you had to tap on the entry to expose the options. Now I see. Thank you.

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

[Q] Default selection on USB plug-in

Is there any way to change the default selection when plugging in the USB? Right now if I plug it in and don't select any of the 5 selections it defaults to trying to connect to htc sync. I'd prefer the default be charge only.....any help? thx
Settings / Connect to PC / Default connection type
Thx a lot!!!

[Q] USB debugging "permanently on" question

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.

Default USB connection type

Can the default connection for plugging into your computer be set to "File Transfer" mode? My device always registers as "charging only" and has to be changed in the USB pull down window.
That is a security feature of MM so no, you cannot change it.
In Developer Option, you can change the default to MTP but it's still going to show Charging default on connection to PC via USB.

Fire TV (gen 1) can't change settings under ethernet connection

I have an original AFTV gen 1 running the latest (end of Aug) software.
I have it connected via an ethernet cable, but need to change the DNS sever settings.
If I go under Settings/Network it shows the ethernet connection and it lets me go through the settings and I can enter the changes (new DNS settings) that I want. At the end it lets you press the "play" button to save and it looks like it works.
But when you go back to look at the connection the changes are not saved or applied - I have tried this repeated times - but no luck.
There is an option to 'forget' the connection. However it doesnt appear you can remove the ethernet connection.
I disconnected the ethernet cable and the device switches to wifi - I managed to set up a wifi connection and specify my custom DNS entries, but would really prefer it to be using the ethernet connection because its usually more responsive.
I had thought about doing a full factory restore, but dont really want to have to set all my apps up again - and there is no guarantee that it will let me change the DNS settings anyway.
Anyone got any good ideas or suggestions?

Categories

Resources