Lockscreen without PIN entry on CM7? - Thunderbolt Q&A, Help & Troubleshooting

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.

Related

[Q] Prevent phone lock - not bypass lock screen

Hi all, I've tried so many app's over the last couple of days that claim to stop the screen from locking but they have all just bypassed the lock screen... Well, they've tried to anyway. These kind of work arounds don't actually stop my phone from locking in the first place though.
My phone is a W008+ iPhone clone with Android 2.3.3. When it's charging, the screen will time out and switch off; But it doesn't lock. So I can hit any key to bring the screen back on and as it wasn't locked in the first place, I'm taken straight back to where I was.
When not charging, I get the same behaviour for ~2 or 3 seconds... Any longer and it locks forcing me to use the power key and swipe the lock screen along with any other security measures I may have in place.
What I'd like is to be able to set the 'lock' timeout in the way that I can set the 'screen' timeout. This is obviously possible but the question is: How far will I have to go to get this functionality?
Is there a setting I've missed? I'm very new to Android so there's lots I don't know yet.
Are there any app's that can really do this? Maybe this would need a root app?
Or would I need a custom rom?
Any ideas?
https://market.android.com/details?id=org.jraf.android.nolock
try this
or you could flash cyanogenmod, in cm there is an option to disable the lockscreen in cyanogemnod settings -> tablet tweaks -> disable lockscreen
'No Lock' is one of the many I've tried. This type of approach isn't what I'm after.
Someone mentioned on the AndroidForums that some systems have a 'Set Lock Timeout' setting in the location & security settings. This sounds like the kind of thing I'm after but I don't have it on my 2.3.3 system. Maybe there's some kind of tweaking app that adds this?
I will most likely get round to using a custom rom but being so new to Android at the moment, I haven't quite got the confidence for it yet. I keep finding so many stories from people bricking their similar Chinese clone-phones.

can i have more then 15 minutes on lockout?

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.

[Q] Other ways to turn on/off the screen without using the hardware button

I'm wondering if there's a way (app or manual edit of system files) to make the hardware buttons less used to keep them from getting soft
and for that I'm mainly focusing on the power button as it is frequently used, I have two ideas:
- taking the gesture from the new M8 which is by double tapping the screen, if you're a developer please tell me if it's possible to take that function from the M8 maybe edit it and make it work on the One Max!
- We have a great special thing called fingerprint scanner, and since it's not that good at identifying the owner's fingerprint but always works at identifying fingerprints of people, maybe we can use it to wake up screen by simply swiping the finger over it!
So here is my question and here are my ideas, if you have a good answer for me please share it in the comments!
Thanks XDA!
Also looking for a way to do it, but in my case the reason is my power button stopped working and the only way to wake the device is by plugging a charger. What could I use else before having it fixed by service?
for switching off i use nova launcher with the app "screen off and lock"
DoubleTap on screen now the max going off. (i do this with all phones)
But switching on with doubleTap i always searching how it can work. I have
no idea
my understanding is that without a modded kernel, turning screen ON with touchscreen taps is a no go.
an alternate is to use something like the xposed sense 6 toolkit feature "wake screen with volume buttons". granted it still uses hardware buttons, but at least the power button wont have to take as much "abuse" anymore.
for turning screen off, sense 6 tookit offers gestures on the homescreen. i have mapped swipe down to screen off.
i vaguely remember reading about another xposed mod that can map double tap on status bar to screen off.
just my 2 cents!
edit: i m using another xposed mod called "sense 6 lockscreen mods" that enables double tap to screen off on the lockscreen.
Sent from my HTC One max using XDA Free mobile app
greddy said:
for switching off i use nova launcher with the app "screen off and lock"
DoubleTap on screen now the max going off. (i do this with all phones)
But switching on with doubleTap i always searching how it can work. I have
no idea
Click to expand...
Click to collapse
Try WTN by Wolandsoft. Works perfect for me. I was looking for a way to turn on the phone in the car while driving. This works perfectly.
https://play.google.com/store/apps/details?id=com.wolandsoft.wtn&hl=en
barrr said:
Try WTN by Wolandsoft. Works perfect for me. I was looking for a way to turn on the phone in the car while driving. This works perfectly.
https://play.google.com/store/apps/details?id=com.wolandsoft.wtn&hl=en
Click to expand...
Click to collapse
Try AutoScreenOnOff
https://play.google.com/store/apps/details?id=com.danielkao.autoscreenonoff#
Even better than WTN that I recommended. Just found this one last night. A lot smoother.

how i can double tap to wake in xiaomi redmi note 2

