It is quite possible that dirt and corrosion are the source of your problem , not the speaker. Try replacing the dock connector.
open