How to set the default USB behavior in Android 10
When you plug something into your Android device, it will behave in accordance with how you have configured the action. With Android 10, you have five options:
File transfer/Android Auto: Transfer files to and from PC/Android or
open Android Auto.
USB tethering: Behave as an external network interface for the PC.
MIDI: Used when connecting your phone to a MIDI device (such as a
digital keyboard).
PTP: When connected, your device will appear to the PC as a digital
camera.
No data transfer: No action taken.
Steps to change the default USB dehaviour in Android 10:
First, you are going to want to enable Developer options
- Open Settings. Tap About Phone.
- Scroll down to the bottom.
- Tap Build Number (seven times) until you are informed that
Developer Options have been enabled.
Now that you have Developer Options enabled, you can set the default USB behaviour.
- Navigate to the developer options: (System > advanced > developer options, may differ from device to device)
- Within Developer options, navigate to (in my case) Networking >
Default USB configuration