I know this isn't the category for posting this, but give me a sec to explain why it should be here!

I've done everything I found on this and every iPhone forum I could get my hands on with little or no success. My iPhone is condemn to keep this way. I live in Argentina, for those who don't have a clue, its in south America, and I don't have an opportunity to send it to a repair place. I should mail the repair part from the USA and change it myself, but heck I still don't want to open my phone.

So my idea is, there are a lot of hacks to change the way buttons work, to disable them etc... Anyone knows if there is a code or a string where I can set the phone to the way I want to? for example to ignore that the earphones are connected, or to mandatory think they are connected?

Thank you very much for reading and I hope someone has any answer to my prayers.