1. Are you ready for the Galaxy S20? Here is everything we know so far!

[Merit] wake screen with volume keys?

Discussion in 'Android Devices' started by stormishelley, Jun 24, 2013.

  1. stormishelley

    stormishelley Newbie
    Thread Starter

    just got the merit a couple weeks ago and am loving it so far.. the only thing I've noticed is that only the power button will wake the screen. is it possible to somehow enable the volume rocker to also wake the screen, or failing that, any button? i'd like to find a way to relieve some of the usage of my power button.. I'm rooted and running stock for the most part. not new to Android and i have tried some suggestions I've found online but have had no luck so far. any help or suggestions would be much appreciated. let me know if you need any more info from me, and thanks in advance!
     



    1. Download the Forums for Android™ app!


      Download

       
  2. stormishelley

    stormishelley Newbie
    Thread Starter

    one thing i neglected to mention in my previous post is that when the phone is plugged in charging, any button will wake it, but not while running on battery power.
     
  3. stormishelley

    stormishelley Newbie
    Thread Starter

    also seems to work when music is playing...
     
  4. stormishelley

    stormishelley Newbie
    Thread Starter

    anyone have any ideas on this?
     
  5. notthisguy

    notthisguy Newbie

    Its a mod done in android policy.jar i ported it to a optimus v rom once ill c if i can dig up my souce for it
     
  6. stayboogy

    stayboogy Android Expert

    yes, you can wake the phone with any key you want and doesn't require any android policy modding as suggested. it's written into the init.rc of the boot.img to make it available.

    just add

    persist.sys.wakeup.key=H [H is the home key btw, you can add the others one by one and see which one is the one you want to use; they will not sleep the screen but will wake it]

    to /system/build.prop

    # ZTE_PM_LIANGHOUXING_001: enable APP key to wakeup
    on property:persist.sys.wakeup.key=A
    write /proc/gpiowake A
    on property:persist.sys.wakeup.key=B
    write /proc/gpiowake B
    on property:persist.sys.wakeup.key=H
    write /proc/gpiowake H
    on property:persist.sys.wakeup.key=M
    write /proc/gpiowake M
    on property:persist.sys.wakeup.key=D
    write /proc/gpiowake D
    # ZTE_PM_LIANGHOUXING_001:end
     

ZTE Merit Forum

Features and specs are not yet known.

unknown
Release Date
0
Reviews
Loading...
Similar Threads - Merit wake screen
  1. sachertorte
    Replies:
    3
    Views:
    153
  2. Irfan Latif
    Replies:
    1
    Views:
    681
  3. GeoGib
    Replies:
    5
    Views:
    1,079
  4. joshkrupinsky
    Replies:
    7
    Views:
    850
  5. joshkrupinsky
    Replies:
    2
    Views:
    860
  6. katesfb
    Replies:
    0
    Views:
    1,935
  7. Mike Bennett
    Replies:
    0
    Views:
    1,369
  8. germandowski
    Replies:
    3
    Views:
    9,874
  9. dorlow
    Replies:
    1
    Views:
    596
  10. Alex Marasco
    Replies:
    1
    Views:
    4,101

Share This Page

Loading...