This seems to be a fairly common failure point on these devices, my earpiece died completely. I’ve replaced with a used OEM speaker as well as an aftermarket but neither work upon reassembly and reboot. Not sure what inside the phone itself has gone bad, at least the loud speaker at the bottom is still good I suppose