[Q] Wake by using Volume Rocker - Nexus 5 Q&A, Help & Troubleshooting

Hi guys,
I was searching for quite some time now and found one similar mod on the xda forum for what I am looking for (but unfortunately only for the Nexus 4).
My aim is to be able to wake the device by using the volume rocker in addition to the standard power button.
I have already tried editing the generic.kl file in /system/usr/keylayout/ by adding WAKE behind the VOLUME_DOWN value with no success and would like to know if there is any other way to accomplish this.
Thank you for your help.
PS: If anybody also knows how to achieve a maximized lockscreen widget on wake instead of the standard minimized one that would help me as well

Phalange said:
Hi guys,
I was searching for quite some time now and found one similar mod on the xda forum for what I am looking for (but unfortunately only for the Nexus 4).
My aim is to be able to wake the device by using the volume rocker in addition to the standard power button.
I have already tried editing the generic.kl file in /system/usr/keylayout/ by adding WAKE behind the VOLUME_DOWN value with no success and would like to know if there is any other way to accomplish this.
Thank you for your help.
PS: If anybody also knows how to achieve a maximized lockscreen widget on wake instead of the standard minimized one that would help me as well
Click to expand...
Click to collapse
app called touch control will most likely be able to incorporate Nexus 5 to wake up with knock or slide. Also, "turn off the screen" app is helpful for now.

In case you still concern, it is implemented in the GravityBox, under Navigation key, VOLUME ROCKER
Phalange said:
Hi guys,
I was searching for quite some time now and found one similar mod on the xda forum for what I am looking for (but unfortunately only for the Nexus 4).
My aim is to be able to wake the device by using the volume rocker in addition to the standard power button.
I have already tried editing the generic.kl file in /system/usr/keylayout/ by adding WAKE behind the VOLUME_DOWN value with no success and would like to know if there is any other way to accomplish this.
Thank you for your help.
PS: If anybody also knows how to achieve a maximized lockscreen widget on wake instead of the standard minimized one that would help me as well
Click to expand...
Click to collapse

Just flash a custom rom since most include it! I use it all the time on the Purity rom...

Do people just post in random old threads for the sake of posting..? :/

Lethargy said:
Do people just post in random old threads for the sake of posting..? :/
Click to expand...
Click to collapse
Look at his post count. It's 10. I bet he was trying to achieve it so that he can post in Development Forums! :silly:

Related

[MOD] [21/07] Wake up using Home, Menu, Search or Back UPDATE. [Trackball wake]

Flash any of the below links through your desired recovery console. Clockwork or R.A .
Big thanks to lambrospower and KingChris. Nice work guys...
Wake up using Menu Button
Wake up using only Menu, without use of the Power button
Wake up using the Search button, without use of the Power button
Wake up using the Back button, without the use of the Power button
Wake up using the Home button, without use of the Power button
Track-Ball Wake (With Power Enabled)
Track-Ball Wake (Only Trackball)
Restore original functionality (Just the power button)
Note:
These should work with both HTC and Stock ROMS, either on 2.1 or 2.2. Any troubles, post your comment below with a brief description of what went wrong, We'll try out best to help.
Nandroid first....as allways.
Enjoy.
CP.
For the General progress of this mod, check out http://forum.xda-developers.com/showthread.php?t=683902
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
how to deactivate if you dont like it?
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
7pellc said:
No they haven't found a way yet to use the trackball as a wake up call. Seem's strange as all the other buttons work. I'll have a look in other places tho, If I find it I'll post it.
Good point Simc13, I'll quickly make an update zip that'll restore normal functionality.
CP
Click to expand...
Click to collapse
Great & quick support!
OP updated.
Now includes back to original functionality.
CP
Re: [MOD] Wake up using Home, Menu, Search or Back
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
lsmgeb89 said:
What about to use volume down key to wake up the phone? I think it would be an easy way.
-------------------------------------
Sent via the XDA Tapatalk App
Click to expand...
Click to collapse
I am not sure if this would make sense, as the volume rocker keeps working when you are listening music and the screen is off.
hi, im the one named Burst on www.android-hilfe.de
i want to set a link to the original post here on XDA where the mod has started
http://forum.xda-developers.com/showthread.php?t=683902
work with any button
Hi guys. This post was exactly what I was looking for.
I flashed only the search key to wakeup.
Result: now it wakes up with any button (also volume and trackpad).
Is it my mistake (which one?) or what?
Just flashed from the recovery and rebooted.
Thanks for your support
linkback: http://forum.xda-developers.com/showthread.php?t=683902
Thankyou soooo much! Just what I wanted!
janvandusschoten said:
Is there also one for the "trackball" ? Would be perfect for me If not, I'll try one of the above anyway. Thanks!
Click to expand...
Click to collapse
+
Want wake up with trackball too
thx
++
Trackball.
Is needed all wipe??
@kingChris
I'll add your link to the first post mate.
It's nice to see mods with different buttons working. I used kingchris's mod as soon as he posted, and it's been working great since then.
is it possible to have the same function as stock hero 1.5/2.1 where u press the menu button twice, it unlocks the lockscreen?
ivicask said:
++
Trackball.
Click to expand...
Click to collapse
+++
i have looked in system/usr/ and there are more files showing key numbers, i couldnt find trackball tho..
Does this work with MCR 3.1?

