I really feel that to continue to use it when it was being,as you put it,tempremental rather foolish. Particularly when you seem to be using it for your college work. I have no doubt that there is software that may help, unfortunately I cannot recommend any personally. But I think an investment of a few quid in a decent USB stick would be advisable.
OnePlus 5 review