how to calibrate accelerometer? - Xiaomi Mi Max 3 Questions & Answers

quite often screen rotates to landscape when i am putting phone on the table. sometimes it rotates upside down at all. i suppose it is accelerometer problem? is it possible to recalibrate it? in CIT all test pass. in compass app it shows that phone is rotated 2° to the left. if i lift left side of the phone little bit up, it show 0° and green circle. so how can i recalibrate it? phone is rooted, with unlocked bootloader, installed twrp and miui 12.0.1.0 QEDCNXM stable by xiaomi.eu. thank you very much for your time spent reading this post and all help :good:
p.s. i think i do not know how to use google, cuz did not find anything that helped to resolve this problem

I would be interested in how to do that too, it's weird at what angles the phone assumes that I want to use landscape modes, really annoying sometimes

I can't tell exactly whan it has started, but before it was normal or it was very rare that i did not notice this issue

Related

Rotate screen clockwise.

I have done a quick search but not found anything useful about why the screen on the desire only rotates in one direction. I have come from WM phones which all rotate both ways as does the iphone so I hope its not just my handset. If anyone knows of an app for this that I have not found then Thanks for any advice.
Just a quick reply, mine only rotates anti-clockwise so It's not Just yours m8. Hopefully someone will point us in the right direction
There is only 1 way to auto-rotate
This also fricked me in the past when I tried to auto-rotate and it did not.
Panic attack that I got faulty device.
It is not
Thanks for that. Must be in the software then. I wouldn't have have thought it would be that difficult to implement. How annoying.
Some custom roms let you autorotate 360 degrees, i.e. even upside down (The latest Cyanogen does that on my G1)
I am actually happy my desire doesn't auto rotate to the right, so I can lie on my side in bed and read the phone without it rotating. I imagine if/when this phone is rooted this is a feature that can be easily added to a custom rom.
Didn't even realise it didn't turn the other way lol. I agree with the above poster though, my iPod Touch rotates both ways, and it's a real pain.

[Q] Accelerometers won't see above horizon?

Hey folks, I've got SyndicateROM Frozen running, and have the following problem:
When I use Google SkyMap, it won't let me see above the horizon. If I use GPS Test, which shows pitch/roll, it'll detect up to 90 degrees up, but doesn't seem to register anything higher than that. I mean: when I hold the phone flat on a table, no problem. Pick it up, and face it in front of me so the screen faces me, no problem. Tilt it upward so the camera is looking at the sky, and it doesn't seem to register.
I've tried calibrating compass, accelerometers (with the GPS Test tool, and with sensorcalibutil_yamaha), but to no avail. Tried the calibration tool in system settings, too.
This happens with any Froyo build/ROM I've tried. Did battery pull, etc., no go.
Anyone have any suggestions?
Finally someone else has asked about this. There is an app called "Surveyor" that is used to measure distances with the camera but ever since I started using custom ROMs it isn't able to find horizon. Any help with a possible fix would be appreciated.
Sent from my SPH-D700 using XDA Premium App
I had a problem similar to this (the compass was pointing way off and very erractic). I used an app called Sensor Debug and found that my pitch axis was reading -178 lying flat on a table. I went into the phones display settings and chose the Horizontal Calibration, put the phone upside down flat on a table, but hanging over it so I could reach under and push the Calibrate button. This worked for me like a champ! (Calibrate upside down). I noticed this after the OTA Froyo.
I have the same issue as the OP. I tried installing that sensor debug and it showed 0 for pitch and 0 for roll when laying flat... note... I put it flat but with the camera hanging over the edge of the table.
Anyways, Google Skymap fails for me too...
bump... any word... hopefully from a dev on what is happening?
Not flat with the camera hanging off... upside down flat.. screen side down.. with enough of the screen hanging off to hit the calibrate button..
Sent from my SPH-D700 using XDA App
Hmph.
Welp, looks like I've got to post here, as I'm a new enough member and don't have the necessary # of posts to post to the Developer forum!
In case anyone from the ACS/SyndicateROM team is reading this: AWESOME JOB. Flashed EC05 and Takiya (1.1.0) without a hitch. Amazing that it just keeps all data/settings. I can't thank you guys enough!
Back to the point of this thread: Accelerometers are still not working correctly, even with EC05. I've re-tried:
- Android horizontal calibrate (under settings) both screen up and screen down
- system/bin/sensorcalibutil_yamaha, both screen up and screen down
- Battery out/battery in
- Recalibrate from within GPS test.
Good news is compass works, GPS works. Within GPS test there's a pitch/roll sensor. Doesn't seem to want to register above 90 degrees.
If someone is running EC05/SyndicateRom 1.1.0, would you try running Google SkyMap and see if you can see above the horizon? Basically, I can tilt down and look at the Nadir, but when I tilt up, no matter how far I tilt up, in landscape or portrait mode, it won't show anything above the horizon.
Thanks!
EDIT: Er, the app I use is called "GPS Status," it has the pitch/roll/calibrate stuff.
It seems to work for me (running SRF 1.1.0).
Unless I'm just interpreting what I see incorrectly, but if I start out pointing down, and gradually shift to pointing up, it crosses what I assume is the horizon (because it has directions like north/south written on it) and keeps going.
I'm pretty sure it worked for me on previous versions of SRF though.

