Not possible to disable this trough software...I would have taken of the back cover checked the moving parts who activates the camera, also check the microswitch, can have been moved little out of position..Must be some mechanical problem..If you want to permanently disable this, and only use the side button to activate the camera, you have to remove the microswitch..
You wont do that.?..