Hey guys,
I ran into this problem with my Droid X that I bought from a friend. The phone was brand spakin' new out of the box and had never been used. My friend had got it from his work but they had since switched from Verzion to AT&T. I had it for about 3 months when suddenly the audio from the ear piece stopped working and I could not hear anything however; when I plugged in headphones sound came out. I checked the settings under: 'Settings->Sound->Media Audio Effects' and low and behold it said 'connected' under 'Wired Stereo Devices' when there was no headset/headphones connected. I tried literally EVERYTHING to fix this problem. I did a hard reset, I took out the battery while it was running, and did a few phone restarts for good measure. I also did hours of searching and came across the forum as a matter of fact!
This obviously is some type of hardware issue with the phone. It seems lots of other people are having the same issue. So I called Verzion technical support because my phone was still under warranty. In their wisdom I had "voided" the warranty since I had purchased it from a friend even though he had never used it. What a great company policy!
I started to weap but found a solution! As someone mentioned on here there is a program called: "AudioToggle". It is NOT in the market place. You have to do a manual install but fear not I will guide you to the fix!
1) First go to this link:
Paradox's Junk - Viewing Directory - android
2) Next download the file that says: "audiotoggle.apk". Save it somewhere on your computer where you can easily locate it later.
3) Now connect your android to your computer via USB. Put the file in step 2 somewhere on your phone's SD card. Personally I just put mine into a folder called 'apps' in the root directory.
4) Now on your phone go into 'Settings->Applications->' and check the box that says 'Unknown sources'. Normally android will block applications that are not on the Android Marketplace.
5) Finally, go into 'Menu->Files->SD Card->' and find the 'audiotoggle.apk'.
6) On your phone click on the 'audiotoggle.apk' file and it will install the 'Audiotoggle' application. It might give you some warnings about how this application is not certified, etc but just hit 'OK' or 'continue'
Wala! Once installed your ear piece speaker should now work again. I have been using it for the past 3 days and it has worked marvelously. Only issue is that you are unable to toggle the earpeice/headphone off and on. To use the headset/headphones I think you would probably have to kill the 'Audiotoggle' process and it would work through the headphones. This program is manually telling the phone that the headset is not connected.
It is kind of a hassle but it works! For me it was that or..spending $300-400 on a new Droid X. I plan to revamp this application a bit and make a 'toggle' button but it works for now.
Sorry for the long post! Hope this helps!