Sorry i can't help you with the shutting off problem. If your phone is out of warranty if you have one, why not try Rooting your phone, as their are lots of backup/save options available. I rooted my phone using the "Unrevoked method". Goto unrevoked.com. Once rooted you can use "Rom manager and Titanium backup" to backup and restore all data and settings.If you wish to go down this root do your checking first to make sure it is right for you. There are plenty of tutorials on youtube for you to check out. Good luck
What is ransomware and how do I protect my PC from WannaCry?