Remove All Ads from XDA
Honor View 10

[Q] How to change a magnetometer Z axle outpu

1,123 posts
Thanks Meter: 72
By casca, Senior Member on 2nd May 2014, 01:28 AM
Post Reply Email Thread

I've recently purchased a phone and I was wondering where does a simple compass application get the x,y and z values from the magnetometer (magnetic sensor).

I'm trying to find out where would the corresponding files be and if there is any way to change them, since the Z axle is inverted on the phone... it's a code fault, but if it can be manually corrected then it will be of great help when using gps/compass based apps.

I'm sorry if this isn't the correct place but since it surely invloves coding, i assumed it should be here.

thank you
2nd May 2014, 06:57 PM |#2  
OP Senior Member
Flag Lisboa
Thanks Meter: 72
If someone can help...i have made a video explaining the problem


Sent from my thl T100S using XDA Free mobile app
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes