LineageOS - 16 - Sleep Issue - LineageOS Questions & Answers

Hello XDA
i Have Xperia ZR ,recently i unlocked BL and installed Lineageos 16 its really great and was working fine
till recently i found out that the device wont go to sleep mode automatically anymore i have to put it manually buy pressing the power button .
is there any way ti find out what cause the problem if it's an app or a bug avoiding factory reset ?!
thanks in advance
------------------------------------
Edit 1
------------------------------------
blocking wake lock
-*launch*
-*Windowmanager*
seems to be fixing the time out issue but i dont know what it's goinna cause
any ideas ?!
------------------------------------
Edit 2
------------------------------------
cant open clock setting and alarms after blocking *launch*

Hazem442 said:
Hello XDA
i Have Xperia ZR ,recently i unlocked BL and installed Lineageos 16 its really great and was working fine
till recently i found out that the device wont go to sleep mode automatically anymore i have to put it manually buy pressing the power button .
is there any way ti find out what cause the problem if it's an app or a bug avoiding factory reset ?!
thanks in advance
Click to expand...
Click to collapse
You mean display sleep? There is a option in developer settings to keep display on while charging.

kurtn said:
You mean display sleep? There is a option in developer settings to keep display on while charging.
Click to expand...
Click to collapse
developer option stay awake while charging is off
but the screen never goes to sleep when idle with or without charger

Related

Please HELP: HowTo change wakeup events on hermes

