click 5 times SETTINGS>ABOUT PHONE>MODEL NUBMER and then in DEVELOPER OPTIONS, choose USB SETTINGS> CHARGING|MTP.
click 5 times on SETTINGS>ABOUT PHONE>MODEL NUBMER
then DEVELOPER OPTIONS will be added in main settings (in bottom). Enter there and choose USB SETTINGS> CHARGING|MTP.