Android
Set Default USB Configuration auf Android
By default, Android treats every USB connection as charge-only until you open the notification shade and switch to a different mode by hand. That extra step becomes annoying once you plug the same phone into the same PC or laptop for file transfer, tethering, or MIDI on a regular basis.
The behavior is controlled by a single setting in the developer options, hidden from most users because it is meant for advanced configuration. Once enabled, it lets you decide what the phone should do the moment a cable is connected, without confirming it every time.
To change it, open Settings ➔ System ➔ Developer options ➔ Default USB configuration. Tap it and set the default USB configuration to the mode you use most, for example File Transfer, MIDI, PTP, or charge-only.
This setting only changes the automatic behavior. You can still switch modes manually from the notification for a single session if you need something different just once.
