you are getting me wrong. i am using this rom to build for my phone huawei ideos which does have proximity sensor. but thats not your fault. i should have explained more. now i know why it doesn't work.
proximity sensor is something different... galaxy mini also have proximity sensor, which turns off screen, otherwise during call you would press buttons on the screen with your cheek... ambient light sensor regulates screens brightness...