[Q] Orientation sensor wrong direction - Android Q&A, Help & Troubleshooting

Hi,
I have got a noname Android tablet (Rockchip 29xx based), which has an orientation sensor with 90 degrees skewed directions. This means if i turn the tablet in landscape orientation, the picture on LCD turns portrait orientation.
I have replaced the mainboard of the tablet, but the new one came from the same type and has the same version. As i remember, at the first use it had a correct orientation, and i have no idea how it changed (i gave the tablet to a friend temporarily).
Is there any way to correct the 90 degree skew? From build.prop or sensor kernel module parameter, or similar...?
Thanks for any help

Related

[Q] GT-I5500 Accelerometer calibration

Hi,
I have a rooted Samsung GT-I5500 phone with stock Android 2.2, unfortunately the g-sensor is always reporting incorrect values for the Z axis.
That is when the phone is placed horizontally I get values of about 1.2G on the Z axis, while when the phone in standing vertically or in landscape mode I get values of 1G on the X or Y axes (as they should).
This causes applications to think the phone is being moved, for example in "GPS Status" I costantly see the acceleration value being around 0.2 even if the phone is not moving.
Moreover there is no calibration option under display settings and the procedure described here (for another model): http://forum.xda-developers.com/showpost.php?p=6999499&postcount=8
cannot be applied because /system/bin/sensorcalibutil_yamaha is missing.
Can someone kindly help me?
Thank you

[Q] 90° Vertical is not aligned correctly, Sensor Calibration issue

When I hold my phone vertical (portrait or landscape) to take panorama or photosphere photos it's out of alignment and I have to downward it to the earth to adjust the horizon line to the middle of screen. In another word if I hold my phone in 80° its sensor behave like it is in 90°. Attached photos shows the problem. I have rooted my device with official 4.4.2. I couldn't find any helpful guide about how to initialize or calibrate accelerometer or G-Sensor. rotating phone in 8 path, rotating around all 3 axises, restarting device didn't help.
Please help me how to solve this issue. I don't want to reset factory device right know. I've access to all system files if needed. Thanks
Nothing?!
Please help! Any idea might help.

Fully rotate (home) screen 90 degrees

hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.
Any Luck?
I'm having the exact same problem with APQ8084 SOM running android 5.0.2 outputting to HDMI monitor (no accelerometer).
You would think this would be an easy problem to solve.
If I put my Winodws 10 Monitor in portrait mode, it correctly rotates screen 90 degrees end of story.
As Yusunoha mentioned, changing the user rotation in Android (via several methods):
1. using the "settings put system user_rotation 0/1/2/3"
2. modifying PhoneWindowManager.java to always return preferred rotation as "portrait"
3. Setting "persist.panel.orientation=90/270"
Does NOT result in screen rotating 90 degrees.
Instead I get a compressed portrait mode stuck inside my landscape orientation.
It's almost as if the accelerometer (which I don't have) is telling the OS to always orient towards it's perceived gravity.
Any tips rotating the entire Android Display experience (not on a per APK basis) would be wonderful.
Anyone have any ideas?
Yusunoha said:
hello everyone,
I'm having a problem with the rotation of my android device and I was hoping if anyone could help me with this.
to give some backstory, I'm trying to create a magic mirror using a MK809 III B Quad-Core android stick, which uses android 4.4.2
the stick is used with a computer monitor (Samsung Syncmaster 205BW), but the monitor will be used vertically. (I'm using a HDMI>DVI-D adapter to connect the two)
because of this, I need to have the screen rotated 90 degrees in portrait mode, and android does allow you to change the rotation of the screen, but it doesn't do it well.
normally the rotation is set to landscape, but you've the option of setting the rotation of the screen, but if I set the rotation to 90 degrees, rather than actually rotating the screen with 90 degrees, it rather pushes a vertical screen in landscape mode, thus cutting off half of the screen.
so far I've tried apps such as Ultimate Rotation Control, but those do not actually rotate the screen, rather they just lock the rotation.
my question now is if anyone can help me with this problem, or tell me if it's even possible to do the thing I'm trying to do.
Click to expand...
Click to collapse
Found any solution? Even with my rooted device and these settings it won't work. Also using usb c > hdmi > vga.

Accelerometer off by 26° on X axis

Hi,
I just bought a chinese tablet BS109 from Aliexpress, for the price the tablet is really an excellent value.
However, I have a big annoyance with it:
The G-Sensor is off by 26° on X axis (and 7° on Y axis).
However, it seems accurate (gives the same values for the same position). It's just like if the component would have been bent on the motherboard.
I don't need accuracy on the G-Sensor, but this has 2 nasty effects:
- When in landscape mode, it won't switch to portrait mode without flipping it right by at least 25°
- It's impossible to keep a portrait mode when lying on a table. (Except by locking to portrait mode). It will return to landscape mode as soon as the tablet approach the horizontal lying position.
The "recalibration" tools did not help. (GPS Status or Clinometer for instance)
There is no settings menu for this sensor.
My questions:
- How can we fix such a huge miscalibration?
- Can a calibration fix such a difference?
- Should I consider a Hardware problem? In this case, could it be that the sensor is not properly placed on the motherboard, and that we could fix it by opening the tablet?
Thanks,

Screen orientation bug

I’m playing with my old tablet huawei mediapad s7-301u these days. I'm testing cm-12.1 but I have one problem. The orientation of the screen in portrait mode is upside down. It doesn't cause much trouble, working with most applications because I've turning on 180 and 270 degree orientation. The main problem is with the camera. The shutter button is instead at the bottom, at the top of the screen in portrait mode. The output image is ok. Does anyone have any idea where there might be a problem? Thanks in advance.

Categories

Resources