LineageOS not auto-rotating — Solved - Xperia Tablet Z Q&A, Help & Troubleshooting

Auto-rotate didn't work on a fresh install on LineageOS, though it works on stock.
The solution (found on the linked page) was to add the following lines to /system/build.prop
Code:
log.tag.launcher_force_rotate=VERBOSE
lockscreen.rot_override=true
https://forum.xda-developers.com/nexus-6p/general/how-to-enable-auto-rotate-lockscreen-t3245988
When I installed LineageOS and discovered the problem, I could never find a solution and eventually gave up—settling on manual rotation instead. But I managed to come across the solution recently while researching how to make the lock-screen rotation match the selected angle. That is, the lock-screen fix resolved the auto-rotation problem as a side-effect.
I was going to post this as a reply to one of the threads I previously found that mention the problem but now I can't find them... You'd think I'd be able to find the other threads just as easily now as before... Surely I didn't dream all that, right? Hehe.
Judging from what I read previously (and the fact that I experienced it), this appears to be an ongoing issue with no known solution. So, I made this thread. I hope that is acceptable.

Have the same issue on RedMi with LineageOS but this still doesn't solve the problem

Hi Folks,
at the Beginning i installed yalp Store, to download from playstore the App "Sensores Multitool". Its good to check if your Accelerometer work or is damaged.
Here it works but the linageos behaviour did not!
I had the issue the my Desktop, Main Screen did not turn.
Lets try to observe the issue and nail it down.
First step: Activate Auto Rotation in the Bar at the Top, do not know the right Notation for that. Its the Quick Navigation.
Then you have a Setting in your "Settings" -> "Display", like Screen rotating.
Play with Lock Screen Orientation (activate it and check if the Lock Screen (where you enter your Pin..) change Orientation if you activate and deactivate it!). Here it does.
Check if you have Settings open and your Settings twist if you rotate your phone physically... - here it works too!
Maybe you set, as i do your Desktop/Start Page/Main Screen/Trebuchet to keep an Orientation . Press and Hold your Desktop, like you would change the background image or install widgets. Now you check out its gear wheel Settings.. and check if there is another Setting to enable or disable Turns/rotation.
If that is set, your Start Page, Desktop or Main-Screen will force back to your choose Orientation, which seems that the auto rotation did not work.
Oh i think the Lineageos official Name of that Program is: Trebuchet.

Works a treat thanks a million!!
Thanks Silhalnor, this fixed the problem on a Note 3 using LineageOS where the auto rotation stops working after a day or so and requires the phone be rebooted.
Must be a bug in the lockscreen code that makes the orientation sensor go AWOL.

After two years i have the same issue on my Note 4 whit currently lineageos 17.1.
I have to reboot my phone to be return all works normally.
It's another lineageos bug ?!??!?!? Omg......

Related

A bug - in most cooked ROMs and current official one

I found the following problem with most cooked ROMs (also including the last official one from HTC) /I tried that on fresh installations in every case/
I like AutoLock feature. So I made a small .reg file to modify one small entry in registry.
The moment this feature is on - if the device becomes locked, the screen goes dim. Problem is - it stays dimmed forever. I tried thousand different solutions - many combinations of registry values, power options, etc. nothing helps. If I lock the device manually - no problem. only with autolock. Anybody knows how to make it work?
Regards,
Vojtek
Maybe you should post your script, so that someone can have a look. Did this work on some previous ROM? Or has it been an ongoing problem?
Try using SmartLock, found on this site.
jmckeejr said:
Maybe you should post your script, so that someone can have a look. Did this work on some previous ROM? Or has it been an ongoing problem?
Click to expand...
Click to collapse
The official HTC ROM that I used to have before recent official update from HTC - worked very fine with this little registry mod.
The modification is as follows:
HKCU->ControlPanel->Backlight->AutoDeviceLockEnable
default value = 0
I change it to 1. This is all I do after totally fresh ROM update. that causes the dim to go permanently on from the next lock (doesn't matter if it was caused by auto or manual). even If I get back with the value to 0 in registry - problem stays. soft reset (and value set to 0) eliminate the problem.
one more thing - I never use auto-light sensor. My backlight level is always set to 2. with auto-light sensor - autolock works OK. however I loose a lot of battery life since auto-light sensor never allows backlight levels lower than 4.
Regards,
Vojtek
check out Lumos, it'll let you backlight go as low as you set it to
http://forum.xda-developers.com/showthread.php?t=450318
GldRush98 said:
check out Lumos, it'll let you backlight go as low as you set it to
http://forum.xda-developers.com/showthread.php?t=450318
Click to expand...
Click to collapse
Thank You for the tip. The tool itself is great. However it is affected same way by the autolock. Autolock causes device to stay dimmed permanently - even with Lumos running.
Regards,
Vojtek
First off... I'm new around here & still a little flabbergasted by everything WinMo, but this site has already helped me tremendously.
Secondly, I can confirm the AutoLock bug. I updated my Touch Pro to the latest official rom last night. While running through AdvancedConfig (i think...) I noticed the AutoLock option & enabled it. 10 minutes later I was freaking out that I had stuffed up my expensive new toy...
Disabled, rebooted & all is OK again.
First of all - Advanced Config has nothing to do with it (to defend the author).
Second - thank You for support. I could not find a solution for this problem anywhere and I spent hours googling. For the moment I thought that my TP is failed. Seems that nobody uses AutoLock these days. I don't know how everybody's doing it, but without locking, my TP calls to different people (especially from Favourites tab) from time to time...
Vojtek
vojtek11 said:
I don't know how everybody's doing it, but without locking, my TP calls to different people (especially from Favourites tab) from time to time.
Click to expand...
Click to collapse
I require a password/passcode level of security on my device - which the Lock/Unlock feature doesn't provide. Unfortunately, the current security implementation in WinMO 6.x doesn't allow the Today screen to be seen like the Lock/Unlock feature.
As a result of these shortcomings, most folks tend to use a 3rd Party lock application such as: S2U2, mLock, etc. as they provide the desired flexibility.
HTH,
very familiar with this issue. I'm working on it too. It affects the WM6.5 lockscreen for sure and I thought it was a problem with only that. Bugger that it affects official ROMs as well. Good info though, I can stop concentrating on the lockscreen and start looking at power mgmt.
mindfrost82 said:
Try using SmartLock, found on this site.
Click to expand...
Click to collapse
SmartLock all the Way!!

[Q] Serious multitouch issue - most obvious in games

Bear with me here, this issue is kind of hard to describe. When I am playing a game that requires touch inputs from both hands, I often get bugs. It's most obvious in games that have controller-style overlays. As is normal, I am using my left thumb to tell a character to move right or left, and then I press the button on the right to jump. However, when I release my jump, I stop running. The screen no longer recognizes that my left thumb has been pressed down the whole time and should still be moving in the direction I am pressing. This happens in Bean's Quest, Chono'n'Cash, Delver, Gunman Clive, and any other game of this nature I have tried on my device.
I played some of these games just fine on my old Evo. Is anyone experiencing this issue? I experienced it on stock as well as several custom roms I have tried.
Turn off "Htc gestures" you'll find it in settings, display & gestures!
When the display senses three finger inputs it renders it touch inputs useless...run a multi-touch test app and you'll see.
gutrrob said:
Turn off "Htc gestures" you'll find it in settings, display & gestures!
When the display senses three finger inputs it renders it touch inputs useless...run a multi-touch test app and you'll see.
Click to expand...
Click to collapse
Doesn't seem to have fixed my issue, I am still having problems with some two finger games. I will be using two fingers just fine, when I remove one finger from the display the first finger is no longer recognized even though it is still touching. I have to remove the first finger and press it again every time.
Do U have any type of lock screen installed. If so uninstall. Use only stock.
Swyped from my eVo
ryanalan82 said:
Do U have any type of lock screen installed. If so uninstall. Use only stock.
Swyped from my eVo
Click to expand...
Click to collapse
Appears that widgetlocker is the culprit! Is this issue documented or known, exactly? What causes it? Thanks so much for the help. I will surely miss widgetlocker.
Please use the Q&A Forum for questions &
Read the Forum Rules Ref Posting
Thanks ✟
Moving to Q&A
I encountered this recently
It seemed to get "stuck" after using multi touch gestures in-game. Tapping the game with two fingers often "unstuck" it, but overall it was extremely frustrating.
This was on an APK not designed for the phone, though
Sorry to bring back up an old thread (is 6 days even considered old?) anyway you HAVE to disable the HTC 3 touch setting gesture because it will ignore anything more than 2 (3 will only register if you swipe up or down, but sense itself registers it, nothing else).
Just made the video below as proof (forgive my foreign accent xD):
Our screen supports (at least) 10 different points (was going to try 11 but I could not get my nose on the screen with my fingers and my girlfriend is asleep).
EDIT: Two things, one: I had widgetlocker installed while I did the above video, it caused no problems. Two: the maximum number of inputs our phones can handle is 10, incase anyone was curious.
EDIT 2: While I don't have the issue with widgetlocker it seems that it is a known problem, but you don't have to disable the lock screen altogether. Go into widgetlocker settings> advanced> retain system key guard. Source: http://forum.xda-developers.com/showthread.php?t=1652038
Racer Of All said:
Sorry to bring back up an old thread (is 6 days even considered old?) anyway you HAVE to disable the HTC 3 touch setting gesture because it will ignore anything more than 2 (3 will only register if you swipe up or down, but sense itself registers it, nothing else).
Just made the video below as proof (forgive my foreign accent xD):
Our screen supports (at least) 10 different points (was going to try 11 but I could not get my nose on the screen with my fingers and my girlfriend is asleep).
EDIT: Two things, one: I had widgetlocker installed while I did the above video, it caused no problems. Two: the maximum number of inputs our phones can handle is 10, incase anyone was curious.
EDIT 2: While I don't have the issue with widgetlocker it seems that it is a known problem, but you don't have to disable the lock screen altogether. Go into widgetlocker settings> advanced> retain system key guard. Source: http://forum.xda-developers.com/showthread.php?t=1652038
Click to expand...
Click to collapse
Installed widget locker again. tried this, multi touch failed. Uninstalled, and back to 10.
Swyped from my eVo
ryanalan82 said:
Installed widget locker again. tried this, multi touch failed. Uninstalled, and back to 10.
Swyped from my eVo
Click to expand...
Click to collapse
Did you try my edit 2? The Retain System keyguard? I can assure you that I have Widgetlocker installed and I have the 10 inputs (that video was recorded with widgetlocker running).
[SOLVED!] - HTC Evo 4G LTE touch screen trouble - WidgetLocker is the problem
Retaining system keyguard in WidgetLocker worked for me! Thank you for this Racer for All. (Actually I found your YouTube video, and a link to this thread)
I was wondering why all the games I played all of a sudden stopped functioning properly (in terms of touch controls... Example: MineCraft PE, moving forward and trying to look left or right - suddenly character would stop moving.)
Sorry to dig up an old thread, but I want people to know if they have WidgetLocker (and don't want to uninstall it) just go to Settings - Advanced - Retain system keyguard - zmag

[Q] Galaxy S4 Proximity Sensor disable

So I'm using the CM11 4.4 Kitkat on my Galaxy S4 and recently found out that my proximity sensor isn't working (when I dial the screen goes black and won't turn on until the call is over). I've read many threads about fixing it but I think it's broken. So all I want now is to disable it but there isn't such option in the Cyanogenmod. Is there anyway to disable it, like with a terminal or something?
bump
bump!
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).
And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.
kg2128 said:
I know this is an old thread but qman66 you are AWESOME! Was going nuts trying to fix the proximity sensor problem. Ran the commands in terminal emulator that recalibrates the sensor, didn't work for me. Blasted the speaker with compressed air, also didn't work for me. But this method allowed me to disable the proximity sensor while still using an AOSP rom. I will send the phone in for warranty eventually, but I thought I was going to have to use a touchwiz rom until then (touchwiz has the option of disabling the proximity sensor in the call menu).
And I read like 5 or 6 different threads dealing with the Galaxy S4 proximity sensor issue and no one else posted this method before.
Click to expand...
Click to collapse
glad someone found this useful.
While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?
sjschoo said:
While this fixed the call locking problem, it also disables a lot of other hardware sensors. The only one I'd care about is the gyroscope for rotating the camera and watching videos full screen. Any solutions?
Click to expand...
Click to collapse
Yeah I noticed that, the best solution is to get the proximity sensor fixed in the end. Then you don't have to disable anything. If your lucky it doesn't even need to be replaced, just cleaned. For me I can live with no rotation, because the screen off during calls is a ridiculous PITA by comparison. Also apps can force landscape mode even with the gyroscope not working. I use force landscape for videos through mx player, and mango reader for manga.
I finally broke down and took the phone apart. There were no warranty stickers to break so assuming you don't mess up royally, it shouldn't effect your resale value. All it took was an eye glass screw driver and a q-tip. Once I was inside I tried the can of air first, but didn't help. Swabbed the back of the glass with the q-tip and that finally provided lasting relief.
i9100 proximity sensor doesn't work
Hi to all!
I have the issue with proximity sensor and didn't manage to find a solution in other similar threads!
The matter is that it is always stay as Released.
In the same time in test screen (*#0*#) there are changing reading for PROXIMITY parameter from 2 up to 240 with no ADC parameter at all. Please look for screenshots. PROXIMITY parameter changes its value when I move my finger in front of the sensor, but as I can understand Android doesn't recognize it because of ADC absence.
Moreover I tried to change proximity sensor for working one (from another phone), but it shows the same as mine (with no ADC readings).
After all I think it is software problem, but I don't know how to solve it. I flashed different firmwares (now it is XWMSE NeatROM v.6.4), but nothing helped.
Please assist! Thanks!
khudko83 said:
Hi to all!
I have the issue with proximity sensor and didn't manage to find a solution in other similar threads!
The matter is that it is always stay as Released.
In the same time in test screen (*#0*#) there are changing reading for PROXIMITY parameter from 2 up to 240 with no ADC parameter at all. Please look for screenshots. PROXIMITY parameter changes its value when I move my finger in front of the sensor, but as I can understand Android doesn't recognize it because of ADC absence.
Moreover I tried to change proximity sensor for working one (from another phone), but it shows the same as mine (with no ADC readings).
After all I think it is software problem, but I don't know how to solve it. I flashed different firmwares (now it is XWMSE NeatROM v.6.4), but nothing helped.
Please assist! Thanks!
Click to expand...
Click to collapse
Changing the rom isn't going to do anything, even factory roms (I've tried it). If a replacement sensor doesn't fix it for you, then it's going to be hard to fix it yourself. All the posts I've seen so far have cleaned the sensor or replaced the sensor and fixed the problem. Otherwise people like me just turn the sensor off.
You were right, proximity software fix didn't help! But how is it possible to work in this (the same wrong) way with changed sensor? Can it be some main board hardware problem? But it doesn't look like this...
Sent from my GT-I9500 using XDA Premium 4 mobile app
Maybe somebody knows how to fix the issue???
Finally fixed
Thanks so much qman66 I have had problems with my proximity sensor on my JFLTEXX pretty much since I got it. Had been using the xposed disable proximity sensor module but xposed doesn't work with CM12. Your simple system tweak has given me use of my phone know call options again
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
Hi, I tied to do this but it says I can't save the changed so file... Can you let me know which root explorer and text editor you are using?
Thanks massively
Not a text file
qman66 said:
with root explorer go to system/lib/hw and go all the way to the bottom to the last sensors file. its an so file. long press on it and open in text editor. somewhere in the page almost at the bottom you will see where it says ProximitySensor then on one of those line it should say mEnabled. just rename it to mDisabled, then reboot and the proximity sensor is fixed.
Click to expand...
Click to collapse
I found sensors.msm8960.so with many references to proximity sensor but it is not a text file!!
Samsung S4 Active w LOS 15.1 (a&Droid 8.1) - how to disable HW sensor(s).
Hi All
Hope some here will help me stay afloat long enough to learn to surf by myself; bit of a noob in this wild ocean here (more of a 'fresh water/indoor pool' kinda dude I guess) - but trying to break out of tis little pond and learn to 'surf'. Anyway, to the point:
1. HW spec
Samsung Galaxy S4 Active
GT - i9295
TWRP 3.3.0-0
Lineage 15.1 20180227 jactivelte
(sometimes with opengapps pico and addonsu15.1 but mostly just LOS and addonsu nothing else)
2. Have the sensors on phone covered up with black electrical tape - all but the notification light are covered and it's gonna stay that way - NOT negotiable!
Obvious Issue: Have the blank screen during phone call problem. Can end calls using power button but I need to use the keypad quite often so need the screen to stay on. How? Ideally want to (SW) disable most if not all hardware sensors - how?
Tried a few fixes but no luck, e.g.:
(a) adding 'the' fix/control many sensors apk no good as not suported under 8.1 (plus want to find out how to do manually myself not use 'hand outs').
(b) edit selected sensor etc ".so" (eg in system hw) files - so far not resulting in the disabled ProximitySensor.
So, I really want to hack this myself at cmd line level, am ok with that (many years IT ops/admin experience in 'fresh water commercial space'). Can mount system using TWRP then adb shell to connect and find and grep for stuff in files but cannot find setttings I need to change to disable sensors for good. Where to look/find more info?
What do I want to achive:
Make calls and have keypad stay on all the time or give me manual option to turn screen on/off with a hw button during call.
How:
I am happy to disable pretty much all sensors (proximity, gyro, compass etc) in system or firmware memory so that I am free from the overlords and really want to be able to use the keypad during calls - and have option to manually turn screen off/on during call would be cool.
Constraint:
Really want to do this from (a) cmd line or (b) edit code/recompile (learning curve) the LOS 15.1 or whatever to disable sensors for good. I will be using this old thing mostly for just call and txt not much else - and cannot be asked to buy an old Nokia handset.
Thanks,
iHAL8999.999... (hi dave...)

Resurrection Remix: stuck in night mode

Hey guys,
today, I installed Resurrection Remix 5.8.3 on my LG G5 H850 running TWRP 3.1.0-0. I did a clean flash, wiping everything before the installation in TWRP. Everything worked fine at first, but now, for some reason, the phone set itself into night mode. According to the system settings, any form of night mode is deactivated, and i didn't set up an automatic activation schedule either. During the boot animation, the colours appear just fine. Also, i haven't found an option yet to turn off the annoying rumble when the keyboard is used. Has anyone an idea how to solve that problems? Thanks.
Deltachrome said:
Hey guys,
today, I installed Resurrection Remix 5.8.3 on my LG G5 H850 running TWRP 3.1.0-0. I did a clean flash, wiping everything before the installation in TWRP. Everything worked fine at first, but now, for some reason, the phone set itself into night mode. According to the system settings, any form of night mode is deactivated, and i didn't set up an automatic activation schedule either. During the boot animation, the colours appear just fine. Also, i haven't found an option yet to turn off the annoying rumble when the keyboard is used. Has anyone an idea how to solve that problems? Thanks.
Click to expand...
Click to collapse
So, might not be night mode, it may be the display mode under LiveDisplay settings (change from Auto to day only). Also, I recommend looking over last few pages of the RR thread as I responded to someone else that had a similar issue and of how to fix it including screenshots. As far as keyboard, it should be in the keyboard settings and disable vibrate on touch.
jeffsga88 said:
So, might not be night mode, it may be the display mode under LiveDisplay settings (change from Auto to day only). Also, I recommend looking over last few pages of the RR thread as I responded to someone else that had a similar issue and of how to fix it including screenshots. As far as keyboard, it should be in the keyboard settings and disable vibrate on touch.
Click to expand...
Click to collapse
I could indeed disable night mode under LiveDisplay settings (for whatever reason). Thank you!

Possible Red Tint Fix

Hey Guys, happy new Year to everyone !
Maybe i found a soulution for people like me, where facing Red/Pink Issues on there Note 8. Specially for people, that want to use Amoled-Kino Screen mode.
For me, the Issue looks like, when i activate Amoled Kino- My Screen Colors get low down, like when you put out 50 % saturation and contrast plus a Red Tint. Anyway, Samsung offers a Software Fix with Adaptive Mode for Display and you can regulate with 3 Sliders to correct your Color. But how ever i set the Values, the Colors in Adaptive Mode are very cold and its sad when i lay down my Note beside my old S7 Edge. Special with activated Kino Mode.
So i searched a few Days in the Web and found a App called : ''ColorModeChancer''. This simple App does nothing else, then to Set the Values for Red/Green/Blue and Contrast/Saturation manual. When i understand the Dev right, it talks to the Kernel and maybe the Screen Configuration for Colors/Saturation and Contrast is load from Kernel and not for Example from another File or Script from System itself. But im no Dev and maybe i talk Bull**** how it exactly works Ask the Dev by yourself or Read Playstore Description. Maybe you understand it better then me. I just wann guide you all to maybe solve the Red Tint Problem.
Steps to install:
You need to be Rooted.
''To avoid using one App for "setting last saved value without open any window" and another one for "open Settings window" I choosed this App behavior:
1) run the App
2) first run ONLY sets last saved value
3) next launches within 30 seconds will open the Settings
4) subsequent launches within 30 seconds will do #3
5) if 30 seconds are passed, the next launch will do #2'' > Description copied from Playstore
6) (From me): Set Cinema Mode in the App and everything is good, you have now a correct configuratet screen with Amoled Kino Mode how it should work
Bugs :
Maybe you get a little Bit of Lag when you scroll down in Apps like Facebook or Instagram. For me, i solved it with cache cleaning for these Apps. Anyway it works like Charm for me.
The App costs around 50 Cent, was orignal made for non Samsung Stock Roms like Linage, Cyanogen etc. where dont have the Option in Settings, to set the Samsung Screen Modes like Amoled Kino.
I dont Link the Playstore Link here, because the App costs Money and i dont want to make advertising for the Dev or anyone else. Just want to share this Guide/Workaround for interested people with the same issues as me. One more Time, the App calls ''ColorModeChanger'' and it is aviable on the Playstore.
Further i Emaild with Samsung and they swear that the Screen Problem is a Software issue and not a Hardware Problem from the Screen itself. After that, i found this App and now i believe that Samsung tlaks the tings right, before i dondt believe that it is only Software Problem. Anyway, it works for me and the result is AMAZING
Have Fun & Good Luck ! :fingers-crossed:

Categories

Resources