Your iPhone 4 on 5.1.1 can be JB using the latest versions of redsn0w or sn0wbreeze. Unlock your 3.10.01 BB by using a Gevey sim interposer, an unlock from the original wireless provider or and aftermarket IEMI unlock.
If you're still on 5.1.1 w/ the 3.10.01 Baseband... you're only unlock options are the three I mentioned before. The Gevey is more than likely giving you problems because it's not an official Gevey product... more than likely a knock-off. Official Gevey products can be purchased through Applenberry.com
UltraSn0w's last support for the iPhone 4 is baseband 01.59.00. Any basebands above that are not supported. I would recommend getting a carrier/IMEI unlock to keep the unlock permanent in case you have to restore or want to upgrade your iOS in the future. The Gevey for the 4S is getting all the attention for updates at the moment TBH.