Results 1 to 16 of 16
Like Tree1Likes
  • 1 Post By 1088933
  1. Thread Author  Thread Author    #1  

    Question Enable volume rockers/buttons to wake phone?

    I'm used to my old BlackBerry where I could wake my phone with any of the 8 or 9 buttons it had. Now with my GNexus, I see it will only wake up if I press the power button.

    I fear I'll wear out the power button from constantly pressing it. I haven't come across any settings within ICS to allow the volume buttons to wake the phone.

    FYI, I use a PIN to lock my phone. Not sure if that has any effect on things.

    Anyone know where I can adjust these settings? Or if there is an app that I can install to handle this? (I've searched Play for hours last night and I can't tell if any of them will help this situation.)

    Any input is appreciated.
    @PegCityNerd
  2. #2  
    project.in.process's Avatar

    Posts
    1,223 Posts
    ROM
    Bamf Paradigm

    Default Re: Enable volume rockers/buttons to wake phone?

    (on both the Evo/Thunderbolt/any Roms i've flashed, i've had to do the following--it's worth a shot to see if you have the same files in the directory path as i've outlined below)
    & as always, it's safest, since you're working in the /sys or /system file path to make a nandroid backup before hand just in case.


    using a file explorer on the phone, mount the system as Read/Write,
    navigate to the directory path:

    /system/usr/keylayout/
    find the "keypad.kl" file, long press it, open in text editor
    find VOLUME_UP
    and
    VOLUME_DOWN
    and type "WAKE" next to each entry.
    then settings or menu and "save changes"

    now, in the same directory, open "keypad-vo.kl" or similar,
    and do the same steps to add "WAKE" next to each Volume UP/DOWN entry.

    sorry i can't provide exact file names--but that's how i've done it on both an Evo & a Thunderbolt.

    may require a restart of the phone to take effect.

    ***if anyone can provide the nexus file name, please feel free to quote/edit***
    Last edited by project.in.process; 07-12-2012 at 09:22 AM.
    Thanked by:
  3. #3  
    1088933's Avatar
    Androidoholic

    Posts
    738 Posts
    ROM
    AOKP JB 4.1 Franco rr230

    Default Re: Enable volume rockers/buttons to wake phone?

    Quote Originally Posted by project.in.process View Post
    (on both the Evo/Thunderbolt/any Roms i've flashed, i've had to do the following--it's worth a shot to see if you have the same files in the directory path as i've outlined below)
    & as always, it's safest, since you're working in the /sys or /system file path to make a nandroid backup before hand just in case.


    using a file explorer on the phone, mount the system as Read/Write,
    navigate to the directory path:

    /system/usr/keylayout/
    find the "tuna-gpio-keypad.kl" file, long press it, open in text editor
    find VOLUME_UP
    and
    VOLUME_DOWN
    and type "WAKE" next to each entry.
    then settings or menu and "save changes"

    now, in /system/usr/keychars, open "tuna-gpio-keypad-vo.kl" or similar,
    and do the same steps to add "WAKE" next to each Volume UP/DOWN entry.

    sorry i can't provide exact file names--but that's how i've done it on both an Evo & a Thunderbolt.

    may require a restart of the phone to take effect.

    ***if anyone can provide the nexus file name, please feel free to quote/edit***
    Galaxy Nexus

    Nokia 920

    Moto X
    Thanked by:
  4. #4  
    1088933's Avatar
    Androidoholic

    Posts
    738 Posts
    ROM
    AOKP JB 4.1 Franco rr230

    Default

    Also, here are some pics for you:

    Sent from my Gnex Golem.
    Attached Thumbnails Attached Thumbnails Enable volume rockers/buttons to wake phone?-uploadfromtaptalk1342103733746.jpg   Enable volume rockers/buttons to wake phone?-uploadfromtaptalk1342103745349.jpg   Enable volume rockers/buttons to wake phone?-uploadfromtaptalk1342103758443.jpg  
    Thanked by:
  5. #5  

    Default

    If you have ClockworkMod Recovery installed, you can flash this:

    Sent from my Galaxy Nexus
    Thanked by:
  6. Thread Author  Thread Author    #6  

    Default Re: Enable volume rockers/buttons to wake phone?

    Wow... My first Android hacking. Nerve-racking...

    This won't affect any warranties I have, will it? I forgot to add in my OP I'd like to keep the system stock if possible...
    @PegCityNerd
  7. #7  
    1088933's Avatar
    Androidoholic

    Posts
    738 Posts
    ROM
    AOKP JB 4.1 Franco rr230

    Default Re: Enable volume rockers/buttons to wake phone?

    There is always a jumble with warranties and modifying phones. Typically if you have root, that voids the warranty with the carrier. Anytime you do a modification to your phone, its considered you voiding the warranty. But if it does come to it and you did have to send your phone in, you can theoretically redo everything and try to pretend you haven't done anything with your phone. Here's a little explanation that I found about the matter:

    when you purchase a device you agree to not modify system software
    Rooting voids tech. Warranty because you have dared to modify the system software which it was bundled with.
    Rooting itself is the simple act of pushing the su binary to/ system
    once you unless root the device, there won't be able to trace the system modification
    A techs work is to inspect the device and check whether there are signs of tampering .
    If he feels that you have not tampered with the device then he can grant warranty to you.
    If he feels you have some how managed to tamper the device he can void the warranty .
    Honestly a tech is not equipped with forensic class tools just inspect traces of su binary . It's just plainly easier to restore a corrupted software than to trace the origin of root .
    Also some companies (cough AVG cough) think keeping superuser.apk amounts rooting which is a common misconception.
    It all depends on the inspecting tech anyway .
    Most probabale chance is he may not void the warranty.
    But then again who knows ....


    So all in all it will just depend on the carrier and what they say. But I would like to believe we live in a world that they wouldn't care if you changed something so simple as making a couple buttons turn your screen on.
    Galaxy Nexus

    Nokia 920

    Moto X
    Thanked by:
  8. Thread Author  Thread Author    #8  

    Default Re: Enable volume rockers/buttons to wake phone?

    Interesting. I guess I should go read up on how to root the phone. I've seen it being spoken of everywhere.

    This won't affect the Jelly Bean OTA will it? Would I have to re-do this mod after JB is installed?

    (I'm very new to Android, so I appreciate your patience and responses.)
    @PegCityNerd
  9. #9  
    1088933's Avatar
    Androidoholic

    Posts
    738 Posts
    ROM
    AOKP JB 4.1 Franco rr230

    Default Re: Enable volume rockers/buttons to wake phone?

    No problem, we'll go easy on you

    First off, I would highly recommend reading this about root: Rooting - is it for me? Some Q&A | Android Central


    Also, changing the volume rocker might change and default back to how it was once you update to JB, as well as if you root before hand, you will probably have to root again after the OTA.
    Galaxy Nexus

    Nokia 920

    Moto X
    Thanked by:
    knightfall likes this.
  10. Thread Author  Thread Author    #10  

    Default Re: Enable volume rockers/buttons to wake phone?

    That was an excellent link, thank you.

    I think I'll hold off as I'm not 100% comfortable with rooting and the risk of voiding warranty. I also don't want to brick my new phone.

    I just hope the power button doesn't wear out prematurely. Warranty or no warranty.

    Thanks again.
    @PegCityNerd
  11. #11  
    1088933's Avatar
    Androidoholic

    Posts
    738 Posts
    ROM
    AOKP JB 4.1 Franco rr230

    Default Re: Enable volume rockers/buttons to wake phone?

    Still a good choice. You paid a solid price for the phone, don't want to turn it into a shiny brick. Do what you are comfortable doing with your device! I've had mine since Nov/Dec, and have used nothing but the power button to wake the device. Still going strong. Its a sturdy phone, so you shouldn't have to worry about much.

    Cheers!
    Galaxy Nexus

    Nokia 920

    Moto X
  12. #12  

    Default

    If your goal is not to use the power button, there is also an app called PGM on the market (requires root). You can unlock your phone by swiping your finger left to right, and lock your phone by swiping right to left at the bottom of the screen. That's what I'm using and it works great.

    Sent from my Galaxy Nexus
    Thanked by:
  13. #13  

    Default Re: Enable volume rockers/buttons to wake phone?

    I use an app called Smart Screen On Pro that lets you wave your hand over the proximity sensor to turn on and off the screen. It works very well.
    Thanked by:
  14. Thread Author  Thread Author    #14  

    Default Re: Enable volume rockers/buttons to wake phone?

    So a few minutes, by coincidence, I discovered that the volume buttons do the wake phone... However I was trying to wake the device by pressing the buttons. If you press and hold, as you may do to go in and out of silent mode, it too wakes the screen!

    No hacks, no apps. Just hold. haha
    @PegCityNerd
  15. #15  

    Default Re: Enable volume rockers/buttons to wake phone?

    is there a script available for Galaxy S on ICS?
  16. #16  

    Default

    Take a look at Widget Locker in the play store. It will enable wake with volume buttons. Nice piece of software, very flexible, and working pretty good with JB.
    Good luck!

    Sent from my Galaxy Nexus using Tapatalk 2

Posting Permissions

B