sdvmx.over-blog.com/
18 Janvier 2021
Under Android you can define which USB mode should be activated if you want to connect your smartphone to a computer via USB cable.
USB debugging is a function on Android device that enables users to establish a connection between their mobile phones and a computer with Android SDK (software development kit). After turning on the function, users are able to better control over and make use of their devices.
As a possibility are mostly available:
If you want to transfer photos and videos from your Android smartphone to your PC, we often recommend the MTP mode, i.e. the Media Transfer Protocol.
Here we show you how you can set Android to always activate this mode when you connect your smartphone via USB: First, the developer options must be enabled.
Proceed as follows (menu items vary depending on device and Android version):
1. Opens to unlock the developer options in Android settings.
2. Navigate here to 'Device Information' and then to Software Info
3. You now see an entry with 'Build Number'
4. Now quickly tap this entry several times - After about seven taps the developer mode is activated under Android.
The developer options are now active. Now you can activate MTP for USB permanently as follows:
1. Open the Android settings and then the 'Developer Options' (Activate them if not done)
2. Scroll down and select 'USB Configuration'
3. Set the marking at 'MTP Mode (Media Transfer Protocol)'
You have now switched the USB configuration to MTP mode under Android. This means that your Android smartphone always connects in this mode, which means that you can easily transfer files and photos.
If you want to access Android from a computer such as data backup, rooting or file recovery, then you must turn on USB debugging on Android first. Without it, you can't see the device shown up in Windows Explorer. Little video clips. However, the method to turn on USB debugging varies from one version to Another and this is really confused for new users. So we list the method for each Android version, ranging from the easiest Android 2.0 to the latest 6.0. Please check the Android first and follow the instructions below to enable it.
Go to Settings ->Applications and scroll down the screen to find Development option. Then tap USB debugging to enable it.
The steps in here are even easier then the above one. Open Settings app and find Developer options at the bottom of the screen. Then touch USB bugging option and tap OK to unlock it.
In Android 4.2 and higher, the Developer Options menu and USB Debugging option have been hidden by default. So the procedure is little more complicated than the above two methods. You need to unlock Developer options first. Follow the instructions below:

Step 1: Find and open Settings app on your Android.
Step 2: Scroll down the page to the bottom to get the About phone option.
Step 3: Tap the Build number 7 times and you will get this message 'You are now 3 steps away from being a developer.' Once you are done, you will get this message 'You are now a developer'. This means Developer options is unlocked.
Step 4: Now tap the back button to go back to the Settings option and you can see the Developer options below and tap it to get the USB Debugging checkbox and now you can easily enable it by checking the box.
The procedure is the same as Android 4.2. The difference is the UI, which changed a bit from the previous version. I will make it short in here.
Step 1: Navigate to Settings ->About phone.
Step 2: Tap Build Number seven times to Unlock Developer options.
Step 3: Back to Settings and find Developer option. Tap USB debugging checkbox to turn it on.

You should only enable USB debugging option when you actually need it. You should not keep it enabled because it gives the high level access to your device and that could be a security risk for you as an owner of the android device. However, you can easily enable or disable it on your phone once you are familiar with the steps listed above.
