Gallery is not opening
Your phone has malwares that hide files by adding a .nomedia file in every folder, and such folder should not be scanned and indexed by multimedia players.

Download ES Explorer, go to its settings and enable Show hidden files. Afterwards browse to every location where your photos, videos, music are stored and you should see a .nomedia file, delete it. Your files should now appear.