From your description you have transferred all the earpiece components from #1, the iPhone with the earpiece problems to begin with. (Earpiece components, Logic Board circuitry plus connector #3, Flex #3, Earpiece itself) one of these parts is faulty. I would start with replacing Flex Cable #3, see if it works. While replacing Flex #3 make sure the #3 connector on the Logic Board is in perfect condition. While replacing #3 you can also check with volt meter for conductance through the Earpiece, if not it is bad.