I had this issue

i jailbreaked 1.1.1 and unlocked it with anysim1.1

accidentally i upgraded to 1.1.2 and it was deactivated again

i tried restoring to 1.1.1 but phone was still in DFU mode,

SO i downgraded to 1.0.2 and then again restored 1.1.1.

i was able to jailbreak and unlck again