The problem started after you opened the case... I would check the audio wire from the case make sure it is plugged in correctly.
In the bios there are two options for the HD audio. One will be called AC97 which is the older non HD standard and the other will be called either HDaudio or...