I face the same issue with MIUI as well.
The earphones I connect do not have a mic , but my older used to pick up voice from the phone mic when placed closer to the mouth.
So when I connect them on MIUI, I can hear them, but the phone expects voice from the 3.5mm port