Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,814 Members 43,649 Now Online
XDA Developers Android and Mobile Development Forum

[Q] how to enable volume buttons to wake phone?

Tip us?
 
daydreamx
Old
#1  
Junior Member - OP
Thanks Meter 34
Posts: 12
Join Date: Dec 2012
Default [Q] how to enable volume buttons to wake phone?

any one any idea?
 
jacklebott
Old
#2  
jacklebott's Avatar
Senior Member
Thanks Meter 490
Posts: 1,642
Join Date: Oct 2010
Location: Land of the Idiots
Adding "ro.config.hwfeature_wakeupkey=1" to your build.prop should do it. Did you try that yet?
Cool Nexus 4 Gaming Thread
Past Device(s):
Apple iPod Touch 3G
Motorola Backflip MB300
Present Device(s):
Sony Ericsson Xperia Play R800x; WiFi-only, FW 2.3.7 [NXT Light]+[LuPuS-GB]
LG Nexus⁴ E960; AT&T, FW 4.2.1 [ParanoidAndroid AOSPA]+[Faux123 Kernel]

"Go into battle determined to die, and you will surely live. Go into battle hoping to live, and you will surely die."
 
zephiK
Old
#3  
Recognized Contributor
Thanks Meter 4,807
Posts: 12,626
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Download a custom ROM with this feature and enable it.
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

 
daydreamx
Old
#4  
Junior Member - OP
Thanks Meter 34
Posts: 12
Join Date: Dec 2012
Quote:
Originally Posted by jacklebott View Post
Adding "ro.config.hwfeature_wakeupkey=1" to your build.prop should do it. Did you try that yet?
many thx, just try it, but dons't work
 
jacklebott
Old
#5  
jacklebott's Avatar
Senior Member
Thanks Meter 490
Posts: 1,642
Join Date: Oct 2010
Location: Land of the Idiots
Then try going into "system/usr/keylayout/keypad_8064.kl" with a plaintext editor (NOT Word or Wordpad, but something like Notepad++ or an android text editor) and edit:
Code:
key 114   VOLUME_DOWN   WAKE
key 115   VOLUME_UP     WAKE
to
Code:
key 114   VOLUME_DOWN   WAKE_DROPPED
key 115   VOLUME_UP     WAKE_DROPPED
Make sure the file permissions stay 644
If this doesn't do it, nothing will
Cool Nexus 4 Gaming Thread
Past Device(s):
Apple iPod Touch 3G
Motorola Backflip MB300
Present Device(s):
Sony Ericsson Xperia Play R800x; WiFi-only, FW 2.3.7 [NXT Light]+[LuPuS-GB]
LG Nexus⁴ E960; AT&T, FW 4.2.1 [ParanoidAndroid AOSPA]+[Faux123 Kernel]

"Go into battle determined to die, and you will surely live. Go into battle hoping to live, and you will surely die."
 
nbeebe24
Old
#6  
nbeebe24's Avatar
Recognized Themer
Thanks Meter 907
Posts: 2,388
Join Date: Jun 2009

 
DONATE TO ME
Quote:
Originally Posted by daydreamx View Post
any one any idea?
AOKP

Sent from my Nexus 4 using xda premium
 
daydreamx
Old
#7  
Junior Member - OP
Thanks Meter 34
Posts: 12
Join Date: Dec 2012
Quote:
Originally Posted by jacklebott View Post
Then try going into "system/usr/keylayout/keypad_8064.kl" with a plaintext editor (NOT Word or Wordpad, but something like Notepad++ or an android text editor) and edit:
Code:
key 114   VOLUME_DOWN   WAKE
key 115   VOLUME_UP     WAKE
to
Code:
key 114   VOLUME_DOWN   WAKE_DROPPED
key 115   VOLUME_UP     WAKE_DROPPED
Make sure the file permissions stay 644
If this doesn't do it, nothing will
unlucky,,,still don't work..
 
nick323
Old
#8  
Junior Member
Thanks Meter 1
Posts: 10
Join Date: Nov 2009
Location: Vancouver
I am wondering if this will work on the N4 even though this is for the GN.
http://forum.xda-developers.com/show....php?t=1739467
There is a "Volume Rocker Wake only" mod.
 
zephiK
Old
#9  
Recognized Contributor
Thanks Meter 4,807
Posts: 12,626
Join Date: Aug 2009
Location: New York, NY

 
DONATE TO ME
Quote:
Originally Posted by nick323 View Post
I am wondering if this will work on the N4 even though this is for the GN.
http://forum.xda-developers.com/show....php?t=1739467
There is a "Volume Rocker Wake only" mod.
I wouldn't suggest trying it. It's for the Galaxy nexus for a reason. Flash a custom rom with this feature. Cm has it as well

Sent from my Nexus 4 using Tapatalk 2
Follow me on Twitter! | Scrolling Mods for Various OPO Roms

OnePlus One: Mahdi | Franco Kernel
Older devices: Nexus 5, Nexus 4, Galaxy Nexus, TF101, Nexus S, Samsung Vibrant, G1

 
daydreamx
Old
#10  
Junior Member - OP
Thanks Meter 34
Posts: 12
Join Date: Dec 2012
Quote:
Originally Posted by zephiK View Post
Download a custom ROM with this feature and enable it.
the original system is so far so good, so don;t want to flash a custom rom at this moment

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes