I think i've finally fixed the issue. Basically I flashed the su6.stock.update.nowipe.zip on twrp 5.1.1 and somehow it got past the lock screen. There were loads of errors like com.process.phone has stopped and com.android.systemui has stopped. Slowly I got to settings to check if I what version I was on, it was on 5.0.2. Then I powered down and went to recovery and restored without any glitches apart the time was wrong

Ok so at the beginning of yesterday I flashed a 5.1.1 rom via twrp just to see how the new update is. It was euricoalex rom from xda http://abelhas.pt/euricoalex/Smart+6+Ultra/euricoalex_deodexed,186114386.zip(archive. When I was ready to go back to my original rom that I just came from I did a nandroid restore via twrp. But the thing is the phone boots until "Android is upgrading Starting apps" then I get a blue screen and it force shuts down and restarts over and over again. I thought this may be down to a corrupt restore so I tried out other 5.0.2 roms on this site do the same thing. I have about 7 backups from my previous 5.0.2 rom and none of them seem to work. When I flash 5.1.1 roms they boot normally and everything works fine. The thing is I want to get my data back. So what should I do?