Disable Docking Feature

From wikinotes

I'm not entirely sure why, but I had problems with my iphone thinking it was always in docked mode. Occasionally I could clean out the docking pins and it would work but soon enough it would alway default back to thinking that it was docked. In iOS 6.2 I was able to disable the docking feature (muting sound, not charging) but modifying one of iOS's service files:

### This will disable the service that mutes the audio
mv /system/library/LaunchDaemons/com.apple.iapd.plist com.apple.iapd.plist-orig