[Q] Volume rocker to wake up screen?? - HTC Wildfire S

Hey, how to make a volume rocker to wake up screen in any ics/jb based rom.
I have used robotomod and Cyanogenmod 10 builds by benjamingwynn .. both doesn't provide this feature. My power button is not working properly. I have been using Hensemod. It had that feature.
I learnt from some thread that removal of below lines from marvel-keypad.kl and qwerty.kl can help.
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
But i did this and zip it again and tried to install, the installation aborted.
I want a solution. Please help me :crying::crying:
sorry, there is a option in settings>display> set volume rocker to wake screen

as far as i know...cm10 has that service
abinesh_rocks said:
Hey, how to make a volume rocker to wake up screen in any ics/jb based rom.
I have used robotomod and Cyanogenmod 10 builds by benjamingwynn .. both doesn't provide this feature. My power button is not working properly. I have been using Hensemod. It had that feature.
I learnt from some thread that removal of below lines from marvel-keypad.kl and qwerty.kl can help.
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
But i did this and zip it again and tried to install, the installation aborted.
I want a solution. Please help me :crying::crying:
sorry, there is a option in settings>display> set volume rocker to wake screen
Click to expand...
Click to collapse
as far as i know...cm10 has that service

Related

Remap home key to power key

I am running the latest cm10 nightly with soft navbar enabled, I have disabled both soft keys but want to remap home key function to make and put the phone to sleep, just to make life simpler? I have already tried to edit the .kl files with no luck anyone ever been successful doing this? Any help greatly appreciated
Is this of any use ?

[Q] Home Key wrong Mapping problem

I have got my Note II rooted and flashed the Android Revolution HD Rom.
Everything was fine and it worked smoothly.
But after installation of many apps, a problem turned out yesterday:
The menu button function has been mapped to the home button, which means when I pressed the home button, it will detected as menu button instead.
After that, I use the KEY TEST in the CWM Recovery to test the key setting.
I found that the home button is wrongly detected as the menu key. (It returns the same Code 139 when I pressed the two buttons)
the result shown as attached
How can I fixed this problem by reset the hard key map setting?
Please Help
Thanks so much!

[Guide/Mod] Disable Power Button in Jellybean 4.1.2

Disable Power Button Mod
The flashable mod will ONLY work on the E4GT JB 4.1.2 build please do not use this mod on any other build or phone.
Due to the high failure rate of the power button on our older phones, this is a hardware key mod that will disable the power button on our E4GT phones in JB. This only cuts back on the random power button presses of a failing button while the JB rom is booted. I don't think it disables the long press of the power button to do a soft reset as this is not a ROM feature but a hardware feature built into the phone.
Flash this mod in recovery mode.
Please make certain you have a current backup already saved to your phone.
I will not be responsible if your rom does not boot or has any other issues.
___________________________
Brief guide:
For our builds this is a simple edit of two files.
system/usr/keylayout/Generic.kl
system/usr/keylayout/gpio-keys.kl
Place a comment code (#) in front of any line that is still active with the keyword POWER
Example gpio-keys.kl edit
Before:
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
[COLOR="Blue"]key 116 POWER WAKE[/COLOR]
key 172 HOME WAKE
After:
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
[COLOR="Red"]# key 116 POWER WAKE[/COLOR]
key 172 HOME WAKE
Note: This principle should work on other phones & builds but your key files may be slightly different. If you successfully edit your phone & build, please share your experience here with others.

[Q] Power button is dead

Hi!
I `ve got a problem - power button in my ACE2 is down. It`s most likely hardware problem. So that, I want to use the warranty.
But I cannot, due to custom ROM inside.
So that`s where my question come from - how can I install stock ROM on my device? So far, I can`t use ODIN - because I can`t enter DOWNLOAD MODE (no power button = no power menu = no key`s combination)
I see two options:
- an app that go`es to download mode from the interface - any help would do, I cannot find anything in the G.Play
- changing hard keys mapping (f.e. vol up could replace power) - is that possible at all?
I`ve already learned, that hard keys mapping location is in:
/system/usr/keylayout/Generic.kl
and mapping looks like this:
key 142 POWER WAKE
key 143 POWER WAKE
key 152 POWER WAKE
key 115 VOLUME_UP
So what can I do to replace this two keys?
Problem solved:
File changed:
system/usr/keylayout/gpio-keys.kl
Mapping:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 116 POWER WAKE
key 172 HOME WAKE_DROPPED
Replacing VOLUME_UP with POWER works just fine.

[Q] home key wake up

After installing sphinx rom v2 on my e988 i can't wake up my screen by pressing home button any one know how to enable it again ?
mhd.abbas.94 said:
After installing sphinx rom v2 on my e988 i can't wake up my screen by pressing home button any one know how to enable it again ?
Click to expand...
Click to collapse
This will only work if the option was removed from the keylayout, so let's see if the option is there or not:
Use a root file manager and go to System/usr/keylayout
Edit the file "gk-kaypad-8064.kl" (how you edit the file depends on the file manager you are using, so I can't give you exact steps as to how to do this)
You should see stuff like:
key 114 volume_down
key 115 volume_up
etc
look at key 172:
If it was disabled from waking the phone, it will say:
key 172 HOME
If it has the option to wake the phone it should say:
key 172 HOME WAKE
-If it's like this already, then I can't help you further because the button is already set to wake the phone, so something else in the rom is preventing it from working.
-If it isn't already like this, then just add the WAKE (in all caps) part to it after a space and save the file. Make sure the permissions are still 644 (rw-r--r--) after saving. Reboot. Test and hopefully it should work. Again, if not, I can't help you any more because something else is preventing it from working.
BTW, I don't use Sphinx, but I actually hate the Home button waking my phone, so I always disable it after rooting. So I basically just remove the WAKE part.
spexwood said:
This will only work if the option was removed from the keylayout, so let's see if the option is there or not:
Use a root file manager and go to System/usr/keylayout
Edit the file "gk-kaypad-8064.kl" (how you edit the file depends on the file manager you are using, so I can't give you exact steps as to how to do this)
You should see stuff like:
key 114 volume_down
key 115 volume_up
etc
look at key 172:
If it was disabled from waking the phone, it will say:
key 172 HOME
If it has the option to wake the phone it should say:
key 172 HOME WAKE
-If it's like this already, then I can't help you further because the button is already set to wake the phone, so something else in the rom is preventing it from working.
-If it isn't already like this, then just add the WAKE (in all caps) part to it after a space and save the file. Make sure the permissions are still 644 (rw-r--r--) after saving. Reboot. Test and hopefully it should work. Again, if not, I can't help you any more because something else is preventing it from working.
BTW, I don't use Sphinx, but I actually hate the Home button waking my phone, so I always disable it after rooting. So I basically just remove the WAKE part.
Click to expand...
Click to collapse
Thanks a lot man
Does someone has another solution?
i got the same problem but in my file allready was written "WAKE".

Categories

Resources