Anyone knows how to restore the unlocked phone to it's original firmware ? (becomes locked again)

I think something might have gone wrong here ...