[Q] Force screen position? - Nexus 10 Q&A, Help & Troubleshooting

Is there a way to force the nexus 10 to use a specific orientation while using an app that controls the screen orientation?
I have a thermal sensor (seek thermal) that uses the otg port. The software and sensor are listed as not running on the n10 (google play doesn't allow n10 to download. Not compiled for n10 specifically) , so I forced an install. The thermal sensor and software work great, but with the screen orientation /rotation is reported wrong to the software. The software detects/displays it in landscape mode when it is actually portrait and displays it as portrait when it is held in landscape. The thermal sensor is on an otg cable, so I can place it in any position. The sensor does not not influence the orientation problem. Since the software was made for phones, I think this may be related. The software detects it is poitioned at the opposite orientation than it actuall is. I've tried locking the screen rotation. No luck. The app flips the display even with the screen rotation locked.
It's not really usable in this position. Think of it as walking or driving with every word, sign or scene sideways. The text and controls are always sideways. I need to be able to flip the display (+/-) 90 degrees so the display shows the actual environment.
Is there an app or setting I can adjust to pass/report the actual screen orientation to the thermal sensor app?
System = n10 2012 running lollipop. 2 years with the n10 and have never seen an app that had this problem.
Thanks for any help!
Ed

On my N10 I'm using an app call "Set Orientation" which has an number of screen orientation controls. I specifically use it to allow landscape mode with the pogo connector pointed up (don't ask). I'm not sure if it provides what your looking for but it may be worth a try.
Sent from my Nexus 10 using XDA Premium HD app

Related

screen rotation threshold

something has been bothering me about screen orientation.
It seems like the threshold for rotation is very very small, on every ROM I've tried, as well as the stock firmware.
Sometimes I'll just place my phone back down on my desk and then it goes into landscape, despite my wishes.
I am aware there is an orientation lock but I'd rather leave that off and require the device to wait a bit longer before committing to the rotation. Is this fixable via firmware or is this a hardware issue?
Try Settings > Display > Horizontal Calibration...
Sent from my SGH-T959 using XDA App

Proximity sensor Strange behaviour - not working if u get very close.

