Iphone 3gs stuck in headphone mode after update?

I have this problem with my iPhone after updating it from 5.1.1 to 6.1. Before updating the phone it is all working fine but after the update it is stuck to headphone mode. I also think that this problem is somewhat connected to my phone being jailbroken on its previous version.So, based on my information what methods can you suggest to my problem? Any answers would be very much appreciated.

Easy fix
keep inserting headphones in and out until it pops out of headphones mode.

  • Somehow, a huge piece of the headphone jack got stuck in the headphone port, and I can't find any I think the headphone type is just a normal iPhone headphone. So ground, audio, mic and some of the plastic, or whatever it is, around it, got stuck in there, and it's not super deep, probably because it's almost the whole headphone jack, but it's still in there. Someone please help! I can't find anything! It's just the headphone jack tip that got stuck for everyone else! It's a laptop.
  • My iPhone 4s is stuck on headphone mode? I did a restart a couple of times. It doesn't work. So now when someone calls me or when I all them I have to put it on speaker. And it doesn't make sounds. It doesn't ring. At all.
  • My iPhone 4S is stuck in headphone mode, what do I do? I can't hear any sound, no sound on any apps and no sound in my music library. The volume bar has disappeared and only with head phones can I hear sound. What do I do?
  • Is my Iphone stuck in headphone mode or is it a broken earpiece? Just yesterday I got a pre-owned Iphone 4S. I was making a test call to make sure that I was connected to the service. I notice immediately that I could only hear the other end when either headphones were in or it was on speakerphone. When I'm not making calls I can hear the clicks of typing and turning the device on and off just fine. I was just wondering if my Iphone is stuck in headphone mode or not and if there's a way I can fix it.