This program finds the SIM unlock code for your Samsung Galaxy S II (SGS2) GT-I9100 device. It requires root / superuser.
Simply install the app, hit the "SIM unlock code" button, wait a few minutes, and it should come up with the code. It can indeed take a while, so plug your phone in the charger before running, and go make yourself a cup of coffee.
!!! IMPORTANT NOTE: On some newer SGS2 devices, it does not work at all. You can try "Galaxy_S Unlock" app from "Helroz", but beware, it's unlock method is much more dangerous !!!
Write down the code, turn off your device, insert a SIM that doesn't match your SIM lock, turn the device on again, and enter the code when the device asks for it.
If the code does not work, do NOT try it again. You might end up with a freeze. The app can also find the unfreeze code, but if the SIM unlock code was wrong ... :)
If it helped you, donate to me and/or Odia (who "invented" the method for finding the code)
IMPORTANT NOTE: Sometimes it says the unlock was unsuccessful. However after a reboot you may still find yourself unlocked. So try rebooting first and actually TESTING if the device is locked or unlocked :)