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 guys, I use screen rotator ever since I started using android, but now I was trying to find the service or program that handles the task switch after you long press the home key so I could use the task switcher in the horizontal mode and I could not find any thing related to it, do any of you android experts now this answer?
Cheers
My screen auto-rotates in the task switcher, I haven't changed any settings on it. I just have the "screen rotation" turned on.
Is auto-rotating working everywhere else?
Dwillinger said:
My screen auto-rotates in the task switcher, I haven't changed any settings on it. I just have the "screen rotation" turned on.
Is auto-rotating working everywhere else?
Click to expand...
Click to collapse
Hi, thanks for the reply, I always have auto rotate switched off, I just want a few apps to auto rotate like Gallery and Gmail, if I turn it on everything works fine, however I want to limit the apps that auto rotate thats why I use Smart Rotator, but I wanted to allow the stock "task switcher" to have the same behaviour... I´ve searched online a lot and still could not find which service or program handles this...
castanhol said:
Hi, thanks for the reply, I always have auto rotate switched off, I just want a few apps to auto rotate like Gallery and Gmail, if I turn it on everything works fine, however I want to limit the apps that auto rotate thats why I use Smart Rotator, but I wanted to allow the stock "task switcher" to have the same behaviour... I´ve searched online a lot and still could not find which service or program handles this...
Click to expand...
Click to collapse
Sorry, I missunderstood you earlier. I looked into it a little too, but couldn't find the option to enable the "task switcher" either. Have you tried the app Tasker? You might be able to set up a profile to auto rotate when "task switcher" is open. I haven't tried it personally, so I don't know how much hassle it is, or if it'll even work.
Verizon S5 with towelroot, Safestrap, nandroid backup, Titanium Backup, Xposed, Wanam
I've made some progress debloating and customizing, but there are some more things I'd like to do:
1. Remove Quick Settings from notification panel - In landscape view, there is simply not enough screen real estate for the actual notifications because the Quick Settings (and 'clear notifications' row) take up half the screen. I would like to remove them or have them scroll up and off screen when scrolling through notifications. Can this even be done with a custom ROM?
2. Tether without pin lock screen. [updated] FoxFi worked fine for me unrooted, except that I had to use the PIN lockscreen. The instruction on PdaNet's site (change certificate to Wi-fi, etc.) did not work. I eventually found X Tether. Once installed, it shows up as Moto Tether. It seems to allow the native WiFi hotspot to work on its own, but I haven't used it much yet. The easiest way I have found to turn it on/off, is using a widget. I haven't been able to put the widget in an app folder, which I would prefer.
3. Minimal notification panel - figured this one out.
4. Bypass Samsung lockscreen before DynamicNotifications - Not sure if this is possible. Sometime, when I turn the phone on, it goes to the stock lock screen before switching to DynamicNotifications. I saw that DynamicNotifications shows up as a module in Xposed, but it just said something about disabling a message that I don't recall getting.
5. A better dialer and contacts - any recommendations on getting solid, vanilla-like Dialer and Contacts? I tried a couple apps from the Play Store, but they were kind of sloppy in one way or another.
6. No auto play music when turning on radio in car - When I turn on my bluetooth receiver in the car, the last track always starts playing - even if I paused it before I turned off the car last. I kind of wish it would only continue playing if it was playing when the receiver was disconnected. Not a big deal, but thought I'd ask.
7. Update phone when checking exchange emails on computer - When I read, archive, delete, etc. emails in Outlook, they continue to pile up in Email app until I open the email app. Seems like my Galaxy Nexus didn't do that.
8. Remove TouchWiz blue from everything - all the menus and apps still have that Samsung blue theme. I'm not sure how to remove that.
9. Reduce icons on notification bar - I would like to remove the Bluetooth icon. There is a blank icon when I use Rotation Locker in the background to keep everything landscape while I'm in the car. It looks bad having the space between icons and I'd like to get rid of it. There is a battery icon that appears when the battery is charged. I'd like to remove that as well.
10. Make folders only one icon on display - figured this one out.
11. Remove battery icon that appears when S5 is fully charged - There is a white battery with "100" on it that appears when the battery is charged. That makes 3 battery icons total when it's charged. Ridiculous!
12. Disable camera shutter sound and boot sound - Wanam has a setting for this. I have it checked, but the camera and boot still make their sounds.
Edit: added another.
Edit2: and another
Edit3: another
And I want a unicorn that doesnt poop with a golden mane and a bag of money tied to its back and a beer tap in the side of his neck and bluetooth.
Sent from my SM-G900V using XDA Premium 4 mobile app
ezas said:
And I want a unicorn that doesnt poop with a golden mane and a bag of money tied to its back and a beer tap in the side of his neck and bluetooth.
Click to expand...
Click to collapse
Do you really think what I am asking is too unreasonable?
Is this the best thread for these questions? I figured at least a few would have gotten answers.
Not sure about the boot sound but I use Automateit to silence the shutter sound. I have it set to silence the phone when opening the camera and then it returns the phone to full volume when I close it. If the phone is on silent it doesn't make the shutter sound.
graydragon2 said:
Not sure about the boot sound but I use Automateit to silence the shutter sound. I have it set to silence the phone when opening the camera and then it returns the phone to full volume when I close it. If the phone is on silent it doesn't make the shutter sound.
Click to expand...
Click to collapse
Yeah, I guess I'll just use Tasker to do that. Would be nice if the Wanam option worked though.
Also you can turn off the percentage in settings-battery. It's near the top
graydragon2 said:
Also you can turn off the percentage in settings-battery. It's near the top
Click to expand...
Click to collapse
Thanks! I changed it to this:
9. Reduce icons on notification bar - I would like to remove the Bluetooth icon. There is a blank icon when I use Rotation Locker in the background to keep everything landscape while I'm in the car. It looks bad having the space between icons and I'd like to get rid of it. There is a battery icon that appears when the battery is charged. I'd like to remove that as well.
Click to expand...
Click to collapse
I guess I don't see XDA as a place to come and post a wish list of features I would like to have. I approach it as a place where devs share their work. I limit my questions to things like 'does anyone know if their is a ROM that does xy or z'
Since I'm an end-user by which I mean I don't code, I stay super respectful of those who do and live by the motto 'read more and post less'. While I think it has grown from its roots, it is first and foremost a forum for devs and technically knowledgeable people, and/or people with a genuine desire to become that. I'm just a guest. I'd never go to someone's party with a list of the foods I want prepared.
Anyway that's how I see it, and how I approach the site.
Though I do see now that apparently you are working on doing some themeing so take the above for whatever it is worth.
Sent from my SM-G900V using XDA Premium 4 mobile app
ezas said:
I limit my questions to things like 'does anyone know if their is a ROM that does xy or z'
Click to expand...
Click to collapse
That's essentially what I did. I spent time searching, reading, and learning as far as I could without help. I was able to accomplish some on my own, but I ended up with a list of things I still wanted to do. So, I put them all in one post.
If you wouldn't use the "Q&A/Help" section to post questions like I do, that's fine. I have used many forums for many years, and I know that different people use them for a variety of reasons. I'm not going to spend any more time justifying my post. I hope that you can find a better use of your time beyond complaining about other people's posts.
Dude you asked if you you had asked for too much. I replied about how 'I' view being on XDA. No on asked you to justify anything. But consider it dropped.
ergalthema said:
2. Tether without pin lock screen. FoxFi worked fine for me unrooted, except that I had to use the PIN lockscreen. The instruction on PdaNet's site (change certificate to Wi-fi, etc.) did not work. What is the most popular way to tether with S5 root?
Click to expand...
Click to collapse
I eventually found X Tether. Once installed, it shows up as Moto Tether. It seems to allow the native WiFi hotspot to work on its own, but I haven't used it much yet.
ergalthema said:
Verizon S5 with towelroot, Safestrap, nandroid backup, Titanium Backup, Xposed, Wanam
I've made some progress debloating and customizing, but there are some more things I'd like to do:
2. Tether without pin lock screen. [updated] FoxFi worked fine for me unrooted, except that I had to use the PIN lockscreen. The instruction on PdaNet's site (change certificate to Wi-fi, etc.) did not work. I eventually found X Tether. Once installed, it shows up as Moto Tether. It seems to allow the native WiFi hotspot to work on its own, but I haven't used it much yet. The easiest way I have found to turn it on/off, is using a widget. I haven't been able to put the widget in an app folder, which I would prefer.
Click to expand...
Click to collapse
I was able to change the lock screen options back to all being available for selection with FoxFi in use by doing the Lock the phone from Device Manager on Google. As soon as I did the remote lock, all of my lock screen options returned even with FoxFi installed and operational. I read about doing this on another post here somewhere...
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 guys, I thought this would help you, so I wrote a (I hope) noob-friendly guide.
Basically, this fixes the screen turning on in your pocket and detecting random touches. It keeps on happening to me, I end up randomly calling people/emailing the president and it's really annoying when it happens.
This does NOT fix the flashlight turning on due to detecting a 'V' gesture (for that you gotta disable the gesture itself, sorry, can't prevent that happening).
So basically you gotta install this app (Glimpse Notifications) (Disclaimer: I'm not affiliated with this dude, just sharing for fun) and do the initial setup. Then, in the app itself, go into the Extras menu and enable Lockscreen menu and enable 'Lock when covered' and the next two options you can set as per your preference (I use 'only in Lockscreen' and '600ms'. You can also enable a double tap to lock on the lockscreen if you're using the Beta version (available in the Extras menu).
Oh, and to prevent it from closing in the background, enable the Persistant Notification in Extras and go to your notification bar, long press on the notification and tap the crossed bell (assuming you're running Cyanogen OS/CyanogenMod/a ROM based on it) to hide it.
That's pretty much it, you're set!
P.S. I know you can get similar functionality using Gravity Screen etc. but this is free, and it's only polling your sensor when the screen is on and you're in your lockscreen, so it should barely use any battery (and uses only around 8mb RAM).
P.S.S. It's my first thread on XDA, any feedback would be appreciated
Good job!
My friend had a similar problem, this seemed to work for him, thanks!
Anytime!
Zaxaglurx said:
My friend had a similar problem, this seemed to work for him, thanks!
Click to expand...
Click to collapse
Glad I could help
Christ almighty... a fix for this issue. I've actually had this happen all the time with disastrous battery drain as a result :/