So as Google made this very weird decision that you can't save the usb connection options, I wanted to change this to how it was on Lollipop (MTP enabled as default). So what happens here is that "MtpService.java" is responsible for doing this. If you want to simply enable MTP as default, look at the updateDisabledStateLocked() function and simply set mMtpDisabled to false in that function !
Of couse it would probably be even nicer to just really have the menu in the developer options save the settings and use that, but that would be a bit more work. Anyway, just thought I'd share it here for you guys to enjoy !
Of couse it would probably be even nicer to just really have the menu in the developer options save the settings and use that, but that would be a bit more work. Anyway, just thought I'd share it here for you guys to enjoy !