[Q] Notifications bar not responding in portrait mode

Alright my screen itself may bed bad? I am unsure. I flashed CM7, and for a while everything appeared to be going smoothly. The real trouble began when I started playing Stupid Zombies(fun game, angry birds with guns and zombies). The game worked fine, but at one point the touch screen started acting weird. I would be holding my finger on the right side, but the cursor would be having a seizure on the left side of the screen. This random behavior didn't seem to affect the rest of the phone though, I pulled the battery and the same thing occurred. Eventually it simply stopped, but left me with a notifications bar that I cannot pull down in portrait mode. When I flip to landscape I can pull down the notifications bar, and the top part of the screen seems to respond just fine to my input. I reflashed and wiped and the same thing occurred. I flashed into a sense rom(while wiping of course) and my bar still will not respond to my touch whilst in portrait mode! I am vexed, any ideas would be swell.
generic_tipo said:
Alright my screen itself may bed bad? I am unsure. I flashed CM7, and for a while everything appeared to be going smoothly. The real trouble began when I started playing Stupid Zombies(fun game, angry birds with guns and zombies). The game worked fine, but at one point the touch screen started acting weird. I would be holding my finger on the right side, but the cursor would be having a seizure on the left side of the screen. This random behavior didn't seem to affect the rest of the phone though, I pulled the battery and the same thing occurred. Eventually it simply stopped, but left me with a notifications bar that I cannot pull down in portrait mode. When I flip to landscape I can pull down the notifications bar, and the top part of the screen seems to respond just fine to my input. I reflashed and wiped and the same thing occurred. I flashed into a sense rom(while wiping of course) and my bar still will not respond to my touch whilst in portrait mode! I am vexed, any ideas would be swell.
Click to expand...
Click to collapse
If you wiped/reflashed and wiped/flashed a sense rom and still have the same problem, it might be a hardware issue! I'm not an expert on this but I had a similar issue on my HTC HD2 where part of my screen would work and the other part wouldn't, it turned out to be my digitizer that was messed up! I would take it to a cell phone shop and see if they can give you a free estimate on fixing your problem for you.
If you feel froggy like they say, try to do it yourself.....
http://www.youtube.com/watch?v=jFmt6aLEWag
http://www.google.com/products/cata...zTgQfYgdHLCA&sqi=2&ved=0CDEQ8wIwAw#ps-sellers
GOOD LUCK!!
I was afraid I would get this reply, I may indeed give it a shot myself. I'm pleasantly surprised by how cheap the replacement digitizer though. Thanks for the links.
generic_tipo said:
I was afraid I would get this reply, I may indeed give it a shot myself. I'm pleasantly surprised by how cheap the replacement digitizer though. Thanks for the links.
Click to expand...
Click to collapse
Hi, I have a question. Did the digitizer replacement fix your problem? I am having the same exact issue with my girlfriend's EVO (rooted, with Cyanogenmod, done several wipes and flashes with no luck) Works in landscape mode, but not in portrait mode.
Get an app that highlights keypresses/gestures and test the area or test a different ROMs landscape orientation
Then you would know almost for sure if it was hardware.

Accelerometer off by a few degrees

my samsung wave's accelerometer is off by a few degrees, any fix for that? thank you
There should be a way to reset the device, but I have yet to discover it, it should be under "adminastrating menu" or "admin menu", not sure.
.......................................................
What the hell do you mean by all dots in various topics??
please explain otherwise it will be considered as spam
Where i found this "admin menu"?
try this by typing in "call keypad" while phone lies on flat ground
*#66225*# Motion Calibration
te_chnix said:
try this by typing in "call keypad" while phone lies on flat ground
*#66225*# Motion Calibration
Click to expand...
Click to collapse
WTH!!! After doing this now I can't even turn left! I have tot turn the pjone 360 degrees to turn the orientation to the left. Is there any way to reset the earlier settings! Or else I will sue you!
I have the same issue hope theres an answer
Tried that on 2 phones. S8500 and S8530.
Everything works fine for me.
Try different positions for calibrating and test it with sWaterLevel.
Should be "free".
SuperDeform said:
I have the same issue hope theres an answer
Click to expand...
Click to collapse
Yep, same here.
*#66225*# works for me
Finally I solved it. I had to calibrate the phone with it kept at 30 degrees to the floor.
Depending upon the accuracy of the workers and place of build, the sensors might be placed wrongly. So keeping the phone flat and calibrating the phone is not a good idea for all phones.
I solved my problem by keeping the phone flat and opening asphalt 5. After the initial calibration, in asphalt 5, when the phone is kept flat, my car kept going to the right. So I calibrated the phone with the bottom part of the phone in the air and the whole phone making an angle of 30 degrees with the ground.
On the other hand if for others, their car goes to the right when kept flat, calibrate the phone with the top of the phone in the air making a suitable angle. Keep increasing and decreasing angles until you find that the car goes completely straight.
Hi i have a question how you put the phone to calibrate it for me any position I choose nothing changes when the phone horizontally my screen is rotated to the right it is for all applications except "Asphalt" where nothing changes (even still turns slightly right).
te_chnix said:
try this by typing in "call keypad" while phone lies on flat ground
*#66225*# Motion Calibration
Click to expand...
Click to collapse
Nice code... Thanks...
I think I've buggered mine as I had it flat on a desk and now the system sensor test (*#0*# then # for sensors) is showing wacky figures... I'll have to hold my phone in strange positions to correct it
I have mistakenly caliberated it incorrect and i also upgraded to bada 2.0. Now, there is no way to recaliberate as 66225 doesn't work.

Accelerometer- Possible Hardware fault?

I've not had this issue up until yesterday, the phone would joy auto rotate, and games such as temple run weren't playable due to the accelerometer not registering anything at all, I reset the phone and it worked fine.
now, the issue has come back, but Won't go, I've reset the phone, Booted in safe mode, performed a factory reset, everything. (the only difference factory reset made was that when I try to calibrate the G sensor it says 'calibration complete' instead of calibration aborted.)
However, still the bubbles do not move.
I've looked on the sensor debug app, it shows no data.
Now, what's strange is on the camera I have taken two identically pictures.
One I took in portrait, the other I took in landscape.
I went to gallery and the picture I took in portrait appears as a landscape picture, and the one I took in landscape appears as a portrait picture :s
Well, that shows the accelerometer is working right? (Even though it's backwards)
I'm really confused, I don't want to have to return my phone but if it's a hardware fault I have no choice.
By the way, I'm completely stock.
-bump-
When I calibrate the phone while moving it around, the calibration aborts.
But when I calibrate it as you should. on a flat surface it says calibration completed.
so therefore, the Accelerometer must be working in there.
Which makes me wonder if it's a hardware fault or an issue with the kernel or Rom? (Stock)
...
Mine had a similar problem in that it stopped auto rotating in anything, turned out to be a hardware fault as like you I tried every software test. Your best bit would to either do a factory resit on the phone (unless already done so) and it that does not fix it have you tired the htc function tester?
If yes to both it may be the case that you have to send it for repair.
My auto rotate was a hardware fault and they had to replace the main board and a lot of other silly components I have to clue as to what they are.
I hope this helps.
Same problem here. This issue actually concerns a lot of people.
No fix for the moment, check this thread for more info:
http://forum.xda-developers.com/showthread.php?t=1588663

Categories

Resources