Huawei P7 Ascend Lollipop Compass pointing only North or South, even after calibrating. How to fix?
I too have this problem after upgrading my phone to lollipop. However, if I tilt my phone vertically or upside down (so I'm looking up to face the screen), the compass works fine. Try calibrating your accelerometer with your phone upside down.