Hi there,
I just bought a used Mi 5 to replace my previous one which I lost and I saw it as a good opportunity to try out the MicroG fork of LineageOS. I flashed the newest firmware and installed the OS and it's running quite well all in all – however I have two weird problems:
1. When using mapping software my compass seems way off. Is there an easy way to calibrate it?
2. (Potentially related) The device screen sensor is flipped when held horizontally. The screen orientation seems correct when held as usual, but as soon as I try to take a picture in landscape mode they turn out flipped upside down. Can anybody explain this? Can I overwrite this somehow?
Thanks a lot for any help
PS: I can't edit the title anymore so I'll add this as a separate paragraph. I've had problems with losing my signal at random intervals since I've had the previous Mi 5, with this one it's no different. Is this a known problem for Lineage-based ROMs? Any way to improve the situation there?
Hm.. so I tried the following firmware images from github/XiaomiFirmwareUpdater/firmware_xiaomi_gemini/releases (can't link to this unfortunately):
fw_gemini_miui_MI5Global_V9.6.1.0.OAAMIFD_e569ca4e32_8.0.zip
fw_gemini_miui_MI5_V9.6.1.0.OAACNFD_996b4bcbff_8.0.zip
fw_gemini_miui_MI5Global_8.7.19_7a80214a95_8.0.zip
They all show the same behavior regarding to the camera orientation bug. It's independend of the camera app in use. I also tried enabling and disabling the Camera2 module in Magisk, which did not seem to have any effect. I found a similar issue for the front camera after enabling Camera 2, but this seems to be unrelated.
Does the same happen with non microG versions of LOS?
Have you already calibrated the compass using the gestures in all 3d axis? Search for it on youtube.
Related
Hello everyone in XDA
This is my first post, but I've already used this blog to solve many of my problems in the past, and for that I thank everyone.
But currently I'm facing a kind of problem I don't find a solution for. What happens is that gyroscope and accelerometer aren't working properly. Most of the times I boot my phone, it switches properly from portrait to landscape mode, and even if I use de CPU-Z app i find they are all outputting readings properly. But after about half an hour none of them outputs nothing at all. Two situations that may be hidding some solutionable behaviour:
1- if I let the sensors-reading app open in memory, the sensors keep outputting data;
2- when the sensors stop outputting data, all the lines in the sensors tab of CPU-Z are blank, however if I force the use of the light sensor it suddently appears the output of its data.
Currently I'm using a nightly of CM, but in the past month I had still the stock rom, which presented the same problem.
I've already thought it could be hardware problem, but I find this inconsistencies somewhat awkward and irregular.
Hi!
I am facing problems with the orientation sensors (accelerometer and/or gyroscope), because installing several applications to test them (or use games), it is clearly observable, that they are a bit off (with enough to be disturbing when required). For example, games or tests that simulate a ball, and my phone is laying on a horizontal table, the ball rolls quickly to the edge of screen. This happens as well with the built-in tests in the "service menu" of the phone, for accelerometer and gyroscope also.
Do you have any suggestions how could I calibrate these sensors globally (for every app)?
Thanks.
Info
vetko said:
Hi!
I am facing problems with the orientation sensors (accelerometer and/or gyroscope), because installing several applications to test them (or use games), it is clearly observable, that they are a bit off (with enough to be disturbing when required). For example, games or tests that simulate a ball, and my phone is laying on a horizontal table, the ball rolls quickly to the edge of screen. This happens as well with the built-in tests in the "service menu" of the phone, for accelerometer and gyroscope also.
Do you have any suggestions how could I calibrate these sensors globally (for every app)?
Thanks.
Click to expand...
Click to collapse
factory Reset ur phone and then use PC companion app to Repair Firmware...
this can wipe current data and install fresh firmware on ur device
:good:
Hi,
I have the same problem. Only the x axis of the accelerometer seems to be affected : it show a value around 1 instead of 0 while the phone is sitting flat. Y and Z display normal values.
All the software solutions I have tried have had no effect at all... It seems the built-in test reads raw data from the accelerometer. It is hard to imagine how this can be a hardware problem though...
Anyway, in my case I believe a software fix (x=x-1) would do the trick but I have no idea how to do such a thing ! Any help ?
@vekto : Have you solved the issue by any chance ?
Would anyone care to try the accelerometer tests and post their results ?
Typing *#*#7378423#*#* will get you on the service menu. The two significant tests are "accelerometer" and "gyroscope".
I'd post some screenshots myself but I'm not allowed yet...
I'm having the same problem now. It seems one axis is affected. Haven't found a way around so far. This is sad because it affects the images taken with Google Camera Sphere mode. The images are badly aligned together with glitches in between. My phone wasn't like this before.
Either a SW fault - might be able to calibrate with GPS Status & Toolbox app, for example - or a FW fault - and reflashing ROM might help (highly unlikely) - or HW fault - the sensor has moved on the board (which is a bad sign anyway, might be on the way to disconnecting itself).
I sent mine to Xperia Care and got it back with the accelerator fixed. Still unclear if it's a HW problem...
It came back with a white spot on the screen (near the power button) though... so I sent it back again
I'm also having issues with the gyroscope. Installed Bubble app to calibrate the gyro. It showed the gyro was of a couple of degrees. Unfortunately the bubble app calibration doesn't work in a game like Need for Speed. It's very difiicult to achieve good times in the game right now since I have to hold it tilted to the left to go straight ahead.
So if anyone has a fix or workaround... Please do post.
Same problem, Seems after factory reset whith wipe dalvik cache.
any solution?
02nd March 2017, my autorotate has completely stopped working, restart, safe-deposit and reset do not fix. Diagnostics show Gyroscope Light Sensor and accelerometer failed testing, 3 years of same issue, surely there must be a fix that works by now?? ( please note, " turning it off and on again " does not fix it )
Helps Please
I have the same issue. Since last week, gyro, accelerometer, light and proximity sensors stop working. I've tried reflashing stock ROM without success. I have not warranty (almost 3 years old), so I even try to disassemble , disconnect an reconnect every flex (I don't know exactly were the sensors are located on the board). After that I get almost 8 hours of fully functionally sensors and then, they stop working again, so I'm almost sure it's a hardware issue.
Same problem for 3 years
I'm just now getting around to doing something about this. As my power button stopped working I can't post requested screenshot without going to the pc. I have been shopping new (fall 2018) phones after having the Z3+ since release. In my research I'm finding the phone still is better than Samsung, LG, and the pixel3 for me because the 3.5mm phone jack is mandatory for me using my device with an i-rig midi requiring both that port and the USB at the same time. I'm going to do everything I can to keep using this phone till it falls to dust. It's one of 4 Sony I've bought since the day Z1 came out of t-mo. I look forward to testing solutions. :good:
Some time after my post, I bought a new jack/proximity sensor flex and replace it. This solved the issue, but weeks later, the bottom portion of the touch screen becomes unresponsive. May be I have done something wrong... may be programmed obsolescence...
Hi I'm facing a problem of my gyroscope I don't know which one is not working a gyroscope or accelerometer. My gyroscope is so delay when I play pubg mobile and I can't also calibrate my Gsensor it always says FAIL but I put in a perfect flat surface please please please help me with this problems
Hello i have issue with Le2 x522.
Phone seems to have wrong working sensors.
For now its LSM6DS3 - Its accelerometer and gyroscope
In accelerometer menu X axis seems to be reversed so when i rotate phone on one side screen gets rotated in oposite.
Also orientation sensor looks pretty off.
I have tried google maps trick, also tired MIUI9 diagnostic menu calibration but it didn't work(punched phone few times in area of camera too).
Ended up with reflashing SmallEUI by Auriel(stock kernel) and still its not working.
Any ideas how to solve that issue?
Kiciuk said:
Hello i have issue with Le2 x522.
Phone seems to have wrong working sensors.
For now its LSM6DS3 - Its accelerometer and gyroscope
In accelerometer menu X axis seems to be reversed so when i rotate phone on one side screen gets rotated in oposite.
Also orientation sensor looks pretty off.
I have tried google maps trick, also tired MIUI9 diagnostic menu calibration but it didn't work(punched phone few times in area of camera too).
Ended up with reflashing SmallEUI by Auriel(stock kernel) and still its not working.
Any ideas how to solve that issue?
Click to expand...
Click to collapse
I'm not sure about this method:
in miui 9 thread for le 2 by sagarmakhar, in the 2nd post, it was about volte, but involved a thing about sensors. according to him, wipe persist from his recovery, then flash stock rom and then copy the 'sensors-settings' into /persist/sensors/ (I don't remember the folder now, please refer to that post) and reboot....May work, i don't think that it can brick your device but try at your own risk:fingers-crossed: Good luck
Hi guys, according to my old thread; https://forum.xda-developers.com/mi-a2/help/lots-issues-updated-to-android-9-pie-mi-t3881173
Since I updated my A2 to Android 9.0 Pie, I found that its portrait mode seems close to be useless.
It only focuses on the subject which is located on the middle of the frame, I cannot tap anywhere else in the frame to focus. In addition, locking focus doesn't help at all.
This issue has been appearing since the first Pie update, and is not fixed til now. I send my feedback to Mi every single update patch, but seems all my feedbacks are completely useless.
Any other modes work fine, both camera performs perfectly. There's only the mentioned issue in portrait mode.
Please note that I already tried factory reset, but it doesn't help fix the issue. Moreover, I found that many users also face this issue, so I am extremely sure that there's not only me.
Since the issue has never been fixed, so I wonder if you guys have any good suggestions to fix the issue, or any ideas how to force Mi to fix this big bug for us?
Hi all,
Been quite a few years since I posted anything here!
I have just received my pixel 5 and have noticed that dead center of the notification tray when in portrait, there is a flickering dot, especially in low light it flickers white or if not flickering leaves a faint grey dot over whatever is on the screen (stays in the same place even if I rotate the phone or watch a video)
If I reboot I can't see it for a minute or so until it then appears.
Factory reset doesn't solve it.
Has anyone else noticed this? I'm thinking it might be the ambient light sensor under the display but it is really irritating, possibly mine is faulty?
Cheers!
It's the underscreen proximity sensor.
I get that it is the proximity sensor but, It is flashing constantly - I spoke to google and they said that it should only show when in a call - it is flashing even while watching YouTube - does anyone else get this same behaviour?
Not showing on mine
I have it constantly when KinScreen is running, I saw someone having it with cpuz
I hadn't noticed until I saw this thread. I did wonder where the proximity sensor was. It's only visible when on a phone call for me.
Is the light sensor under the screen also? You can usually see that on a lot of devices when you tilt the screen slightly.
Joshhudsy said:
I get that it is the proximity sensor but, It is flashing constantly - I spoke to google and they said that it should only show when in a call - it is flashing even while watching YouTube - does anyone else get this same behaviour?
Click to expand...
Click to collapse
Mine only shows when on a call
You probably have some apps using it. Possibly something like Tasker that happened to have proximity sensor based profiles configured, etc.
Mine went mental during Google Play downloading all my apps on initial phone setup. Then it went out and I've not seen it since.
Joshhudsy said:
I get that it is the proximity sensor but, It is flashing constantly - I spoke to google and they said that it should only show when in a call - it is flashing even while watching YouTube - does anyone else get this same behaviour?
Click to expand...
Click to collapse
It's a software bug. I read about it on reddit and twitter yesterday. Did you move your data from your old phone using the cable?
To fix it you should factory reset, then migrate your old data using WiFi, not cable, don't restore or restore your apps manually (at least until you make sure it's fixed).
If that still doesn't work, check if you have an app called HomeAssistant (HASSIO) installed. There's one report of that causing it. To fix that you need to disable the proximity sensor on the assistant app itself.
Sources: here, here, and here.
I got the same Problem after installing notifybuddy. There must be some Bug where the sensor gets started the moment an overlay is shown. I can reproduce the Bug over and over again. Install notifybuddy and Start the App give all permissions and than Pull down notificationscenter (its an overlay). To solve the Problem, uninstall notification Apps That are using overlays.
Mine is working fine. Only during a call or listening to voice messages.
akpe said:
It's a software bug. I read about it on reddit and twitter yesterday. Did you move your data from your old phone using the cable?
To fix it you should factory reset, then migrate your old data using WiFi, not cable, don't restore or restore your apps manually (at least until you make sure it's fixed).
If that still doesn't work, check if you have an app called HomeAssistant (HASSIO) installed. There's one report of that causing it. To fix that you need to disable the proximity sensor on the assistant app itself.
Sources: here, here, and here.
Click to expand...
Click to collapse
Hit the nail on the head there!
It was the Home assistant app causing it (even though it had installed after restoring from my backup, I had never opened it yet since having this phone). Uninstalled home assistant and it has stopped flashing!
Thanks so much for the replies all!
Have this issue on my one too...which is the home assistant app? Deleted the "Home" but that doesn't seem to have solved the problem.
Anwar902 said:
Have this issue on my one too...which is the home assistant app? Deleted the "Home" but that doesn't seem to have solved the problem.
Click to expand...
Click to collapse
Go to the gestures options (don't know exactly where the specific one is located, it could also be at the Digital Wellbeing settings) and disable the Flip to Shh one. See if that helps.
Στάλθηκε από το Mi A2 μου χρησιμοποιώντας Tapatalk
Anwar902 said:
Have this issue on my one too...which is the home assistant app? Deleted the "Home" but that doesn't seem to have solved the problem.
Click to expand...
Click to collapse
The Home assistant is a 3rd party home automation app that I had previously installed - if you don't use it, I'd check for any other apps you have installed for something that might be using the proximity sensor.
Couldn't find that was causing the issue. After a restart it would be fine but once unlocked and apps started loading it would go crazy. Went through all my apps but couldn't find the cause so just reset my phone. Hopefully it doesn't show up again.
Seems to.be software issue so hopefully google will do something about it
Joshhudsy said:
The Home assistant is a 3rd party home automation app that I had previously installed - if you don't use it, I'd check for any other apps you have installed for something that might be using the proximity sensor.
Click to expand...
Click to collapse
It really shouldn't matter if something is using the proximity sensor. It shouldn't ever be visible.
jimv1983 said:
It really shouldn't matter if something is using the proximity sensor. It shouldn't ever be visible.
Click to expand...
Click to collapse
That's incorrect. A quick Google search for "S20 proximity sensor blinking" will yield results that show otherwise. Maybe go to YouTube instead as there's quite a few videos there on it. The Samsung subreddit has an influx of posts, it seems, for almost every device they've released over the past couple of years because folks aren't used to seeing it. It's visible under the display on my S20 Ultra and I had it on my S10 plus also.
Now of course there's bugs where it's blinking on the Pixel 5 when it shouldn't, but is it supposed to be visible when an app is using it legitimately? Yes.
Edit: It just dawned on me that YouTube vids wouldn't be the best example of this because they use cameras to video the proximity detector. Everything else stands though. Google searches and Samsung subreddits are ripe with examples though.
MasterBelch said:
That's incorrect. A quick Google search for "S20 proximity sensor blinking" will yield results that show otherwise. Maybe go to YouTube instead as there's quite a few videos there on it. The Samsung subreddit has an influx of posts, it seems, for almost every device they've released over the past couple of years because folks aren't used to seeing it. It's visible under the display on my S20 Ultra and I had it on my S10 plus also.
Now of course there's bugs where it's blinking on the Pixel 5 when it shouldn't, but is it supposed to be visible when an app is using it legitimately? Yes.
Edit: It just dawned on me that YouTube vids wouldn't be the best example of this because they use cameras to video the proximity detector. Everything else stands though. Google searches and Samsung subreddits are ripe with examples though.
Click to expand...
Click to collapse
If what you are saying is true then why can't you see the sensor flashing on any phone when in a phone call or when the "Flip To Shhh" feature is enabled with just your eyes?
And if that is true about the Pixel 5 then there will be no way to use the "Flip To Shhh" feature without always seeing the sensor flashing which I can do with my Pixel 2 XL.
Here is a video of my Pixel 2 XL taken with the camera on my tablet. You can see that the tablet picks up the flickering sensor when "Flip To Shhh" but the sensor goes off when I turn the feature off. That's because the feature uses the proximity sensor to work. However, the flickering is ONLY picked up by the camera on my other device. I can't see it with just my eyes looking at the phone even though the sensor is active.
https://streamable.com/z30mgx