Can't restore iPhone in order to downgrade
I might have idea but that’s risky - you need to JB your iphone, then use official JB uninstaller (this one in cydia) - it automatically makes factory reset and bypasses even configuration profiles (it just deletes all user’s files - settings, apps, etc. , same as factory reset) .