[KERNEL] Slide to Unlock

So I came across this in the EVO 3D forums. How hard do you think it will be to port this to our device?
http://forum.xda-developers.com/showthread.php?t=1346760
It is in development already. See bricked kernel thread for more info.
Sent from my Sensation
Anyway to enable this?
http://forum.xda-developers.com/showthread.php?t=1269247
And gnex has it
Both Bricked and TamCore have this feature.
Bricked: http://forum.xda-developers.com/showthread.php?t=1269247
TamCore: http://files.tamcore.eu/android/?dir=tamcore-kernel
Bricked gives you an option to enable it during installation, while TamCore requires you to flash a zip to enable it, which you can get on the same page, under the name "sweep2wake_enable.zip".
A few kernels already have it.
I am already using it... :angel:
Already using it on bricked!
It's nice because you don't have to constantly use your power button to turn on device ! I really love it! It's so easy.
Sent from my HTC Sensation 4G using xda premium
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Sometimes it will pull up the power window, it will go back, back out of an app...instead of posting here...post in show-p threads.
It's a good feature, the bricked & faux kernels have it as far as I know!
Sent from my HTC Sensation Z710e using xda app-developers app
Louer Adun said:
Is there any way to make it more efficient when locking the device? I find that it closes the current application and goes to the home screen (as you swipe the back and home keys when locking your device).
This is quite annoying when using an app like gmote when I may need to immediately unlock my phone again to pause/play adjust volume etc, as I find that the app has been terminated when putting the device to sleep.
I really like the idea of not having to mash my power button any more than necessary, so using the sweep to lock would be ideal. I also noticed that even in the demo video of sweep to wake, the menu button gets pressed as the phone is locked (you can see the launcher menu appear for a second before the device locks).
Any suggestions would be appreciated, but I wanted to get some guidance before posting any sort of feature requests in the dev forum.
Thanks guys!
Click to expand...
Click to collapse
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
kgs1992 said:
Skip pressing the back button, just sweep above the back button like that: __--_ (while locking)
Click to expand...
Click to collapse
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Louer Adun said:
Brilliant idea! This actually works as desired, and it doesn't seem to activate the home button in the sweep/swipe either. Now I just need to get in the habit of skipping the back key.
Click to expand...
Click to collapse
There's a thanks button.
However, I don't see how this is practical much. I only lock using sweep because it's a good shortcut to exit current app, go to home & luck.

Remap menu key long press to take screen shot

