I dont know why this works but it works... format your sd card, reflash your rom, it should work now, if it doesnt its a hardware issue. also make sure its a rom with proximity sensor used. (kyorarom, kyrillos, dutchmods ive tested and it works)
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?