[CyanogenMod 9 Alpha Builds 4.0.4]
In order to use the SEARCH key as the POWER key, I tried to replace every 'SEARCH' with 'POWER' in the following files:
/system/usr/keylayout/Generic.kl
/system/usr/keylayout/qwerty.kl
/system/usr/keylayout/saga-keypad.kl
After rebooting, it doesn't seem to work.
Could anybody tell me why?
I'm using application called "screen off and lock"
I made a shortcut to long press search button, simple and works well.
Sent by my fingers to your head.
I know this app. But I want the SEARCH button works exactly the same as POWER: short press = lock; long press = power menu.
Also I would like to use NEXT/PREV buttons on my earphone as VOLUME+/-.
So I guess I have to modify the key layout.
o(n_n)o said:
I know this app. But I want the SEARCH button works exactly the same as POWER: short press = lock; long press = power menu.
Also I would like to use NEXT/PREV buttons on my earphone as VOLUME+/-.
So I guess I have to modify the key layout.
Click to expand...
Click to collapse
Screen off and lock DOES that.
Install the app. Then hold search button....
Sent from my HTC Desire S using xda premium
olyloh6696 said:
Screen off and lock DOES that.
Install the app. Then hold search button....
Sent from my HTC Desire S using xda premium
Click to expand...
Click to collapse
Read before you post, dude.
Related
Hello there..
Currently my nexus s have broken power button..so i cant screenshot..
How i gonna remap my button so i can screenshot using volume button..
I have tried buttonremapper but no option for remap volume button..
Anyone can help me?
Sent from my GT-I9100 using xda premium
al_madd said:
Hello there..
Currently my nexus s have broken power button..so i cant screenshot..
How i gonna remap my button so i can screenshot using volume button..
I have tried buttonremapper but no option for remap volume button..
Anyone can help me?
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
yes..already did that..
but is it possible to screenshot just using volume button??
or for screenshot I can just press search button + volume down??
al_madd said:
yes..already did that..
but is it possible to screenshot just using volume button??
or for screenshot I can just press search button + volume down??
Click to expand...
Click to collapse
yes, ics screenshot. long press search button(power) and volume down at the same time. thats how i take my screenshots. as i said, the search button has all the features of the power button except waking the device
simms22 said:
yes, ics screenshot. long press search button(power) and volume down at the same time. thats how i take my screenshots. as i said, the search button has all the features of the power button except waking the device
Click to expand...
Click to collapse
genius......
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
WOW , I was looking for such an option for ages ... Thanks man , you're genious...THANKS button for you too
Power Button
simms22 said:
i remapped my search button with the button remapper app. it has ALL the power button options except wake the screen. to wake the screen, ics has an option. go to the main phone settings, security, lockscreen, press none. now you can wake the phone with volume button. cm9 also has a wake device with the volume rocker option.
Click to expand...
Click to collapse
:- Can you please let me know how can i remap my serach button to power button for my unrooted nexus s
how can i remap my nexus s running on jb 4.3.1?
the button remapper dont work on my device..
i already select none at the security menu but it doesn't wake my device when i press the volume button..
edit: fixed! found the volume button wake at settings.. )
I've already read through this thread: http://forum.xda-developers.com/showthread.php?t=1596085 and used this thread http://forum.xda-developers.com/show....php?t=1524858 for remapping my search button to my power button, along with using volume for wake. I have done both of these, and that works just fine.
But, my problem is a little different.
My original power button didn't just stop working, it is actually malfunctioning. Meaning that the power button is being hit at random times, even when I don't press it (or the search button which is now my power button). It is extremely annoying and difficult to use the phone.
Does anyone know of a way to disable the power button completely? I'll settle to using search for off and volume buttons for wake, but I need a way to disable the original power button. The button remapper app from the thread above includes a way to remap or disable every button, except the original power button.
Thanks for your help
It says it all in the second link you posted. Read it all.
Sent from my Galaxy Nexus using xda app-developers app
No.
Like I said, I want to DISABLE the power button completely, because it's malfunctioning. I have ALREADY remapped it to the search key, but the original power button keeps pressing itself, turning the screen on and off, bringing up the boot menu, etc.
The button remapper app allows you remap or disable every button EXCEPT the power button. So while you can remap search to be power, you couldn't remap power to be search (or in my case, disable power completely).
Anyone?
You would have to physically disable the button yourself.
I don't think its possible to fully power off your phone, but what you can do is map the volume up or down buttons as a wake key. I myself want to do this and am still searching for the solution, but if you want to take a crack at it:
The file buttons you want to edit should be in here. somewhere(system/user/keylayout) Root explorer can help you edit the layout without changing the format. That's as far as I can take you for now
Sent from THE JUGGERNAUT 5.0 sgh t989
Try open your nexus..using small screwdriver..
Just pinched it..make it seperate with motherboard..
Sent from my GT-I9100 using Tapatalk 2
Hi,
I'm looking for an app which can open the DEFAULT power menu.
There are many apps in the Play Store which CREATE a power menu, but I want one which can just open it.
I use power menu a lot and I'm sure most of us use it very much. I just want something which can prolong the life of the power button.
I'm currently using Screen Off and Lock from the Play Store which can lock the phone using an on-screen icon. I want something like that for the power menu too.
Any help would be appreciated.
Thanks in advance.
If you're rooted, you could try rom toolbox from jrummy, it has a complete rebooter section and a widget accessing to that section
Sent from my Nexus S using xda app-developers app
I know there are apps which can display their own power menu.
But what I'm interested in is to use the default power menu...
Have a look at Screen off and lock in the Play store to know what I mean...
Sent from my Nexus S using xda premium
I assume you have a non-working power button. There are 2 ways you can do this:
1. Enable the Navigation bar feature in AOKP or SlimBean rom. Map the Power function to one of the button, but map it to the primary function of the button, not the secondary.
2. You can remap your capacitive buttons. Open the file /system/use/keylayout/cypress-touchkey.kl with the text editor of your root explorer, or copy it to your sdcard to edit it. Change KEY 217 ASSIST (or SEARCH), to POWER. Save the file and reboot. Also make sure you fix the permission of the file when you put it back if needed.
For both of these, press and hold that button to bring up the menu, one press = screen off.
eksasol said:
I assume you have a non-working power button. There are 2 ways you can do this:
1. Enable the Navigation bar feature in AOKP or SlimBean rom. Map the Power function to one of the button, but map it to the primary function of the button, not the secondary.
2. You can remap your capacitive buttons. Open the file /system/use/keylayout/cypress-touchkey.kl with the text editor of your root explorer, or copy it to your sdcard to edit it. Change KEY 217 ASSIST (or SEARCH), to POWER. Save the file and reboot. Also make sure you fix the permission of the file when you put it back if needed.
For both of these, press and hold that button to bring up the menu, one press = screen off.
Click to expand...
Click to collapse
My power button is working fine.
I'm just interested in getting the functionality of an on-screen button such displays the default power menu...
Thanks for your tutorial though.
Might help me some day...
Sent from my Nexus S using xda premium
Notification toggle from the play store has a power menu toggle
Sent from my Nexus S 4G using xda app-developers app
how can we map the volume button so as to launch camera on long pressing the volume button??
I don't think that's possible, you can remap the camera to another button tho.
If you are on gsnap by neko or cm7 you can go to setting > cyanogenmod settings > input > search key behavior > check long press search app > then press custom application > application > choose camera app in that list > voila
Now you can long press search key and camera app will launch
Any other button other than search button
Sent from my LG-P500 using xda app-developers app
harshbg said:
Any other button other than search button
Sent from my LG-P500 using xda app-developers app
Click to expand...
Click to collapse
Yes you can even menu button and home but only volume buttons you cant. The method is the same like search button for menu and home button remaping
Sent from my LG-P690 using Tapatalk 2
M using cm9..not able to find cm settings
Sent from my LG-P500 using xda app-developers app
search key as camera button
it can be possible to remap search key as camera key.
- If you are using stock 2.3.3 firmware, go to /system/usr/keylayout/ and copy thunder_keypad.kl to a pc
- if you are using CM7, go to /system/usr/keylayout/ and copy qwerty.kl to a pc
- if you are using ICS, go to /system/usr/keylayout/ and copy thunder_keypad.kl to a pc
- (i never tried this on jb but it should be just like on ICS)
then, open the file *.kl with an text editor (i recomend notepad++). every line starts witn this synthesis:
key [nº of the key] [function] [restriction]
/*the restriction says if a button can work with screen locked or not. WAKE alows a key to work even if the phone is locked, WAKE_DROPPED restrict a key to work only if the phone is unlocked */
look for the line that has the key Nº 217. it will looks like this:
key 217 SEARCH WAKE_DROPPED
change the SEARCH word to CAMERA
then, save the file and push it to /system/usr/keylayout/ overwritting the existing one
WARNING: DO an nandroid backup before do this...
PD: in stock ROMs, the stock camera will not recognize a camera button for take a pictute or record video, a third party camera app will do it.
Button Remapper! On XDA somewhere. Sorry
Sent from my LG-VM670 using Tapatalk 2
Hi,
I want to change the middle "Show previews" button to function like a "menu" button, I have looked all over the internet but no one explains how to do it on one s.
is it even possible? and if yes then please let me know how
Thanks,
Jasmine.
The middle soft button on mine is the home button.. the recent apps button on the right can be used as a menu button. Settings, display, buttons and gestures. The rest should be pretty easy
Sent from my HTC VLE_U using xda app-developers app