Default How to disable HFA before flash ROM

How can i disable the HFA before flash the sprint rom,for i use a GSM sim card.
Maybe i should delete some files or modify somewher,thanks so much!!!