My 10 month redmi note 5 with MIUI10.0 has been stuck in permanent earphone mode.