1) Jailbreak the iphone 3GS on iOS 5.0.1.
2) Make sure Ultrasn0w is NOT installed, if it is, uninstall and reboot. Remove SIM just in case...
3) Replace old CommCenterClassic at /System/Library/Frameworks/CoreTelephony.framework/Support with newly-patched iOS 5.0 version from Wortel.
This is done by SSHing to the device from your Mac/Linux box. Install OpenSSH on phone if needed, and remember to change from default password (alpine)(command passwd) if you do.
4) Run "ldid -s CommCenterClassic" and "chmod +x CommCenterClassic" in MobileTerminal on iPhone or via SSH from your Mac/Linux box as root user (Command: su).
5) Double-check that the permissions for the patched file are set to 755.
6) Install Ultrasn0w, reboot device, insert SIM and hope for the best.
Bookmarks