Iphone 4 disabled try again in millions of minutes
I have an old Iphone 4, I want to download all the photo's to Iphoto, today when I have turned it on it says Iphone 4 disabled please try again in millions of minutes, have connected to computer and opened itunes which will not sync due to password on phone, if I restore the iphone 4 will I loose all my data, when I got iphone 5 i used icloud to transfer all the data which it did except photo's and music which is why I want to download all the photo's.
Thank you in advance
iPhone 4, iOS 6.1.2