This guys blog here has instructions on what to do if you have the "headphone jack glitch" where your earpiece doesnt work.
palmbrew.blogspot. com