I have a Xiaomi Redmi 10C running Android 12 SKQ1.211103.001 and MIUI Global version 13.0.0 Stable. I bought it new in Malaysia about 8 months ago in early/mid 2022.
This phone does not have a built-in compass, neither did my two previous phones, both also Redmi phones that did not have this problem.
The problem is that map apps including MapsME and Google Maps started pointing the arrow indicating my position in the wrong direction after I'd had the phone for roughly three months.
In this screenshot I'm actually walking towards the destination marked by the flag. But the phone thinks I'm facing the other way so mainly shows the area behind me, making it look like it's in front of me:
At first I only noticed it pointing backwards, exactly 180° opposite the direction I was facing and moving. But later I noticed it would also sometimes be 90° to the left or right. Initially I thought it was a bug in MapsME which I use most of the time, but it definitely happens just as often in Google Maps.
Is this a known bug with Android, or with Xiaomi or Redmi phones? Maybe a regression on Android phones without compass as this never happened on my previous Redmi phones without compass running older Android versions.
I've tried to search for this problem using various wordings and failed to find anything similar to my problem, so I turn to the Android experts here.