lols i also have no idea why. the previous problem was solved, silly mistake on my part :S
But the earphones, no idea what to do lol! just does not detect them. Previously was on AOKP and no problems there :S
tried re-booting the phone same thing :S
I had the same scare. I couldn't get any headphones working, and just could not get it working for the life of me, RSDed, Flashed GB, ICS, etc. Pissed the heck out of me. I had the phone for 3 weeks, didn't want to send it out... What I found out was that a piece of lint got into the headphone jack, and was screwing with the connection. So try this: Use an INSULATED paper clip, and try to fish around in the headphone jack and see if some lint got stuck there. It's a more common issue than you'd think.
Good Luck though!