New update guys!
I contacted ZodTTD author of Quake4iphone and he responded :
Quake4iphone may have some init code for a gamepad controller add-on I'm working to get up and going. The controller addon uses the dock connector. I will see about getting that code to you, if you're interested in it. I have some open sourced version of the code I can share. If it is what Im thinking, it could be as simple as opening a bsd device serial port connection properly. If not, it's something more complex in my code.
Which thread should I respond to?
Keep in touch,ZodTTD
I directed him to respond to this thread http://forums.macrumors.com/showthre...71#post6346971 so hopefully we'll hear from him soon. Please note that I'm not very savvy when it comes to code, so if anyone here could help out with ZodTTD that would be great!
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">
I placed that file in /Library/LaunchDaemon
After that I had to create this script: /Library/Scripts/ResetAudio.sh
looks like this.
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,
Way to go Ben!
Looks like we're on the right track. I wish I could help out in terms of coding and scripting but I have no clue with that stuff. I hope others who have knowledge in this can help you out!
Hopefully in the end, we can find a fix and package it onto Cydia or something so that we have a one-click solution for all us coding newbies.
Hi everyone, i wanna share my experience about the speaker problem you report, my iphone is 2G 2.0.1 and sudenly "I received This Accessory Is Not Designed For iPhone" pop up message then i thought that maybe some games i installed caused the problem, the speaker didnt worked but i was able to hear the ringtone and hear troughtout the earsphones, I decided to search a litle bit and I heard some problems of another users that maybe the rain could have caused, and then I realized that actually two days before I was carring my iphone in my pocket and sudenly a rain caught me in the midle of nowhere (hehe ).
So i decided to dry the pins conectors only with the help of a litle machine compresor in order to blow some dry air and it worked fine, now the iphone works flawless.
I hope this can help some of you guys.
P.D.Sorry for my english, is not my native language
Yes i also get the damned popup every time i unlock my iphone.
My iphone fell in the sink when i was washing my hands and somehow got water spilled. not a lot i think i remember but enough to get this message all the time.
It has been nearly 2 weeks and the message "This accessory is not designed to work with iPhone" still appears, i have tried blowing air with a hairdryer, leaving my iphone on top of the heating radiator, opening the cover, brushing the connector to remove humidity or debris, but message still appears.
I somehow think it appears less often, so that makes me think there is moisture inside, but i am not sure if this is a fatal permanent error or something that can be fixed.
Please help someone expert!
have tried in so many forums, but nothing really clear to fix the issue!
many thanks in advance!
ps. It is a 2G iPhone with 2.1 software unlocked, jailbroken.
same thing happened to me after I soak my iphone in some coke. Guess the message would stop after the residue dries out.
this same thing is happening to me... my phone rings and i can turn up and down the volume (although the audio symbol doesn't show the bar is going up or down, it's actually missing now). however, i can not play music from the phone unless it is plugged into a docking station.
i guess it could be worse, but i really like being able to play music from just the phone itself. did anyone ever figure this out?