Auto rotate and active display won't work - X Play Q&A, Help & Troubleshooting

As the title suggests these functions won't work. Autorotate started working briefly but now it is still not functional. The hardware is fine, since testing the accelerometer with an app showed change in all directions. Suggestions?

at least give more details. what rom are you on? when did they stop working?

I am running marshmalux v2 with squid's kernel and xposed installed. I am not really sure when it started since my default set up is portrait mode. However a month or so ago when I tried to watch a video on yt the screen wouldn't rotate even though I had shifted to auto rotate. What is really puzzling is that camera rotation works fine.
EDIT: Flashed another ROM to check if the issue persists. It didn't help.

bump

So I have an update on my issue. Maybe it can help someone else but I have partially solved it. As I said earlier flashing stock didn't fix it. Even after frashing a complete factory image, the issue persisted. What seemed to remedy the issue was flashing non-stock based roms such as cyanogen. The gestures still don't work, but auto-rotation functions as it should.
I would be grateful if somebody has a suggestion. I really want to try spectrum ROM, which is stock based.

bump

Related

Camera issues after flashing ota leak?

I unrooted my phone, installed the OTA with 720p last night, then rerooted it. The camera worked fine for a while, but then all of a sudden it stopped working. It would come up with the camera screen for a second, but then go back to the Home screen. If I try using the Barcode Scanner app, it says "Sorry, the Android camera encountered a problem. You may need to restart the device." I've tried restarting it a few times, nothing happens.
Also, oddly enough Lamppu stopped working, but Incredilight still does.
Anyone else have this problem or know of a fix?
EDIT: I also installed the Hydra OC/UV kernel, I think the camera stopped working after I did this, but I'm not sure. Anyway, I did a nand restore and got it working again. Still dunno why it happened though.
Yep, looks like hydra needs to release a new kernel. I am experiencing the exact same issues after installing his kernel.

Auto-rotate not working

Hi, today suddenly my phone didn't rotate the screen anymore when I rotated the phone to landscape. I had auto-rotate on. This problem had stayed for a while now and I have already rebooted my phone as well as turned off and on auto-rotate. I know the accelerometer is working because I used apps that use the accelerometer, so my guess is it's done software bug. I think it had happened before to me but briefly and it somehow got fixed. I'm wondering if this has happened to someone else and how you fixed it. Thanks!
Sent from my Nexus 4 using xda app-developers app
If u were referring to it auto rotating in the home screen, the stock launcher doesn't not do it
No not the home screen, any screen (browser, Facebook, mail, etc..)
Sent from my Nexus 4 using xda app-developers app
Try an app called ultimate rotate to force rotation in apps as a test
Sent from my Nexus 4 using xda premium
settings accessibility auto rotate
molesarecoming said:
settings accessibility auto rotate
Click to expand...
Click to collapse
Way to read the OP.
This just happened to me....I have auto-rotate checked in accessability and display...any help would be appreciated.
Happening to me now as well. Not sure whats causing it :-/
Auto Rotate
It is happening to me as well.
I don't know if it pertains to you or no as mine is rooted and it does only on AOKP Rom.
For now what I had is to install Screen Orientation app. It lets you toggle Forced Portrait / Forced Landscape mode from notification bar.
And i have checked auto rotation enable in settings.
Open Instagram, it forces portrait..
help
This is happening to me right now but much worse, I've toggled, rebooted, wiped, reflashed, flashed old backups, different kernels, different roms I was originally running AOKP with faux kernel and my auto-rotate had been working fine then I downloaded temple run and I couldn't tilt from side to side, I would re-calibrate but every sensor app I download says that my; Accelerometer, compass, light sensor, proximity sensor, temp, gyroscope, gravity sensor, linear acceleration, and rotation vector sensor don't even exist, the apps say there not there. I have no idea what more to do to reset them or fix them, they were all working fine before and then they just stopped.
Any ideas or information would be appreciated, the last thing I'm going to try is a full Odin flash back to stock everything (if that is even available yet for the nexus 4)
tech.central said:
This is happening to me right now but much worse, I've toggled, rebooted, wiped, reflashed, flashed old backups, different kernels, different roms I was originally running AOKP with faux kernel and my auto-rotate had been working fine then I downloaded temple run and I couldn't tilt from side to side, I would re-calibrate but every sensor app I download says that my; Accelerometer, compass, light sensor, proximity sensor, temp, gyroscope, gravity sensor, linear acceleration, and rotation vector sensor don't even exist, the apps say there not there. I have no idea what more to do to reset them or fix them, they were all working fine before and then they just stopped.
Any ideas or information would be appreciated, the last thing I'm going to try is a full Odin flash back to stock everything (if that is even available yet for the nexus 4)
Click to expand...
Click to collapse
i read something about losing sensors by using the 4.2.2 radio With a 4.2.1 Rom. anyways it's a documented issue. try going through the 4.2.2 threads. i believe that's where i saw it mentioned.
EDIT: here it is!
http://forum.xda-developers.com/showpost.php?p=37977813&postcount=3
searching the thread:
http://forum.xda-developers.com/search.php?searchid=146897726
smacking it worked
read on another forum that "a decently hard smack" would correct it.
they were right, Its working again.
solved mine
in my case, it was an app called gravity screen. uninstalled it, reboot phone, and the auto rotate is enabled now

