Erase unlocked iphone without password
I was given an iphone that was dropped and dead. I dried it out and got it working. The screen is still cracked but I don't want to repair it if I can't remove their account. It's not locked but the person who gave me it is still logged in and I can't wipe without their password. It is still on ios 10
I read a bunch of posts on here where they want to bypass the icloud lock, but mine is not locked I just can't log them out.
Can I do a restore using the ipsw and erase the phone and remove their account without their password? Or any better way to log out without their password? Or is this considered icloud locked? I'm not an iPhone user, they gave me it to tear apart.
I am already disliking iphones
Read responses in forums.macrumors.com