Upgrading an iphone 4 ios 5.0.1 to ios 5.1.1

I have an iphone r which is jailbroken on ios 5.0.1 and unlocked with SAM
I wld like to upgrade it to ios 5.1.1 but at the same time keeping my baseband which is 4.11.08 and also keep it still ulocked.
Any help on how to get this done with loosing my unlock or changing my baseband in the process
Thank you
You need to have your SAM activation ticket stored somewhere.

You need to create a custom IPSW with "stitched blobs" using the SAM ticket - using Redsn0w.

You need to jailbreak with RedSn0w and then restore on iTunes using the stitched IPSW you created.

Then go on Cydia, add the "bingner" repo and download "SAM prefs" to get back your unlock.

Watch this for complete instructions :
Upgrade SAM Unlock Jailbreak iOS 5.1.1 UNTETHERED from 5.0.1 iPhone 4S, 4, iPad 3/2 - YouTube
Cookie from cydia will also save your lockdown folder. You can manually save it using ssh as well.
Thanxs a lot... I ave saved my unlock ticket with redsnow wid filename fockdown.zip

Now downloading the ipsw for ios5.1.1 in order to perform the upgrade
Would give feedback when am done
Great, we'll wait for that! 🙂
Do i need to install sam on ma iphone b4 i restore mu activation tickets

Original thread: https://forums.imore.com/threads/upgrading-an-iphone-4-ios-5-0-1-to-ios-5-1-1.237321/