Related
HTC Sensation: Possible solution of "phone doesn't sleep" and "power button" problem
Hi every body,
I was getting irritated and extremely fed up of basically two problems of my htc sensation:
1- The phone didn't automatically turn the screen off. The screen would remain ON and wouldn't automatically lock itself. For example, i use the phone and then i will place it at a side expecting that first screen will be dimmed and then phone will automatically lock itself. It wasn't happening since a very long time (I don't remember the beginning of problem), even when screen timeout setting was enabled. I also observed that if at one time i set the brightness level of display to be automatic, next time i check it and brightness level was always set to be at maximum level.
2- When i pressed the power button to lock the phone, the phone often doesn't go dark. It went dark for a second and then became ON again. I had to press it a number of times until it goes dark. Similarly when i wanted to unlock the phone, i had to press the power button multiple number of times, until it gets unlocked.
Basically i was trying to solve the 1st problem. I went into settings -> applications -> manage application. I checked for each installed application whether it has following in the permissions:
System tools: prevent phone from sleeping
Following applications had above mentioned permission, so i removed them:
xda
ebay
mobile voip
daily motion
sports tracker
Calorie Counter - MyFitnessPal
imdb
Photo Editor
speedtest.net
whatsapp
yahoo messenger
Surprisingly after removing those apps, both issues 1 & 2 were totally gone. The phone was automatically locking it self (it still is). So for me problem number 1 is totally gone now.
However, regarding second problem, i tested it like 100 times locking and unlocking the screen by pressing power button. The behavior was absolutely normal. Then i checked the brightness level of phone, it was set to maximum, i set it to automatic. As soon as i set the brightness level to be automatic, the 2nd problem somehow reappeared.
Now if i set the brightness level manually, the 2nd issue doesnt reappear, but when i set the brightness level to be automatic, power button issues reappears.
Sorry for such a long post but I hope may be this post helps someone, also i would like to ask the experts the justification of such behavior of phone.
I am using stock rom and android version 2.3.4, sense version 3.0 and software number 1.50.206.1
This definitely needs a bump!
I was thinking of possible solutions as well, but this one makes sense. Maybe it is a flaw in how that permission is handled? I don't know how to program, but if any of you clever rom hackers are around, maybe you can try tweaking this? I was thinking that it was maybe something to do with the hardware button itself, sending off multiple signals to the phone telling it to lock and unlock right after due to the shoddy power button design.
My main issue with the fix in the original post is that I use a lot of apps that require this permission, and apps are kinda what define how useful your phone is (aside from making phone calls, that is). If there was a way to fix this issue by either tweaking the "prevent phone from sleeping" permission, or maybe just trying to add an input delay that doesn't register any power button presses until half a second has passed or something.
Like I said, I don't know what is possible to tweak with android since I don't know how to program so I might just be talking out of my butt, however, I do like this phone, it just has this one major power button flaw that really annoys me!
#2 doesn't occur in ICS Roms. I'm always on auto brightness.
Some ROMS added some apps may let your phone awake automatically when you close the screen,so it is the right way to move some apps. Using ARHD ICS and Insection ICS ROMS ,#1#2problems never happend.
Basically i would like to stick to original stock rom. I know i can avoid these problems if i use custom roms.
@Tekuno
Let me tell you, i didn't delete all of those apps which were using that permission "prevent system from sleeping". I only deleted those which i mentioned in my 1st post. Among those, i installed "yahoo messenger" again and 1st problem started happening again. I removed that app, problem gone. For me it's the case of hit and trial. I can't definitely point out one specific app which cause the problems.
I think there is really a flaw in the way this permission is handled by operating system of the phone.
I would also like to keep with the stock rom if possible. I figured it would only be a few apps that would be causing the lock screen issues, I am currently too lazy to go through all of the apps and figure out which ones are causing it.
I'll wait patiently for the ICS and Sense 3.6 update and see if that helps.
i have both problems too. About no 2, i always tot it happens after using the stock camera app which forces the brightness to go maximum and sometimes after exiting, there is some bug that doesnt return setting to automatic. Just a hunch but not sure :s
Do you have "Extended quick settings" installed ? and on a custom ROM, if so then i guess you need to check the "Screen On" option in the extended quick settings dropdown window.
You must have accidentally pressed it and activated it instead.
Can anyone give recommendations for anti-theft software, specifically one that will take photos of the thief, give location, and also survive a phone factory reset? I also want some advice on perhaps activating features of the anti-theft software using Tasker, on a timer of sorts if the phone spends >12hrs away from my home wifi network.
Anyone want to tell me about their set-up, positive or negative points about the software that they have used/do use?
setspeed said:
Can anyone give recommendations for anti-theft software, specifically one that will take photos of the thief, give location, and also survive a phone factory reset? I also want some advice on perhaps activating features of the anti-theft software using Tasker, on a timer of sorts if the phone spends >12hrs away from my home wifi network.
Anyone want to tell me about their set-up, positive or negative points about the software that they have used/do use?
Click to expand...
Click to collapse
You could try Cerburus from Play, but if the thief flashes a stock image and erases userdata then no software is installed anymore and the anti-theft software is no longer active. Google has android device manager now where you can track, disable and wipe your phone/tablet. Its in the settings of the Play Store on your PC.
Cerberus is the best bet.
Sent from my Nexus 5 using Tapatalk
+1 for Cerberus! Well established!!
i think if you loose your phone or gets stolen, you should know fairly quickly
at that point you should get yourself to a web browser ASAP and get to Android Device manager and lock your device.
a "smart" thief will likely get ur phone wiped ASAP and at that point it wont matter what software you have...your SOL
a "dumb" thief will go home and mess with it to see what you got (which will then give you the time you need to lock it and locate it)
A friend of mine used Android Device Manager to track his Note 3 down to 11m accuracy, and he did eventually get his phone back by knocking on doors. However when I've tested ADM I've found that it won't work at all unless Location Mode is set to 'High accuracy' - which on my N5 absolutely destroys my battery within 12hrs. If I'm going to have that turned on, then I want pics of the thief as well as a limited time window before the phone dies. Ideally, I'd like some control over when the phone switches into Location 'High accuracy' - such as being away from home too long (or when I finally receive my NFC Ring, a condition of 'no communication with the ring for 2hrs' perhaps).
I'm kind of resigned to the fact that if the thief has the knowledge to flash a stock image then I'm never getting the phone back. I think that's pretty unlikely in the case of most thieves, so is there any software that can survive the basic 'Factory data reset'? Device Manager wouldn't work if the phone is reset I don't think, because my Google account would no longer be associated with the phone. I'd prefer some solution which is tied to the hardware (IMEI?) somehow.
use Cerberus then. it has all the functions you want.
Yup, about anything you try to use will take a chunk of battery life.
Personally, I don't use anything. If I leave it around and it walks away , so be it. Live and learn. Lol. I know the swat team isn't going to surround a location that these apps say my phone is at...and knocking on doors asking people if they took my phone would more than likely result in a lot of no's.....or much worse.
I wouldn't sacrifice my awesome battery life for a very slight chance of recovering my phone....especially since its quite easy for a thief to just turn it off...and wipe it at his leisure. If he knows anything about phones.
But, to each their own. It is built in as others have said....and there's many other apps too. I'd Google "best blah blah blah" to see reviews of the good ones.
Sent from my N5, N7, Moto X, G Tab 3 or S2.....
Cerberus
Sent from my Nexus 5 using Tapatalk
kj2112 said:
Yup, about anything you try to use will take a chunk of battery life.
Personally, I don't use anything. If I leave it around and it walks away , so be it. Live and learn. Lol. I know the swat team isn't going to surround a location that these apps say my phone is at...and knocking on doors asking people if they took my phone would more than likely result in a lot of no's.....or much worse.
I wouldn't sacrifice my awesome battery life for a very slight chance of recovering my phone....especially since its quite easy for a thief to just turn it off...and wipe it at his leisure.
Click to expand...
Click to collapse
Luckily I know someone who works for the local police and he certainly would take a couple of colleagues to an address if I asked him to
Also, I hope to mitigate the battery impact by only enabling location features in conjunction with Tasker and NFC Ring, so day to day my battery life isn't going to take a hit.
Sent from my Nexus 5 using Tapatalk
setspeed said:
A friend of mine used Android Device Manager to track his Note 3 down to 11m accuracy, and he did eventually get his phone back by knocking on doors. However when I've tested ADM I've found that it won't work at all unless Location Mode is set to 'High accuracy' - which on my N5 absolutely destroys my battery within 12hrs. If I'm going to have that turned on, then I want pics of the thief as well as a limited time window before the phone dies. Ideally, I'd like some control over when the phone switches into Location 'High accuracy' - such as being away from home too long (or when I finally receive my NFC Ring, a condition of 'no communication with the ring for 2hrs' perhaps).
I'm kind of resigned to the fact that if the thief has the knowledge to flash a stock image then I'm never getting the phone back. I think that's pretty unlikely in the case of most thieves, so is there any software that can survive the basic 'Factory data reset'? Device Manager wouldn't work if the phone is reset I don't think, because my Google account would no longer be associated with the phone. I'd prefer some solution which is tied to the hardware (IMEI?) somehow.
Click to expand...
Click to collapse
install tasker... set a task upon receiving a key word text to change the settings... u can send a text to the phone when u loose it, enable high accuracy and use device manager to find it
i have it on high accuracy all the time and i got to say, that it doesnt impact my battery when on idle... only ingress is the only batt hog
Your Tasker plan won't work. Airplane mode or simply turning the phone off is all that's needed. Even Cerberus has very little chance at recovering your phone and it sounds like the best option available.
Most would be thieves have heard of stolen devices taking their picture by now.
Sent from my Nexus 5 using Tapatalk
setspeed said:
Can anyone give recommendations for anti-theft software, specifically one that will take photos of the thief, give location, and also survive a phone factory reset? I also want some advice on perhaps activating features of the anti-theft software using Tasker, on a timer of sorts if the phone spends >12hrs away from my home wifi network.
Anyone want to tell me about their set-up, positive or negative points about the software that they have used/do use?
Click to expand...
Click to collapse
I am using the paid version of Cerberus , Its fine, it doesn't take up much of battery. You can try the AndroidLost App as well. Yes but hopefully all this would work if the thief don't have the technical means or knowledge of flashing a device.:good:
There are apps which prevent your phone from powering off when on the lock screen. They are xposed modules, xgels is one of them. Use that with a pin code, combined with Cerberus and that should give you the time to track your phone if stolen before the thief can flash it. And as for battery my phone is always on high accuracy, and my battery life is amazing. I run stock Rom and kernel, rooted with xposed and lux.
bblzd said:
Your Tasker plan won't work. Airplane mode or simply turning the phone off is all that's needed.
Click to expand...
Click to collapse
in which case no plan will work.
cnstarz said:
in which case no plan will work.
Click to expand...
Click to collapse
Cerberus can send commands to your phone in those cases. Still might not help much
Sent from my Nexus 5 using Tapatalk
bblzd said:
Cerberus can send commands to your phone in those cases. Still might not help much
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
cerberus can't send commands to your phone if your phone is in airplane mode or turned off...
Lokke9191 said:
There are apps which prevent your phone from powering off when on the lock screen. They are xposed modules, xgels is one of them. Use that with a pin code, combined with Cerberus and that should give you the time to track your phone if stolen before the thief can flash it. And as for battery my phone is always on high accuracy, and my battery life is amazing. I run stock Rom and kernel, rooted with xposed and lux.
Click to expand...
Click to collapse
This sounds quite nice. I'm willing to stop using Nova and go back to Google Now launcher if I can get this working - but I've downloaded XGELS and cannot find the option to prevent phone being powered off? Could you (or anyone) point me to the exact setting?
setspeed said:
This sounds quite nice. I'm willing to stop using Nova and go back to Google Now launcher if I can get this working - but I've downloaded XGELS and cannot find the option to prevent phone being powered off? Could you (or anyone) point me to the exact setting?
Click to expand...
Click to collapse
Good morning. Sorry about that it's not in xgels, my mistake. That feature is in the xposed module called advanced power menu.
I was a huge nova/apex user on my old devices, but I love the okay Google feature. I use xgels to hide the Google search bar on the home screen. So you can get that screen real estate back and still use okay Google. I hide the dock as well, it's great. Basically with the combination of xgels and gravity box, tinted status bar, and a couple other xposed modules you can have all the features of nova/apex and still use the okay Google feature. Which I find awesome.
Avast! anti-theft has an option to remain enabled after a hard reset or after flashing a CM rom.
What worked for me after trying and trying to find a way around ACCESSIBILITY SETTINGS for hours...was just:
1: Clicking the green setup arrow.
2: Turning off Wi-Fi.
3: Clicking NEXT.
4: Choose KEEP YOUR APPS & DATA.
It then gave me an option to SIGN IN....and immediately ACCEPTED my most recent password!
SIMPLE, I KNOW...BUT hell, it worked for me. Sometimes, the most obvious things get overlooked. Was this just a fluke or is it really that easy to bypass?
I may have missed a step, as I'm no longer in the setup situation...but let me know if this helped you! :good:
I tried this and it didn't work.. wish it would have as that is what I think I triggered whenever I redid my phone.
Revan365 said:
I tried this and it didn't work.. wish it would have as that is what I think I triggered whenever I redid my phone.
Click to expand...
Click to collapse
Damn....yeah. All I essentially did was turn off Wi-Fi, skip setup...then backup from a previous installation. NOTHING else worked, even though one time before, I fixed it, too. BUT...I'll be damned if I trigger it on purpose, just to find out how! LOL. I literally tried Googling for hours yesterday...and EVERYTHING was patched that used to work. I found a way into Google, through Legal Settings in Accessibility....but it wouldn't let me download a file, or set a shortcut to get to split screen.
jreed3786 said:
Damn....yeah. All I essentially did was turn off Wi-Fi, skip setup...then backup from a previous installation. NOTHING else worked, even though one time before, I fixed it, too. BUT...I'll be damned if I trigger it on purpose, just to find out how! LOL. I literally tried Googling for hours yesterday...and EVERYTHING was patched that used to work. I found a way into Google, through Legal Settings in Accessibility....but it wouldn't let me download a file, or set a shortcut to get to split screen.
Click to expand...
Click to collapse
Hmm. Well for me I don't have a previous installation. And yeah.. I can't find anything either. It won't let me turn off Wi-Fi to skip setup as I guess its saying my phone doesn't have data? Not sure but turning wifi off just keeps me at that screen.
Hi all. In this Video the reviewer states that he isn't getting any notifications with the screen off. Also it is a problem for one of our members. Is anyone else having these hassles? Do you get incoming text, email AUDIO notifications without waking the phone?
Hi
I have no issue with notification at all..
Even when screen is off ..
U do have to active notification from each app setting and alow all permissins...
Also keep in maind to keep app running remove battery restriction from app setting also..
All will work normal
Working for me but I did need to grant WhatsApp and Trurcaller lots of permissions.
I even got True Edge installed for a visual way to get notified and that works brilliantly with the device asleep with screen off.
I was a bit surprised at the extra level of permissions needed. It's all gravy now, but I could see why a reviewer or somebody unaware would get caught out
But yes, I am getting notifications with the screen off in sound and visually, without having to wake the phone.
Indeed at first I wasn't getting any notifications but then I discovered you need to go into the app info and give permission for notifications and turn off battery saver.. now it works perfect and only for the apps I want
The video the OP posted is exactly whats happening to me. I have all the settings as described. Battery saver turned off and even when into each apps settings and allowed ALL permissions just to see if it would work. As the video says, notifications come, but you have to wake the device to see them, there is no sound or anything on screen until the device is woke. Exactly as the video describes. I do hope its fixed soon, I am back to using my Note 5 whilst my beautiful 10 Ultra sits in its box.
Burginthorn said:
The video the OP posted is exactly whats happening to me. I have all the settings as described. Battery saver turned off and even when into each apps settings and allowed ALL permissions just to see if it would work. As the video says, notifications come, but you have to wake the device to see them, there is no sound or anything on screen until the device is woke. Exactly as the video describes. I do hope its fixed soon, I am back to using my Note 5 whilst my beautiful 10 Ultra sits in its box.
Click to expand...
Click to collapse
Have you undone your earlier modifications to the phone (copying files from phone to phone etc)?
You have two problems and the one to ignore for now is louder notifications. It's notifications at all.
It isn't something to fix from Xiaomi's view and it is always worth learning the software. I don't like it myself... It can be cloying etc.
But the default behaviour is to opt in to notifications. It's working as intended. That said look where we are, it's just your problems are a special case. No biggie, let's fix this!
You have an outstanding issue clouding this where you are trying to use unexplained files on the device (like seriously what format are they? Does it work in Music or anything? Have you tried removing them?)
Took a while but I get all my notifications now when screen is off, see 2vattached screen shots
Thanks all for answering my question! I think this is my last question before buying from Liaow.com, if the syncing isn't a constant problem. Does anyone have a major syncing problem as explained in this review? Once or twice a day I can deal with. I check the calendar throughout the day like most people. However if I get busy and forget, missing calendar events/alarms wouldn't work for me. I'd be forced to use my work iPhone<shudder> for calendar events lol.
Sathelp said:
Took a while but I get all my notifications now when screen is off, see 2vattached screen shots
Click to expand...
Click to collapse
How did you get the icons to show on the lock screen?
Mine doesn't. Quite annoying.
Also sometimes the lockscreen doesn't show me notifications even tho they are there.. :s
I have no issues with icons displaying while locked. You do need to enable them and ensure they start automatically and power control is turned off for the app. It has been much easier in the EU ROM for some reason.
Solution!
Here is the thing that helped me with the same notification issue! Just google "xiaomi mi 10 ultra notifications" and in the top 5 links you'll probably find an article from: theunpopulartraveller. It explains the settings, and they need to be accessed by pressing and holding the app icon ^ app info.
Don't give up, try and you'll get the sounds from needed apps back. And ye, actually now I find the way Xiaomi did it much more convenient: I just turned on notifications for 2 apps, and all the rest are silent, while previously I had to turn off all the rest of the apps (much more than 2, definitely) not to get disturbed by all the bull****.
EU Rom doesn't have the "importance" option at 30/31
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
AerationCheese said:
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
Click to expand...
Click to collapse
Disable adaptive notifications from setting. I dont know what google thinking when creating such feature.
it basically interrupt the whole notification process. Using so called Ai to decide, when to give you notifications or when not to. But most of the time it pick wrong decision and delay our notification altogether.
This is android feature since Q thus also causing problem on Pixel phone. On xiaomi seems like it suddenly got worse on Android 11
AerationCheese said:
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
Click to expand...
Click to collapse
How did u manage to roll back to 12.0.15?
Get over to the EU ROM version. Lock screen notifications work fine.
Have you checked each notification that it has no battery optimisation set, also, check in notifications that each one has access to the lock screen. Since A11, notifications have been a pain but for some reason they do work much better on the EU ROM.
Sathelp said:
Get over to the EU ROM version. Lock screen notifications work fine.
Have you checked each notification that it has no battery optimisation set, also, check in notifications that each one has access to the lock screen. Since A11, notifications have been a pain but for some reason they do work much better on the EU ROM.
Click to expand...
Click to collapse
There are issues for Gpay and some banking / local safetynet apps for EU ROM which i do not wish to live with.
Somehow the props file in the eu rom causes those issues.
i am probably going to rollback to 12.0.15... now is the excruciating 160 hours wait for unlock.
You obviously don't follow the EU forums. GPay works, safeynet works and my UK bank works. But you also get everything plus more than the Chinese stock and all updates are based on both weekly and stable stock ROMs respectively.
Sathelp said:
You obviously don't follow the EU forums. GPay works, safeynet works and my UK bank works. But you also get everything plus more than the Chinese stock and all updates are based on both weekly and stable stock ROMs respectively.
Click to expand...
Click to collapse
i don't follow it to the tee, but i've seen some reports of some users not able to use gpay out of the stable roms.
that's why.. too much trouble.. i'll see what i can do when the unlock timer is up..
My phone is randomly logging battery status. Sometimes every few seconds.
The log is always the same. Battery level greater than zero, with date and time stamp.
Sometimes it's a few seconds apart, sometimes it's a minute or two. Overnight it was exactly every 30 minutes. It's writing the log to a text file. It appears to have been doing this ever since I got the phone. Only yesterday, it just decided to start notifying me of this. An Office notificaation pops up with "Batterylog.txt is ready to download"
Every.
Freakin'.
Time.
Haven't figured out why or how to stop the logging, but turning off notifications for office at least stopped the annoying notifications.
I have an S22 Ultra, all stock and up to date. Any way to stop it?
Where is it logging it to? Can you share the file? I wonder if there is something in the header of the file
gmm6797 said:
Where is it logging it to? Can you share the file? I wonder if there is something in the header of the file
Click to expand...
Click to collapse
It's saving in Documents. This is everything it shows. i see no header info.
That doesnt help me help you. I have seen apps that log what they are doing, and with new Android permission rules, everything has to go into downloads... so that makes it even harder. I am at a loss with that info, sorry
gmm6797 said:
That doesnt help me help you. I have seen apps that log what they are doing, and with new Android permission rules, everything has to go into downloads... so that makes it even harder. I am at a loss with that info, sorry
Click to expand...
Click to collapse
Yeah. There just isn't a lot of info there. I was mostly curious as to why whatever it is feels the need to log the battery status every 30 minutes, and why the only info given is "battery level greater than zero". That's pretty obvious by the fact that the phone is on. I'm even more curious as to why, all of a sudden, it started sending me notifications for it. I haven't changed any settings in forever.
I'd like to know what app it is, but there is absolutely nothing to go on. The file size is up to 1.4 kb since 11/03 04:37. I wonder how long it will take to get to 1 GB.
I'm sure there has to be an explanation. One of your apps is doing it, just not sure how to figure out which one it is.
I agree. I'm sure you've thought of this but it might be time to uninstall your apps one at a time until you figure out which one is responsible for it.
pauper66 said:
It's saving in Documents. This is everything it shows. i see no header info.
Click to expand...
Click to collapse
go to developer options and see if you have accidentally enabled "system activity" recording or some other setting there etc ..
daitalos said:
go to developer options and see if you have accidentally enabled "system activity" recording or some other setting there etc this has-been happening since the day the phone went into service. I didn't go into developer options until some time after, but I did check that. And asany settings as I could possibly find.
Click to expand...
Click to collapse
dj24 said:
I agree. I'm sure you've thought of this but it might be time to uninstall your apps one at a time until you figure out which one is responsible for it.
Click to expand...
Click to collapse
That thought occurred to me, but I opted for planB instead. I ordered a Pixel 7 Pro last nigjt.
Not purely for this reason tho. Phone tookansty fall a couple months ago. Nickel size chunk of screen gone, and it hasn't been fully right since screen replacement. Something loose inside, among other things.