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.
hi im new here. i found out my sgs2 got auto-rotation problem. i turn off auto-rotation on notification bar. and also in display>off auto-rotation. But..it still ON automatically...anyone has a this problem?
is there any fix for this? thanks yaa..
What do you mean it's on automatically ? Some applications just don't obey this setting.
yeah.. when i open notification...it ON again. but in setting show OFF... hmm, why aaa??
eg: when i open setting or messaging...it horizontal and change back to vertical. and i have to OFF again Auto-rotation in notification...and ok for awhile.
if i reboot. it didnt save the auto-rotation setting. it keep ON...
I see .. I have no idea why it's doing that though .. mine does no such thing.
I had this problem when i used touchwiz, it doesnt seem to do it anymore when i switched over to launcherpro
as the title says - how to enable double tap to sleep (screen off) using gestures in Nova Launcher prime?
i know it has something to do with assigning an activity via Nova Launcher gestures, but i can't find any activity that relates to screen off or sleep...
any help is appreciated...
note:
i know how to do this using an extra app "Screen Off and Lock", but i just wanted to know is there a posibility to avoid any extra apps to achieve the same thing...
Download Turn Off Screen from play store and assign it to Double Tap on Nova launcher in Gesture Settings.
https://play.google.com/store/apps/details?id=com.cmcm.screenoff
Vlad Paul said:
Download Turn Off Screen from play store and assign it to Double Tap on Nova launcher in Gesture Settings.
Click to expand...
Click to collapse
i think you posted this in the same time i was writing the "note" part in my post
I think not. If i remember, it worked well without 3rd party app, but now it is "disabled". Anyway, here is another guide:
"The Nova Launcher option
Another app that functions very similarly to the way you’d use Apex Launcher is*Nova Launcher. The same as you did for the first method, you will only be able to use this one if you also installed Greenify on the device. Therefore, you should go to the Google Play store and look for these two tools and install them.
Whenever you’re ready, check the steps below:
Open Nova Launcher and go to its Settings.Click on Gestures and Buttons and scroll down to Gestures.Select Double Tap and wait for the Choose Action menu to load.Go to Shortcuts, and then click on Hibernate and Lock Screen.
You may have noticed before that selecting the right settings in the first application is going to automatically send you to the second app you need to use. In this case,*Greenify will open*a new discussion and ask you to authorize Nova to use your screen.
You should go under the Automator and click on Allow Greenfy, and then confirm this option by pressing Activate. You’re now good to go and can test if the display is working properly by double tapping to send it to sleep."
http://techpp.com/2015/03/13/android-double-tap-screen-wake-sleep-guide/
Sent from my LG-D802 using XDA Premium 4 mobile app
krija said:
I think not. If i remember, it worked well without 3rd party app, but now it is "disabled". Anyway, here is another guide
Click to expand...
Click to collapse
thanks, but i don't use greenify and this guide is more complicated than "nova + screen off&lock" option which i already use...
Easy, you don't need to use a 3rd party app. Just doubletap the status bar to sleep
You can do this in every app, whenever you want to sleep just double tap status bar
TheHaso said:
Easy, you don't need to use a 3rd party app. Just doubletap the status bar to sleep
You can do this in every app, whenever you want to sleep just double tap status bar
Click to expand...
Click to collapse
i know that but it's not confortable enough...
i even had double tap navbar to sleep (g3twb) which worked well until i started using 5 buttons navbar making it harder to hit the blank area...
It looks like you may need first of all nova launcher prime, after that , you may need greenify as well.Here is what i did and it works.
1 . Go to Nova settings>gestures and input>double tap
2 . swipe right to the shortcuts tab and then go down you may find "hibernate + lockscreen"
3 . Assign it and it works!
double tap to sleep is working for me.
hope this helps.
EvilKing009 said:
It looks like you may need first of all nova launcher prime, after that , you may need greenify as well.Here is what i did and it works.
1 . Go to Nova settings>gestures and input>double tap
2 . swipe right to the shortcuts tab and then go down you may find "hibernate + lockscreen"
3 . Assign it and it works!
double tap to sleep is working for me.
hope this helps.
Click to expand...
Click to collapse
thanks, but please read all the posts again before posting what i (we) already know and wrote
1. i already have nova prime (else - i won't be asking because gestures don't work with free version anyway)
2. i've said that i got it working with "screen off & lock" app
cheers
Screen turns off if knocked on or close to status bar when I do it.
But what is the problem with having another app installed? Its size is ridiculous and it solves your problem, and always you can hide if u dont want to see it.
fersago said:
But what is the problem with having another app installed? Its size is ridiculous and it solves your problem, and always you can hide if u dont want to see it.
Click to expand...
Click to collapse
not a problem... just wanted to know was there a way to do it without an extra app... nothing more
Hoy could use greenify to
i love when people post without reading...
Mate,
Variant: D802
ROM: @zg8 Unofficial temasek-14.51-20150708-082930
Launcher: Nova
im using Pre-Built sLim Action Screen Off for DT2S for my AOSP ROM
60nine said:
not a problem... just wanted to know was there a way to do it without an extra app... nothing more
Click to expand...
Click to collapse
Greenify is the only solution for you if your using Stock ROM
i don't plan to use aosp rom...
people - please read the posts before you suggest something already solved or written...
From the apps that I have Tasker and GravityBox can do screen off/sleep. And if you are using them already that doesn't count as an extra app, right?
Just realized this myself, one less app in my phone. I think I will go with tasker since I already run a lot of stuff with it.
MilanStojkovic said:
And if you are using them already that doesn't count as an extra app, right?
Click to expand...
Click to collapse
i don't use any of those apps
but it's nice to see extra suggestions coming in... it will surely help someone to pick a perfect app combo for this purpose...
60nine said:
i don't use any of those apps
but it's nice to see extra suggestions coming in... it will surely help someone to pick a perfect app combo for this purpose...
Click to expand...
Click to collapse
Oh man, you should try tasker. It's what puts SMART in smartphone. Was messing around today with it. I found an old buss ticket that can work as nfc tag and put it on my phone holder on bicycle. I have set it to trigger launching Strava app, turning on GPS, setting brightness to max and forcing landscape mode for that app. And when I exit app, BAM, it reverts everything back the way it was. It's like slide and click instead of multiple actions. Might be overly excited about it right now, and definitely off topic here, but had to mention it hehe. I hope you will find a way to use that gesture the way you want, everything is possible on android
MilanStojkovic said:
I hope you will find a way to use that gesture the way you want, everything is possible on android
Click to expand...
Click to collapse
if you knew how i use my device you'd be asking "why don't i use nokia 3310 instead?"
no gps, no bluetooth, no location of any kind, no gaming, half of google services blocked etc...
no vibers, no hangouts, no skypes, no syncs - some calls, few sms messages... (i mostly communicate through google chat and emails while on pc since most of my work depends on beeing on pc anyway)
i read articles, browse and listen to music 90% of the time...
call me old fashioned - but i still love to have some "human manual control" over things on my device
Hi,
I am trying to use Waze on my phone, but the app won't open as it keeps saying screen overlay detected. I have gone into my settings and turned off the overlay for all the apps apart from the system apps. But it is still not working.
I have tried searching on Google, and don't have any of the apps installed like twilight, luxe or Facebook which are supposed to be causing the problem.
Any other suggestions on how to fix it?
Cheers
TRI
Do you have a display colour app running?
drummerman said:
Do you have a display colour app running?
Click to expand...
Click to collapse
Not that I am aware of unless it is a stock app? Do you have any examples of the apps?
TheRedIndian said:
Not that I am aware of unless it is a stock app? Do you have any examples of the apps?
Click to expand...
Click to collapse
Are you using swipe home, if so deactivate and enable the other app and then enable swipe home.
drummerman said:
Do you have a display colour app running?
Click to expand...
Click to collapse
Not unless it is a stock app
amar95353 said:
Are you using swipe home, if so deactivate and enable the other app and then enable swipe home.
Click to expand...
Click to collapse
Not sure what swipe home is? It's not listed under apps, I usually press the middle button to get to the home screen
TheRedIndian said:
Not unless it is a stock app
Not sure what swipe home is? It's not listed under apps, I usually press the middle button to get to the home screen
Click to expand...
Click to collapse
Screen Balance (which adjusts screen colour balance/tint) and which I recommended in another thread creates an overlay.
Certain apps will not function properly unless SB is turned off.
TheRedIndian said:
Not unless it is a stock app
Not sure what swipe home is? It's not listed under apps, I usually press the middle button to get to the home screen
Click to expand...
Click to collapse
It's not a stock app it's a downloaded app from the play store.
I usually turn off off all the apps using it and turn it on after... It's a frustrating issue but what are you going to do.
If it's bothering you find a good Rom, for example Superman Rom, Overlays was removed as it's too much if s hassle
Sent from my SM-G935F using XDA Premium HD app
TheRedIndian said:
Hi,
I am trying to use Waze on my phone, but the app won't open as it keeps saying screen overlay detected. I have gone into my settings and turned off the overlay for all the apps apart from the system apps. But it is still not working.
I have tried searching on Google, and don't have any of the apps installed like twilight, luxe or Facebook which are supposed to be causing the problem.
Any other suggestions on how to fix it?
Cheers
TRI
Click to expand...
Click to collapse
It has nothing to do with any of that, it's Google's fault. You can flash a fix which is in Phoenix rom thread or go back to a previous stock rom
drummerman said:
Screen Balance (which adjusts screen colour balance/tint) and which I recommended in another thread creates an overlay.
Certain apps will not function properly unless SB is turned off.
Click to expand...
Click to collapse
Tried setting the screen display to basic, but that didn't work
TheRedIndian said:
Tried setting the screen display to basic, but that didn't work
Click to expand...
Click to collapse
Sorry, I didn't make myself very clear. Screen Balance is an app, separate to the UI's adjustments.
I had the same overlay issue,what I did that Ive disabled all the apps altogether,and switched them on back one by one,discovered that an application called Swipe Home Button Ive installed was responsible,so I have uninstalled after which everything was normal.
Is it safe to turn off the overlay for the system installed apps? I have turned off the overlay for all other apps that I have installed
The app that was causing me this problem after this weekend's AT&T software update was Bing. I Uninstalled it and all was fine.
How I finally fixed the "Screen Overlay" problem on my S7 edge.
The easiest fix, only full fix, I have found is as follows. When the screen overlay screen opens in settings, just turn everything marked on to off. Which by the way is the only thing you can do on this screen. Since I did all my apps, even the ones that weren't working, are working as they should. Hope this helps someone.
As Richie and Monigote stated, flash the screen overlay fix from Phoenix ROM. LoL pay attention please
http://forum.xda-developers.com/s7-...s-hybrid-s7e-urv1-00-00-t3357561/post68010406
even when I tried to turn overlay off for all apps mine still was going wrong and I couldn´t use some apps...the only way I got this fixed was making a reset (from the configs options it self) from all my configurations, just configurations, not all data in the phone, it works fine for now...
now I´m with problem with my mobile data connection, I don´t know if it´s from my brand or my phone...
TheRedIndian said:
Hi,
I am trying to use Waze on my phone, but the app won't open as it keeps saying screen overlay detected. I have gone into my settings and turned off the overlay for all the apps apart from the system apps. But it is still not working.
I have tried searching on Google, and don't have any of the apps installed like twilight, luxe or Facebook which are supposed to be causing the problem.
Any other suggestions on how to fix it?
Cheers
TRI
Click to expand...
Click to collapse
The message about overlay detected i have seen and experienced a number of times.
BUT the only time this has occurred is when i was using SideSync
i.e. I am using it to Remote control the device using my PC
or am using my PC to display my Phone within my PC screen (So i can use my phone while using the PC)
The warning was being presented by some apps because SideSync was overlaying the screen to mirror it to my PC screen)
As soon as i disconnected this message stopped.
Not am not saying your using SideSync, But any other app you have installed that can mirror / allow remote access or displaying your phone screen on another device like PC may be causing the problem
TheRedIndian said:
Hi,
I am trying to use Waze on my phone, but the app won't open as it keeps saying screen overlay detected. I have gone into my settings and turned off the overlay for all the apps apart from the system apps. But it is still not working.
TRI
Click to expand...
Click to collapse
Did Pokemon enable the game overlay?
Small controller icon that comes up when games like Pokemon are playing - that could be your issue.
Settings / Advanced Features / Games / Games Tools = disable
I'm trying to use Whatsup, and I can't see any shared photos because of the overlapping problem.
Everytime I open a photo that someone sent me I get a dialog telling me to define the overlapping settings, the a new window open with many programs and a slider on/off.
I try every positions on every app and I still can use Whatsup.
This also happens with more programs.
Can anyone help me with this very annoying problem.
I don't have root, and I'm still on Android 6.0.1.
Thanks
Do you use CF Auto or Lux? Wich Apps are in your list of overlaps
I don't use CF Auto or Lux, and I have many Apps on the list, more then 30 apps.
Ohh... okay
I know this Problem only with Auto-Brightness / Color-Filters / DPI Changer ... like LUX or CF Auto .. sorry anyone else an idea?
Ok, thanks anyway for your help.
I always had this problem with my S7E and never know how to fix it.