I dont know if this is an issue with other handsets.
I installed proximity screen off application . The purpose was to have the phone turn the screen off when i close my flip case.
However i found something strange.
When the flip case is very close to the screen the proximity sensor does not seem to detect that there is something covering it.
Is this an issue with every one ?
Any solution
Please see the videos
As you can see from the videos when i bring the shield very close the proximity sensor does not seem to detect the sheild.
Edit : However if u use ur finger this is not seen
I've noticed the same behavior, it's quite annoying because it kills one of NoLed's best features (screen off using prox. sensor).
[deleted]
Still really annoying that the original flip cover won't work with the proximity sensor. A workaround might be a third party flip case. A diy modification of to the original one won't work since if I close it AND hold whatever object that alone is enough for a positive result over the flip cover, the sensor will still not register positive [because a minimal distance between an object and the glass surface is required, see below].
mine works even with a finger...
I've done it a few times accidently when i was trying to access the notification bar while on the phone
ph00ny said:
mine works even with a finger...
I've done it a few times accidently when i was trying to access the notification bar while on the phone
Click to expand...
Click to collapse
Thats the thing i was saying.
With finger i works great even if u touching the screen
Dial *#0*# and press sensor. If it vibrates, the proximity sensor is registering an object.
Maybe it comes in handy with testing.
It's working for me, thanks for the tip about the app!
edit:
Okay, I tested and found that indeed when you set the app to:
"Cover an hold to lock the screen" to say 5 seconds.
Close the flipcover.
It does not register.
However. If I set:
"Disable Accidental Lock" to .25 seconds.
Close the flipcover.
It works quite well.
Coming back to the sensor. It indeed does not register the flipcover when it's closed and touching the screen.
Weird thing is it does not register your hand anymore either.
Recreating issue:
Remove flipcover and lay it completely flat over the sensor.
Dial *#0*#.
Press "Sensor".
No registration.
Now hover your hand over where the proximity sensor is, and... How about that, no registration.
This indeed messes up NoLed's battery saving feature.
This can also be a problem when:
You set screen timeout to 10 min.
In the app's settings set "Disable in landscape" to on.
Then use an app in landscape mode.
Close flipcover while in landscape mode.
Then rotate to portrait. At this point it should start registering again and turn off screen..
The sensor does not register and screen stays on.
Drains battery.
It is a really cool idea, but it does not function properly.
It's too flaky, also when just handling your phone. I find myself accidentally turning off the screen.
Maybe if you use a case or some other cover with a different or thicker material it would work better.
I ordered a Zenuscase, I'll give it a try with that one.
Don't know how long it'll take to arrive though
reflective color
heey i found the problem , the sensor is working fine ... but when so close with any black object the light is not reflected back to the proximity sensor.(black color absorbs light).
Repeat your video with any white object and you will notice the difference..
Now i am using Autostart and it works great with samsung original flip cover (white flipcover).
you can use any white sticker on the black one.
ahmedtaha7 said:
heey i found the problem , the sensor is working fine ... but when so close with any black object the light is not reflected back to the proximity sensor.(black color absorbs light).
Repeat your video with any white object and you will notice the difference..
Now i am using Autostart and it works great with samsung original flip cover (white flipcover).
you can use any white sticker on the black one.
Click to expand...
Click to collapse
ya correct, just few day back i have asked this issue to developer
http://forum.xda-developers.com/showpost.php?p=22170417&postcount=5
But it will work perfact if you use proximity + light both sensor enabled.
Color has no influence, distance between an object and the proximity sensor is what matters. I've just tested this using pieces of paper, cloth, metal and wood in white and black colors. The sensor seems unable to correctly register anything that is less than approximately 1 mm away from the glass (it may report 0 cm or jump to 5 cm). Also it seems it only reports changes of a certain minimal distance between two readings, even if the reported value remains the same as the old one. Anything below the threshold of the 5 cm reading will always result in a reported value of 0 cm, but if the effective distance between reading A and reading B was below a certain threshold, the sensor will not report a new reading of 0 cm (thus an object hovering stable over the sensor will not produce a 2nd post). I'm not sure if the sensor has a state that can be read at any time. From my tests using AutomateIt Pro, it seems only new posts can be used by apps. And if the delta between two readings is to small to make the sensor post a "new" result, then this can be problematic under certain circumstances (like trying to turn the screen off after the flip cover got closed (prox. sensor = 0 for 0 sec) and stays closed (light sensor = 10 for 5 sec) while preventing the screen from going off after an accidental wipe over the prox. sensor e.g. with the hand).
@Dr. Ketan: I've tested Power Switch (again) and I'm quite certain that for the Note + Flip Cover it only works through the light sensor (which is unsatisfying since it then won't work correctly in the dark). Covering the proximity sensor only doesn't make the app reliably react.
Power switch works ok for me with the Samsung flip cover. I have the confirmation set to minimum Abe theactivation delay set to 0 seconds.
It doesn't always work from the lock screen but works fine from the home screen or apps
Sent from my GT-N7000 using xda premium
so is it a hardware issue of software?
might it be fixes in ICS? it's fu***ng annoying! just bought the flip cover(black) yesterday and also bought smart cover app, my note's screen keeps on turn off (when flip closed) then it turns back on (flip still closed)!
Any solution for gingerbread? like proximity calibrator perhaps? (while waiting for final version of ics to come out)
Power switch will work if you use proximity + light sensor both.
Sent from my GT-N7000 using xda premium
dr.ketan said:
Power switch will work if you use proximity + light sensor both.
Sent from my GT-N7000 using xda premium
Click to expand...
Click to collapse
It's so sensitive that the moment my finger move over the sensor, the shutdown menu pops up.
Any app that works with the flip cover?

[Q] Nexus 10 accelerometer problem

Hi,
I've got a problem with the accelerometer of my nexus 10, when I'm in automatic rotation mode the devise doesn't rotate automatiquely when I rotate it. And when an application force the portrait mode I have to desactivate the automatic rotation mode to go back in landscape mode.
Thanks in advance
Cyril
I believe GPS Status & Toolbox can re-calibrate the accelerometer (along with Compass, and get AGPS data), might be worth looking into
Fixed my screen orientation problem.
I spent a good four hours or so trying to figure out why my screen orientation wasn't working properly even after a reboot and boot into safe mode. I could only get one portrait with buttons on bottom and had to rotate an extra 30 degrees or less than 1 degree to cause it to flip between landscape orientations. Loaded up Google Skymaps and the Horizon was off by about 30 degrees in landscape, but fine in portrait. First went and downloaded Android Sensor Box and found the X-axis would run up to +15.5 and only -3.7. Anyways the calibration reset in GPS Status & Tool Box 4.0.1 fixed it immediately.
Awesome call on that program espionage724 would have never found it if I didn't find this thread and your post.
Edit it came back although a combination of running the program and hitting the lock button seemed to fix it. This time the axis offset was reversed though. Probably an operating system bug and only seemed to come back after I attached an OTG USB cable so =/ ?
Same problem here
I have the same problem with a new Nexus 10. The rotation did not work in any application at any time. With the Sensor Toolbox, I see that the sensor is working to some extend. Recalibrating with the GPS Status did not change anything.
Is this a hardware defect, so that I should send mine back to Google?
If you happen to get the orientation working, I'd be happy if you share it with me.

Auto rotate

Anyone have any problems with this? Sometimes it will get stuck in landscape. I'll have to go from portrait back to landscape to get it to rotate back to portrait
To narrow it down if I lock the phone in landscape the unlock it via fingerprint sensor it happens
Sent from my Nexus 6P using Tapatalk
it sometimes happens. And also another odd issue i noticed was then you are listening to music or watching videos in landscape and you rotate your phone 180 degrees upside down, the audio will stop for a split second and resumes. Is this a software flaw??
godlyitem said:
it sometimes happens. And also another odd issue i noticed was then you are listening to music or watching videos in landscape and you rotate your phone 180 degrees upside down, the audio will stop for a split second and resumes. Is this a software flaw??
Click to expand...
Click to collapse
No. It's the dual speakers. When the screen rotates the audio swaps speakers.... Because there channeled to a left and right speaker
Sent from my Nexus 6P using Tapatalk
Still feel like auto rotate is wonky. Like when I turn on the screen with finger print sensor its in landscape and has to rotate back..... Anyone???? Just seems different than owner phones I've had
Sent from my Nexus 6P using Tapatalk
Smallsmx3 said:
Still feel like auto rotate is wonky. Like when I turn on the screen with finger print sensor its in landscape and has to rotate back..... Anyone???? Just seems different than owner phones I've had
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Yes, I've noticed the same. I wonder if the bug has already been submitted.
I can also confirm that it has happened on mine as well. It happens sometimes when I wake the phone.
Yes... I've been having the same issue. Doesn't happen too often, but it is rather annoying. Seems if I just rotate the device about 3/4 of a turn it will go back to normal. I thought maybe it was a faulty accelerometer, but hopefully it's just a software bug that will be fixed sooner or later.
Same here. Does not want to come back to portrait, needs to go to landscape shake to go back to normal...
Sent from my Nexus 6P using XDA Free mobile app
My Nexus 6P will not go into reverse portrait orientation at all - only portrait, landscape, and reverse landscape. I have to use a third-party app to achieve reverse portrait orientation.
myownnamewasalreadytaken said:
My Nexus 6P will not go into reverse portrait orientation at all - only portrait, landscape, and reverse landscape. I have to use a third-party app to achieve reverse portrait orientation.
Click to expand...
Click to collapse
I was able to fix this using GravityBox, in case anyone is interested.
myownnamewasalreadytaken said:
I was able to fix this using GravityBox, in case anyone is interested.
Click to expand...
Click to collapse
Same problem here, how did you fix it with GravityBox, pls!
+1 for this issue. Sometimes, when I launch a game its stuck in potrait mode. Only way to fix it is to exit the game rotate the screen to Landscape and relaunch it.
xdaniel91: There's a setting under "Display tweaks" called "Allow all rotations." I just checked the box next to this setting. I might have had to reboot.
Cataclysm has a similar setting under "Miscellaneous" called "Upside-down rotation."
Hello guys, what worked for me yesterday, it was letting fall down the phone against the asphalt by accident when i was getting out from the car. LOL
Some other people suggested a strong shock/hit as a fix in a google nexus forum, i cant attach the link yet.
I've been following this issue closely as I was impacted by it as well.
Here's the link to the Nexus Help forum:
https://productforums.google.com/forum/?utm_medium=email&utm_source=footer#!topic/nexus/ytCwNnOJEaM;context-place=topicsearchin/nexus/nexus$206p$20auto$20rotate
Here's a video I made of the issue:
https://youtu.be/TIF0QZkFIuQ?t=135
Lol sounds wrong but i did fix mine, i dropped my phone today from like 2cm high and my rotation stopped working...came to this thread and read your advice, dropped it again from like 1 cm height and my rotation started working again....so thanks!
"Hello guys, what worked for me yesterday, it was letting fall down the phone against the asphalt by accident when i was getting out from the car. LOL
Some other people suggested a strong shock/hit as a fix in a google nexus forum, i cant attach the link yet"
jpraider75 said:
Lol sounds wrong but i did fix mine, i dropped my phone today from like 2cm high and my rotation stopped working...came to this thread and read your advice, dropped it again from like 1 cm height and my rotation started working again....so thanks!
"Hello guys, what worked for me yesterday, it was letting fall down the phone against the asphalt by accident when i was getting out from the car. LOL
Some other people suggested a strong shock/hit as a fix in a google nexus forum, i cant attach the link yet"
Click to expand...
Click to collapse
Holy crap, that worked. My phone fell about 6 inches onto hard tile. Then auto rotate stopped working. I just tapped the phone on different corners on the same hard tile, and it's rotating again.
chamsao said:
Holy crap, that worked. My phone fell about 6 inches onto hard tile. Then auto rotate stopped working. I just tapped the phone on different corners on the same hard tile, and it's rotating again.
Click to expand...
Click to collapse
There's a tiny gyroscope chip on the main board. Contained inside it is a plate (critical mass) with contacts underneath that moves/slides on top of the chip's contacts. When you rotate the phone, the plate actually moves inside the tiny chip, and from there the x,y,z axis is calculated. In my best hillbilly mechanic voice "yer plate got stuck".
hawkswind1 said:
There's a tiny gyroscope chip on the main board. Contained inside it is a plate (critical mass) with contacts underneath that moves/slides on top of the chip's contacts. When you rotate the phone, the plate actually moves inside the tiny chip, and from there the x,y,z axis is calculated. In my best hillbilly mechanic voice "yer plate got stuck".
Click to expand...
Click to collapse
Mine has been getting stuck but dont think its the plate. Of course it began happening when I switched rom, flashed new bootloader, vendor AND started using a new launcher.
Fairly confident its not the launcher because no one else is complaining. Hitting/dropping the phone doesnt fix it but toggling auto rotate does. Ive tried every variation of set rotations in the settings of the rom and launcher but this has persisted over a week. Whats frustrating is itll go hours without the glitch (thinking its fixed) then it gets stuck in landscape.
Thats my boring story. If anyone has a fix please share. Thanks

Gyro-sensor issue?

I've had my nexus 6p for about two months now, and yesterday, something weird happened to my gyro sensor. It seems to be completely out of place, not allowing me to rotate my phone in any app in any way. Occurred to anyone else?
Mgrev said:
I've had my nexus 6p for about two months now, and yesterday, something weird happened to my gyro sensor. It seems to be completely out of place, not allowing me to rotate my phone in any app in any way. Occurred to anyone else?
Click to expand...
Click to collapse
The only related issue I've had is when it's laying flat and displaying in portrait, then I open an app and it opens in landscape. Kind of annoying.
I'd ensure rotation is enabled in display settings, and use an app like Sensors Multitool, under rotation vector it will tell you if the sensor is responding to movement at all. If it's not responding it's likely a stuck sensor. Either defective, stuck in position from a fall, or is held in place by static (in which case powering it off for 5 minutes should get it working again temporarily). If the app shows that it's responding to movement but still not rotating, I'd suggest a factory reset.
hawkswind1 said:
The only related issue I've had is when it's laying flat and displaying in portrait, then I open an app and it opens in landscape. Kind of annoying.
I'd ensure rotation is enabled in display settings, and use an app like Sensors Multitool, under rotation vector it will tell you if the sensor is responding to movement at all. If it's not responding it's likely a stuck sensor. Either defective, stuck in position from a fall, or is held in place by static (in which case powering it off for 5 minutes should get it working again temporarily). If the app shows that it's responding to movement but still not rotating, I'd suggest a factory reset.
Click to expand...
Click to collapse
i left it off for 12 hours and it works perfectly now!
Now that you mention it ive had issues with it locking in landscape--recently in past 24 hours. Havent looked too much into it but toggling auto rotate usually fixes it. Thought it was my launcher (recently switched to asap) but i dunno....never had this issue before yesterday--closest thing would be its TOO sensitive and switches mode with the slightest movement. But thats not the same as it locking up in landscape

Categories

Resources