Question 90 degree GPS Issue - Samsung Galaxy S21 Ultra

Hey all,
I moved recently and now rely a lot on google maps (and other location apps) to go to places.
Whine the location of the device fave been spot on, I have an issue with positioning and vector... What I mean is the device reports direction with a 90-degree error. If I am on the crosswalk facing one of its directions, the phone shows me that I'm perpendicular to the crosswalk and when I move up or down the crosswalk, it shows me moving sideways... not sure how to explain it better...
If I'm in a car and moving, the dot moves correctly on the map but I'm being shown as moving sideways on that map...
After doing a Google search on the issue, it seems that other people are also having this problem.
I've tried recalibrating, using the live view to calibrate (which works for a moment and then breaks again) Also tried clearing the cache of google maps, (but other GPS apps are also affected)...
Does anyone know how to deal with this problem?

Try turning off improved accuracy or vice versa...
Clear system cache.

blackhawk said:
Try turning off improved accuracy or vice versa...
Clear system cache.
Click to expand...
Click to collapse
All of this has been tried. even board replacements does not fix it...
it seems to be some kind of a software issue...

Screen rotation is set to manual or automatic? Try switching your settings.
Google Play System Update is up to date? Should at least be from 1st March 2022.

we have a crab in disguise among us... 'transformers~~ shell fish in deguise~~'
jokes aside, the GPS is known to be very unstable. I have the issue come and go... and from what I've heard it's due to signal disturbances.
You'll want to report the issue to Google if you are using Google Maps

Use common sense (or develop it) to navigate.
Constantly being led by a smartphone on the streets is a lousy and dangerous way to live.
Develop a mental picture with critical way points of where you are going and then concentrate on navigating the real world by memory. With practice it becomes 2nd nature.
If it's a complex navigation effort break it down into manageable blocks with start/end way points.
For the car a dedicated GPS is more practical and reliable, but you still need to use common sense for when it glitches... and it will.
GPS is just an aid to navigation... like a map.

Do you have a permanent magnet somewhere inside your phone case, or other source of magnetism that would confuse the on-board magnetic compass?

KingFatty said:
Do you have a permanent magnet somewhere inside your phone case, or other source of magnetism that would confuse the on-board magnetic compass?
Click to expand...
Click to collapse
KingFatty came up with my initial thought. Might be some magnetic interference.
I do know the exact issue you are talking about though. I knew I was facing south (I have an actual compass) but my phone said I was facing east. But I solved it with a simple recalibration. I have to recalibrate at least weekly.
You say you have had board replacements to rule out a hardware issue but if it was a software issue then surely everyone would have it? I can confirm that right now, the orientation is correct on my phone. It could be a firmware issue for your specific device but this requires the manufacturer to fix it.
That leads me to think its some kind of outside interference like a magnet in a case.

richhaynes said:
KingFatty came up with my initial thought. Might be some magnetic interference.
I do know the exact issue you are talking about though. I knew I was facing south (I have an actual compass) but my phone said I was facing east. But I solved it with a simple recalibration. I have to recalibrate at least weekly.
You say you have had board replacements to rule out a hardware issue but if it was a software issue then surely everyone would have it? I can confirm that right now, the orientation is correct on my phone. It could be a firmware issue for your specific device but this requires the manufacturer to fix it.
That leads me to think its some kind of outside interference like a magnet in a case.
Click to expand...
Click to collapse
Samsung's don't like magnets, truth
It may be the earth's magnetic field in your location. It isn't uniform.
It's actually began a cyclical pole shift which will take hundreds of year to complete. Magnetic anomalies with become more common as the reversal draws closer. I doubt the latter could be the cause but the former could.

I think magnets may indeed be the issue. My bag's phone pocket has a magnet on its latch so it might be the thing confusing the phone. The problem is that from more than 20 different phones I had over the years, the S21 Ultra is the first one to exhibit such side effects from magnets...

