I've searched for this and haven't found an answer one way or the other.
I've got an EVO LTE running ICS, Charmeleon rom.
I want to set a PIN lock on the phone so i can enable encryption. but if i do that, the biggest timeout i can set is 15 minutes. I was hoping there was some setting i could tweak somewhere to really increase the maximum timeout. I'd prefer it to be something more like 2 hours, or even a day.
I did see there's an app called delayed lock that'll do this for me, but I want to use the encryption on ICS and it says it wont work with encryption enabled.
Is there someway to increase the lock timeout?
Just to be clear - i'm not talking about the screen turning off - i'm talking about the phone locking and having to enter a pin. Once i boot up the phone I don't want to have to re-enter that PIN again unless the phone has been idle for at least 2 hours (or longer).
Thanks
Use Widgetsoid to place an "Always On" toggle widget on homescreen.
Tap it to make timeout period Infinite. Tap it again to return to normal few minute timeout period.
SachinShekhar said:
Use Widgetsoid to place an "Always On" toggle widget on homescreen.
Tap it to make timeout period Infinite. Tap it again to return to normal few minute timeout period.
Click to expand...
Click to collapse
There's no way to just change the timeout period within android itself? It seems pretty silly/stupid that we can't just set it to X minutes.
Do you know if this app will work if encryption is enabled?
Thanks
merkk said:
Do you know if this app will work if encryption is enabled?
Click to expand...
Click to collapse
Yes, it'll work even if encryption is enabled.
File system is decrypted at the time of boot. Its not that file system encryption/decryption is performed at every screen lock/unlock. So, firmware (which isn't encrypted at all) can read configuration/activity at anytime.
SachinShekhar said:
Yes, it'll work even if encryption is enabled.
File system is decrypted at the time of boot. Its not that file system encryption/decryption is performed at every screen lock/unlock. So, firmware (which isn't encrypted at all) can read configuration/activity at anytime.
Click to expand...
Click to collapse
The only reason I asked was i saw a similar app on the market which said it didn't work with encryption
https://play.google.com/store/apps/details?id=de.j4velin.delayedlock2
If you scroll down to the 'important' section it mentions it doesn't work with full encryption on ICS.
merkk said:
The only reason I asked was i saw a similar app on the market which said it didn't work with encryption
https://play.google.com/store/apps/details?id=de.j4velin.delayedlock2
If you scroll down to the 'important' section it mentions it doesn't work with full encryption on ICS.
Click to expand...
Click to collapse
This app has problem with that because its hitting lock directly which is attached with encryption system directly. Screen timeout case is different.
Oh - hold on a second. I think we might be talking about two different things.
I'm not talking about the screen timeout. I'm talking about the lock. If i put a PIN lock on my phone, the most i can set it to is 15 minutes before I have to re-enter the PIN to unlock the phone. I'd prefer it if I only had to enter the PIN either when the phone restarts, or every few hours, not every few minutes.
merkk said:
Oh - hold on a second. I think we might be talking about two different things.
I'm not talking about the screen timeout. I'm talking about the lock. If i put a PIN lock on my phone, the most i can set it to is 15 minutes before I have to re-enter the PIN to unlock the phone. I'd prefer it if I only had to enter the PIN either when the phone restarts, or every few hours, not every few minutes.
Click to expand...
Click to collapse
The lock initiates only after screen is timed out (or, you press lock button). So, I was considering normal usage case (when you're using device for several hours with considerable intervals).
Anyway, I'll update if I get a solution. Currently, I don't have any idea regarding this..
yeah - but I dont want to have to keep the screen on for a couple of hours just to avoid the phone locking. I'd like to have some battery left at the end of the day
Thanks for the help.
Related
I decided to give CM7 a go last night. Coming from Sense there are a few kinks, but I think most of them can get worked out (mostly just widgets that I liked from Sense). The rom on a whole is just blazing fast, and pretty cool to play with.
The only issue that I have been unable to resolve to my satisfaction is the way the lock screen and PIN/Password entry interact. It seems that every time the lock screen activates, the PIN request also activates. On Sense I could set it to only ask for a PIN after an hour of idle time(exchange server security policy minimum). The only thing close to a fix I have found is to disable to lock screen for 30 minutes. This would be fine if the volume buttons didn't wake the phone.
Can anyone who has been on this rom longer than myself suggest a fix for this?
Thanks
You can disable the 'wake on volume' feature in the settings. As for the pin that is tied to the exchange/mail app. You could try loading a different version (i.e. the one on the sense ROM you were using). That's one reason I use TouchDown for my exchange (it meets the cert requirements for a pin/lock but doesn't use the lockscreen, only prompts after timeout when you open the app, ie want to view your mail).
The disable wake on volume setting doesn't seem to do anything. The phone still wakes when I press the volume key. I tried this both checked and unchecked and performed reboots in between.
So I verified that the disable volume wake does work. However, it only works when the lock screen is enabled. Otherwise the volume key still wakes the phone. Is it possible this means my phone isn't actually asleep (ie I'm wasting more battery than if it shut off automatically)?
Is it possible that an app like widget locker would not be linked to the normal CM lock screen?
This rom is pretty awesome, and I would hate for this one small issue to make me go back to sense.
Yes. This is happening because you are using an exchange server that requires a pin. You can either find a patch, or install a previous version of the mail app, that doesn't support that feature. I believe since 2.1.
Here is the version that I have been using. You will have to remove the account, remove the /system/app/email.all, reboot, and install this app, and add accounts. Annoying, but it works.
h t t p:// db.tt/avF8bLq
Sent from my ThunderBolt using XDA Premium App
I understand why the pin is required. I'm not asking to remove the pin. I actually like the fact that my phone is password protected, but I want to be able to apply the lock screen to my phone without needing a pin EVERY time the screen shuts off. I want a buffer. This doesn't seem to be an option with CM7. Sense 3.0 allows for up to an hour before the pin activates.
It is looking like this won't be an option.
LaDamian said:
I understand why the pin is required. I'm not asking to remove the pin. I actually like the fact that my phone is password protected, but I want to be able to apply the lock screen to my phone without needing a pin EVERY time the screen shuts off. I want a buffer. This doesn't seem to be an option with CM7. Sense 3.0 allows for up to an hour before the pin activates.
It is looking like this won't be an option.
Click to expand...
Click to collapse
Ok forgive me if this is not what you are looking for. But it sounds to me like going to Settings > CyanogenMod Settings > Lockscreen > Delay and Timeout, and changing those values might be what you are looking for???
Ha, nope that doesn't work either. That disables the entire lock screen for that amount of time, and them I'm stuck with the volume rocker waking up the phone and accidentally dialing people.
I do appreciate all the ideas. Hopefully one will stick.
LaDamian said:
Ha, nope that doesn't work either. That disables the entire lock screen for that amount of time, and them I'm stuck with the volume rocker waking up the phone and accidentally dialing people.
I do appreciate all the ideas. Hopefully one will stick.
Click to expand...
Click to collapse
What about disabling the Volume Rocker Wake?
szale9001 said:
What about disabling the Volume Rocker Wake?
Click to expand...
Click to collapse
The volume rocker wakes it unless the lock screen has turned on. So, I either have to set the timer to 0 and punch in my pin every time, or I have to set the timer to 10-30 minutes and deal with the volume rocker waking it. No clue why this is the case.
A code patch was required for this feature
This is an HTC Sense feature and it is not part of AOSP. Early this month, I submitted patchsets to provide this feature in CM7. They have been reviewed, approved and merged.
This feature is included in CM7 nightlies as of 27 July 2011.
There is fine-grained control for all four relevant delays, but selecting "Immediately" for the Slide Lock delays will reproduce the behavior of Froyo Sense. My personal config is:
Screen turned off:
Slide lock delay: 1s
Security lock delay: 5m
Screen timeout:
Slide lock delay: 5m
Security lock delay: 10m
My phone typically only times out if it is sitting next to me on the desk; I always power off the screen if I am going to shove it in my pocket.
organophosphate said:
This is an HTC Sense feature and it is not part of AOSP. Early this month, I submitted patchsets to provide this feature in CM7. They have been reviewed, approved and merged.
This feature is included in CM7 nightlies as of 27 July 2011.
There is fine-grained control for all four relevant delays, but selecting "Immediately" for the Slide Lock delays will reproduce the behavior of Froyo Sense. My personal config is:
Screen turned off:
Slide lock delay: 1s
Security lock delay: 5m
Screen timeout:
Slide lock delay: 5m
Security lock delay: 10m
My phone typically only times out if it is sitting next to me on the desk; I always power off the screen if I am going to shove it in my pocket.
Click to expand...
Click to collapse
I LOVE YOU!!!! thank you so much. cant wait for slayher to merge source and push out another build now... **** yeah!
Thank you. This is terrific news!
Yeah, this was a definite pain point for me: the choice between potentially pocket-launching apps (and rearranging widgets, WTF?!) or inputting my security unlock every few minutes. Why choose? It's a false dichotomy. I love CM7 and didn't want to have to make excuses for a lacking feature.
I believe this is even better than Froyo Sense because users are given the option of granular control... sometimes I power on my screen right away after turning it off (forgot something) and don't have to deal with any kind of lock due to my chosen config, yet I know I am able to shove the device in my pocket without concern (which takes >1 sec).
I realized others would want to reproduce Froyo Sense behavior, so that's their choice as well in this feature ("Immedately"). Others aren't interested at all, which is why I included an overall toggle (defaulted to disable the feature, but will remember your previous Slide Lock settings even if you flip the toggle on/off/on).
Feature control is in CM Settings -> Lockscreen -> Delay and timeout (surprise!)
I am happy that others are interested because this was my first foray into Android development (why start with apps when you can start with the OS?). I have been using this for over a month now without issue on my Inc.
Of course, on my own prerogative I back-merged it on top of 7.0.3 in my dev environment and deployed that to my device, for great overall stability justice, with no changes required for my patchsets. My execution of the change is fairly innocuous and I hope it persists over time despite the deplorable lack of a comprehensive, automated CM7 JUnit regression test suite that I wished to contribute to but doesn't exist.
Cheers. Hope it satisfies everyone!
LaDamian said:
The volume rocker wakes it unless the lock screen has turned on. So, I either have to set the timer to 0 and punch in my pin every time, or I have to set the timer to 10-30 minutes and deal with the volume rocker waking it. No clue why this is the case.
Click to expand...
Click to collapse
to disable the volume wake open root explorer and go to system/usr/keylayout open mecha-keypad.kl in text editor and delete the "wake" beside volume up and down. Then save and reboot.
Organophosphate, thanks for relaying this great news!
I've been asking around different places to see if anyone knew if the pattern lock screen could be delayed and nobody had a response or even understood what I was asking about. I didn't even realize it was a HTC Sense feature until I was fiddling around w/ a friend's Samasung Charge. I'm also surprised this basic feature wasn't already included in previous builds. Well, better late than never.
I was able to achieve delaying the PIN activation by using the modified email.apk along with Delayed Lock from the market. Delayed Lock also integrates well with Widget Locker. The combination works pretty well.
The security lock screen delay is officially part of CM7.1 1.4!!! Woot
jschecter said:
The security lock screen delay is officially part of CM7.1 1.4!!! Woot
Click to expand...
Click to collapse
This.is.awesome! This was the only feature that kept me from I using CM long term.
I am using ICS alpha 1, but I had this issue with the normal ICS leak as well. If I choose face unlock for security, and set the timeout to anything other than immediate, I have no lock screen at all until that timeout is reached. No swype or anything... anyone know why that is?
I think that's the entire purpose of the time out. It could get annoying holding the phone at the right angle in a decently lit area over and over if you're using your phone a lot but still allowing the screen to turn off. And that's at your best bet, at worst its too dark or bright and you have to really work to unlock it repeatedly.
Sent from my SAMSUNG-SGH-I717 using XDA
Surrylic said:
I think that's the entire purpose of the time out. It could get annoying holding the phone at the right angle in a decently lit area over and over if you're using your phone a lot but still allowing the screen to turn off. And that's at your best bet, at worst its too dark or bright and you have to really work to unlock it repeatedly.
Sent from my SAMSUNG-SGH-I717 using XDA
Click to expand...
Click to collapse
Right, but now if the phone wakes before the lock screen timeout, it wakes to the home screen... which can be bad for pocket dials, etc...
loudog3114 said:
Right, but now if the phone wakes before the lock screen timeout, it wakes to the home screen... which can be bad for pocket dials, etc...
Click to expand...
Click to collapse
Not locking immediately is the entire point of setting that timeout. It doesn't lock. If you want it to lock when the screen goes off, you have to set it to immediately.
I think understand what you're asking, though. If use facelock and set it to lock after 5 minutes, anytime you unlock it up to 4 minutes and 59 seconds, you want to have to swipe or use some other method to unlock. Pretty sure that's not an option, unless there's an alternative app out there that does it or a dev mods it to do that.
lactardjosh said:
Not locking immediately is the entire point of setting that timeout. It doesn't lock. If you want it to lock when the screen goes off, you have to set it to immediately.
I think understand what you're asking, though. If use facelock and set it to lock after 5 minutes, anytime you unlock it up to 4 minutes and 59 seconds, you want to have to swipe or use some other method to unlock. Pretty sure that's not an option, unless there's an alternative app out there that does it or a dev mods it to do that.
Click to expand...
Click to collapse
On other devices I have with ICS, its the default lockscreen until the faceunlock timeout is reached. The other device I have is HTC, so maybe sense has something to do with it. I was able to get the behavior I want just by using widgetlocker, but I dont like that solution... I like to stay as vanilla as possible.
loudog3114 said:
On other devices I have with ICS, its the default lockscreen until the faceunlock timeout is reached. The other device I have is HTC, so maybe sense has something to do with it. I was able to get the behavior I want just by using widgetlocker, but I dont like that solution... I like to stay as vanilla as possible.
Click to expand...
Click to collapse
If your looking for an app that allows that vizidon face unlock has what i think your looking for
Sent from my SAMSUNG-SGH-I717 using xda premium
I would like to extend from 10 minutes, the standard maximum possibility on Ics for lock the screen. Do you know if it is possible?
I was supposing it was some parameter on the system.
Thanks.
Hi,
In order to increase the wakeup time, follow the following steps:
System->Display-> Sleep and from the menu select the time you want...
In my phone, I have 30 minutes as maximum time.
Hope this resolve your problem.
I use a widget called screen toggle timeout to set mine to never
Sent from my M886 using xda premium
jbrt said:
I use a widget called screen toggle timeout to set mine to never
Sent from my M886 using xda premium
Click to expand...
Click to collapse
Thanks for your responses but...
- If you increase the screen time, it will be ever displaying.
- My company forces me for strong password when screen is locked. The solution I need is something can increase the delay time between the screen is off and the screen is locked. I have tested many solutions in the market but it dont work: everytime you getup the device the password screen is the first action, later the application that apparently can extend the delay, I expect you understand my meaning.
I think the delay time of the lock screen after the screen is off (from seconds to 10 mins) is stored in some table in the system, and maybe is not complex to change...
something has been annoying me for a while, I noticed playing around when I first got ICS an option to extend the period the phone locks itself when you switch off the screen, or if the screen goes off while you're still reading it, you can just press the button without having to go through the unlock slider menu.
Now my phone seems to be on the mode 'lock the phone as soon as screen off' and I can't for the life of me figure out where the option to change it is, I have looked in EVERY settings menu.
please tell me how where this option is because its something that is really bugging me!
thanks
Settings>security...
Sent from my LT26i
in that menu, the options I have are, screen lock, owner info, sim card lock, make passwords visable, device admins, unknown sources,trusted credentials, install from internal storage and clear credentials...no option to change lock time ?
adsada arc said:
something has been annoying me for a while, I noticed playing around when I first got ICS an option to extend the period the phone locks itself when you switch off the screen, or if the screen goes off while you're still reading it, you can just press the button without having to go through the unlock slider menu.
Now my phone seems to be on the mode 'lock the phone as soon as screen off' and I can't for the life of me figure out where the option to change it is, I have looked in EVERY settings menu.
please tell me how where this option is because its something that is really bugging me!
thanks
Click to expand...
Click to collapse
Hi am going to presume you are on a stock ICS ROM. This happens on stock ROM's if you are using any type of the screen security features. Try them all, you will notice it auto locks after even seconds of sleep. Taking off any of these features and waking your phone back up, your phone resumes as to where you left it. To my knowledge you need a custom ROM to amend the time it takes for the phone to assume it's lock. Im guessing there is a patch or something out there that can add this option though.
yeah I am, and you're right that option becomes available when I select pattern unlock, but is not available with the stock slide to unlock. How would I go about adding this option then?
adsada arc said:
yeah I am, and you're right that option becomes available when I select pattern unlock, but is not available with the stock slide to unlock. How would I go about adding this option then?
Click to expand...
Click to collapse
Just about to hit the hay, so i can't find a solution right now but i know that Miui ROM has the option you're looking for. Allows you to set whether the phone locks when sleeping or stays on your current activity whilst sleeping :good:
the problem is I'm on a locked bootloader any way of adding a patch to add the option without changing the rom?
appreciate the help
adsada arc said:
the problem is I'm on a locked bootloader any way of adding a patch to add the option without changing the rom?
appreciate the help
Click to expand...
Click to collapse
That's not a problem for MIUI :silly: it works on both locked and unlocked. Thank me later :good:
Hey there.
One thing I remember from Gingerbread is how, when on lockscreen, the screen would turn off after some 7 secs. So say I wanted to check the clock I could just turn on the screen and put the phone away again. On JB it seems like it uses the same timeout setting as the rest of the system, one I keep at 1 min..
Is there a way to make to make it seperate? I want the screen to turn off after 10 secs when Im on the lockscreen, so I dont have to press the, quite, inconviniently placed power button on my phone, each time (seeing as I got tap2wake on my phone)
Kocayine said:
Hey there.
One thing I remember from Gingerbread is how, when on lockscreen, the screen would turn off after some 7 secs. So say I wanted to check the clock I could just turn on the screen and put the phone away again. On JB it seems like it uses the same timeout setting as the rest of the system, one I keep at 1 min..
Is there a way to make to make it seperate? I want the screen to turn off after 10 secs when Im on the lockscreen, so I dont have to press the, quite, inconviniently placed power button on my phone, each time (seeing as I got tap2wake on my phone)
Click to expand...
Click to collapse
You can try my app, KinScreen. It allows setting a different timeout for the lockscreen. However, the lockscreen timeout doesn't seem to have an effect in KitKat (where the default is 10s).
Kocayine said:
Hey there.
One thing I remember from Gingerbread is how, when on lockscreen, the screen would turn off after some 7 secs. So say I wanted to check the clock I could just turn on the screen and put the phone away again. On JB it seems like it uses the same timeout setting as the rest of the system, one I keep at 1 min..
Is there a way to make to make it seperate? I want the screen to turn off after 10 secs when Im on the lockscreen, so I dont have to press the, quite, inconviniently placed power button on my phone, each time (seeing as I got tap2wake on my phone)
Click to expand...
Click to collapse
Have you found a way to do this? My new 4.3 JB smartphone used to have a lockscreen screen timeout of 5 seconds, which I liked, but somehow it is now something like 30 seconds... which is TOO long for my liking... I've tried any combination of settings to revert this but with no luck...
BTW, 30 seconds is not even my screen timeout ... I have it set to 1 minute. So... I have absolutely no clues...
MegaSharkXDA said:
Have you found a way to do this? My new 4.3 JB smartphone used to have a lockscreen screen timeout of 5 seconds, which I liked, but somehow it is now something like 30 seconds... which is TOO long for my liking... I've tried any combination of settings to revert this but with no luck...
BTW, 30 seconds is not even my screen timeout ... I have it set to 1 minute. So... I have absolutely no clues...
Click to expand...
Click to collapse
Only way I could come up with was to use Tasker. Make a profile that does when on lockscreen timeout is 7 secs and when not its 1 minute.
Not very ideal.
Kocayine said:
Only way I could come up with was to use Tasker. Make a profile that does when on lockscreen timeout is 7 secs and when not its 1 minute.
Not very ideal.
Click to expand...
Click to collapse
Can you share how was your Tasker profile created? I remember trying to do a similar profile on my previous smartphone (actually it was running KitKat) and I couldn't figure a way for a profile to detect lockscreen for the timeout to be set differently.
Also you can't set it below 7 seconds....
Interestingly enough, I suspect Tasker was the reason why I lost my "short" lockscreen screen timeout in the first place on my new smartphone
MegaSharkXDA said:
Can you share how was your Tasker profile created? I remember trying to do a similar profile on my previous smartphone (actually it was running KitKat) and I couldn't figure a way for a profile to detect lockscreen for the timeout to be set differently.
Also you can't set it below 7 seconds....
Interestingly enough, I suspect Tasker was the reason why I lost my "short" lockscreen screen timeout in the first place on my new smartphone
Click to expand...
Click to collapse
That was indeed the trick. To detect the lockscreen. I came across this plugin:
https://bitbucket.org/laceous/android-atlockscreen/wiki/Home
AtLockScreenTaskerConditionPlugin.1.0.0.apk
AtLockScreenTaskerSettingPlugin.1.0.1.apk
Those you'll need. It runs a background service, without battery drain ofcourse, that uses something 4 mb ram.
Attached is the entire "project" you can import to get something that works.
Kocayine said:
That was indeed the trick. To detect the lockscreen. I came across this plugin:
https://bitbucket.org/laceous/android-atlockscreen/wiki/Home
AtLockScreenTaskerConditionPlugin.1.0.0.apk
AtLockScreenTaskerSettingPlugin.1.0.1.apk
Those you'll need. It runs a background service, without battery drain ofcourse, that uses something 4 mb ram.
Attached is the entire "project" you can import to get something that works.
Click to expand...
Click to collapse
Thanks! But I managed to do it yesterday all by myself just using Tasker and nothing else wanna know how?
MegaSharkXDA said:
Thanks! But I managed to do it yesterday all by myself just using Tasker and nothing else wanna know how?
Click to expand...
Click to collapse
Yes we want to know how! What Android version? I haven't been able to change the lockscreen timeout on KitKat from the default 10s (higher or lower) on stock Nexus 5 ROM.
Sent from my Nexus 5
Flyview said:
Yes we want to know how! What Android version? I haven't been able to change the lockscreen timeout on KitKat from the default 10s (higher or lower) on stock Nexus 5 ROM.
Sent from my Nexus 5
Click to expand...
Click to collapse
So basically this is set by using two profiles:
. Event Screen on -» Display timeout 7 seconds
. Event Screen unlocked -» Display timeout 60 seconds
The only caveat I can think of is that instantly lock after sleep should be activated to prevent false positives.
Now if only I could set the timeout to a value lower than 7 seconds...
MegaSharkXDA said:
So basically this is set by using two profiles:
. Event Screen on -» Display timeout 7 seconds
. Event Screen unlocked -» Display timeout 60 seconds
The only caveat I can think of is that instantly lock after sleep should be activated to prevent false positives.
Now if only I could set the timeout to a value lower than 7 seconds...
Click to expand...
Click to collapse
Cool.
However, the reason I didn't go with something like this is because there's times where I'll have the lockscreen disabled thru a widget OR if I wake up right after it had turned the screen off (and there's a time of 5-15 secs before actually locking the phone). That would result in having an extremely fast dispaly timeout at times where it's not actually wanted. The way I've gone about it ensures, for the most part, that it only applies when locked.