[Q] CM11 Samsung Galaxy S4 Compass issue

Search This thread

thekubiaks

Senior Member
Nov 3, 2012
83
22
I'm running the 2014 - 01 - 05 nightly on my Samsung Galaxy S4 M919. The compass works on some apps but not on others. I thought it was hardware until I found that the gyros work in all axis for games such as F-Sim and compass apps such as Advanced Compass. BUT, in the app GPS Status & toolbox, the compass and pitch and roll are locked to zero, calibration had no effect. Also the app Google maps shows the compass icon locked to North and will not function with rotation.

Is there something in CM11 that changes the way the accelerometers communicate with apps and some of them can interpret the data??

Cheers
 

Skipjacks

Senior Member
Nov 1, 2011
5,416
4,329
Baltimore
I'm running the 2014 - 01 - 05 nightly on my Samsung Galaxy S4 M919. The compass works on some apps but not on others. I thought it was hardware until I found that the gyros work in all axis for games such as F-Sim and compass apps such as Advanced Compass. BUT, in the app GPS Status & toolbox, the compass and pitch and roll are locked to zero, calibration had no effect. Also the app Google maps shows the compass icon locked to North and will not function with rotation.

Is there something in CM11 that changes the way the accelerometers communicate with apps and some of them can interpret the data??

Cheers

It's possible that the app that isn't working isn't compatible with KitKat ROMS yet.

Not all apps have been updated.
 

vk2bea

Senior Member
Sep 7, 2009
247
13
Washington D.C.
I'm running the 2014 - 01 - 05 nightly on my Samsung Galaxy S4 M919. The compass works on some apps but not on others. I thought it was hardware until I found that the gyros work in all axis for games such as F-Sim and compass apps such as Advanced Compass. BUT, in the app GPS Status & toolbox, the compass and pitch and roll are locked to zero, calibration had no effect. Also the app Google maps shows the compass icon locked to North and will not function with rotation.

Is there something in CM11 that changes the way the accelerometers communicate with apps and some of them can interpret the data??

Cheers

Yes, I see this too. In maps the compass works after about 10-15 seconds. As you say, the compass in "GPS Status" seems locked.
I don't see much traffic about this problem and I wonder if it is an S4 only issue (I'm using the tmo version jfltetmo).
Looking at the raw sensors in the "Sensor List" app I see the data all the time (YAS532 Magnetic sensor), so I don't think there is any hardware problem (or even low level software issue).
 

Yarbo

Senior Member
Apr 18, 2012
58
3
Vancouver
Yes, I see this too. In maps the compass works after about 10-15 seconds. As you say, the compass in "GPS Status" seems locked.
I don't see much traffic about this problem and I wonder if it is an S4 only issue (I'm using the tmo version jfltetmo).
Looking at the raw sensors in the "Sensor List" app I see the data all the time (YAS532 Magnetic sensor), so I don't think there is any hardware problem (or even low level software issue).

I too have this problem, but it worked on CM11 with the December 2013 nightlies. It's only recently that this has been a problem for me. I am using the Rogers S4 (jfltecan) and am using the latest unified build for jflte.
 

MarkerB

Senior Member
Oct 3, 2010
78
22
Samsung Galaxy Note 20 Ultra
Running CM11 snapshot from 2014-07-08 on my Spring S4, I have serious magnetic compass issues. Either it cannot be read at all (like in GPS Test or GPS Status apps), or very interestingly reads two logical revolutions for every physical revolution (Google Maps). That is, if I point the phone north and spin it around 180 degrees to the south, Google Maps' directional indicator performs a 360 rotation. Continuing to spin the phone another 180 degrees back to north has the directional indicator performing another whole 360 rotation.

Weird, right?

The magnetic compass works perfectly in all apps under CM10.2 from 2014-01-31. I've gone back and forth between the ROMs, so I can't imagine it's a hardware issue.
 
D

Deleted member 6841410

Guest
Hey all,

I've got the SGH-M919 and my magnetic sensor doesn't work. I downloaded a compass app and it doesn't move at all. I tried calibrating it and hovering a magnet over the phone quickly, but that didn't work either.

In the diagnostic menu (*#0*#) is shows:
---------------------------------------------------------
Magnetic: 2, x: 0, y: 0, z: 0
Azimuth: 0 Pitch: 0 Roll: 0

(on the black graphic with the red line)
"Need for calibration"
---------------------------------------------------------

The Selftest fails but Power Noise Test shows "Pass".

Any ideas what I can do about this? I'd greatly appreciate your help!