Use a legal streaming service's free tier to cache the songs.
If you are looking to build a massive collection on your mobile without breaking the law or risking your device's security, here are the best legitimate avenues: A To Z Malayalam Mp3 Songs Free Download For Mobile