Hi all, when my hermes powered off, it wakeup itself after some minutes.. this bug is hard for my baterry. Any ideas to solve this problem ?
HERM200
3Des.2
1.38 radio
thanks to all
timemaster said:
Hi all, when my hermes powered off, it wakeup itself after some minutes.. this bug is hard for my baterry. Any ideas to solve this problem ?
HERM200
3Des.2
1.38 radio
thanks to all
Click to expand...
Click to collapse
Remember something in other threath about radio events that makes phone to wake up, but i'm not sure.
Better make a deep search in the hermes forum, but i think the issue is related to radio.
Regards.
timemaster said:
Hi all, when my hermes powered off, it wakeup itself after some minutes.. this bug is hard for my baterry. Any ideas to solve this problem ?
HERM200
3Des.2
1.38 radio
thanks to all
Click to expand...
Click to collapse
what applications are you running when the phone wakes up?
radio & apps
Hi all,
i'm not running any application when phone wake up, without some today plugins - bandswitch,ilauncher
jcespi2005: I attemp to flash older radio rom..
timemaster said:
Hi all,
i'm not running any application when phone wake up, without some today plugins - bandswitch,ilauncher
jcespi2005: I attemp to flash older radio rom..
Click to expand...
Click to collapse
Ok. Keep us informed about the progress...this is an interesting issue for me.
OK, many thanks for your interest..
jcespi2005 said:
Ok. Keep us informed about the progress...this is an interesting issue for me.
Click to expand...
Click to collapse
increase battery life
I tested "increase battery life" registry hack, but without any effect to this problem..
problem with radio downgrade
I don't able to flash older radio rom with ollipro 1.40
I will test 1.40 radio rom today..
timemaster said:
I don't able to flash older radio rom with ollipro 1.40
I will test 1.40 radio rom today..
Click to expand...
Click to collapse
I've just flased too, and going to test...post here the results.
timemaster said:
Hi all, when my hermes powered off, it wakeup itself after some minutes.. this bug is hard for my baterry. Any ideas to solve this problem ?
HERM200
3Des.2
1.38 radio
thanks to all
Click to expand...
Click to collapse
Just a thought. Do you use email on your Hermes and have it set to auto download every so often?
qiman said:
Just a thought. Do you use email on your Hermes and have it set to auto download every so often?
Click to expand...
Click to collapse
mmmm, interesting. I've observed the "Wakeup itself" issue with activesync push mode active, so don't think it's concern to mail only. But, as you say, in same configuration related to mail and notification about mail can be the origin.
As i use only activesync with push mail, and i also take care my tytn dosn't wakeup every time notifying me about all, my recomendation is revise the notification configuration, and take care with all the settings there.
Also take care with notifications in the system (you can view with Task Manager 2.7).
Regards.
Is it waking up from a full power down (after pressing the power button for a few seconds) or from standby (where the screen turns off but the phone is still on)?
waking up from standby mode..
qiman said:
Just a thought. Do you use email on your Hermes and have it set to auto download every so often?
Click to expand...
Click to collapse
I did'n use activesync (only for flashing), email,mms etc..
Hm, radio 1.40 doesn't help
maybe hardware problem ? but when I switch wireless off, all is OK
so ur saying when wireless off do u mean wifi off or phone radio off (flight mode).
i dont have an issue at all with unexpected wakeups.
try...
1 disable all sounds n notifications (not inividually but with the default setting radio box)
2 remove all today items entirely
3 remove all items in the startup (including the hidden files in rom) and put the somewhere such as temp or my docs. dont delete them.
4 turn off all alarms
5 turn off wifi
6 turn off auto beam accept
7 turn off bluetooth
8 turn off error reporting and ms auto updates and customer improvemement
9 did i miss anything if i did turn that of as well
10 turn off push email close all data connections and prevent activesync from running
soft reset the device by pressing the power button for 3 seconds and power down. wait 20 secs and power backup. bet the phone is fast now...
switch off / suspend / power off the device and see if it now wakes up.
tell the phone to turn off display after 1 min. power off after 2 min.
if it wakes up now then we have to keep looking further. it shouldnt tho. we have disabled everything.
if its ok u know it was one of the above. so now work through one after another waiting for a decent period of time after each to test and isolate the issue.
post back n let us know. if its still a problem after this i would guess its ur notifications queue that needs to be fixed... maybe with caution scary bear.
simon_darley said:
so ur saying when wireless off do u mean wifi off or phone radio off (flight mode).
i dont have an issue at all with unexpected wakeups.
try...
1 disable all sounds n notifications (not inividually but with the default setting radio box)
2 remove all today items entirely
3 remove all items in the startup (including the hidden files in rom) and put the somewhere such as temp or my docs. dont delete them.
4 turn off all alarms
5 turn off wifi
6 turn off auto beam accept
7 turn off bluetooth
8 turn off error reporting and ms auto updates and customer improvemement
9 did i miss anything if i did turn that of as well
10 turn off push email close all data connections and prevent activesync from running
soft reset the device by pressing the power button for 3 seconds and power down. wait 20 secs and power backup. bet the phone is fast now...
switch off / suspend / power off the device and see if it now wakes up.
tell the phone to turn off display after 1 min. power off after 2 min.
if it wakes up now then we have to keep looking further. it shouldnt tho. we have disabled everything.
if its ok u know it was one of the above. so now work through one after another waiting for a decent period of time after each to test and isolate the issue.
post back n let us know. if its still a problem after this i would guess its ur notifications queue that needs to be fixed... maybe with caution scary bear.
Click to expand...
Click to collapse
thanks for your big help i will test it today and post my result..
Same Problem
Do you run Cingular Xpress? I was having the same problem. It would kill my battery in less than a day. If you have this program try removing it.
MWillis561 said:
Do you run Cingular Xpress? I was having the same problem. It would kill my battery in less than a day. If you have this program try removing it.
Click to expand...
Click to collapse
Hi, however I doesn't run this program..
timemaster said:
...some today plugins - bandswitch,ilauncher...
Click to expand...
Click to collapse
I use iLauncher and it never has happened for me so you can rule that out as the culprit (I realise this isn't a solution.. but it's one less thing to check )

[Q] lock screen problem ??

hi,,
i have android revolution 6.1.2 , radio 12.62.60.27U_26.13.04.19_M on my DHD ,,
everything is working fine but there seems to be a weird problem with the lock screen,,,
i use 'lock screen widget' to turn screen off, once screen is off, it turns back 'on' by itself after 10, 15 seconds , the lock is there, but the screen lights up for no reason ??
this cycle gets repeated after 20,30 seconds and is a nuisance since it causes a hi battery drain
any helP!!
blueazure said:
hi,,
i have android revolution 6.1.2 , radio 12.62.60.27U_26.13.04.19_M on my DHD ,,
everything is working fine but there seems to be a weird problem with the lock screen,,,
i use 'lock screen widget' to turn screen off, once screen is off, it turns back 'on' by itself after 10, 15 seconds , the lock is there, but the screen lights up for no reason ??
this cycle gets repeated after 20,30 seconds and is a nuisance since it causes a hi battery drain
any helP!!
Click to expand...
Click to collapse
I would get ahold of the widget developer as it is a app problem. Why not use the hardware button instead?
i tried that, removed the lock widget and used pwr button, but problem continues
:S
----------
the problem started when i flashed the new radio,,, is there a remedy if i go back to the old one ?
blueazure said:
i tried that, removed the lock widget and used pwr button, but problem continues
:S
----------
the problem started when i flashed the new radio,,, is there a remedy if i go back to the old one ?
Click to expand...
Click to collapse
Ok something is turning your screen back on. I would look at your apps to see what is running. Normally this is due to some app miss behaving like apps found on 4shared or other sites like that other then the market where adware and things can be added to it.
I think its bcz of d 3g connection (if u have)..
My phone wakes suddenly n shows "refreshing sim data" whenever m on 3g..
Sent from my GT-S5830 using Tapatalk
i remember installing 2,3 apps 'off-market'
thanks for pointing that out zldl, will check and report
shreyasvb said:
I think its bcz of d 3g connection (if u have)..
My phone wakes suddenly n shows "refreshing sim data" whenever m on 3g..
Sent from my GT-S5830 using Tapatalk
Click to expand...
Click to collapse
hmm,,
thats a valid point,
im not sure about the 3g/2g setting, but to check just for the sake of it, i have turned 3g off and checking,, so far the screen has not misbehaved
---------
@zldl
i removed all the non-market apps but the problem persists,. i remember that the problem started after i updated radio,,,
will going to the previous radio ( downgrading ) solve the problem ?
maybe the new radio messes with the 3g setting as shreyasab said above ?