I use a car mount with wireless charger, and the mount itself creates a magnetic field that confuses the phone's compass so the phone re-calibrates the compass based on the navigation driving etc. When out of the charger, the phone is still interpreting the compass as though it's in the mount with the magnetic influence, so you just need to recalibrate the compass and it will fix the issue until next time it automatically recalibrates while under the influence of a magnetic field.
That's just how compasses work, they sense existing magnetic fields, and the closer a magnet is to the phone, the stronger the field. If only there was a way to tell the phone you are putting it next to a magnetic field so it knew not to recalibrate itself at that time.

Related

[Q] Compass Calibration

I've read complaints of GPS and G-Sensors being out of whack, but didn't see anything on forum about compass calibration.
I noticed on my i9000 yesterday that while tracking myself on Google maps, that the compass should me pointing about 20 degrees to the right of the direction I was actually driving. In aviation, we call that crabbing, and it's normal based on wind, but not in a car.
I turned the direction my phone was pointing and the heading on the vehicle in the map started tracking properly. I guess my phone needs a little compass calibration.
Any idea where to this from? I'll dig around in the debug settings when I get some time, but hoping others might have found it already.
Thanks.
there are some free compass apps on android market that will display an actuall compass on your screen - and those will have a calibration tool you use when setting the compass up
No need for a special command.
Just turn the device 180 degrees and backwards two or three times in any program which uses the compass and it will be calibrated.
I'm a pilot too and I actually purchased a magnetic compass for my car and noticed the same thing. Haven't tested the phone's compass in my car though.
Are you forgetting some planes have Compass Deviation Cards to compensate for errors caused by the aircraft itself perhaps? Remember, cars have a significant amount of electronics, and a magnet in the alternator that can affect the direction of the compass (the magnetic flux created by the car is actually what triggers traffic light changes, so it probably isn't miniscule).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL).
Not sure about google maps, but I have noticed my hardware GPS (Navman's and that other rubbish which will be collectors items soon) actually use track, rather than heading.
distortedloop said:
I've read complaints of GPS and G-Sensors being out of whack, but didn't see anything on forum about compass calibration.
I noticed on my i9000 yesterday that while tracking myself on Google maps, that the compass should me pointing about 20 degrees to the right of the direction I was actually driving. In aviation, we call that crabbing, and it's normal based on wind, but not in a car.
I turned the direction my phone was pointing and the heading on the vehicle in the map started tracking properly. I guess my phone needs a little compass calibration.
Any idea where to this from? I'll dig around in the debug settings when I get some time, but hoping others might have found it already.
Thanks.
Click to expand...
Click to collapse
compass
I have a galaxy s and so does my daughter we both have a compass app from android market installed on our phones , both phones will not display the correct direction i have also tried a friends galaxy and his is exactly the same .
I have a xperia X10 and that displays correct directions with the same compass installed so i can only assume it is the phone at fault , i love the phone but this is annoying and i wonder if it is related to the gps problems this phone appears to have ?.
good old fashioned magnetic compasses don't work in my car, regardless of where i install them
it will always point EAST, very annoying, good thing it doesn't affect my GPS or my SGS i've yet to test the compass mode inside the car.
As i've taken it for granted no compass will work inside my car, as it has speakers every where and metals all around.
before there was such thing as a GPS, i used to be a good old scout and used maps + compasses to find my ways when driving in unknown streets
andrewluecke said:
I'm a pilot too and I actually purchased a magnetic compass for my car and noticed the same thing. Haven't tested the phone's compass in my car though.
Are you forgetting some planes have Compass Deviation Cards to compensate for errors caused by the aircraft itself perhaps? Remember, cars have a significant amount of electronics, and a magnet in the alternator that can affect the direction of the compass (the magnetic flux created by the car is actually what triggers traffic light changes, so it probably isn't miniscule).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL).
Not sure about google maps, but I have noticed my hardware GPS (Navman's and that other rubbish which will be collectors items soon) actually use track, rather than heading.
Click to expand...
Click to collapse
andrewluecke said:
).
Btw, not sure crabbing is the correct term here (normally crabbing is isolated to wind I think). Correct me if I'm wrong (I'm still PPL)
Click to expand...
Click to collapse
No, you're correct about crabbing...it's the term I learned for landing with a cross-wind and yawing into the wind to maintain your track to the runway. It's just what came to mind looking at the vehicle indicator and the roadway, it looked like a plane landing on a runway and that's what popped to mind.
Thanks to everyone else about the compass app in the market, I'll check it out.
Probably best to grab a real compass and compare to your phones one.. Then you'll know for sure.
But for GPS apps, track makes more sense because especially whilst driving, the phone has no way of knowing if it is pointed towards the front of your car.
(Btw, for non-pilots, when I say track, I refer to the direction you are actually going, rather than where you are pointed towards).
I'm a electronic engineer, A compass actually show where the magnetic field is more effective as North (and South) but what does make the differ is electronic compasses are more sensetive and may effected by a little change in magnetic field (for example holding a little ironic screw around it) so it may show wrong direction based on your country (and sometimes region). so the manufactors calibrate it on an avarage in order to make it working all around the world. but if it is not satisfying go to a service center they calibrate it for you!
(if you're geeky one you can do it on service menu yourself but it takes time to do a good calibration!)
mdh_heydari said:
I'm a electronic engineer, A compass actually show where the magnetic field is more effective as North (and South) but what does make the differ is electronic compasses are more sensetive and may effected by a little change in magnetic field (for example holding a little ironic screw around it) so it may show wrong direction based on your country (and sometimes region). so the manufactors calibrate it on an avarage in order to make it working all around the world. but if it is not satisfying go to a service center they calibrate it for you!
(if you're geeky one you can do it on service menu yourself but it takes time to do a good calibration!)
Click to expand...
Click to collapse
HI, mdh_heydari
ok, but how to calibrate? even if it is time consuming and difficult. What is the procedure in SGS I9000?
sircm4x said:
HI, mdh_heydari
ok, but how to calibrate? even if it is time consuming and difficult. What is the procedure in SGS I9000?
Click to expand...
Click to collapse
There are 2 ways, the best one is some little fixes in android kernel and the other one is making mods for famous navigation softwares like Google Maps.

[Q] Demagnetize phone?

Recently I was getting a kinda weird effect. My compass now always directs to the bottom of the phone/screen, except when it is in open state. I think I have magnetized some parts somehow, and it is kinda disturbing when I want to use Layar or anything else what uses the built-in magnetometer.
Is there any way to fix this?
Theoretically putting the device into a simple depolarized magnetic field would solve the problem, but I don't know if it will damage the phone itself or not.
fonix232 said:
Recently I was getting a kinda weird effect. My compass now always directs to the bottom of the phone/screen, except when it is in open state. I think I have magnetized some parts somehow, and it is kinda disturbing when I want to use Layar or anything else what uses the built-in magnetometer.
Is there any way to fix this?
Theoretically putting the device into a simple depolarized magnetic field would solve the problem, but I don't know if it will damage the phone itself or not.
Click to expand...
Click to collapse
There are no magnetic components in the phone.
That means that it can't be magnetized.
I'm sorry to say that your magnetic field sensor itself is shot.
Note that putting the thing into a demagnetizer, if the sensor wasn't already dead, would DEFINITELY destroy it.
How do I demagnetize my cell phone screen
Actually phones have a magnet for the compass function and apps such as google maps to show which direction you are facing. Also, if you put your phone near magnets a lot it might magnetize metal parts in the phone messing up the compass. Demagnetized get your phone would demagnetize both the unintentional magnets and the magnetic compass. Please don't do that.

[Q] How to disable compass?

I'm increasingly convinced that the compass may be at least partly to blame for poor gps tracking. I'd like to experiment with disabling and/or tweaking the compass but don’t know where to start fiddling with compass settings.
Suggestions?
Sent from my GT-I9000 using XDA App
There has been some work on what causes the gps problems with captivate, notably by developers CLShortFuse and Da_G. Some of the discussions are quite technical. I don't recall the compass being implicated, however. If you are interested in pursuing gps info, search out threads by the above two developers. For starters, try this one.
I know this is an old thread, but I think there is something to it...
@creepyncrawly: I came to the same conclusion last night. The Captivate gets brilliant SNo while sitting on my desk. If I turn it while still on the desk, I lose all satellite locks. I think that is what introduces the error.
Open up GPS Test and watch the compass output. It's all over the place, while for me at least, the lat/long stay pretty steady. For example, completely still it wobbles, a lot. When I rotate the phone, the bearing wildly fluctuates. Turning it 180 degrees doesn't give a 180 degree shift in bearing either.
I think the phone is being mislead into thinking its moving by either the accelerometers or the compass. I think my next test will be a good strong magnet in close proximity while the phone is stationary.
I tried killing the compass daemon, but it comes back. I've tried removing it from the init script, but it must be a protected file. Next trick will be to just delete the binary I think.
My second idea is decreasing the port speed of the GPS module, not sure that would do anything constructive though.

Compass defect or poor calibration fixed by calibration?

For some reason my compass seems to be poorly calibrated and when I use Google Maps the navigation works, but I sometime lose direction. In order to fix I need to rotate my phone in all different ways. But after a reboot the compass goes back to being off. Does anyone else have this issue? Is this a defect or software?
I found exactly the same issue yesterday trying to navigate around London. Google maps has been dodgy lately on my note 3, xperia z and my girlfriends HTC one s so I put it down to a bug, I might try another navigation app to see if it's the phone
BrandonPrice31 said:
For some reason my compass seems to be poorly calibrated and when I use Google Maps the navigation works, but I sometime lose direction. In order to fix I need to rotate my phone in all different ways. But after a reboot the compass goes back to being off. Does anyone else have this issue? Is this a defect or software?
Click to expand...
Click to collapse
Are you using a case? Particularly one with metal in it such as an s-view case. If so, you have to recalibrate the compass after every reboot.
jonstatt said:
Are you using a case? Particularly one with metal in it such as an s-view case. If so, you have to recalibrate the compass after every reboot.
Click to expand...
Click to collapse
this is not dependant on cases etc., same here as on note3, ... : with each reboot the calibration resets. maybe this is how samsung wants it to be!
jonstatt said:
Are you using a case? Particularly one with metal in it such as an s-view case. If so, you have to recalibrate the compass after every reboot.
Click to expand...
Click to collapse
I'm using the s view case hmmm
TML1504 said:
this is not dependant on cases etc., same here as on note3, ... : with each reboot the calibration resets. maybe this is how samsung wants it to be!
Click to expand...
Click to collapse
Do you have same issue?
This has been an ongoing issue with Samsung Phones. This is my 3rd and and none of them have worked correctly in Maps, without navigating.
When you are just driving around (not navigating) you are using the compass....
When you are navigating, Maps is using the GPS and comparing your last point to your current point to determine your direction of travel. This causes navigating to work right and non-navigating to be wrong.
I have not found a consistent solution. Also on Google Skymap, with the AR type view, it is nearly useless for this same reason. It can't seem to sense your proper orientation due to the compass issue. (though I admit to not trying skymap on the Note 4)
Its not so much a bug, as it is Samsung and Google doing things differently.
boufa said:
This has been an ongoing issue with Samsung Phones. This is my 3rd and and none of them have worked correctly in Maps, without navigating.
When you are just driving around (not navigating) you are using the compass....
When you are navigating, Maps is using the GPS and comparing your last point to your current point to determine your direction of travel. This causes navigating to work right and non-navigating to be wrong.
I have not found a consistent solution. Also on Google Skymap, with the AR type view, it is nearly useless for this same reason. It can't seem to sense your proper orientation due to the compass issue. (though I admit to not trying skymap on the Note 4)
Its not so much a bug, as it is Samsung and Google doing things differently.
Click to expand...
Click to collapse
So you have this issue with the Note 4 when using Google Maps while driving? Moving my note in all directions calibrated it but then reboot forgets.
BrandonPrice31 said:
So you have this issue with the Note 4 when using Google Maps while driving? Moving my note in all directions calibrated it but then reboot forgets.
Click to expand...
Click to collapse
I dont mess with the recalibration process. Its annoying and i hate it, but its not so bad that i recalibrate. I also dont reboot very often, but in the past, the recalibration doesnt stick for long even when not rebooting.
I love google maps for navigating, but it sucks for driving around. The biggest issue is that the screen turns off on its own when not navigating. Waze is great for driving around, it doesnt shut off the screen, and gives you all the traffic info you need. It also routes the voice through the phone regardless of if you are connected to the car by bluetooth. The biggest complaint with waze is that it isnt multi window compatible. On my rooted note 2 i used waze on the left of the screen for traffic issues, and maps on the right side of the screen for navigation.

Compass issues

I picked up the nexus 6 from AT&T a couple days ago and love it but I have one issue. The compass is off by 90 to 180 degrees. If I spin it around enough it usually calibrated itself but only lasts until the next time I start maps.
I've seen a couple of comments indicating similar issues but I'm not sure if it is a hardware issue and should be replaced.
Does the compass work correctly for everyone else?
Sent from my Nexus 6 using Tapatalk
Same issue here
I have the same issue with my Nexus 6 64Gb blue, bought in Germany from Amazon.de.
Calibration helps but it decalibrates soon, and then the compass is off by 90° or 180°.
DontHaveACLue said:
I picked up the nexus 6 from AT&T a couple days ago and love it but I have one issue. The compass is off by 90 to 180 degrees. If I spin it around enough it usually calibrated itself but only lasts until the next time I start maps.
I've seen a couple of comments indicating similar issues but I'm not sure if it is a hardware issue and should be replaced.
Does the compass work correctly for everyone else?
Click to expand...
Click to collapse
That would NOT be a hardware issue. That is entirely software.
doitright said:
That would NOT be a hardware issue. That is entirely software.
Click to expand...
Click to collapse
Why are you so sure it's a software issue if the sensor loses calibration no matter what?
max.shirshin said:
Why are you so sure it's a software issue if the sensor loses calibration no matter what?
Click to expand...
Click to collapse
heres one way to calibrate a compass in android.. https://www.youtube.com/watch?v=AzQSsUsOWJc
simms22 said:
heres one way to calibrate a compass in android..
Click to expand...
Click to collapse
Exactly, except that in case of Nexus 6 the calibration only helps for about half an hour. It corrects the compass sensor and it starts behaving as it should, only to start showing random direction when you open Google Maps the next time. I've been testing it for several days, both inside and outside, in different places, running calibration several times a day. In no less than a couple of hours (usually even faster) it goes nuts again.
If you own a Nexus 6 as well, and do NOT have this issue, please let us know where you bought the device and which exact model it was (white or blue? memory size?)
Thank you very much in advance!
ingdir said:
Exactly, except that in case of Nexus 6 the calibration only helps for about half an hour. It corrects the compass sensor and it starts behaving as it should, only to start showing random direction when you open Google Maps the next time. I've been testing it for several days, both inside and outside, in different places, running calibration several times a day. In no less than a couple of hours (usually even faster) it goes nuts again.
If you own a Nexus 6 as well, and do NOT have this issue, please let us know where you bought the device and which exact model it was (white or blue? memory size?)
Thank you very much in advance!
Click to expand...
Click to collapse
bought mine through tmobile. black(blue) 32gb version
max.shirshin said:
Why are you so sure it's a software issue if the sensor loses calibration no matter what?
Click to expand...
Click to collapse
Calibration *IS* a software function. You feed corrections into the compass driver to compensate for the magnetic fields generated by the phone itself. If it is losing calibration, it CAN ONLY be a software issue. The data generated by the compass HARDWARE is not affected by calibration. The calibration adjustments are applied to values after they have been received from the hardware by the driver, and before being passed on to userland.
---------- Post added at 08:02 PM ---------- Previous post was at 07:50 PM ----------
ingdir said:
Exactly, except that in case of Nexus 6 the calibration only helps for about half an hour. It corrects the compass sensor and it starts behaving as it should, only to start showing random direction when you open Google Maps the next time. I've been testing it for several days, both inside and outside, in different places, running calibration several times a day. In no less than a couple of hours (usually even faster) it goes nuts again.
Click to expand...
Click to collapse
Are you totally certain that this is a function of losing calibration and not of needing a NEW calibration? The problem is that a compass reads magnetic fields. Nearly EVERYTHING generates magnetic fields, ABSOLUTELY EVERYTHING that uses electricity will generate magnetic fields. Everything with IRON in it will generate magnetic fields, typically in line with earth's magnetic field so it won't interfere (much), but if that thing with iron in it is MOVED, it will DEFINITELY interfere for quite a long time until it resets.
What the calibration does, is it tries to sort out all the competing magnetic fields in order to lock in to the true earth magnetic field. If you keep switching the compass on at different locations, then absolutely YES, it will spit out various incorrect values. In fact, if you go get yourself a regular old fashioned magnetic compass (with a needle on a pin in an oil bath) and you move it around, it WILL react to all the different things that produce a magnetic field.
Maybe try going into a forest, calibrating it, sitting around for a few hours (maybe a camp fire?), and then checking if it keeps its calibration.
doitright said:
Calibration *IS* a software function. You feed corrections into the compass driver to compensate for the magnetic fields generated by the phone itself. If it is losing calibration, it CAN ONLY be a software issue.
Are you totally certain that this is a function of losing calibration and not of needing a NEW calibration?
Click to expand...
Click to collapse
No, I'm not. Well, here are some possibilities to consider:
1. External magnetic fields affecting the phone in a way the compass goes nuts.
Before Nexus 6, I had Nexus 5 for 1 year and its compass worked perfectly in the same locations where Nexus 6 compass fails: same apartment, same office, same places around the city. Moreover, I don't even remember calibrating my Nexus 5, the compass just worked. Now I have Moto G as a temporary phone as I've sent my N6 back to Amazon, and Moto G compass works excellently as well -- again, no calibration required. So we have at least two devices with compasses working fine in the same environment.
2. Software bug that causes calibration data to be dropped.
I had the compass problem both on stock Lollipop and on CM. I also have a friend who did NOT have any compass issues while running exactly the same setup (first stock, then the same builds of CM) on the same Nexus 6 model. In Android, apps typically can't work with drivers on such a low level that could affect the calibration, and I don't run any special apps (except Google Maps) that do something with the compass. So it CAN be a software bug, but then it has to be very picky. Running a phone on pure CM without Google Maps for several days could be a good test as Maps is the only app that had something to do with a compass on my phone.
3. Some magnetic interference inside the device itself, or the sensor being too sensitive and/or having a hardware problem of its own.
This one seems the most likely to me, as it fits a pattern: the problem happens consistently on one device while never happening on other devices with identical configuration, several users have this problem (there are threads on reddit and other places, too) while the majority seems to be unaffected, and other devices with a compass work just fine in same locations.
Anyway, there obviously ARE devices around which can have a compass working just fine, and be it either a software or a hardware issue with Nexus 6, it's good if more people report a similar issue (or a lack thereof).
I have the same issue. I have calibrated from home and on the road in several states. I does not hold calibration.
I'm road warrior, and this is a real problem when traveling.
Sent from my Nexus 6 using XDA Free mobile app

Categories

Resources