I download music and some of my old music is erased
That's odd. Are you using any cloud storage app or anything like that?
I Dont know but my device only deletes my music when I do a system update