Compass pointing wrong - Nexus 4 Q&A, Help & Troubleshooting

Hello I have a problem with compass which shows wrong direction on map apps (google maps for example). Error of correct pointing direction and showing on map is not constant sometimes it is ~60 degrees, sometimes ~140.. I have some cheap casing with magnet maybe it is its fault? But I tried to use it after removing phone from case, but still the same. And I am not 100% sure, but it was same before this case.
What can I do? Some kind of calibration or what? Or is this some faulty compass sensor?

vukis said:
Hello I have a problem with compass which shows wrong direction on map apps (google maps for example). Error of correct pointing direction and showing on map is not constant sometimes it is ~60 degrees, sometimes ~140.. I have some cheap casing with magnet maybe it is its fault? But I tried to use it after removing phone from case, but still the same. And I am not 100% sure, but it was same before this case.
What can I do? Some kind of calibration or what? Or is this some faulty compass sensor?
Click to expand...
Click to collapse
Cases with magnets causing compass issues has been a known since the G1.
I would loose the case, and try to calibrate the compass using the figure 8 method. Search YouTube for it.

Related

HTC Digital Compass

Hello all..
i was wondering if anyone has been successful in extracting the HTC Digital Compass from the HTC Trinity ROM incl of GPS ?
i believe it require hardware
there are no software i can think off
which can tell which way north is without
hardware
otherwise pc's would have had it years agoe
Rudegar said:
i believe it require hardware
there are no software i can think off
which can tell which way north is without
hardware
otherwise pc's would have had it years agoe
Click to expand...
Click to collapse
Check this out: http://www.mobilosiranytu.fw.hu/
I think you're looking for something similar.
I try to translate to English the description:
"This program is not an original compass. This program has the ability to calculate the angle between the northern direction and the direction of the sun (or the moon) by the knowledge of the actual place and time. This angle showed on the display by an orange (the Sun) and a blue (the Moon) arrow. You have to rotate one of the arrows towards the right direction (the orange towards the Sun or the blue towards the Moon), and the compass will show the right directions...."
well my phone has GPS... isnt there any software which i can use as a compass ?
There's so much gps software now,tomtom has a wee compass in it but I think you don't want that, maybe there is something here:http://www.freewarepocketpc.net/ppc-tag-gps.html
does the compass in nokia n97 is hardware compass
wait maybe i am wrong...but when we go north i'm sure the lattitude numbers goes up or down??
i know by standing we won't get it...atleast by walking couple of metres it should pick up the lattitude numbers....and see if we're going north....??
maybe i am wrong...but with gps turned on..and we go north i'm sure the lattitude numbers goes up or down??
i know by standing we won't get it...atleast by walking couple of metres it should pick up the lattitude numbers....and see if we're going north....??
GPS-based compasses compare two positions to know your direction, while a real compass is a magnet that interacts with the earth's magnetic field to know where you are looking (without moving)
I'm looking for app that uses hardware compass. GPS compass is no use if you are indoors. Anyone?
ridz said:
I'm looking for app that uses hardware compass. GPS compass is no use if you are indoors. Anyone?
Click to expand...
Click to collapse
Why would you want that if you don't have a hardware compass built in phone?
Solution: Buy a compass and sticky-tape it to your phone
mengsuan said:
Solution: Buy a compass and sticky-tape it to your phone
Click to expand...
Click to collapse
+1
http://www.sciencestuff.com/prod/P-g/0404-S
If you have a Diamond, Touch Pro, or any other device with a magnetic stylus, simply attach your stylus to a piece of cork, and float it in the nearest body of water. Voila! Compass.
ktemkin said:
If you have a Diamond, Touch Pro, or any other device with a magnetic stylus, simply attach your stylus to a piece of cork, and float it in the nearest body of water. Voila! Compass.
Click to expand...
Click to collapse
really??! going to test it soon.. thanks for sharing !
ktemkin said:
If you have a Diamond, Touch Pro, or any other device with a magnetic stylus, simply attach your stylus to a piece of cork, and float it in the nearest body of water. Voila! Compass.
Click to expand...
Click to collapse
The magnet is in the device, not the stylus
GPSSpot is the app your're looking for.
It is a digital compass which uses your phones built-in GPS receiver.
I use it, it works really well, and it also allows you to save waypoints.
http://www.cradle-software.de/en/software/gpsspot
GldRush98 said:
The magnet is in the device, not the stylus
Click to expand...
Click to collapse
My Touch HD has magnetic stylus as I can stick it to my PC case, fridge and so on
have you guys tried the new google maps app for windows mobile?
somehow when i start my gps it points to my true direction when using the new google maps app.
spikegotti: I think google maps points to the north when started and when you move, it calculates your direction from your previous position

