How to Create an iOS 5.1 Custom Firmware for 3Gs/iP4 Using Redsn0w 0.9.10b8b MAC/WIN
This thread will give a step by step tutorial on how to create an iOS 5.1 Custom Firmware which prevents baseband update using Redsn0w 0.9..10b6.
The CFW created is NOT pre-jailbroken. Run redsn0w again and choose jailbreak to jailbreak after the CFW restore. Click this for Redsn0w Jailbreak Tutorial.
Those with 6.15 baseband ALWAYS needs to restore to a CFW or else you will have an unstable baseband.
Here are the download links:
•redsn0w 0.9.10b8 for OS X
•redsn0w 0.9.10b8 for Windows (be sure to run in Administrator mode)
[/quote]
and
5.1 ipsw for your iPhone Model
1. Launch redsn0w.app, click extras.
2. Click Custom IPSW.
3. Browse for your pre-downloaded 5.0.1/5.1 ipsw, click open.
4. Redsn0w will start creating the CFW.
5. CFW created. It will be in the same folder where you browsed the ipsw. It will have "NO_BB" on its filename. DON'T STOP YET!
6. You now need to place your device in pwned dfu in preparation for CFW restore, or else it will throw a 1604 error. Go back to extras and click pwned DFU.
7. Follow on screen instruction by turning off before clicking next. If you know how to manually DFU, do it now and it will skip these steps.
If you did it wrong, it will prompt you, repeat step 7.
8. If you did it right, you will see a pineapple on your device.
9. Now launch iTunes, it will detect your device in recovery mode. Press option + click restore then browse for the Custom Firmware. Remember that the Custom Firmware will have a "NO_BB" on its filename.
10. Your device will then restore. If you encounter an error, don't panic.
Click this for iTunes 1600/3194 (This Device is Not Eligible for Requested Build) restore error cause & fix. For other errors, see
FAQ
11. If it boot to activation screen (emergency calls only), run redsn0w again and choose jailbreak to hactivate. Then follow onscreen instructions. Done. You should now have a device on iOS 5.1 but retained your original baseband. Install ulrasn0w thereafter to unlock if your baseband is supported.
Since 5.1 jailbreak is currently tethered, you need to run redsn0w/extras/just boot tethered on EVERY reboot or else safari/cydi will fail to run.