Solution 1:

That's not possible. You should borrow someone's mac to make a backup and restore it after you factory reset it. Or simply fo to an apple store.

That said, I don't really see why adding a SIM card to an iPhone would reset it. Could you source that ?