Related
Since a lot of people suggest disabling the g-sensor to prevent the screen freezes I thought I'd try something.
I don't want to have my rotation disabled as it's very handy to have. So what I do is use an app called Tasker. It's not free, but there is a 7-day trial available.
Basically I have it set to disable screen rotation every time the screen is off..and so far I haven't had any screen freezes. It may be coincidence, it may not be. I'm not exactly sure if the app does disable the g-sensor or does something else, but so far so good.
For those that don't know about Tasker...it's probably the best app that will ever be made for Android. You can make your phone do almost anything.
For example, I use it to:
When I get home, Wifi turns on and 3G is turned off. When I leave home, Wifi turns off and 3G turns on....same for work.
I have it disable wifi, 3g and screen rotation at night when I'm in bed.
It enables GPS when I launch maps or navigation, and disables GPS when I close the app.
And those are very basic ones...
The Tasker wiki has many more advanced "profiles" you can use:
Code:
Lock An Application
Start the Day with a Particular Application
Battery Full Alert
Launch Music App When Headset Inserted
Launch Menu of Music Apps When Headset Inserted
Keep screen awake when using the keyboard
Speaking Clock for Android 1.5
Control Keyguard (scroll to unlock) when Power is Connected/Disconnected
Keep Multiple Backups of Tasker Config
Change Ringtone on Every New Call
Mute in Meetings
Hold Ringer Volume Down
Auto-Respond To SMSs At Night
Change Volume Levels during Different Times of the Day
Check Data/SMS/Minute Usage With Carrier While Sleeping
Temporarily max brightness of screen during Incoming Call
Auto (Silent) Sleep Mode with Exceptions
Intermediate
Power Plug In - Choose Car/Home/Night Mode
Generic Toggle Widget
Open the keyboard and start texting
Set volume then Launch menu of music apps
Alarmclock without Snooze
Alarms with Snooze and Vibrate
Geburtstagserinnerung (German)
Car Locator
Notification Reminder Pulse
Locate your phone using SMS and google maps
Lock your phone and locate it by SMS and sound
A full talking clock
Act like a docking station when plugged into USB
Auto answer calls when your bluetooth headset is connected
Extended phone profile changer with Notification and Widget
Turn your cell phone into a Voip phone
Advanced
Periodic Data Check (Juicedefender Replacement)
Creates profiles similar to S60 devices and changes them depending on variety of factors
U.S. Navy Ships Bells (Using Tasker's OR '/' feature) * Pattern Matching *
Changing background image depending on current weather (Using HTTPGet)
Or you can simply create your own...there is a learning curve, but once you get a feel for it, it's VERY powerful! It can control almost every part of your Android phone.
There's a decent thread with more examples on xda in this thread.
I realise this is a software post, but it's main aim was to point out a way of disabling rotation to help with screen freezes
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
HTC_HDD said:
Hey,
thanks for this thread, i have downloaded tasker now.
Can you post your code for disabling gsensor when screen is off?
//EDIT: Sorry, its very easy.. i think i can create it by myself
Click to expand...
Click to collapse
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
HTC_HDD said:
I have done it like you and added a task which enables the rotation if screen is on, is this correct?
I have used the phone now and i got freezes again, but not so much.. i think.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Yep, you also have to create another to say disable screen rotation when the screen is off.
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
tgtoys said:
@the_scotsman
Thanks for the suggestion, I've seen a few people mention this app before but now I finally downloaded it. I'll play around a bit to figure out some combos, but one quick question..
Is this going to be something running in the background sucking up battery and memory or is it just like running scripts? What do you think? I'll run current widget once I get some tasks going to see happens, just wondering if you've found anything out yet.
Click to expand...
Click to collapse
It depends on what profiles you set up...if they involve wireless, it will enable wireless every so often to check access points etc....or if you are using a location profile, it will enable gps every so often to check your location. You can change how often everything polls in the settings.
I have mine as per the first post, so it does scan for wireless every so often, and I havent seen any change in battery usage.
the_scotsman said:
Yep, you also have to create another to say disable screen rotation when the screen is off.
Click to expand...
Click to collapse
Can you go step by step what you do to set up display off and rotation off?
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
starbase64 said:
Hi,
the last NetRipper Kernel has no freezes!!
Is not overclocked, is not undervolted, has no axi and has no freezes.
with friendly greet
starbase64
Click to expand...
Click to collapse
Thanks, but i prefer to have axi and undervolt
And I have no freezes
the_scotsman said:
Hehe yep, it's an easy one.
New Event profile > Display off is the Event. Action is disable rotation
Click to expand...
Click to collapse
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
tzic said:
I can find everything else exept "disable rotation" in Actions. I only found "display rotation" in settings. Any help?
Click to expand...
Click to collapse
Yea, thats the one..just choose that one and set it to "off" in the settings for it
ty for the quick reply scotsman, I ll report back in a day or two.
Tried this, but didnt work
I tried many different versions of kernels but in all if I keep my phone on standby (screen off) for a long time, say 20 mins, my phone freezes, My hardware buttons still glow on press, but phone never wakes up, any Ideas??
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
justwonder said:
Even you disable display rotation, the sensor is still active, just use Gscript and disable sensor, you won't get any more freeze.
Click to expand...
Click to collapse
I was just about to write exactly the same words!
Scotsman - can you tell if Tasker can run a custom written script, upon some event? Then we can use it to turn off the gsensor!
Finally seems to be workin!!I made 2 changes:
1) Upgraded my radio from 2.08 to 2.12 (I recommend this one)
2) Stopped GSensor with Gscript
Another issue,
After I restart the sensor via script, photos in album wont rotate anymore!!
I did a `ps -ef|grep akmd` and the process is running, any thoughts??
edit: it works after restart!!
did you use the free gscript? cause mine says needs su:true
Your solution is great thanks... i did something slightly different : using tasker, autorotation is enabled only for apps that I want too, like gallery. Rest of the time, its off and working great that way too.
Or to turn keyguard off within a WiFi network (using Tasker or AutomateIt)? I've tried to do this using Tasker (Keyguard Off function) but then realized that several errors started occurring on my phone; I later realized that this had been removed on 2.2. I love the finger swipe but hate that you can't apply a security lock timer to the fingerprint scanner.
So, has anyone figured out how to automate the fingerprint scanner using Tasker (or another app like AutomateIt) to turn Keyguard Off? Or is there a way to set a timer to the fingerprint scanner despite it being greyed out in the options?
Thanks.
Kaaji1359 said:
...Or is there a way to set a timer to the fingerprint scanner despite it being greyed out in the options?
Thanks.
Click to expand...
Click to collapse
Also wondering!
same here. I would love to have a setting where it'll automatically turn on the biometric lock after a certain period of time and not just whenever the screen is off.
Guess not
Kaaji1359 said:
Guess not
Click to expand...
Click to collapse
Just posted a fix...guessing/hoping people are still looking for a solution.
http://forum.xda-developers.com/showthread.php?p=17446576#post17446576
Delayed Lock
Basically I just want to use Tasker to turn on a PIN lock when I'm not connected to my home wifi. I've tried it multiple ways - using the keyguard on/off built into tasker, using the secure settings plugin, etc. I can't get it to work. Is there something I'm missing here? Does the Nexus 7 have problems with this function? Any tips would be appreciated, thanks!
rm79 said:
Basically I just want to use Tasker to turn on a PIN lock when I'm not connected to my home wifi. I've tried it multiple ways - using the keyguard on/off built into tasker, using the secure settings plugin, etc. I can't get it to work. Is there something I'm missing here? Does the Nexus 7 have problems with this function? Any tips would be appreciated, thanks!
Click to expand...
Click to collapse
I am having the same issue, did you ever find a solution for this?
PthPndr said:
I am having the same issue, did you ever find a solution for this?
Click to expand...
Click to collapse
It turns out that Android is no longer allowing applications to lock / unlock screen, this is a security feature (even Tasker has this info somewhere in the documentation). The way Tasker currently turns off the screen lock is by some messy work around. The closest I got to having this feature working on ICS and later on JB 4.1.1 was that it was working as expected most of the time, but whenever the screen lock was switched off by Tasker and I clicked on any notification in the notification bar, the screen would get locked and keep locking itself from then on. This is really annoying and makes this feature pretty messy and useless. So I finally resolved to setting the phone to lock automatically after a long period (eg. 30 mins), which is good enough when I'm at home. That way the chances are that if I forget to lock the phone and loose it, it will lock itself after 30 mins. I also created a shortcut on the screen (using Secure Settings plugin) to lock the phone manually whenever I remember about locking it. I doubt there is currently a better way of doing that.
Before today's update, I was running Nova with double tap set to the app screen off and lock. This allowed me to double tap the home screen to shut the screen off and lock the phone (I prefer this to clicking the power button). After the update, I can still do this, but it will no longer work with fingerprint unlock. If I try unlocking the screen using fingerprint, it forces the pattern unlock. Does anyone know a way to fix this?
Thanks.
xemnas18 said:
Before today's update, I was running Nova with double tap set to the app screen off and lock. This allowed me to double tap the home screen to shut the screen off and lock the phone (I prefer this to clicking the power button). After the update, I can still do this, but it will no longer work with fingerprint unlock. If I try unlocking the screen using fingerprint, it forces the pattern unlock. Does anyone know a way to fix this?
Thanks.
Click to expand...
Click to collapse
It's a Marshmellow thing and was like that before the update (at least there were many reports of it, I don't use that feature of Nova).
Sent from my SM-G935V using Tapatalk
_Dennis_ said:
It's a Marantz thing and was like that before the update (at least there were many reports of it, I don't use that feature of Nova).
Sent from my SM-G935V using Tapatalk
Click to expand...
Click to collapse
I'm not familiar with that, but it was definitely working for me before the update. It's not really a Nova feature; Nova just supplies the double tap gesture function which can be used for anything. I think it has something to do with lock screen security, but nothing I tried worked. Thanks anyways.
xemnas18 said:
I'm not familiar with that, but it was definitely working for me before the update. It's not really a Nova feature; Nova just supplies the double tap gesture function which can be used for anything. I think it has something to do with lock screen security, but nothing I tried worked. Thanks anyways.
Click to expand...
Click to collapse
It's a Marshmellow thing, not a Nova thing. It doesn't work on 6p, or 5x, or any other variant of the s7. Or with any other apps that lock the screen. Seems like it may have been a fluke if it worked on yours. It has to do with the apis for smart lock and Google's fingerprint api.
Sent from my SM-G935V using Tapatalk
xemnas18 said:
Before today's update, I was running Nova with double tap set to the app screen off and lock. This allowed me to double tap the home screen to shut the screen off and lock the phone (I prefer this to clicking the power button). After the update, I can still do this, but it will no longer work with fingerprint unlock. If I try unlocking the screen using fingerprint, it forces the pattern unlock. Does anyone know a way to fix this?
Thanks.
Click to expand...
Click to collapse
Same thing with me. The update messed mine up as well. I use this app now with Nova double tap and its working good. https://play.google.com/store/apps/details?id=com.iwashisoft.screenoff&hl=en
It doesn't lock the screen it just turns it off but it will lock when the setting you have it set for times out. I have mine at 30 seconds.
bjtcars said:
Same thing with me. The update messed mine up as well. I use this app now with Nova double tap and its working good. https://play.google.com/store/apps/details?id=com.iwashisoft.screenoff&hl=en
It doesn't lock the screen it just turns it off but it will lock when the setting you have it set for times out. I have mine at 30 seconds.
Click to expand...
Click to collapse
That fixed it. Thanks a ton man. I don't see any settings for it though.
xemnas18 said:
That fixed it. Thanks a ton man. I don't see any settings for it though.
Click to expand...
Click to collapse
Its in the phone settings> Lockscreen and Security> Secure Lock Settings> Lock Automatically> pick one
No it doesn't... FUD
Sent from my SM-G935V using Tapatalk
I use a different tap to lock screen and it now makes me use the pattern all the time. If I use the power switch and wait the 30 seconds the fingerprint works. Try that and see if it works not using Nova.
It is third party lock/screen off apps that cause the enter pattern always function.
bjtcars said:
Its in the phone settings> Lockscreen and Security> Secure Lock Settings> Lock Automatically> pick one
Click to expand...
Click to collapse
Got it. Thanks again.
admiral70 said:
I use a different tap to lock screen and it now makes me use the pattern all the time. If I use the power switch and wait the 30 seconds the fingerprint works. Try that and see if it works not using Nova.
It is third party lock/screen off apps that cause the enter pattern always function.
Click to expand...
Click to collapse
Thanks for the reply, but it works now. You just have to use a different app that turns the screen off but does not lock it. With the new app, the phone will lock itself after a few seconds and then I can use fingerprint properly when I turn it back on.
Installed the update from last night, after the phone rebooted the recent and back capacitive buttons are not working. I just did the repair software tool with verizon and that didn't fix it. Crazy...
I know guys, there are a ton. But so far I found only two kinds:
- Some completely block your phone, not allowing you to unlock with face or fingerprint.
- Some -idk why- turn off the screen and randomly turn it on inmediatly after. This doesn't happen evertime, but it's a problem cos if you have smartlock activated then the screen is on and phone in unlocked...
I just want a way to imitate the power button single tap function. I don't like pressing physical buttons, I use a gesture to turn the screen off before putting it inside my pocket. And yesterday I pocket-dialed two people...
Nova has a double tap to sleep function, and greenify used to have a short-cut to the same thing.
lumiden said:
I know guys, there are a ton. But so far I found only two kinds:
- Some completely block your phone, not allowing you to unlock with face or fingerprint.
- Some -idk why- turn off the screen and randomly turn it on inmediatly after. This doesn't happen evertime, but it's a problem cos if you have smartlock activated then the screen is on and phone in unlocked...
I just want a way to imitate the power button single tap function. I don't like pressing physical buttons, I use a gesture to turn the screen off before putting it inside my pocket. And yesterday I pocket-dialed two people...
Click to expand...
Click to collapse
I have previously used screen Lock pro. It's not working correctly with the s10+, I have sent a video of the problem to the developer & he says that he will have support for our phones quickly. I will let you know as soon as I am notified
Sent from my SM-G975U using Tapatalk
rtarv321 said:
I have previously used screen Lock pro. It's not working correctly with the s10+, I have sent a video of the problem to the developer & he says that he will have support for our phones quickly. I will let you know as soon as I am notified
Sent from my SM-G975U using Tapatalk
Click to expand...
Click to collapse
Thanks :fingers-crossed:
I use Gravity Screen Pro. It has a pocket sensor setting, turn screen off/on by proximity, screen on/off by motion, fingerprint unlock, etc.
Either Gravity Screen or KinScreen. I have premium for both but have been using KinScreen for the past few years as it was stable than Gravity Screen, but I haven't used Gravity Screen's latest version either.
lost_ said:
Either Gravity Screen or KinScreen. I have premium for both but have been using KinScreen for the past few years as it was stable than Gravity Screen, but I haven't used Gravity Screen's latest version either.
Click to expand...
Click to collapse
I'll have to look at KinScreen, although I've had zero problems WITH Gravity Screen on my S9.
lumiden said:
I know guys, there are a ton. But so far I found only two kinds:
- Some completely block your phone, not allowing you to unlock with face or fingerprint.
- Some -idk why- turn off the screen and randomly turn it on inmediatly after. This doesn't happen evertime, but it's a problem cos if you have smartlock activated then the screen is on and phone in unlocked...
I just want a way to imitate the power button single tap function. I don't like pressing physical buttons, I use a gesture to turn the screen off before putting it inside my pocket. And yesterday I pocket-dialed two people...
Click to expand...
Click to collapse
So i initially tried using Nova double tap gesture. It would turn the screen off but a second later it would go to the lock screen. Now i use Good Lock by Samsung and i actually like it a lot. In Good Lock go to the the "Family" tab - (no idea why it's called this) and then select One Hand Operation +.... I created a Small Right handle that turns the screen off when i slide it. Works great and i have yet to activate it by accident.
bionic-pags said:
So i initially tried using Nova double tap gesture. It would turn the screen off but a second later it would go to the lock screen. Now i use Good Lock by Samsung and i actually like it a lot. In Good Lock go to the the "Family" tab - (no idea why it's called this) and then select One Hand Operation +.... I created a Small Right handle that turns the screen off when i slide it. Works great and i have yet to activate it by accident.
Click to expand...
Click to collapse
Where can I find Good lock?
lumiden said:
Where can I find Good lock?
Click to expand...
Click to collapse
Galaxy Store
Tel864 said:
I use Gravity Screen Pro. It has a pocket sensor setting, turn screen off/on by proximity, screen on/off by motion, fingerprint unlock, etc.
Click to expand...
Click to collapse
My experience with these apps is that they fail sometimes and I just don't want to have my phone turning on inside my pocket, I think it's risky.
bionic-pags said:
Galaxy Store
Click to expand...
Click to collapse
Yes, I looked for it and it's not on some regions. And it's not in mine. I'll try to find the apk.
lumiden said:
Yes, I looked for it and it's not on some regions. And it's not in mine. I'll try to find the apk.
Click to expand...
Click to collapse
What region are you in? Weird, because it's an official Samsung App... let me know if you can't find it and i can post the apk for you... Also, make sure it's the 1.0.00.46 version, as they just updated it to work with Pie.
I also am desperate for this feature. Tried all of the apps and all of them go to the lock screen for some reason. I contacted a couple of developers but idk if they can do anything. Tried the one hand gestures and it does work but the thing is I still prefer double tap to lock instead of those swipe gestures. I think this feature should be natively supported like on almost every other android phone.
lumiden said:
Where can I find Good lock?
Click to expand...
Click to collapse
And be aware that there is a Good Lock in Play Store but it's not the same app. Like someone else said, get the one in Galaxy Store.
Use edge feature and download softkey from galacy store just slide over and press button to lock phone
larryk said:
Nova has a double tap to sleep function, and greenify used to have a short-cut to the same thing.
Click to expand...
Click to collapse
I use Nova for that: ||>>>Gestures & Inputs>Home button>Screen lock(uncheck "only on main home...")
then go to 'Gestures' below, click "Swipe up" and also check "Screen lock" Now, I use 'Full screen gestures" for nav bar already, so that Nova gesture setup is not messing up the nav bar gestures but rather compliments it. Example: I have some app open on the screen and swiping it up(w/o Nova) in the center would bring me to the Home screen(and that is being mimic w/Nova too) then the second 'swipe up' locks the screen. Simple, quick double 'swipe up' from any app does the trick, if you are on the home screen already then you just swipe it up only once.
I also use full screen gestures. The problem is not the gesture. The problem is that I need an app to turn off the screen. There are like a hundred apps that do that. But they all have one of the two problems I said before.
I'll look for the good lock in a bit. I have to find the apk.
"there was a network or server error. Try again later. The mapper function returned a null value"
I'm getting this error when I open good lock. Apparently it's not supposed to be use in Argentina. I'll try Nova launcher now.
lumiden said:
I also use full screen gestures. The problem is not the gesture. The problem is that I need an app to turn off the screen. There are like a hundred apps that do that. But they all have one of the two problems I said before.
I'll look for the good lock in a bit. I have to find the apk.
Click to expand...
Click to collapse
Here is the link
https://www.apkmirror.com/apk/samsu...2018-1-0-00-46-android-apk-download/download/