Fixing Screen Rotation Problem after 5.0 upgrade

Sander1978

New member
Jun 23, 2010
1
0
0
I am having the same issue (klte version/non verizon) with my S5. I thought it happened since my last update.

I did a downgrade to 4.4. It still didnt work
upgraded it to 5.0 (OTA update) and it worked again
after that I got 3 more updates OTA but during those updates I tested the timeout thingy mentioned before and it stopped working again.

Anybody tried if it is fixed with cyanogenmod? I am anxious to try it out but I dont want to void warranty. Would be a shame if its a hardware failure and I just voided my warranty.
 

afdhg

New member
Jan 5, 2016
1
1
0
I tried every online solution I could find and all failed me. In the end I just downloaded Rotation Control by CrapeMyrtle from the play store and now manually adjust the rotation. Not the fix I wanted will do until a dev decides to fix it.
Hope this helps.
 
  • Like
Reactions: swing4thefence

michalos3

New member
Oct 22, 2014
2
0
0
Hi All
I have met the same problem as We all here. Have try all from what I have found but unfortunately get stock in the same point :( screen do not want to rotate f...k! I think that upgrading to new Android version have nothing to do with Gyroscope self I mean that this is a hardware failure. I am looking to buy now this part and will try to replace it. I know its hard to do but have smaller thing repaired in my life so give a try. I will post my result soon as part arrive and replacement is completed :) unless in the meantime anyone find the solution and will post this here. But I really think that this is Hardware issue. Good luck 4 all :D

---------- Post added at 05:59 PM ---------- Previous post was at 05:54 PM ----------

Hi guys . I am having the same issue with my s5 on 5.0 . Has anyone found a fix . Would downgrading help
Nope :( downgrading does not remove this problem from our loved devices.
 

defrederick

Member
Sep 15, 2008
24
1
0
I've been having this problem for about a year and have flashed numerous ROMs, including stock. Nothing works. I'm on Cynanogenmod 13 (6.0.1) and still no joy. My only workaround has been to use Tasker to rotate the screen at various times (connected to Bluetooth, Maps, etc), but today I just found out that Cardboard won't work without the accelerometer. (At least that's my prognosis - I've had it working for about 10 seconds after a reboot.) I think this is the year I dump Samsung for LG.

I'm really curious to know if anyone has succeeded with a hardware fix. I might give it a try if I know it will work.
Dan
 

defrederick

Member
Sep 15, 2008
24
1
0
Does wireless charging back have an effect?

How many of you that are having the rotation issue are using the aftermarket wireless Qi charging cover? I've noticed that the camera doesn't work while charging wirelessly and suspect that maybe the accelerometer chip is getting fried by the charger or the cover.

If anyone has the rotation issue that doesn't have the wireless cover, please reply so we can at least rule that out as a possible cause.

Dan
 

swing4thefence

Senior Member
Jul 31, 2012
288
34
48
Salt Lake City
How many of you that are having the rotation issue are using the aftermarket wireless Qi charging cover? I've noticed that the camera doesn't work while charging wirelessly and suspect that maybe the accelerometer chip is getting fried by the charger or the cover.

If anyone has the rotation issue that doesn't have the wireless cover, please reply so we can at least rule that out as a possible cause.

Dan
No wireless rotation, still no rotation.
Also, I unlocked my bootloader and installed CM13 and still no rotation. thanks to the guy that suggested Crepemyrtle's rotation control. That's what I'm gonna do from now on.

---------- Post added at 09:24 AM ---------- Previous post was at 09:23 AM ----------

I am having the same issue (klte version/non verizon) with my S5. I thought it happened since my last update.

I did a downgrade to 4.4. It still didnt work
upgraded it to 5.0 (OTA update) and it worked again
after that I got 3 more updates OTA but during those updates I tested the timeout thingy mentioned before and it stopped working again.

Anybody tried if it is fixed with cyanogenmod? I am anxious to try it out but I dont want to void warranty. Would be a shame if its a hardware failure and I just voided my warranty.
I unlocked my bootloader and flashed CM13 and I still don't have Rotation.
 

nelospt

Member
Oct 16, 2011
6
0
0
hi,to all

I have the same problem, and im from Portugal ,has anyone went to waranty?
I used odin ,gyro just worked 1st time when i update to marshmallow (UK update)
thank s to u all
 

Ammarti86

New member
Aug 15, 2016
4
0
0
Not a hardware problem!

After some investigation on my own using developer option and a sensor test, I have narrowed it down to a software override with some unknown app or service disabling the gyroscope after about a minute or two.

As of 8/15/2016 running Marshmallow 6.0.1 - failure starting at Lollipop 5.0.1
Here are the steps I took to determine this:
1. Factory data reset
2. Restored data from Verizon Cloud and from Google Cloud.
3. Looked at every app permission (besides cached processes and services) to see if any had permissions to body sensors. 'S Health was the only one besides the sensor test app and was removed.
4. Gyro still did not produce test data - back to square 1.
5. This was many hours later... restarted my phone and directly opened the sensor test before all the apps and services could be loaded into memory. Gyro, accelerometer, orientation, etc. all produceday accurate data confirming that this is not a hardware failure.
6. Opened up developer options again with the running processes.
7. As soon as the gyro stopped working, I switch over to the running processes and noted the one with the shortest run time and force stop/ disabled it.
8. Reopened the sensor app and still no data.

This is where I'm stuck in a loop until the culprit app or service is found and either updated and fixed, or determined it can be safely removed without causing further problems.

*Note: The only apps that I personally added to the phone are a flashlight app, the sensor test app, facebook, and Facebook messenger. The latter two were added AFTER doing my investigation so we can rule them out, I think. Verizon and AT&T are both known for running "cloneware" of Android OS, so my best guess is that somewhere in their security protocols is a broken code that messes with it. I'm not an IT guy and I do not work for a phone company so this is as far as I will dig so I have a working phone.

Slight off topic, but from what I have read on other forums, Verizon has also blocked the capability of downgrading and rooting phones.
 

jrhack

Member
Sep 25, 2014
18
0
0
I have a Verizon Galaxy S5 that was given to me. It was on stock MM 6.0.1. Screen would not rotate when I put my T-Mo Sim in.
I unlocked and took back to LP 5.0 but still screen would not rotate.
Are there any more suggestion on what might fix this problem?
 
Last edited:

krych0s

New member
Mar 2, 2017
1
0
0
Good morning
I am also unfortunate user S5 Android 6.0.1, and I hope that someone finds a solution to the problem końcy not acting rotation of the screen. You can not take pictures, shoot video, and this is strongly denerujące. I have tested all possible options from online forums. For me, how can run it right after the screen is locked and unlocked stops working. I'm from Poland. Help. Please.
 

leetko

New member
Nov 6, 2014
3
0
0
Got an official update like a day ago, installed it today.

Gyro is back in action - so far.

Not for long =|
 
Last edited:

Don Carnage

Senior Member
Mar 23, 2013
107
336
103
I have this problem since I installed the marshmallow update. Before this everything was fine. I noticed it when my step counter stopped working. It's quite annoying and I really want to fix it.

The interesting part is that after I restart my device it is working until the screen lock takes over. Waking the phone afterwards leaves the gyro unresponsive.

I'm going to get the debugger attached when I'm back home, maybe I can get some more info with it.
 

Don Carnage

Senior Member
Mar 23, 2013
107
336
103
After digging for a while I found different events that are fired in the log. As long as the gyro is still working, there will be this log lines if you change screen orientation:

03-20 23:33:32.117 364-572/? D/Sensorhubs: readContextData: 1, 1, 7, -1
03-20 23:33:32.117 875-1283/? D/SensorHubManager: onGetSensorHubDataLocked: library(4) = 1, 1, 7, -1
03-20 23:33:32.127 875-1282/? D/CAE: onGetSensorHubData(SensorHubParserProvider.java:92) - onGetSensorHubData Event [event buffer len :4], AP_WAKEUP
03-20 23:33:32.127 875-1282/? I/CAE: parse(SensorHubParserProvider.java:188) - buffer size = 4
03-20 23:33:32.127 875-1282/? I/CAE: parse(SensorHubParserProvider.java:199) - 1, 1, 7, -1,
03-20 23:33:32.127 875-1282/? D/CAE: display(ContextProvider.java:375) - ================= AUTO_ROTATION =================
03-20 23:33:32.127 875-1282/? I/CAE: display(ContextProvider.java:391) - Angle=[-1]
03-20 23:33:32.127 875-1286/? D/SContextService: updateSContext() : event = Auto Rotation
03-20 23:33:32.127 875-875/? V/WindowOrientationListener: OrientationSensorJudge.onSContextChanged, Rotation: -1


Then there will be the bad guy which immediately stops the release of the event above:

03-20 23:35:12.957 364-572/? D/Sensorhubs: readEvents: 2, 1, -43
03-20 23:35:12.957 875-1283/? D/SensorHubManager: onGetSensorHubDataLocked: library(3) = 2, 1, -43
03-20 23:35:12.957 875-1282/? D/CAE: onGetSensorHubData(SensorHubParserProvider.java:92) - onGetSensorHubData Event [event buffer len :3], AP_WAKEUP
03-20 23:35:12.957 875-1282/? I/CAE: parse(SensorHubParserProvider.java:188) - buffer size = 3
03-20 23:35:12.957 875-1282/? I/CAE: parse(SensorHubParserProvider.java:199) - 2, 1, -43,
03-20 23:35:12.957 875-1282/? D/CAE: parse(PowerResetNotiParser.java:96) - ================= Noti (Power) =================
03-20 23:35:12.957 875-1282/? I/CAE: parse(PowerResetNotiParser.java:97) - Noti Type : SensorHub Reset
03-20 23:35:12.967 875-1282/? V/CAE: enable(PedometerRunner.java:996)
03-20 23:35:12.967 875-1282/? I/CAE: sendCmdToSensorHub(SensorHubCommManager.java:162) - -79, 3, -70, 90, 1,
03-20 23:35:12.967 875-1282/? D/SensorHubManager: SendSensorHubData: send data = -79, 3, -70, 90, 1
03-20 23:35:12.967 364-364/? D/Sensorhubs: sendContextData: -79, 3, -70, 90, 1
03-20 23:35:12.977 875-1282/? V/CAE: enable(ActivityTrackerBatchRunner.java:428)
03-20 23:35:12.977 875-1282/? I/CAE: sendCmdToSensorHub(SensorHubCommManager.java:162) - -79, 26, 2, 0, 0, 0, 0, 0, 4, -80, 22, 35, 12,
03-20 23:35:12.977 875-1282/? D/SensorHubManager: SendSensorHubData: send data = -79, 26, 2, 0, 0, 0, 0, 0, 4, -80, 22, 35, 12
03-20 23:35:12.977 364-573/? D/Sensorhubs: sendContextData: -79, 26, 2, 0, 0, 0, 0, 0, 4, -80, 22, 35, 12
03-20 23:35:12.987 875-1282/? V/CAE: enable(AutoRotationRunner.java:158)
03-20 23:35:12.987 875-1282/? I/CAE: sendCmdToSensorHub(SensorHubCommManager.java:162) - -79, 7, 0, 0,
03-20 23:35:12.987 875-1282/? D/SensorHubManager: SendSensorHubData: send data = -79, 7, 0, 0
03-20 23:35:12.987 364-1284/? D/Sensorhubs: sendContextData: -79, 7, 0, 0


After this, the gyro is dead, no orientation changes anymore.

I tried this several times, for the last try I even searched the log for 2, 1, -43 then pulled the plug when the search bar got green and voila the gyro was done when I checked the phone. This is definitely the reason.

Now I need to find out what exactly is happening there which will be less pretty. Any help appreciated.
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone