You must have a ROOTED device. All sensors files on your rom must be correct, otherwise it will NOT FIX your issue! Please don't leave a bad rating if it did not fix your issue. It's ONLY for devices that the automatic rotation/sensors stop working for no reason after starting the device.
For accelerometer, gyroscope, rotation vector, gravity, acceleration, light sensor, proximity sensor... If these sensors of your device stop working after staring the device, give it a try!