Hello
Is that possible ? the factory combination of pressing vol plus power button is tricky or at least I like to save the power button as much as possible...
Any useful idea is appreciated..
Thanks
mahanddeem said:
Hello
Is that possible ? the factory combination of pressing vol plus power button is tricky or at least I like to save the power button as much as possible...
Any useful idea is appreciated..
Thanks
Click to expand...
Click to collapse
Out of curiousity.. what rom are you running?
btm fdr said:
Out of curiousity.. what rom are you running?
Click to expand...
Click to collapse
Stock UCLF6 deodexed rooted
Dont know if this may work but its definitely worth a shot at least
https://play.google.com/store/apps/details?id=com.smart.swkey&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5zbWFydC5zd2tleSJd
as well i do know tat Mohan_kr maker of Embryo was able to remap. maybe a quick PM to him might also help since i searched and cant find anything
after a little more research i was able to find out the that it can be change in the residing location: /system/usr/keylayout or in the framework. sorry couldnt be much help but this is what i could find
crashpsycho said:
Dont know if this may work but its definitely worth a shot at least
https://play.google.com/store/apps/details?id=com.smart.swkey&feature=nav_result#?t=W251bGwsMSwxLDMsImNvbS5zbWFydC5zd2tleSJd
as well i do know tat Mohan_kr maker of Embryo was able to remap. maybe a quick PM to him might also help since i searched and cant find anything
after a little more research i was able to find out the that it can be change in the residing location: /system/usr/keylayout or in the framework. sorry couldnt be much help but this is what i could find
Click to expand...
Click to collapse
Thanks for your input ... I am not looking for an app as most of them filled with silly ads or taking unnecessary resaurces ... I need to mod system to remap some key to take screen shots ... And I guess you're right it's somewhere around /system/usr/keylayout
Afaik not possible in stock but aokp/cm9+10 allows that remap in settings
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
There is an app called "screenshot er" that lets you take screenshots by holding down the search key, and it has a delay that you can set for however long you want, and it works amazingly well. No extra crap, just a really good app. I know it's not what you want, but it's worth checking out.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
i agree with atrix ive used then Screenshot er app before the remmaping became available and works flawless
The power button and home key works for screen shots
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
I know this is an old thread, but all the screenshot remapping threads seem old, so I'm hoping I can get some help here anyway. My stock ICS on my S2 has home+power for screen shots. Hardware buttons died (home, menu, back, search) so i use softkeys to navigate, (Button Savior, works amazing, saved me a major headache) never the less, the screen shot doesn't work by pressing power and the home soft key. I've used other roms, like CM, where the screenshot is power+vol down and i want to use this method on my stock ICS. I to, don't want an app to do it, i just want power+vol down
Been trying to use xposed additions to remap for screenshot. not working so far and unsure of reasoning why, even bought the pro version to allow a multi step action to occur

Volume Button Wake-up

Hello together,
i got a question for the wake up macanism ... Is there a tool or another apk to get the One S wake up via Volume Buttons ?
I dont like to use my power switch so often that i break ... so im thinking this would be a very useful function in roms ?!
Regards,
Daniel
Snotmann said:
Hello together,
i got a question for the wake up macanism ... Is there a tool or another apk to get the One S wake up via Volume Buttons ?
I dont like to use my power switch so often that i break ... so im thinking this would be a very useful function in roms ?!
Regards,
Daniel
Click to expand...
Click to collapse
This would be one of the main reasons I would root, that and to use some of the good apps that require root, and to theme. But I need volume wake I hate the power button at the top. It really makes no sense lol. It would be great if there was an app for this but if there was it probably would require root. I would rather avoid rooting, since the phone barely needs it! Also I have slide to wake on my GNex and I love it. just swipe from left to right to wake the screen.

[Q] unlock button

hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
mikey000 said:
hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
Click to expand...
Click to collapse
I don't think theres a other way to unlock honestly...
I DO know theres a way to remap the buttons, so that you would (as example) be able to use the volume buttons for unlocking the screen. But I would have no idea how it actually works, too long ago since I saw it somewhere...
But about your power/unlock button, did it function normally before, or has it been bad since you got the phone?
Maybe there's some dirt or something in the button blocking it partly?
cysici cell
mikey000 said:
hi everyone!
just notice that day to day i found it hard to push the unlock button on the right top of my phone, need a couple tries of push untill i can unlock my device,
seems like from day to day that small tiny ass button is gettting drown,
did anyone experiencing the same problem that i'm facing with xperia j?
is there any suggestion to unlock device without using button?
i have tried some application like shake to unlock etc. but they're drain battery insanely
Click to expand...
Click to collapse
I have the same problem with the power button. It's not your fault, it's just the wrong way the button was made.
I use 2 apps to lock/unlock my phone by shake( and you can also unlock by hand gestures over the sensor- next to the front camera). You can try ShakeMe and you can also try to use Advanced Screen Control. Just install these 2 apps and play with the sensitivity and you'll find the perfect fit.
These 2 apps seem to be the best out of the bunch that you can find on the Play store.
Tell me if they work!
Dragoboss said:
I don't think theres a other way to unlock honestly...
I DO know theres a way to remap the buttons, so that you would (as example) be able to use the volume buttons for unlocking the screen. But I would have no idea how it actually works, too long ago since I saw it somewhere...
But about your power/unlock button, did it function normally before, or has it been bad since you got the phone?
Maybe there's some dirt or something in the button blocking it partly?
Click to expand...
Click to collapse
thanks for replying
it was normally functional before, but as time goes its getting un-responsive
layup23 said:
I have the same problem with the power button. It's not your fault, it's just the wrong way the button was made.
I use 2 apps to lock/unlock my phone by shake( and you can also unlock by hand gestures over the sensor- next to the front camera). You can try ShakeMe and you can also try to use Advanced Screen Control. Just install these 2 apps and play with the sensitivity and you'll find the perfect fit.
These 2 apps seem to be the best out of the bunch that you can find on the Play store.
Tell me if they work!
Click to expand...
Click to collapse
will try it,
is it drain your battery quickly or no?
Re: [DEODEXED APK]Need Testers[TIPO - ST21i]
Try some apps from Google play which can unlock using volume button I don't remember names but most have this function of waking screen when volume button is pressed
Try holo it is light uses less ram (don't remember if it has the function)
Sent from my ST21i using xda app-developers app
jhonny1525 said:
Try some apps from Google play which can unlock using volume button I don't remember names but most have this function of waking screen when volume button is pressed
Try holo it is light uses less ram (don't remember if it has the function)
Sent from my ST21i using xda app-developers app
Click to expand...
Click to collapse
cant find any app with that function yet
Give me some time I will search and tell
By the way I tried holo locker for u it has unlock function back+volume try it
Sent from my ST21i using xda app-developers app
If you root, go to /System/Usr/Keylayout/
Edit Generic.kl file.
Adding 'WAKE' after Volume down and up.
Then go to setting>security>screen lock to none
Maybe some other expert member can figure out how to make this working when enable screen lock.
Sorry my english.
Sent from my ST26a using xda premium
You can have screen lock on and use volume down to unlock:
- With a root access file manager like Root Explorer or ES File Explorer go to /system/usr/keylayout
- Open in text editor file fih_gpio-keys.kl
- Look for key 114 VOLUME_DOWN WAKE
- Replace the "VOLUME_DOWN" with "POWER".
- Save and reboot.
This essentially maps your volume down key as a power button. If you need to reduce the volume push volume up then use the on screen slider to set volume
miro xperia
arguson said:
You can have screen lock on and use volume down to unlock:
- With a root access file manager like Root Explorer or ES File Explorer go to /system/usr/keylayout
- Open in text editor file fih_gpio-keys.kl
- Look for key 114 VOLUME_DOWN WAKE
- Replace the "VOLUME_DOWN" with "POWER".
- Save and reboot.
This essentially maps your volume down key as a power button. If you need to reduce the volume push volume up then use the on screen slider to set volume
Click to expand...
Click to collapse
......it worked for me am hoping that a new power button will fix it properly

Categories

Resources