Why won't the earpiece for my iPhone 5s work?

I recently replaced the battery, touchscreen and home button for my iPhone 5s and everything seems to working except for the earpiece. The speaker and microphone work, the camera works and texting works, but not the earpiece. I've tried turning off phone noise cancellation and Bluetooth, and I've already restarted and factory reset the phone, but none of these things have worked. I opened up the phone and took some pictures of the resistors and capacitors around the touchscreen connectors, but nothing seems damaged to me. Here are the pictures:

Block Image
Block Image
Block Image

I don't mind replacing the earpiece if I have to but I want to be certain that will fix the issue before I buy one. Anyone know what the problem may be and how to solve it?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0