I did the "If you have never synced your device with itunes, or you do not have access to a computer" section on "forgotten passcode..." page. It says that the iphone is restored, but the passcode is still there... However, this device haven't been synced here on my computer because this device was my godmother's, she gave me this and she bought her iphone5, anyway, before she gave it to me she changed the passcode for her to use her old passcode to her new iphone, now, she can't remember the passcode she set on her old one. Another problem is, she has her new laptop,too, and this device is synced to her old. She also never used her icloud backup... I can't open this iphone in any way stated on the forgotten passcode page. Please need help, thanks.
Restore the phone as new. If she did not turn off Find My iPhone, then you will need her to put in her Apple ID and password to turn that off to finish the restore. If the passcode is still there, then you did not restore the phone as new.