So you have taken the phone apart and replaced the proximity sensor and now the replacement is not working? its possible you got a defective replacement, or board issue if this was your first time doing it. Or the device could have gone bad resulting in the initial failure.