Focus button or Vol Button to wake up the device? - Sony Xperia M2

Hello,
is there any simple mod like edit build prop to change Focus button or Vol Button to wake up the device?
or maybe aplication.
My power button is hard to press.
Fw: 4.4.4 (18.3 1 b 1.10)
Regards,
Reval

Related

[Q] Remap Buttons?

Hello,
I have a friend with a Droid 2 and their power button is on the way out. Is there a way to remap the camera button to be the power button?
I have tried editing the "cdma_droid2-keypad.kl" file, but it doesn't seem to change anything...
Code:
key 116 POWER GRAVE
key 211 FOCUS POWER WAKE
key 212 CAMERA POWER WAKE
does this code look correct? I just can't seem to get it to change anything. After pushing the file it doesn't change the button behavior at all.
They are rooted and on CM7

Volume UP is not working properly

Hello!
The button of Volume UP of my B68M phine works up to 50%, i.e. :
If I press it once brings to Homescreen and if instead I do a long press the button works fine (the volume goes to max.).
There is no doubt that the button itself is not faulty (it would not go home).
Then I did a remap keys, exchanging the Camera button with Volume UP button.
For the remapping I modified the files .kl in \system\usr\keylayout
In this way the Volume works 100% BUT.....if I press the volume button, the camera is not activated and the phone brings to HomeScreen again.
It seems that the Volume UP button is connected permanently to HomeScreen.
Problem of electrical ground or ROM ?
Can someone help me ?
Thanks in advance
Gil

Xperia J remap volume down button root

Hi,
I was not happy with the small power button, so I took the idea described here for miro device: http://forum.xda-developers.com/showthread.php?p=35801737
and I changed in fih_gpio-keys.kl:
key 114 VOLUME_DOWN WAKE
to:
key 114 SEARCH WAKE_DROPPED
Now volume down key works as search button - so I can unlock device by pressing volume down, and use it as a fast search to Google. I also downloaded LaunchKey
http://forum.xda-developers.com/showthread.php?t=818499
So long press on Volume down will bring me to camera360 app. for photo.
I do not use volume down so often and If I want to set volume down, I just press volume up and on screen I set the level..
(also the value can be change to: key 114 POWER WAKE - after that it works as the power button - but not for the complete power up after shut down... )
So this tip can be useful for anybody, who wish to have another way to unlock Xperia J (I was not happy with the unlock app. on Google play, as they always somehow messed with my lock screen)
Changed minc VOL(-) liked it !
jozka said:
Hi,
So long press on Volume down will bring me to camera360 app. for photo.
Click to expand...
Click to collapse
change mine keylayout and installed LaunchKey.
Useful combo for Xperia J ,since it lacks SEARCH key +1

Hardware key remapping

Is there any way to remap the HW Keys?
VolUp short press as back key long press volume up and VolDown as home key for example?
Edit: Solved the problem by using Xposed with Xposed Additions
Thread can be closed

[Q] build.prob mod to change power button to vol button?

ROM: CM11(Kit Kat 4.4.4)
My power button sometime work and sometime not.
Now I want to use vol button as my power button.
How to modify a vol button as power button? Can we mod from build.prob?
Btw, what is this? default is false, what if I set as true?
persist.sys.dalvik.multithread=true
And there is some tweak tips from here:
http://gs3.wonderhowto.com/how-to/t...-with-these-build-prop-android-hacks-0142434/
I wonder, which one is best mod to improve performance of our LGO3D?
Thank you.
cyclonmaster said:
ROM: CM11(Kit Kat 4.4.4)
My power button sometime work and sometime not.
Now I want to use vol button as my power button.
How to modify a vol button as power button? Can we mod from build.prob?
Btw, what is this? default is false, what if I set as true?
persist.sys.dalvik.multithread=true
And there is some tweak tips from here:
http://gs3.wonderhowto.com/how-to/t...-with-these-build-prop-android-hacks-0142434/
I wonder, which one is best mod to improve performance of our LGO3D?
Thank you.
Click to expand...
Click to collapse
Go to System/usr/Keylayout/Generic.kl , you will see a lot of numbers every number represents one key and value on right side is command it is doing (example: key 116 POWER WAKE this wakes device with key 116) now you can search for VOLUME_DOWN and change it to POWER WAKE or if you have TWRP recovery there is option to detect every key numer.

Categories

Resources