Is your StockROM partition still the stock rom, or have you written over it?
I can't say, with any certainty, what is causing the hardware problem. I have a gremlin in my radio that keeps my phone from working on 4G at times. I would recommend flashing via RSDlite back to stock, eliminating any software problems that occurred while installing custom roms. Then reinstalling safestrap and the roms you want to try. Ensure you are performing a factory reset after the partition is created, and then installing the rom, appropriate gapps for that rom and android version, and then wiping cache/dalvik before booting for the first time. Then, if the wifi doesn't work on the first boot (common problem), simply reboot, and the error will usually self-correct.
Droid RAZR XT912 (Daily Commuter) - LiquidSmooth 2.9
Galaxy S3 SCH-i535 - Stock
Galaxy S Fascinate SCH-i500 - Super Frankenclean 2.8
Motorola Droid 2 A955 - Stock
Droid X MB810 - Stock, and limping