Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
SoundFix in iPhone4

So I also message zodttd and his response hinted at a fix. I'm guessing that was is happening is that there is in fact an hardware issue, and there for the phone thinks something is connected and hence locking the serial port.

I ssh'd into my phone and did a simple "touch" on the serial block device. Nothing happened and in fact the command was being blocked. So I killed the process and voila, my sound was back.

Next I had to get this to happen every time the phone was unlocked. I'd explain it but its easier to jsut tell you how to do it.

I created a file called "com.SoundFix.plist" with these contents:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.SoundFix</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Library/Scripts/ResetAudio.sh</string>
</array>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>UserName</key>
<string>root</string>
<key>StartCalendarInterval</key>
<dict>
<key>Minute</key>
<integer>1</integer>
</dict>
</dict>
</plist>

I placed that file in /Library/LaunchDaemon

After that I had to create this script: /Library/Scripts/ResetAudio.sh

looks like this.

#!/bin/sh

touch /dev/tty.iap&
sleep 1
killall touch



And make sure that the permissions are set to be executable.


Restart your phone and you are done.

*** The script isn't perfect, so you might get the pop up once after unlocking, but you will have sound immediately after that. I'm working the kinks out.

Spread the word,

Ben

Hi Ben

Thanks for giving this superb fix but unfortunatelly it is not working on my iPhone 4 with iOS 4.3.3 for permanently

Can you please help me to fix it?

When i am executing it shell script "ResetAudio.sh" in ssh comand window it is working fine but after some time when unlocking the phone from the stand alone mode, again the same issue arise. No Sound at all.

Help me dude !!!
 
Thank you

OMG I LOVE YOU GUYS NO HOMO !!!!!!!!!!!!!!!!!!!!!!! No other solution worked for me <3333 thank you, im overseas and theres no apple store here where i can replace it, and the repair store wanted 300$ :mad: but i cant thank you enough, this has been annoying the hell out of me !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!:mad: THANK YOU
 
Try this

Mine too. It's the most annoying piece of crap-message... does yours also turn off the "speaker" sounds when the message appears? IE ipod-music will stop but it will still ring if someone calls you.

I had the same problem, I suspect it was caused due to a drop of soda dripping into the dock port. I turned the phone of, cleaned it verý carefully with a q-tip with a drop of saline and then blasted it with compressed air. finally I plugged it into a Apple usb docking cable (a bit forceful) a couple of times and that solved it. I think it just needed a roughed cleaning of the free circuit bits in the dock port.
 
I just updated my OS on my 3GS to 4.3.3, and some of my Energizer battery pack/cases started to give this error along with no soound etc..

This happened before with the 3.1.3 OS, and this fix (or similar) also worked there..

my file was in the location
/Library/PrivateFrameworks/IAP.framework/Support/

all my accessories seem to work OK...

So I think it depends on WHY you get this message... if your device has an issue (dirty/wet etc..) then this "fix" will only stop the error from popping up...

It will not make external devices work, if there is a real issue with your device.. then it needs to be repaired.. but in my case the power pack thinkgy is what has an issue, so this fix allows it to still be used with my phone without any issue, and that popup stops popping up


I made BU dir, and moved the file in there (see picture)

Hope that help someone with their issue!

This fix worked perfectly for me, Thank You! I was having same problem battery pack plugged in would give the error and make sound shut off, did this simple edit and it worked perfectly running 3g 4.2.1 JB
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.