[Q] Volume rocker as wake button - Tasker - Android Q&A, Help & Troubleshooting

Hey, I have a Nexus 4 and I want to use the volume rocker as the power button to wake the device when it's in sleep. That's because sometimes the volume rocker is more accessable to me than the wake/sleep button. I know the app for this is tasker. Now here is the basic plan:
If the screen is off + VOLR changes (up or down) >> Screen on.
My problem is with the function that checks if the Volume has changed. I tried several things but nothing worked.
Is my idea possible without a rooted device? Is my plan aiming at the right direction? Please help.
Thanks in advanced
Oren.

I would like to know if this is possible as well. I am stock rooted on my Nexus 4.

Related

(Q) Volume Button Wake Device

Can someone tell me how i can make it so that my phone will wake up from sleep mode by using the volume up or down. I have tried looking into remapping the guys and it doesnt seem to work, either that or I am doing it wrong

Volume wake and new ICS leak from BAMF

My power button is broke, so I always use the volume buttons to wake the phone and a widget to put the phone to sleep. I don't see the option to enable the phone to wake from volume press. Anyone else seen the option and I missed it or know of an app or mod that will get me going? Thanks!
Volume Wake mod is here:
http://forums.infectedrom.com/showt...e-ICS-SENSE-3-6-leak-Post-up-what-ya-got-guys!

[Q] CM Volume Rocker Long Press Useless on Screen Off?

CM has this feature where you can use the volume rocker to skip tracks when the screen is off. I really dislike the feature so I have disabled it via settings. But now a volume rocker longpress does absolutely nothing when the screen is off. I would expect the volume to increase/decrease gradually when the volume rocker is long pressed. Whats the point of disabling one functionality without re-enabling the other!!
Anybody know the fix to this? Not sure if this problem is just with me, or with everyone on CM.
Thanks

How to get Volume buttons to wake phone in Lolipop (CM12.1)?

Edit: this is no longer an issue in CM13.0 snapshot. I went ahead and upgraded and can confirm volume rocker wake (and double tap to wake) work.
Hi All I'm on CM12.1 (MT2L03 cm-12.1-20151117-SNAPSHOT-YOG7DAO1K2-mt2) and can't seem to figure this out. I had the volume buttons waking the phone from screen off in 4.3 working great...I used that for quite a while (since I used the option to end calls with power button need volume buttons to wake screen also saves wear to power button) so the hardware supports it but not sure how to get it working on lolipop (CM12.1).
In Jellybean, I just had to add 'WAKE' after the volume keys like:
key 115 VOLUME_UP WAKE (in /system/user/keylayout to the kl files)
I tried this for CM 12.1 and it doesn't seem to work. Since it worked before I suppose it could work again if a setting is changed or something.
Also I tried adding:
ro.config.hwfeature_wakeupkey=1
to my build.prop and rebooting and that didn't work either. (Setting it to 0 disables volume key waking)
The xposed module XUtilities option: Volume rocker wake also did not work.
The xposed module GravityBox doesn't have the option or I didn't see it there.
There's this reference:
http://cyanogenmod.github.io/cm_pla...ers/CMSettings.System.html#VOLUME_WAKE_SCREEN
which refers to VOLUME_WAKE_SCREEN setting (in CM API)
In the Buttons section of CM's settings, I have the End call (Pressing the power button will end the current call) option ON. One would think this would allow the volume buttons to wake the screen if the screen goes off during a phone call so you can wake it back up without ending the call. Also with this option on, on more than one occasion I went to turn my phone on just as an incoming call came in and used the power button which ended the call...so I've gotten in the habit of using the volume up/down buttons to turn on the screen getting around that issue (also saving wear and tear on my power button).
There's an app in the play store that can do what I want called DTSO (fails after time) VPL by prasi but it stays running and uses more battery power. The hardware solution that was working in 4.3 didn't require a background app to allow this feature and also didn't require extra battery power. So this isn't ideal. I'd rather have Cyanogenmod ROM directly support it or have a way to use it with it.
I want to be able to press the volume buttons and the screen come on like it used to. How?
Thank you for any suggestions :fingers-crossed::good:

Samsung Galaxy S7 home, volume & power keys not working after flashing ROM

Hi all, yesterday after rooting and flashing TWRP I decided to put the Pixel experience ROM onto my phone.
Now my volume up, volume down, home button& power button don't work.
I used a keylogging app and found that all the keys are showing up as pressed & when checking the keymapping in General.kl all the scancodes are assigned to the correct keys.
I tried using a button remapper to assign the buttons to themselves but when using that; the buttons showed up as 'Unknown'
I've been using my battery case to wake the screen & the multitasking to go home, but this is a real nuisance!
I am also able to power my phone off by holding the power and volume down, I've been using this to wake the screen (restart phone) but the power button doesn't work for waking the screen

Categories

Resources