Hey Ben,
So just to clarify.. You wrote
"But you were right, you didn't have to create the scripts folder, I forgot to mention that."
Im assuming you meant "DID"
anyways...
So it wasnt working for me.. I checked and I had everything set correctly and all permissions set to 0777. So I deleted everything and started over. Did everything step by step and now it works.. lol
For newbie steps do this...
1: If you havent jailbroken your iphone then you have to do that.. If you dont know how to then google is your friend.
http://blog.iphone-dev.org/
2: Open Notepad and paste this into the body
Code:
<?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>
Save this file as
com.SoundFix.plist
and make sure that when it saves that notepad doesnt automatically add the .txt extension. you should only have the .plist extension. It is case sensitive as well
3: Open a blank page with notepad and add this to the body
Code:
#!/bin/sh
touch /dev/tty.iap&
sleep 1
killall touch
Save this file as
ResetAudio.sh
again make sure that the extension is .sh and not .txt and also it is case sensitive.
4: Ssh into your iphone
http://www.youtube.com/watch?v=4ryiOUzgNfY
5: find folder
<root>/Library/LaunchDaemons/
6: Copy the com.SoundFix.plist file into this folder and then right click on it and go to properties. Set the permissions to 777 and click Ok.
7: find folder
<root>/Library/
and create a new folder called Scripts. Set the permissions on the scripts folder to 777 as well.
8: find folder
<root>/Library/Scripts/
9: Copy the ResetAudio.sh file into this folder and then right click on it and go to properties. Set the permissions to 777 and click Ok.
10: Press the home and power buttons together and hold until the screen turns off and you see the apple logo at startup. Release them both.
11: The pop up will come back when you "slide to unlock" and then will almost immediately disappear. Your sounds should all work correctly!
Thanks so much Ben for this as many of us have been waiting for a LONG time for this fix. Would you be interested in putting this up in Cydia?