Remove Apple ID

Dear

recently i have bought used i phone 4s and i unlocked and upgraded on IOS7 ,after that i tried format my phone and its asking apple id and password , which i dont know how to trouble shoot this problem is there is a way ??

Appreciate your help

Regards
Have to setup using recovery Mode.


iOS: Unable to update or restore
You just bought the phone used which means that the person was using Find my iPhone and neither they nor you turned it off before reloading the OS. This means you will either have to get in touch with the person you bought the phone from and meet them so they can put in their password to unlock the phone or you will have to take it to a genius bar and hopefully be able to sort it out. This is the new activation lock in effect.

Original thread: https://forums.imore.com/threads/remove-apple-id.268931/