how?????
you can't
This seemingly small embellishment is just so darn useful it would be great if Xioami got around to incorporating it. I was using my old LG phone the other day to keep track of time while working on a dirty project, and the ability to double-tap to wake the screen with whatever portion of my fingers/knuckles which were clean at the moment was a real lifesaver. I forgot how truly useful it is, and I definitely miss it on the RN2!
try this en.miui.com/thread-125331-1-1 worked for me
socolino said:
try this en.miui.com/thread-125331-1-1 worked for me
Click to expand...
Click to collapse
Thanks, socolino, for the suggestion about the Knockr app (https://play.google.com/store/apps/details?id=tecnology.angs.knockr). I've taken a look, and, of course, while this app does its best to mimic DT2W, it is pretty much a kludge. It basically just turns the screen black to simulate it being shut off, but it actually keeps the phone awake. So this means a massive hit on battery life. And there is other collateral, too, because the phone doesn't actually go to sleep. For example, the notification LED does not get activated because the phone is not actually sleeping. And supposedly the power button doesn't turn the screen on as expected (i.e. get rid of the black mask).
Anyway, thanks again for the suggestion.
this feature is disabled in kernel, unless we will have source codes or xiaomi will anable this feature, there will be no dt2w
Yoni1581 said:
how?????
Click to expand...
Click to collapse
As a workaround, I use the WakeUp Touch L Free app. With the correct settings, it wakes the screen virtually every time by double tapping the proximity sensor. I haven't noticed any battery drain using it. Here are screenshots of the WakeUp Touch settings I use. Another couple of settings that are useful to modify: long press on WakeUp Touch in Notifications & assign it High Priority; lock WakeUp Touch in Recent Apps by dragging it down.
To turn the screen off via double tap, I use the Screen Off and Lock app in conjunction with Apex Launcher's double tap gesture [Nova & other launchers also have this gesture].

Recommendations for reproducing Motorola's Active Display?

My last phone before this one is the Droid Mini. So far the Z5C is infinitely better in everything (but my expectations/standards are pretty low...) except that the Active Display feature from Motorola was awesome. From a bit of Googling, there are some other apps that copy this functionality to various degrees, but maybe some of you can give more specific insight than the articles?
1.) First of all, I'm confused. This article below states that Motorola released the app on Google Play Store for the general Android population... but it doesn't come up when I search it on my Z5C. What the hell?
http://gadgetstouse.com/featured/to...lay-notifications-alerts-android-device/19901
2.) If the Moto app is not available, any opinions on the alternatives? From reading a few articles, sounds like Dynamic Notifications is my best bet. Thoughts?
I tried xposed module, but it used proximity sensor, so it is not the same thing. I also miss that feature a lot from my nexus 5x, double tap to wake is kind of replacement when phone is laying on the table. When you take it out from a pocket, pressing the button isn't such a big deal. I couldn't find any reasonable replacement so I learnt to live without it
I really don't understand why other manufacturers don't copy-cat this feature. It was without question the greatest feature of my old phone.
I tried out Dynamic Notifications, but it's weird. First, it didn't play nice with the existing lock-screen and login structure. When I had a notification, pressing the power button no longer took me to the lock screen -- instead it just turned off and locked the screen. It's as if Dynamic Notifications became a second lock screen, and the power button toggled it on/off, and I had to tap the home key to get to the actual lock screen. On top of that, after getting to the actual lock screen it seemed to somehow screw up the fingerprint login because I kept getting prompted to use my other login method (PIN in my case). Most weird of all, it had some crazy bug when I used Uber. I was trying to check where the Uber car was on the map, and it threw me to the Dynamic Notifications screen, with the Uber notification showing. I logged in again, pulled up Uber again, checked the location of the Uber on the map, and it instantly did it again! And again... So screwed up.
TL;DR: Do not use this app, at least not on this phone. It's buggy and/or just makes you jump through extra hoops when logging in.
Yeah I also have double tap enabled. It's okay I guess.
Nexus 5x had a dedicated hardware sensors for that matter, I guess that may be the problem. Anyway I agree with you that every manufacturer should implement it.
I would try AcDisplay for the lock screen and if you want raise to wake, try Gravity Screen . Be warned though, Gravity Screen is kind of glitchy with the fingerprint sensor, so I would just use AcDisplay. ^_^
dlee390 said:
I would try AcDisplay for the lock screen and if you want raise to wake, try Gravity Screen . Be warned though, Gravity Screen is kind of glitchy with the fingerprint sensor, so I would just use AcDisplay. ^_^
Click to expand...
Click to collapse
try use ambient display is an xposed module
dlee390 said:
I would try AcDisplay for the lock screen and if you want raise to wake, try Gravity Screen . Be warned though, Gravity Screen is kind of glitchy with the fingerprint sensor, so I would just use AcDisplay. ^_^
Click to expand...
Click to collapse
So I finally got around to trying out AcDisplay. That video that is on the app download page shows how you can wake up the phone using proximity sensors, when pulling it out of your pocket or even waving your hand over it... But none of this works at all. Not even a little bit. Does that mean that the Z5C does not have any proximity sensors built into it?

Categories

Resources