Default No network connection on custom roms

Guys i have a razr maxx xt910. On stock 4.0.4 i get perfect network. But after installing any custom rom via bmm, when it boots up i get the network but after a few seconds it goes and even when i try to search for a network, it says search failed and i don't have any network at all.
Any suggestions??

EDIT : I am unable to take screenshots too in the custom roms. It says saving screenshot failed. Storage maybe in use but i am able to do so perfectly in the stock rom