Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_3 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7E18 Safari/528.16)
Is there any way to install afc2 if cydia is not working
This should probably be in the Hacks forum, but I would recommend using Redsn0w to do a tethered boot with your iPhone. Then try running Cydia while it is tethered. Should work that way.