File transfer: Allow all types of files to transfer from your phone to another device.
USB tethering: Share your phone's mobile data connection with another device.
MIDI: Connect electronic musical instruments.
PTP: Allow only photos to transfer from your phone to another device.
No data transfer: Charge battery over USB.
The default USB mode is No data transfer, which means your connection is charging the phone only. To allow your phone to communicate across USB for anything other than charging the phone, you need to change the USB connection mode.
Connect your phone to another device using your USB cable.
You'll see a pop-up that lets you choose the connection mode.





If you don't want to see a pop-up with choices of USB modes when you connect your phone to a device, you can turn the pop-up off. The mode defaults to No data transfer, for charging. And to change modes, you can use the notification or Settings app.
To turn off the pop-up:
