Can't turn off Ambient Display on Cyanogenmod 12.1 - Galaxy S 4 Q&A, Help & Troubleshooting

Hello,
I installed the latest official stable Cyanogenmod 12.1 on my I9505. My Problem is, that when the screen is turned off and I move/shake the phone, it automatically turns itself on. I thought, this could be caused by the Ambient Display Setting in "Display & Lights", but I already turned that off as well as Daydream.
Does anyone have an Idea, what could cause the problem?
~pegelf

go settings/screen/ambient display -> off

As I wrote in my first post, I already did that. But thank you anyway for you helpfuness.

Okay, I found the solution by myself now:
The app "irplus" has an option, to automatically turn the screen on if the device is moved, which I haven't seen. It was running in the background the whole time and was the reason for my issue. Simply deactivating that option solved it.
Maybe that'll help someone who has the same problem.

Related

[Q] Screen not turning off while charging.

Hi guys, new guy here trying to figure something out. I've searched other threads, but wasn't able to find the answer. When the phone is charging the screen remains on, just wondering if there's a setting somewhere that can turn the screen off while charging. I've looked everywhere, but can't seem to find a way. Thanks in advance.
Yuni
settings > applications > development > stay awake
Thank you!
OP, by any chance do you (or anyone else for that matter) have the bug of anytime the phone is rebooted (whether plugged in or not), the "Stay Awake" setting becomes reactivated? Mine is this way and can't seem to find any way to fix it.
Not really a big issue to me, but it just seems odd that it would keep reactivating on its own.

[SOLUTION] Display Never Turns Off While Charging

