How do I make my phone stop starting in charge only mode when I plug it in?
At least on my device, it is a default behavior and cannot be altered. It was brought in with Android 8 and is same on 9 and 10.
The default USB connection mode is always charging. You need to manually enable the file transfer mode when needed.