[Q] Help! AutoRotate stopped working!

Okay so im running rooted stock rom and from out of nowhere yesterday my autorotate stopped working. I also notice that my phone is no longer counting any steps via S health. I ran tests and all my sensors are functioning properly and even the icons in the camera app rotate when i change my phones orientation however nothing else will rotate automatically.
Anyone have any experience with this or something similar? I'm totally lost here and desperately avoiding a factory wipe, Any help would be much appreciated
X--JollyRoger--X said:
Okay so im running rooted stock rom and from out of nowhere yesterday my autorotate stopped working. I also notice that my phone is no longer counting any steps via S health. I ran tests and all my sensors are functioning properly and even the icons in the camera app rotate when i change my phones orientation however nothing else will rotate automatically.
Anyone have any experience with this or something similar? I'm totally lost here and desperately avoiding a factory wipe, Any help would be much appreciated
Click to expand...
Click to collapse
maybe screen rotation is off? did you check in quick settings?
Lol yeah its definitely enabled
X--JollyRoger--X said:
Okay so im running rooted stock rom and from out of nowhere yesterday my autorotate stopped working. I also notice that my phone is no longer counting any steps via S health. I ran tests and all my sensors are functioning properly and even the icons in the camera app rotate when i change my phones orientation however nothing else will rotate automatically.
Anyone have any experience with this or something similar? I'm totally lost here and desperately avoiding a factory wipe, Any help would be much appreciated
Click to expand...
Click to collapse
Did you ever fix this? Same thing just happened to me. If I need landscape orientation, I have to switch to youtube, start a video, maximize it (which forces landscape), then switch apps back where I was.
Thanks,
Michael

A clue to fixing GPS

Hi all,
I recently upgraded from 4.4.2 stock rom to 6.0.1 stock rom and everything worked fine except the GPS. I tried a few different fixes like changing the gps.conf, and a few different apps and could see there was some signal but it could never seem to get a lock. Sometimes it seemed to get a lock for a split second then drop it again.
I ended up going back to my 4.4.2 and GPS works fine again. So the simple conclusion is this is firmware based. I'm no expert but would be willing to help if someone wants to investigate this further. There has to be some GPS related files from the KK firmware that can be exported to MM to make it work
Keliuss
GPS has always been kinda weak and slow due to the module itself. Did you experience the auto brightness bug as well?
kom-pakt said:
GPS has always been kinda weak and slow due to the module itself. Did you experience the auto brightness bug as well?
Click to expand...
Click to collapse
Auto-brightness was working fine for me. Just the GPS issue noted.

Proximity and ambient light sensor stopped working!!!