I tried to find a solution for my problem, but I couldn't find any.
Everytime I plug in my phone for charging the display turns on and stays on, same thing happens when I disconnect my phone from the charger. The screen in GingerBread (JVQ) doesn't timeout like it timed out in Froyo/Eclair. This could be potentially a huge problem for your screen. You could get a "burn-in" effect if you get a power outtage while charging and you're asleep/away.
Thankfully there's Tasker (It's a paid app!).
With Tasker you can turn off your screen while you connect/disconnect your phone from your charger.
Here is how I set it up:
Add Profile and name it: TurnOffDisplayOnCharging
Add State-->Power-->I selected only AC
Add Enter Task: Add Tasker-->Wait-->5 seconds and then Add Display-->System Lock (You will need to add Tasker to your device administrators.).
Add Exit Task: Do the same like you did for your Enter Task above.
Of course you don't need to have both Tasks, you could only have an Enter Task or only an Exit Task, it's up to you.
You can also change the timeout/wait time or add any other setting if you like.
Solution 2 (free solution!):
WakeLocker for Galaxy S.
I've uninstalled the app and restarted my phone and the settings stayed! Yay!
Timeout is the same what you have set for "Screen timeout" under Settings-->Display.
I hope this thread was helpful!
display ALWAYS turns off while charging
unless you use modification that enables such setting
plus you must activate such setting to have 'screen steaying on when pluged in'
$omator said:
display ALWAYS turns off while charging
unless you use modification that enables such setting
plus you must activate such setting to have 'screen steaying on when pluged in'
Click to expand...
Click to collapse
Guess Juwe's ROM has such setting enabled.
as youve mentioned such setting might lead to burining screen pisxels
i think if juwe woiuld activate such settign he would put some information about this in huge red letters
$omator said:
as youve mentioned such setting might lead to burining screen pisxels
i think if juwe woiuld activate such settign he would put some information about this in huge red letters
Click to expand...
Click to collapse
So... you're saying there's something else keeping my display turned on after I connect/disconnect my phone from the charger? An app maybe, or some hidden setting?
And, NO, I don't have "Stay awake" option in Settings-->Applications-->Development, only "USB debugging" and "Allow mock locations".
yup something is wrong with your phone, never had such issue
and the only way i know to make display always on is this setting
I just did a re-search on Google for my problem and found your thread (it's even in your signature).
And one of the features for Stock+ is:
+ Enabled stay awake for ac and usb in settings/applications/development
Also found some other people with different roms have this same problem.
Guess this solution might be a good quick fix, instead of re-flashing/searching for other suitable roms.
as for stock+ look at my signature
as for the bug, as i said never hadsuch issue so realy hard to tell what can cause it
but that is not how properly working phone is behaving for sure
and not a problem of stock firmware
As much as strange this will sound.. this is not a bug, it's a feature...
Juwe has it implemented on his rom, as it is also in some other custom roms. I personally can't think of a proper use for this, but, trust me it's a feature. In Juwe and the other roms it is implemented as a setting somewhere in the settings(normally in 'Settings-->Applications-->Development' and sometimes in the display section). But it can also be enabled, if supported by rom (in stock it's not) , when using either SGS Tools, Nitranity or Spare Parts.. can't remember which one exactly sorry. try to remember if you used any kind of tool app to mess around
but leaving it ON as a default is stupid - as said it will 'burn out' your phone display
it MUST be optional - and information about this should be in big red text
Well, $omator , I am a big fan of yours, really! AND your are ABSOLUTELY, TOTALLY, UNDOUBTEDLY RIGHT, but even so that is not the case I know it for a reason because I played a lot with my SGS, since I got it. I have seen this in settings and availability to be enabled through an app.
Really hope you fix your problem, yani2000, shame to burn out accidentally the display. Until you resolve your issue you might want to try charging the phone while it's shut off and see if display still turns on. If not this a temporary fix
moegrave suggested an app for this solution and I've found it!
WakeLocker for Galaxy S (free app on the market!).
Guess there's an app for every trouble GalaxyS has.
EDIT: I've uninstalled the app and restarted my phone and the settings stayed! Yay!
Timeout is the same what you have set for "Screen timeout" under Settings-->Display.
@$omator:
This becomes a problem only if there's a power outtage or somehow your phone gets disconnected from the charger and you're away or asleep.
The phone doesn't wake up and stays on after 100% charge and eats the battery (like some have reported in other various threads).
So this is not such a big deal, but could be dangerous for your screen (burn-in effect) if it actually happens.
glad to be of assistance, yani2000
and guess there ARE apps for everything nowadays
thanks you so muchh you have solved my biggest problem
i have a custom rom on my sgs ii and i had this problem
thanks

[Q]Experiencing sleep of death with Lenovo K1 with CM10 and Wifi IS SET TO ALWAYS ON!

Hi all,
I am experiencing the dreaded sleep of death on my Lenovo K1, I cant post in the android development section as I dont have 10 posts yet. I flashed the V2 CM10 via NVflasher and then updated to V6 via Clockword Recovery. I have checked that my Wifi is set to "Always on", I have not done a system restore so this is a clean device. This is now my 3rd flash of this image with the same problem(My previous JB AOSP worked fine). Does anyone have any idea what I can try next?
Thanks!!!
I'm having the same problem with my WiFi version of the K1. I have flashed krook1's build a couple of times and have tried setting the WiFi to Always on. I also have tried Better WiFi On Off and Soft Locker apps to manage the wifi and keep it out of deep sleep (both recommendations in the dev forum) but neither have helped. Every time my screen goes off, the device appears to continue functioning; I can hear notifications going off for emails or text messages. If I try to turn on the screen again using the power button, the two lights on either side of the home button will flash but the screen does not turn on. I then have to hold the power button down and boot up the device again. It doesn't matter if the screen times out or if I turn it off manually, it will always die immediately after.
Ne3M said:
Hi all,
I am experiencing the dreaded sleep of death on my Lenovo K1, I cant post in the android development section as I dont have 10 posts yet. I flashed the V2 CM10 via NVflasher and then updated to V6 via Clockword Recovery. I have checked that my Wifi is set to "Always on", I have not done a system restore so this is a clean device. This is now my 3rd flash of this image with the same problem(My previous JB AOSP worked fine). Does anyone have any idea what I can try next?
Thanks!!!
Click to expand...
Click to collapse
Hi,
I was experiencing the same issue, the Sleep of death, and would not wake up after turning the screen off or locking the device.
After a lot of testing without positive results, I found this app from the market:
https://play.google.com/store/apps/details?id=com.omd.autoscreenon
It allows to have a "Wake Lock" sensor on all the time, it drains battery a little faster (I haven't noticed much of a difference) which seems to have solve the wake up problem.
I've tried this app the whole day and I haven't had any SoD so far.
Hope this helps.

Lock screen disappeared, can't get it back.. [solved]

EDIT: IT WAS QUICK SETTINGS; I AM RETARDED.
I'm running CM 10.2 nightlies. However, nobody else on the same version is reporting this problem:
In settings > screen security: set to 'Slide'.
I have tried Pattern and PIN, as well. Nothing brings the lock screen back. When I turn on my screen, it goes straight to whatever was on the screen when I turned the screen off.
What could be causing this? I've tried several different nightly versions. Profiles are disabled. I've tried looking through settings many times, and googling, to no avail..
I know it's not a solution but you could try a lockscreen replacement in the meantime like widget locker or milocker?
Thanks for your reply, but I'm actually trying to determine the cause of this specific problem of the CM lockscreen...

Screen stays on

So for the last couple of days my HTC One M7 would recieve a notification and the screen would just stay on the entire time for no apparent reason. Im on latest OmniROM and its starting to bug me. Like for instance I get new mail on Gmail in the middle of the night. The screen turns on, it show the notification, and it doesnt turn off until I turn it off. If I restart, its fine for a few hours, but as soon as I get a notification, the problem reappears.
Nobody, seriously?
Sinistersky said:
Nobody, seriously?
Click to expand...
Click to collapse
Dude, you took less than 24 hours before bumping. Not everyone checks the forums regularly.
Also, per the FAQ, bug reports belong on jira.omnirom.org
However the behavior you describe is a feature in Omni. Let me guess - you turned on Active Display and forgot about it? (Since it's off by default, and the behavior you describe is not something I've ever seen on any device when AD was disabled.)
Entropy512 said:
Dude, you took less than 24 hours before bumping. Not everyone checks the forums regularly.
Also, per the FAQ, bug reports belong on jira.omnirom.org
However the behavior you describe is a feature in Omni. Let me guess - you turned on Active Display and forgot about it? (Since it's off by default, and the behavior you describe is not something I've ever seen on any device when AD was disabled.)
Click to expand...
Click to collapse
Nope.
Just to note, I am seeing the same thing on my nexus 5 running the 10/13 nightly. AD is disabled and I have never enabled it. I was wondering why sometimes I would pull my phone out of my pocket and the display would be on. Since reading this I have verified that this happens when I get a notification. I will submit a bug report on jira.omnirom.org.
eta: oops, I just realized you need an account for jira.omnirom.org.
VFO said:
Just to note, I am seeing the same thing on my nexus 5 running the 10/13 nightly. AD is disabled and I have never enabled it. I was wondering why sometimes I would pull my phone out of my pocket and the display would be on. Since reading this I have verified that this happens when I get a notification. I will submit a bug report on jira.omnirom.org.
eta: oops, I just realized you need an account for jira.omnirom.org.
Click to expand...
Click to collapse
This doesn't occur on any of my devices, including a Nexus 5.
Are you running some sort of notification customization app of some sort?
Define "screen on" - Lockscreen? Blank with backlight on?
Entropy512 said:
This doesn't occur on any of my devices, including a Nexus 5.
Are you running some sort of notification customization app of some sort?
Define "screen on" - Lockscreen? Blank with backlight on?
Click to expand...
Click to collapse
I am not running any notification customization apps just straight Omni nightlies. It happens with any notification that I receive. It goes to the lock screen and stays on until I unlock it. I am going to wipe and reinstall the ROM and try and determine if it's an app issue.
VFO said:
I am not running any notification customization apps just straight Omni nightlies. It happens with any notification that I receive. It goes to the lock screen and stays on until I unlock it. I am going to wipe and reinstall the ROM and try and determine if it's an app issue.
Click to expand...
Click to collapse
Do you have "screen stays on while charging" enabled? Even then, it shouldn't be turning on for a notification in the first place.
None of my devices turn on for a notification in any situation, and the screen always shuts off quickly (faster than the screen timeout setting) when it's at the lock screen unless "screen stays on when charging" is set in Developer Options.

Categories

Resources