Gyro stability

Hi,
I'm a proud S2 owner but I'm note sure for how long. It seems the gyro in my device is very unstable. For example, if I use Google Maps and I turn on the sensor, the map will rotate if I only the tilt the device upwards (and this shouldn't cause a map rotation).
I've also tested some other apps using the gyro (STLView by ModuleWorks https://market.android.com/details?id=moduleWorks.STLView or some artificial horizon apps) and they all share this instability.
I have an EEE-Pad as well, and there those apps are really great.
So the question really is, is it just my device or can anyone else reproduce these issues?
Thanks,
Mark
I have the same issue.
pub00515 said:
Hi,
I'm a proud S2 owner but I'm note sure for how long. It seems the gyro in my device is very unstable. For example, if I use Google Maps and I turn on the sensor, the map will rotate if I only the tilt the device upwards (and this shouldn't cause a map rotation).
I've also tested some other apps using the gyro (STLView by ModuleWorks https://market.android.com/details?id=moduleWorks.STLView or some artificial horizon apps) and they all share this instability.
I have an EEE-Pad as well, and there those apps are really great.
So the question really is, is it just my device or can anyone else reproduce these issues?
Thanks,
Mark
Click to expand...
Click to collapse
I tested it on my sgs2 with maps and I don't seem to have the issues that you are experiencing. I even downloaded STLView and did not have this "instability" problem. Perhaps your handset is faulty?
Another possible reason is that you might have been trying to use your sgs2 in the bermuda triangle. It has been documented that the bermuda triangle wrecks havoc on electronics.
Are you sure maps use gyro ? I guess they use primarily compass and G-sensor, while of course, gyros can help too.
Did you try to calibrate the gyro sensor?
Yupp, tried calibration, didn't help.
@info5i2002
Pretty far from bermuda
In STLView, did you enable the gyro button (the button on the left side)? What happens if you tilt the phone by 90° (hold it over your head facing towards you) - does the heading swing around?
When I hold the phone level (in landscape orientation), and I tilt the phone up and down, I can clearly see the axis swing from left to right.
pub00515 said:
Yupp, tried calibration, didn't help.
@info5i2002
Pretty far from bermuda
In STLView, did you enable the gyro button (the button on the left side)? What happens if you tilt the phone by 90° (hold it over your head facing towards you) - does the heading swing around?
When I hold the phone level (in landscape orientation), and I tilt the phone up and down, I can clearly see the axis swing from left to right.
Click to expand...
Click to collapse
Yeap, tried it in landscape and tilted it up and down and it seems to move only up and down only.
If the device is in a case/cover which has Magnetic Lock then the issue is normal.
issue is NOT gyro related, what's described here is unstable accelerometer and/or compass readout. i guess it's mainly due to missing magnetic calibration (try to do the "8" pattern with the phone, AND turn the phone twice around each axis). if the problem persists, than it's maybe within technological limits (and everyone faces it, although the people here are more upset about it). also possible is magnetic interference due to huge amounts metal etc...
Yes .. people often confuse accelerometer (G-sensor), electronic gyroscopes, and compass. All do different things, but all can be used in applications like maps.
I also noticed that the magnetometer of my s2 is kind of imprecise.
I have continuously swinging head indication, of about +/- 15 degrees. Moreover, the correspondance from phone orientation and indication is not linear. I get higher sensitivity towards one direction and lower towards the opposite direction...
However what I did notice, is that the magnetometer, responsible for the compass, is very sensitive not only to nearby magnets, but even to metal objects at considerable distance. So perhaps it is all just this sensor beind a tad too sensitive.
Sent from my GT-I9100 using XDA App
Hi,
I've done a few more tests - I placed a strong magnet next to my Eee-pad and I had no deflection when I moved the magnet. So in this case, the app is correctly using the device's gyro and accelerometer. I then performed te same test with my S2 and bingo, I had a strong deflection as I moved the magnet. This is plain silly, as the sensor I'm using in my own app doesn't rely on the compass, instead it relies on the rotation vector sensor as provided by the SDK. Now the question is, who was sloppy? Does Gingerbread perhaps not support the gyro fully or did Samsung not implement the sensor correctly? As I wrote, the same code works perfectly on my Honeycomb tablet so it's not a programming error per se.
Regards
Mark
Yes, there definitely must be something wrong with the gyro and/or the magnetometer.
Some time ago I opened a specific thread on this subject in this forum, got many "reads" but no replies whatsoever...
So strange nobody did actually notice it so far.
pub00515 said:
Hi,
I've done a few more tests - I placed a strong magnet next to my Eee-pad and I had no deflection when I moved the magnet. So in this case, the app is correctly using the device's gyro and accelerometer. I then performed te same test with my S2 and bingo, I had a strong deflection as I moved the magnet. This is plain silly, as the sensor I'm using in my own app doesn't rely on the compass, instead it relies on the rotation vector sensor as provided by the SDK. Now the question is, who was sloppy? Does Gingerbread perhaps not support the gyro fully or did Samsung not implement the sensor correctly? As I wrote, the same code works perfectly on my Honeycomb tablet so it's not a programming error per se.
Regards
Mark
Click to expand...
Click to collapse
Now that's interesting. Could be !
My compass works a bit weird. I put it on table, let it show the north. Then I rotate the device 180 degrees .. and the north shifts like 5 degrees. It can be worse, but calibrating (waving the 8 pattern) helps .. but I can't get the error under 5 degrees no matter what.
Btw. it's common that that electronic compasses are much more sensitive to metal objects, that's not Samsung's mistake. But the sensors should not be linked.
Edit: I downloaded some sensors monitoring application. And gyroscopic sensor itself for sure is not sensitive to magnetic fields and works as it should, same for accelerometer. But then there are some IMHO virtual sensors: linear acceleration and rotation. They seem to be synthesized from more sensors, and the rotation does react on magnet.
So perhaps if someone has a different phone running Gingerbread with a gyro on board, we can see if the issue exists there as well (best would be to try it with STLView, as I know what API calls are made)
Thanks,
Mark
Dr.Sid said:
My compass works a bit weird. I put it on table, let it show the north. Then I rotate the device 180 degrees .. and the north shifts like 5 degrees. It can be worse, but calibrating (waving the 8 pattern) helps .. but I can't get the error under 5 degrees no matter what.
Click to expand...
Click to collapse
Mine does the same. Actually I can get even 15 degrees deviation. I noticed that it seems to depend on the location I am, despite apparently there should be no magnetic objects nearby. I am pretty sure that if if you try rotaring your phone at constant angular speed in the horizontal plane (with it horizontal on a table for instance) with a "compass" app running you will notice that the indicaton on the screen speeds up considerably when the phone is pointing to the north, and slows down when is pointing to the south.
Which Gingerbread version are you guys running?
I'm still waiting for the 2.3.4 update.
It would be interesting if someone could try this with 2.3.4, perhaps it works with the update?
Thanks...
Mark
pub00515 said:
So perhaps if someone has a different phone running Gingerbread with a gyro on board, we can see if the issue exists there as well (best would be to try it with STLView, as I know what API calls are made)
Thanks,
Mark
Click to expand...
Click to collapse
hi mark,
again, what you (we) experience here has nothing, i repeat nothing, to do with the GYRO. what you mean is the accelero- and magnetometer! a gyro knows nothing about it's current position (it only detects deviations, read about a coriolis vibratory gyro for more details about the mems gyro the sgs2 is using)
most programs i know are not using the gyro for positional information, for example google maps, google sky... they are all using the magnetometer in combination with the accelerometer ONLY!
regards,
markus
Hi Markus,
thanks for the heads-up, but I think I have a pretty good idea of what's going on:
Why?
Well, for starters, I'm a software developer in a technical field and I'm also the author of STLView mentioned above. Secondly, the same app running under Honeycomb with an Asus EeePad is working perfectly, and it is using the gyro there. Yes gyro and no, not magnetometer.
The problem with the S2 as I see it, is:
either Gingerbread or Samsung have failed to implement the rotation_vector sensor, as provided by the official API, correctly. On the S2, it is using the acceleration sensor combined with the magnetometer, which is just plain silly, as the magnetometer is too unstable for correct rotation rate measurement. On the EeePad, the same virtual sensor is using the accelerometer and the gyro in combination (gyro for rotation rate and the accelerometer to eliminate gyro drift). What you get is a very accurate sensor reading, which is just not possible on the S2 as of now.
Hopefully, either Samsung or Google are going to fix this flaw, but I think the problem is more on Samsung's side as they are the ones who actually know what physical sensors are available. That's also why it would be interesting to find out if other devices running Gingerbread that have a gyro on board are also experiencing the same problems.
By the way, I'm also a pilot so I think I have a pretty good understanding of what a gyro is and what it measures, thank you very much. Next time, remember: "Halbwissen ist gefährlich"
Regards
Mark
pub00515 said:
Hi Markus,
thanks for the heads-up, but I think I have a pretty good idea of what's going on:
Why?
Well, for starters, I'm a software developer in a technical field and I'm also the author of STLView mentioned above. Secondly, the same app running under Honeycomb with an Asus EeePad is working perfectly, and it is using the gyro there. Yes gyro and no, not magnetometer.
The problem with the S2 as I see it, is:
either Gingerbread or Samsung have failed to implement the rotation_vector sensor, as provided by the official API, correctly. On the S2, it is using the acceleration sensor combined with the magnetometer, which is just plain silly, as the magnetometer is too unstable for correct rotation rate measurement. On the EeePad, the same virtual sensor is using the accelerometer and the gyro in combination (gyro for rotation rate and the accelerometer to eliminate gyro drift). What you get is a very accurate sensor reading, which is just not possible on the S2 as of now.
Hopefully, either Samsung or Google are going to fix this flaw, but I think the problem is more on Samsung's side as they are the ones who actually know what physical sensors are available. That's also why it would be interesting to find out if other devices running Gingerbread that have a gyro on board are also experiencing the same problems.
By the way, I'm also a pilot so I think I have a pretty good understanding of what a gyro is and what it measures, thank you very much. Next time, remember: "Halbwissen ist gefährlich"
Regards
Mark
Click to expand...
Click to collapse
hi mark,
sorry - i didn't meant to be rude...
nor did i know your background; the thing nowadays is, a hell lot of people are talking technical nonsense all the time, which is quite frustrating...
i have to admit as i'm no software developer i didn't know the thing with the rotation_vector, what's sure for me was that the actual situation is caused from the accel/mag sensor, simply because of its behavior. that it would be way better to use the gyro as well for all this applications is absolutely true.
so let's hope either samsung or google will provide a fix, as you said!
glück ab, gut land!
markus

Strange Compass behavior in GPS Status app

anyone can check wether their compass work properly in GPS status app ?
my compass always moving in clockwise direction and even when i put my nexus on the table, the compass still moving clockwise, tried to calibrate compass and accelerometer, the compass still always rotating..
can anyone check if this is a bug in the app itself or my magnetic sensor has trouble ?
Yeah I noticed that yesterday with a compass app.
Sent from my MB612 using xda app-developers app
so this is a known fault ?
I know for sure that the GPS status app performs an automated compass calibration so long as you move the phone/tablet correctly.
What I am not completely sure is whether you need to perform this procedure every time you re-start the app, or whether it caches the result for subsequent uses. (I had an experience in the mountains with three different compass apps that had me questioning the use of battery-powered technology)
In any event, fire up the app and rotate the tablet twice around each of it's three axes (X, Y, Z). Be careful that you don't drop the tablet! (I notice that when I do it I am trying to keep my hands away from the touchscreen, and so the grip I have isn't very solid)
If N is not in the correct place (allowing for local declination offsets), then maybe you have bad hardware or maybe your table your tablet is sitting on has a big piece of metal under it.
Spinning compass sounds like broken hardware, the Bermuda Triangle, or just noise (nearby power mains can cause a 60 Hz mag field wobble if they carry unbalanced currents - I use to work in a joint where everybody in one section of the building had CRTs that wobbled all the time). I think the GPS status app has an adjustable sensor filter, does it not (Menu-> GPS & Sensors -> Sensor Filtering - try medium or strong filtering maybe?
good luck
bftb0 said:
I know for sure that the GPS status app performs an automated compass calibration so long as you move the phone/tablet correctly.
What I am not completely sure is whether you need to perform this procedure every time you re-start the app, or whether it caches the result for subsequent uses. (I had an experience in the mountains with three different compass apps that had me questioning the use of battery-powered technology)
In any event, fire up the app and rotate the tablet twice around each of it's three axes (X, Y, Z). Be careful that you don't drop the tablet! (I notice that when I do it I am trying to keep my hands away from the touchscreen, and so the grip I have isn't very solid)
If N is not in the correct place (allowing for local declination offsets), then maybe you have bad hardware or maybe your table your tablet is sitting on has a big piece of metal under it.
Spinning compass sounds like broken hardware, the Bermuda Triangle, or just noise (nearby power mains can cause a 60 Hz mag field wobble if they carry unbalanced currents - I use to work in a joint where everybody in one section of the building had CRTs that wobbled all the time). I think the GPS status app has an adjustable sensor filter, does it not (Menu-> GPS & Sensors -> Sensor Filtering - try medium or strong filtering maybe?
good luck
Click to expand...
Click to collapse
i already done the calibration , in fact i done it in 2 different places, one in the coffee shop which i awkwardly spin the tablet around, haha. but the compass still rotating steadily in clockwise direction , tried to calibrate again in my home with no avail.
And yes, i set my sensor filtering to medium, but this setting look like only affecting gps, not the magnetic sensor.
can you try installing GPS status app ?
https://play.google.com/store/apps/details?id=com.eclipsim.gpsstatus2&hl=en
and see if your compass is steadily moving or can point to the right direction when you put it on a table.
Working OK. Tried 3 different apps w/ compass
- GPS Status (eclipsim)
- Analog Compass (Dieter Roth)
- GPS Essentials (mictale)
Working fine here. Try taking your Nexus 7 out of the case, if it's in one. Run the app, hold the N7 FIRMLY (or do this over carpet, soft surface) and rotate in all directions. I usually draw a figure 8 in the horizontal and vertical directions.
Easy on the phone, harder on the Nexus 7 since it's larger.
Odd that it's rotating. My wifes old Aria I use for geocaching I left on top of a Nook Color case and screwed up its compass and it just gets stuck.. It'll rotate through about 270 degrees then get completely stuck the other 90. I've degaussed it a few times and that helped a little, as it mostly rotates now, but it's still not accurate. It might be 15-20 degrees off, as it still 'sticks' here and there.
PSA: The Nexus 7 compass is pretty funky period. I remembered this as I was testing just now. The compass will randomly for no reason go off about 90 degrees and rotating it around figure 8's will sometimes fix it, but most often just spinning it in place clockwise and counter-clockwise and it'll suddenly pop back to proper alignment. Don't depend on the N7's compass in a L&D Situation
Does the compass rotate when you are moving? If it only has a GPS input then if you are stationary it cannot resolve direction to any accuracy.
peterk-1 said:
Does the compass rotate when you are moving? If it only has a GPS input then if you are stationary it cannot resolve direction to any accuracy.
Click to expand...
Click to collapse
The Nexus 7 has a compass, so unless whatever app he's using has been told (or defaults to) GPS for the heading, it should be using the real compass.
khaytsus said:
The Nexus 7 has a compass, so unless whatever app he's using has been told (or defaults to) GPS for the heading, it should be using the real compass.
Click to expand...
Click to collapse
That's the point I was making. It is not know what sensors are being used. I would expect the app to use the x,y,z readings from the position sensor ( The "angle" the device is being held at) and the geomagnetic sensor but it may also use the GPS receiver to derive a direction of motion. The algorithm that pulls these readings together is the clever bit and the weight it gives to each sensor reading when it is outside expected values is the unknown / interesting bit.
bftb0 said:
Working OK. Tried 3 different apps w/ compass
- GPS Status (eclipsim)
- Analog Compass (Dieter Roth)
- GPS Essentials (mictale)
Click to expand...
Click to collapse
hmm, it seems like in a rare case, the compass can point at the right direction, but mostly keep rotating..
khaytsus said:
Working fine here. Try taking your Nexus 7 out of the case, if it's in one. Run the app, hold the N7 FIRMLY (or do this over carpet, soft surface) and rotate in all directions. I usually draw a figure 8 in the horizontal and vertical directions.
Easy on the phone, harder on the Nexus 7 since it's larger.
Odd that it's rotating. My wifes old Aria I use for geocaching I left on top of a Nook Color case and screwed up its compass and it just gets stuck.. It'll rotate through about 270 degrees then get completely stuck the other 90. I've degaussed it a few times and that helped a little, as it mostly rotates now, but it's still not accurate. It might be 15-20 degrees off, as it still 'sticks' here and there.
PSA: The Nexus 7 compass is pretty funky period. I remembered this as I was testing just now. The compass will randomly for no reason go off about 90 degrees and rotating it around figure 8's will sometimes fix it, but most often just spinning it in place clockwise and counter-clockwise and it'll suddenly pop back to proper alignment. Don't depend on the N7's compass in a L&D Situation
Click to expand...
Click to collapse
yeah i already tried to take off the case and check the compass, but still got the rotating compass, i even tried different roms, was in stock rom and now using CleanRom.
i wouldn't trust my electronics in a life and death situation, except if i didnt have anything better
peterk-1 said:
Does the compass rotate when you are moving? If it only has a GPS input then if you are stationary it cannot resolve direction to any accuracy.
Click to expand...
Click to collapse
even when i put it on the table, the compass keep moving
peterk-1 said:
That's the point I was making. It is not know what sensors are being used. I would expect the app to use the x,y,z readings from the position sensor ( The "angle" the device is being held at) and the geomagnetic sensor but it may also use the GPS receiver to derive a direction of motion. The algorithm that pulls these readings together is the clever bit and the weight it gives to each sensor reading when it is outside expected values is the unknown / interesting bit.
Click to expand...
Click to collapse
it doesnt matter wether the GPS is locking or not, the compass keep rotating
i'm trying to make a video of this behavior, maybe i'll make it tomorrow, it's already night time , and my room's light is not bright enough..
hopefully, i'll update the OP tomorrow, with video
I'm having the same issue on the N7 I just got, it happens in any ROM I've tried so far (stock, CM 10.1, Paranoid Android 2.99, SmoothROM v4.3, etc) - when I use the GPS Status app to calibrate the compass as required it will get the accurate North heading as it should, but then the compass itself just kinda drifts in a clockwise direction a few degrees every second, and that's with the N7 immobile itself and not in motion.
I'm guessing it's just an issue with the hardware since it happens with any ROM I've tested so far, but I haven't tried any other compass apps so I suppose I should, but the apps are just pulling info from the compass hardware so, if that's just defective or not working right then yes the on-screen display is going to keep right on moving.
Also, the calibration(s) I'm doing isn't sticking: the N7 either forgets it immediately or again there's something defective about it because when I do a calibration and close the app and restart it, it's not showing the correct directional orientation that I just calibrated it to
Weird behavior, certainly. This isn't a life or death thing since I know where I'm at here in Vegas at any time, but considering how amazing the N7 is overall, little things like this just irk the hell out of me (and apparently other owners as well).
Always the Compass
I got my hands on a 2nd hand N7 32G-WiFi, and any ROM (even stock 5.1.1 up to custom 7.1.1) displays the same non working compass with GPS Status (and other apps), the compass is stuck pointing to North and/or then jumping around as I rotate the tablet . GPS alone is working.
Interestingly there's now a "diagnose sensors" tab in GPS Status, and there the "Orientation" and "Rotation Vector" readings are coherent: I can read the angle to which the tablet is pointing (respect to north) and it correctly senses it. Same goes for the Rotation Vector, once the "calibration pattern" is done (move anytime the table 1-2 time around the 3 main axis), the readings settle down and are repeatable:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(image cut to reduce size) In this case the tablet was on the table pointing north and not being moved.
So, the sensors inside the tablet are operating correctly! Still I don't understand why Google Maps (blue triangle) and/or Nokia Here wego (green arrow), and any other, cannot simply access these sensor readings. Are there other emulated "software sensors"? Do they wrongly correlate other readings inside the apps?
Interestingly I flashed this ROM lineage-11-20170221-UNOFFICIAL-grouper and there GPS Status compass display is correct! Same goes for Here wego, but Google Maps is still a miss.. clearly it's using other (hidden) sensor APIs and doing it wrong.
Some old apps, like "Check My Android" under the "Compass" sensor they are displaying directly the "Orientation" hardware sensor, no wonder if they work :good:
I'm going to use it as navigator inside the car, so I'll stick with Lineage 11 and hope app support will last long.. but I'm literally dying of curiosity on how and were are these sensor being interpreted from the apps/os.
I'd really like to get in touch with some developers, at least to pass the word and get to know a little more about the physical sensor subsystem inside android (I get the feeling on KK some "advanced emulated" sensor are not available, hence the app does a fallback on simply raw sensor values).
I understand that you always need to compensate raw sensor values, the simple compass might work ok when the tablet is flat on a surface, but then it must be adjusted if it's being held by the user plus if it's in portrait mode or landscape - with the only basic assumption that.. the screen is pointing the user
If I find something I'll report back, I really hope to discover something
(Found this old thread, using it instead of opening a new one)

Problems with magnetic sensor...

The compass does Not work correctly on 2 i9505 black...
Any people more?
Sorry for my bad english ...
oriolas said:
The compass does Not work correctly on 2 i9505 black...
Any people more?
Sorry for my bad english ...
Click to expand...
Click to collapse
test the sensor on *#0*#
I've solved it ... I have given two full turns to mobile and it seems that it is calibrated
Thankyou
oriolas said:
I've solved it ... I have given two full turns to mobile and it seems that it is calibrated
Thankyou
Click to expand...
Click to collapse
Hi
recently am facing issues with this s view.
I am not using a s view cover but still the phone shifts to s view suddenly. But only for a second or so and again comes back to normal.
this happens quite often for me when am just holding the phone. Or trying to make a call.this is annoying.
Is my s4 broke.. am worried.
please help me out to solve this
You have to move your phone in a figure 8 position in the air about three times to calibrate your compass for it to work properly.
The flip view cover contains a magnet which screws with the compass, rendering it useless. If you're using the cover remove it and see if it helps.
krico said:
You have to move your phone in a figure 8 position in the air about three times to calibrate your compass for it to work properly.
Click to expand...
Click to collapse
Was that answer for me.... please let me know... how to work this out and how does this work
No dude. It was for the person trying to calibrate their compass.
Calibrations doesn't help ...
I've got CM 5.1 + newest GAAPS and calibration of compass last only for few seconds-2/3 minutes tops and then it's gone and compass again showing wrong directions not even restarting Google Maps - (usually 180* degree opposite to the actual direction). Funny thing, when I downgraded to original Orange Kit Kat 4.4.2 compass worked precise so It assured me, that there is not problem with hardware only software. I cannot use: *#0*# because my I9505 says "Problem with the connection or wrong MMI code" (translating from polish).
All other things including GPS, accelerometer and other sensors works perfectly well.
Anybody know the solution?

Faculty magnetic field sensor?

Few days ago I replaced the battery and reassemble the phone back. Everything looks normal except the Google Maps compass direction. The north and south pole are always swapped no matter how many times I recalibrated it.
Today I use an app to check the magnetic field reading and surprisingly it fixed at 2896.27 UT.... Anyone have clue to replace the part to fix it? Thanks!
That explains why my compass always seems backwards. Just got used to it and ignored the arrow. Though, I've only really noticed anything when trying to use walking directions, so i always chalked out up to having to do with being around tall buildings and not getting accurate gps readings due to that.

Categories

Resources