I don´t know if it´s a coincidence or not, but I a few days after the update to Oxigen OS 3.6.1 I noticed that the proximity sensor and light sensor of my ONEPLUS 2 stopped working.
I used AndroSenor and Sensor box from the PlayStore, and both os them say thar the proximity and light sensors are missing.
I had a remote session with a ONEPLUS L2 specialist and they wiped my phone and reflashed the latest ROM (ver. 3.6.1), but the problem wasn´t solved..
I guess that, if the sensors don´t appear in the apps I mentioned maybe it´a a hardware problem, but I would like to hear more opinions.
If anyone has any suggestion to try to solve this problem before sending it to repair (out of warranty)??
flash persist.img from fastboot
backup all your info
in some cases it will help
hi there!
I seem to be having quite a similar problem, though, my sensors work, but stop responding after an unspecified period of time (can be anywhere between minutes and hours).
I tried flashing several roms (oreo, nougat) and yesterday i flashed Oreo Pixel Experience (just pure ROM+OP5 camera, no root no custom kernel just to rule out a few things) but the issue remains. Important to mention, i always clean flash.
The best way to describe the issue is: "sometimes the proximity and light sensor just stop working and i dont really know why" which is obviously causing a whole bunch of issues with auto brightness, making calls, picking up when someone calls etc.
The thing is, everything works after a reboot...but only for some time...then the sensors go "offline".
sometimes they work for a couple of hours, even a day...sometimes they die after half an hour or something. I have a feeling that i see them die faster when i have my phone in the pocket and leave it idle for a while, and when i use my phone often and dont really give the phone time to rest they live longer. It almost feels as if the phone goes to some deep sleep when idle for some time, disconnects the sensors, but doesnt turn them on again when woken up.
tried flashing the persist.img as advised just above, but it doesnt seem to have an effect.
anyone has any good idea?
thanks!
allright, being desperate from not being able to use my phone in a normal way i flashed OOS 3.6.1 from official zip files that can be downloaded from oneplus.net support section, using OP recovery and surprise surprise - sensors are working flawlessly! so im ruling out the HW problem. I think im going to stick to OOS for a while to monitor the sensors and eventually im going to try flashing oreo again.
ok, last update from my side: after two days on OOS where everything worked fine i flashed Pixel Oreo build and sensors continue working just fine! so, whoever is experiencing strange behavior of his sensors, i recommend the same approach.
Jackill said:
ok, last update from my side: after two days on OOS where everything worked fine i flashed Pixel Oreo build and sensors continue working just fine! so, whoever is experiencing strange behavior of his sensors, i recommend the same approach.
Click to expand...
Click to collapse
You still have working sensors?
I have exactly the same behavior as you mentioned in your first post. FRUSTRATING!
I've tried flash lineageos 15.1 ROM, no luck. New persist.img from official fastboot oos ROM but no luck either.
flaektrem said:
You still have working sensors?
I have exactly the same behavior as you mentioned in your first post. FRUSTRATING!
I've tried flash lineageos 15.1 ROM, no luck. New persist.img from official fastboot oos ROM but no luck either.
Click to expand...
Click to collapse
Hi! Yes, my sensors are still working just nicely.
Jackill said:
Hi! Yes, my sensors are still working just nicely.
Click to expand...
Click to collapse
So good for you ?
Before when your sensors struggled, did they also disappear from any sensor test app. Or did they just not work?
My prox sensor did not disappear but just hangs at 0 or 5cm if I check the value in any sensor app. And light turns 0 Lux also.
I've similar problem. Went completely stock as suggested but the problem persisted.
flaektrem said:
So good for you
Before when your sensors struggled, did they also disappear from any sensor test app. Or did they just not work?
My prox sensor did not disappear but just hangs at 0 or 5cm if I check the value in any sensor app. And light turns 0 Lux also.
Click to expand...
Click to collapse
Well mine didnt really "dissappear" either. They "froze" too. Lux froze at whatever value it measured the last however i am almost certain it was never exactly 0. Prox behaved the same as you describe: 0 or 5.
lazyfarmer said:
I've similar problem. Went completely stock as suggested but the problem persisted.
Click to expand...
Click to collapse
Interesting. I'm going to flash OOS recovery and latest OOS ROM later today and give it a try.
Jackill said:
Well mine didnt really "dissappear" either. They "froze" too. Lux froze at whatever value it measured the last however i am almost certain it was never exactly 0. Prox behaved the same as you describe: 0 or 5.
Click to expand...
Click to collapse
My lightsensor always freezes at 0 Lux. And when the prox freeze at 0 its impossible to quit a call. So f*cking frustrating so I have to fix this problem ASAP
I have the same problem with my LUX device, sometimes the sensors work randomly. When I reboot my phone the sensors stop working. The screen does not rotate, the most interesting thing is that it did flash the Moto camera mod and the rotation works perfectly with the camera, with the stock camera there is no rotation.
UPDATE:
I scheduled a remote session with Oneplus L2 Team and they performed a full factory reset of all partitions. No luck, problems still persist.
It must be a hardware problem.
In my case I sent the smartphone to them and they said it was a problem with the motherboard.

Categories

Resources