WARNING:This method involves WIPING all the data on the phone and that’s why I recommend you should take care and pay more attention at the steps regarding backups and restoring those backups.
All the credits go to raskal (XTC Clip) for providing the diag file (not mentioned anywhere else, but important I think) and Revolutionary team for achieving S-Off.
If your device is still S-on start from step 1, otherwise, if you already have a custom recovery, start from step 5.
1. Go to http://revolutionary.io and download the latest version of their tool. Please note that you require a beta key to run the application, which you can get from their site after entering the serial number of your phone (you can get if from Settings>About>Phone ID).
2. Enable ADB for your phone: go to Settings>Applications>Development and check USB Debugging.
3. Connect your phone to the computer via USB cable, run Revolutionary (which you’ve just downloaded), let it discover your phone, enter the beta key and let the app take its steps. It will reboot your phone a couple of times, after which you’ll have S-OFF and their patched bootloader.
4. If everything goes according to plan, you’ll be asked to agree on downloading and installing a custom recovery. You should choose to do so in order to take the next step:
5. BACKUP your data: power off your phone, press Volume down + Power button to get into bootloader, press volume down to reach Recovery and press Power button again. This will boot your recovery. On its menu navigate to “Backup and Restore” and choose to backup.
6. Download PG58DIAG.nbh and copy it on the root of your SD card. (Can also be done via recovery by USB-MS mounting or by using a card reader).
7. Make sure the USB cable is not connected to your phone and boot again to HBOOT (Volume down + Power). Your phone will now load the file form the card (XTC Clip users should be familiar to this). It will ask you to place it on horizontal surface for calibration.
8. Press power button to select “Clean S58 Data” and press Power button one more time to actually clean the data. After this step, the phone can only be restarted by pulling out the battery. Also remove the diag file from the sdcard to avoid loading it each time you go to hboot.
After all this steps, your phone will be sim-unlocked and its CID set to 11111111, but also wiped out. If you restart to android, it will set up as if it was after a factory reset.
9. If you wand to recover your previously backed-up data, reboot again to recovery and restore your nandroid.
Bear in mind, though, that in certain circumstances you’ll lose your data or network connectivity. You’ll just have to check your APN, network type & so on;