It seems your devices does not support (does not have needed sensors) compass.
I have compass app on google play and as you can see on the screenshots your devices does not support compass. So It is impossible to make it work.
Here screenshots with unsupported devices list for compass app from google play: