Default [Q] ROOT and speech Codec

Hi,

I want to change my android device to only support EFR speech codec and to disable other codecs. How can i do it?

many thanks in advance