[Q] Power Off Password Protection

Hey Guys....I have been using xperia s from 4 months long...i got a problem that anyone can turn off my phone or change my profile or get it into flight mode even if the phone is locked with a passwor pin or pattern.....Any solution for this problem got this feature on my iphone but its irritating on android....please help guys...thanks...
hchimanshu said:
Hey Guys....I have been using xperia s from 4 months long...i got a problem that anyone can turn off my phone or change my profile or get it into flight mode even if the phone is locked with a passwor pin or pattern.....Any solution for this problem got this feature on my iphone but its irritating on android....please help guys...thanks...
Click to expand...
Click to collapse
yes in every Android phone like this,can turn off/silent mode/airplane mode etc...

[TUT] Turning back you G-Sensor on for Sense 5

A lot of people is complaining out there of their broken g-sensor and possibly other sensors included , as the sense 5 camera being off all the time as it a lot dependable on it , but there have been found couple of ways to get sensors back on and it mostly work all the time , so until some will provide a camera mod people may use this mod for reviving the g-sensor back
SO HERE ARE 3 WAYS and keep cautious as these methods may harm your device
METHOD 1
-the idea is to overheat your HOX , keeping at active all the time till we get it on
-You need your battery to be around 50% not more than that , as you need to give it a chance to charge
-I open my data connection + map + navigation + screen on brightest available and on all the time + and connect it to car charger (it worked once without being connecte to charger ) the phone will heat up fast within 5 minutes ( Keep my phone connected to charger all through the process )
-once you feel your device is hot enough do a restart (fast boot way works for me )
-once your device is on back try to run your camera to see if your g-sensor is back
-and once its back , dont turn your device off or restart it as the g-sensor will go back offline and that including flashing a new ROM
-I have used g-sensor debug APP from play store to check my g-sensor all the time , once you turn it on it will recognize it as Panasonic 3-axis Acceleration sensor with numbers running up and down , but if the g-sensor is off ill will show nothing
METHOD 2
A help from a friend here used this way as he used StabilityTest app from the Play Store.
-Run “Scaling Stability Test (Root)”,
-leave it running whilst doing other things.
- After little while temperature will reach above 50°,
- restart the phone and then sensor should start working
-and again dont retart your device or turn it off as your sensor will go off again
METHOD 3
1. put on your phone around 20 songs in a format that is not supported ( .FLAC . AAC etc.)
2. make a playlist of these songs and try playing them. (this will hopefully crash your phone, if not, open some memory consuming apps as well)
3. after the crash start your phone with working sensors
METHOD 4
some people has reported that going into bootloader and flash boot.img and clear cache after that would somehow initiate sensors on reboot
!!DISCLAIMER!!
Please note that I tried this only several times on my device. THIS MAY RUIN YOUR PHONE
there is a big chance that your sensor will not start working from the first try but eventually it will
Special Thanks to @ATZ-007 for his 2nd way
Special Thanks to @getsomefood for his 3rd way
Update 9/22/2013
HTC has releases a new camera APK that can work without g-sensor being online here it is http://d-h.st/PUd , but this wouldnt turn your g-sensor back but at least this ill restore functionality of our lovely HOX back
special thanks to @virgolib
HTC Venom said:
A lot of people is complaining out there of there broken g-sensor and the sense 5 camera being off all the time as it a lot dependable on it and I hope someone else will create a mod for sense camera to start in the landscape mode with depending on g-sensor for being on , but I have found a way to get my sensor back on and it mostly work all the time , so until some will provide a camera mod people may use this mod for reviving the g-sensor back
SO HERE IS THE WAY and keep cautious as this method including heating up your device
-the idea is to overheat your HOX , keeping at active all the time till we get it on
-You need your battery to be around 50% not more than that , as you need to give it a chance to charge
-I open my data connection + map + navigation + screen on brightest available and on all the time + and connect it to car charger (it worked once without being connecte to charger ) the phone will heat up fast within 5 minutes ( Keep my phone connected to charger all through the process )
-once you feel your device is hot enough do a restart (fast boot way works for me )
-once your device is on back try to run your camera to see if your g-sensor is back
-and once its back , dont turn your device off or restart it as the g-sensor will go back offline and that including flashing a new ROM
-I have used g-sensor debug APP from play store to check my g-sensor all the time , once you turn it on it will recognize it as Panasonic 3-axis Acceleration sensor with numbers running up and down , but if the g-sensor is off ill will show nothing
Click to expand...
Click to collapse
The first seconds after the reboot it looked fine but then the camera crashed again and the sensor stopped working :/
JiroMusik said:
The first seconds after the reboot it looked fine but then the camera crashed again and the sensor stopped working :/
Click to expand...
Click to collapse
I'm not sure what kind of defect with every g-sensor out there at HOX but it seems symptoms do vary at each device , this method does the work all the time for me and also I had to repeat this process couple of times , the strange thing at my device that this g-sensor is till functioning great for the last week with no glitches , on other pages some guys recommended using g-sensor calibration at safe mode after disabling fastboot from power settings
Umm interesting how heat is helping in this situation. I would of thought it would of been related to a kernel problem as most had no issues before updating.
Has anyone tried trips kernel, see of the issue is still on there?
Sent from my HTC One X using xda app-developers app
reply
HTC Venom said:
A lot of people is complaining out there of there broken g-sensor and the sense 5 camera being off all the time as it a lot dependable on it and I hope someone else will create a mod for sense camera to start in the landscape mode with depending on g-sensor for being on , but I have found a way to get my sensor back on and it mostly work all the time , so until some will provide a camera mod people may use this mod for reviving the g-sensor back
SO HERE IS THE WAY and keep cautious as this method including heating up your device
-the idea is to overheat your HOX , keeping at active all the time till we get it on
-You need your battery to be around 50% not more than that , as you need to give it a chance to charge
-I open my data connection + map + navigation + screen on brightest available and on all the time + and connect it to car charger (it worked once without being connecte to charger ) the phone will heat up fast within 5 minutes ( Keep my phone connected to charger all through the process )
-once you feel your device is hot enough do a restart (fast boot way works for me )
-once your device is on back try to run your camera to see if your g-sensor is back
-and once its back , dont turn your device off or restart it as the g-sensor will go back offline and that including flashing a new ROM
-I have used g-sensor debug APP from play store to check my g-sensor all the time , once you turn it on it will recognize it as Panasonic 3-axis Acceleration sensor with numbers running up and down , but if the g-sensor is off ill will show nothing
Click to expand...
Click to collapse
I only want camera work return in sense 5..
pekida2 said:
I only want camera work return in sense 5..
Click to expand...
Click to collapse
there are 2 ways to get your camera to work again
1- get your g-sensor back online , here you can find a way by overheating your device
2-to find someone there to provide a mod for the camera app to start without depending on the g-sensor
reply
HTC Venom said:
there are 2 ways to get your camera to work again
1- get your g-sensor back online , here you can find a way by overheating your device
2-to find someone there to provide a mod for the camera app to start without depending on the g-sensor
Click to expand...
Click to collapse
Can u fix camera app in sense 5 ??? I only like use origin camera in sense 5. does camera like as camera in sense 5??? thank you very much
no issues if using Trips kernel so somethign is wrong with stock kernel or so...
One-X-master said:
no issues if using Trips kernel so somethign is wrong with stock kernel or so...
Click to expand...
Click to collapse
My g-sensor has been broken since day one on sense 4+ , but ill go ahead and give this kernel a try
update : I have tried Trip's kernel , and same thing as before g-sensor isn't working here
Hello guys, can i ask you. This thing happened to me on Sense 4 my phone rebooted becouse of overheat and then sensors started working, now i know why it happened i was playing 3D games out and then phone rebooted. And it worked . It happened 2 times, now i know why. Still dont understand how heat fix this problem So my question is how i can overheat the phone becouse on sense 5 it not heats like on sense 4 have no idea, and then how to restart? Normally power and restart? Or hold power button and wait few sec? thanks buddies. :fingers-crossed:
Morrdigian said:
Hello guys, can i ask you. This thing happened to me on Sense 4 my phone rebooted becouse of overheat and then sensors started working, now i know why it happened i was playing 3D games out and then phone rebooted. And it worked . It happened 2 times, now i know why. Still dont understand how heat fix this problem So my question is how i can overheat the phone becouse on sense 5 it not heats like on sense 4 have no idea, and then how to restart? Normally power and restart? Or hold power button and wait few sec? thanks buddies. :fingers-crossed:
Click to expand...
Click to collapse
use data connection like HSPA +charging battery +using GPS + place screen on High brightness for sure wll increase device's Temperature a lot
( charging and discharging at the same time will increase battery's Temp a lot )
Just saying.....if (over)heating helps to fix a problem ...it's definitely a hardware problem.
Get warranty....
Well i will try it, but i need to over heat it to max so it restart automatically? I think at 80 C it restarts auto, btw Hofs, no warranty, and i think if i go to repair with it only way how they can repair it replace full main board.. And i dont think so it will be cheap thing I am not care about this but i am care about fix camera, on sense 4 it was working, i need just somebody to remove this gyro mode to get it work..
Morrdigian said:
Well i will try it, but i need to over heat it to max so it restart automatically? I think at 80 C it restarts auto, btw Hofs, no warranty, and i think if i go to repair with it only way how they can repair it replace full main board.. And i dont think so it will be cheap thing I am not care about this but i am care about fix camera, on sense 4 it was working, i need just somebody to remove this gyro mode to get it work..
Click to expand...
Click to collapse
+1
we need someone to remove the gyro mod
Any ideas how / or who know to remove it?
Comfirm, heat the phone, solved the camera issues.. :screwy:
Sent from my HTC One X using xda app-developers app
paroys said:
Comfirm, heat the phone, solved the camera issues.. :screwy:
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Just do not restart the phone , this method sometime not always does the trick but eventually it will
HTC Venom said:
Just do not restart the phone , this method sometime not always does the trick but eventually it will
Click to expand...
Click to collapse
Yes it is, I had got for about 3 hours and then happened again and even still trying to come back cannot get back, is there anyway???
virgolib said:
Yes it is, I had got for about 3 hours and then happened again and even still trying to come back cannot get back, is there anyway???
Click to expand...
Click to collapse
In my case once its on it will stay on as long as I dont restart my phone , im not sure why and what the difference between your case and mine

Power Button Lag/Delay?

Every time I press the button to turn the screen on it lags and I have to wait a second or two to turn the display on, any ideas on how to fix it or is it a software thing?
It's really frustrating me, I hope something gets sorted!!
Sorry to hear this. My power button is lightning quick. You might have a defect on your hands there..
It's that bad, sometimes it's quicker to double tap the screen then use the fingerprint sensor to unlock!
Pretty sure it has something to do with the update. Happened on the LG V20 as well
Same Issue
has anyone found a resolution to this? I got my device last week and it has been doing it ever sinse and driving me crazy!. Is it a hardware issue or is it fixed in software? waiting out for the oreo update hoping it will fix it but any help would be appreciated!
Thanks
Have you tried rebooting your phone to safe mode to ensure that no app is interfering?
I have experienced that issue only when I enabled the full immersive mode using ADB.
I have tried safe mode, yes, and the same issue persists, it's not every time the device is unlocked, it's only when it's left for around 2 minutes (it's almost like a deep sleep or something) and what's ADB mode?
Therazerkid said:
I have tried safe mode, yes, and the same issue persists, it's not every time the device is unlocked, it's only when it's left for around 2 minutes (it's almost like a deep sleep or something) and what's ADB mode?
Click to expand...
Click to collapse
ADB or Android Debug Bridge is a command line tool that lets you run commands on your phone from a computer, for installing/unistalling apps, tweaking hidden system settings, etc...
I used it to enable the full immersive mode (basically to hide status and navigation bars). Once I did it, my phone started to behave exactly like you described.
Was your phone having that issue since the first day?
Yes it has been doing it since new
Therazerkid said:
Yes it has been doing it since new
Click to expand...
Click to collapse
Have you tried updating to Oreo? The only other solution I can think of is a factory reset

Categories

Resources