Related
I am looking to remap the <- key to be the "OK" button in WM. I don't use this key, and for the life of me can't think of a reason to, so it seems more intuitive to have it be the TPs "missing" button. TIA
-Space
mspace00 said:
I am looking to remap the <- key to be the "OK" button in WM. I don't use this key, and for the life of me can't think of a reason to, so it seems more intuitive to have it be the TPs "missing" button. TIA
-Space
Click to expand...
Click to collapse
Well, I'll start by saying there are several posts about the remap of buttons on xda. You should try searching first.
Anyhow, try AEBPlus and find those other posts which explain in detail how to remap (mostly the PTT button).. Good luck
tried searching but most info was for other devices, so I thought I would post here. I will give AEBPlus a shot. Thanks!
-Space
Unfortunately it appears (both from searching and from trying) that AE button does not work for the Home and Back keys on the TP.
I'm using it, wish they would update it to support the TP better. However, when mapping a new key, you have to hold the button down. this will show u the key code for that key, but it is only for long press. So this may be a partial fix. Otherwise, I'm not sure how to map the main function of that button. Maybe it's like the PTT and their is a file that is assigned to that key like the PTT_short.lnk ? Anyway good luck...hopefully someone will map these keys out or AEBPlus will update since the last update was in May 08...
What exactly are you trying to accomplish by mapping the back key to be "ok"? It essentially functions the same way, closing whatever window you're in and taking you ot the prior one.
I am looking for the ok/close feature I had on my i730. Using the back button allows the app I am leaving to continue to run instead of closing the program.
-Space
Why don't you just map the PTT to close? I presume you know how to remap the PTT button and here is a way to map it to 'close': http://www.fuzemobility.com/?p=1249
I have no PTT button
CDMA
Credit goes to: Geniusdog254, Decad3nce, and BuglessPete for being remapping guru's.
Right, just slappin' this how-to together quickly before I go to work. I'll clean everything up and make things so that they're not so vague when I get home from work.
So if you're like me, and you hate having to reach all they way to the top right hand corner of your phone to press the power key so that you may wake your phone, then this tutorial will tell you how to make it so that your volume down key acts as a power key, which will give your Evo the ability to wake from sleep by pushing the volume down key. I've also remapped the search key so that it acts as the volume down key.
Please note that my remapping the volume down key will not effect it while in recovery, fastboot, or bootloader mode.
Make a backup of your supersonic-keypad.kl by running these commands via adb:
Code:
adb remount
adb pull system/usr/keylayout/supersonic-keypad.kl supersonic-keypad.kl
The supersonic-keypad.kl file is now in your AndroidSDK tools file, pull it out and save it to your desktop, just in case you ever want to switch back.
Download one of these files and save it to your AndroidSDK tools folder.
Volume down key acts as your power key & search key as your volume down key - http://www.4shared.com/file/c2KMz6tH/supersonic-keypad.html
Search key as select or enter -http://www.4shared.com/file/3ME8K6iK/supersonic-keylayout.html
Volume down key acts as your power key and search key opens up the phone application - http://www.4shared.com/file/-UaXzgwH/_2__supersonic-keypad.html
Then run these commands via adb:
Code:
adb remount
adb push supersonic-keypad.kl /system/usr/keylayout
adb reboot
And that's it, your volume down button will now act as your power button which will allow you to wake your screen, and your search key will now act as your volume down key.
Sweet find man..any chance for if somebody can attach the file onto this thread instead of sharing service?
attached.
You'll need to rename it to .kl
can someone make a flashable zip to do this please.
Nice thanks bro
Sent from my PC36100 using XDA App
This is a good hack. It'll give your power button a rest, as some owners were unfortunate of having cracks from the faulty strain.
afflaq said:
attached.
You'll need to rename it to .kl
Click to expand...
Click to collapse
Thanks mate.
NICE it worked. Now the VOL-DOWN key will wake phone up.
But you'll lose the volume down and you can't adjust the volume while in phone, so you have to get a volume widget or some sort.
but i like my volume down button turning my volume down and my search button searching
haha i agree with davebu. Nice feature though! I can imagine this will be useful for some people.
vboyz103 said:
NICE it worked. Now the VOL-DOWN key will wake phone up.
But you'll lose the volume down and you can't adjust the volume while in phone, so you have to get a volume widget or some sort.
Click to expand...
Click to collapse
That's why I remapped the search key to act as a volume down key. A feature I find cool, seeing as the search key has done nothing but annoy me. Lol
davebu said:
but i like my volume down button turning my volume down and my search button searching
Click to expand...
Click to collapse
Well then, I guess you're **** out of luck with this guide.
Although I've been looking into giving key 114 permission to run the WAKE_DROPPED attribute by editing init.rc. I'll look into that when I get home, or maybe somebody smarter than me can figure it out before then.
The other thing you could do...
The other way you can enable this feature is to download No Lock by BoD. It's an app that disables the lock screen, which I've always found kinda unneeded. It has the added benefit of allowing the phone to wake up upon volume button press.
Hope someone finds this helpful.
Enjoy!
madmagdalin said:
The other way you can enable this feature is to download No Lock by BoD. It's an app that disables the lock screen, which I've always found kinda unneeded. It has the added benefit of allowing the phone to wake up upon volume button press.
Hope someone finds this helpful.
Enjoy!
Click to expand...
Click to collapse
Thread pwned. Lmao
Thanks a million for this, dude.
Could you remap your "search" key to be like a "trackball press" on the HTC Dream?
c0t0d0s2 said:
Could you remap your "search" key to be like a "trackball press" on the HTC Dream?
Click to expand...
Click to collapse
Yes, but to my knowledge you'd only be able to use it to move in one direction. Somebody please correct me if I'm wrong.
neckface said:
Yes, but to my knowledge you'd only be able to use it to move in one direction. Somebody please correct me if I'm wrong.
Click to expand...
Click to collapse
He means can you make it so its the actual "Press" like when you press the trackball down and select something, not to make it so it moves around like when you move the trackball. Like a enter sort of fashion when you highlight over something with the trackball and press it down.
oreoOozZz said:
He means can you make it so its the actual "Press" like when you press the trackball down and select something, not to make it so it moves around like when you move the trackball. Like a enter sort of fashion when you highlight over something with the trackball and press it down.
Click to expand...
Click to collapse
Good God, I'm slow. Thanks for the clarification. I'm pretty sure you could, but wouldn't it be easier to just use the screen to select or confirm whatever it is you're selecting and/or confirming? Or is there yet another thing in missing?
neckface said:
Good God, I'm slow. Thanks for the clarification. I'm pretty sure you could, but wouldn't it be easier to just use the screen to select or confirm whatever it is you're selecting and/or confirming? Or is there yet another thing in missing?
Click to expand...
Click to collapse
Yes, if it acted like a trackball click it would wake the phone.
I'd love that, but I think the issue is that the capacitive buttons are off when the phone is asleep.
Can anyone confirm this?
Sent from my PC36100 using XDA App
I was thinking it'd be nice for older apps that use a trackball press, like connectbot and spider solitaire.
laydros said:
Yes, if it acted like a trackball click it would wake the phone.
I'd love that, but I think the issue is that the capacitive buttons are off when the phone is asleep.
Can anyone confirm this?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
I see. And yeah, you're correct about the captivate buttons. I think an easier route would be to edit init.rc to give one, or both, of the volume keys permissions to run the WAKE_DROPPED attribute. Although, making it so that one of the captivated keys could run the very same attribute would be better still.
On my N1 a long press of the menu button brought up the keyboard regardless of what app you were in. This is especially helpful in apps that assume you have a physical keyboard (e.g. androidVNC). With my Captivate holding the menu button brings up the Google quick search bar which I could care less about.
Is it possible to edit/change this function?
We can't get a stock Android ROM for this thing soon enough!
i was actually thinking about the same thing too.
Let me remind you, long press on the menu button is exactly the same function as short press on the search button, so we really need a "mod" that'll change the duplication function.
This would be really great. Does anyone have any ideas?
Sent from my SAMSUNG-SGH-I897 using XDA App
They have a thread going over here: http://forum.xda-developers.com/showthread.php?t=706426 about the touch keys and modifying them. It looks like the long key press stuff is in the kernel. Not much we can do at the moment.
Solution found,see this:
http://forum.xda-developers.com/showthread.php?t=818499
Basically, I read some user feedback from Knyghtryda's Camera Mod and came up with this very simple solution. I converted the Power Button to be the camera shutter, which also works for recording and 2.3.4 GB, and does not require a modified camera.apk. The Search Button was converted to function as power on/off. I made these changes by modifying the system/usr/keylayout files.
Honestly, I find this configuration awkward unless I am taking pictures. The search button is my least favorite button and normally only hit it by accident. If this is not an ideal configuration or you can't live without a search function, just give me suggestions.
I'm not a developer or anything, I just like to experiment with my android. If anyone, dev or not, has any suggestions or improvements feel free to comment.
v1.0
Power Button=Camera Shutter, Search Button=Power on/off, No Search Button Function
Issues 8/5/2011
I haven't confirmed this with Gingerbread, only with Froyo: If you remap power button to any other button, it will function as power button but if the screen is asleep and not plugged in for a period of more than about 10 seconds, you have to press original power button followed by the new power button to wake the screen.
I have also tested a few button remapping apps made for other devices, but do not seem to be compatible with Froyo. I will be testing Gingerbread next.
Added Key Configurations
Search Button=Camera Shutter, Power=Default
Credits:
Knyghtryda- idea for the shutter and scripts
Jack$on- idea to relocate power to search button
Installation Instructions
To Change Button Configuration
Run key_remapper.zip or key_remapper_GB.zip for respective firmware version in CWM.
To Return to Default Key Configuration
Run keymap_reset.zip or keymap_reset_GB.zip for respective firmware version in CWM.
DO NOT RUN WRONG VERSION: The files look very similar but I have ran Froyo zip on GB on two occasions and all of the bottom row buttons stop working.
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Just opened the zip.
I see what you did there. I never have gotten around to doing any mods myself yet, cool, can be configured however by changing the lists.
dlang123 said:
Just opened the zip.
I see what you did there. I never have gotten around to doing any mods myself yet, cool, can be configured however by changing the lists.
Click to expand...
Click to collapse
Very simple like I said, some people would be clueless though. Also your idea would work better for me as well.
This is very nice. I hate the power button being on the side of my phone. I feel like I can't use my phone one-handed or have to shift the way I'm holding the phone just to be able to turn the screen on/off.
One quick note... In CWM after installation it says that the power button = search button which is incorrect.
Big thanks! I've been waiting for someone to come up with this!
dlang123 said:
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Click to expand...
Click to collapse
ya I agree. if u just made the search button a camera shortcut key and a camera shutter key im sure alot of people would use it for sure.
Sent from my SCH-I510 using XDA App
PKizzo36 said:
This is very nice. I hate the power button being on the side of my phone. I feel like I can't use my phone one-handed or have to shift the way I'm holding the phone just to be able to turn the screen on/off.
One quick note... In CWM after installation it says that the power button = search button which is incorrect.
Big thanks! I've been waiting for someone to come up with this!
Click to expand...
Click to collapse
Thanks, I see my mistake on the script.
dlang123 said:
I think making the Search button the default camera button would work better in the long run. Don't like the camera.apk hack.. i end up with a power menu a lot popping up.
Also the power button is just too close to the lens for me.. annoys me.
Is this a configurable mapper?
Click to expand...
Click to collapse
Made the Search Button the camera button just for you. I have not tested this on the Froyo build but I do enjoy this configuration better than the other. I have also tested the camera button on the up volume button, but couldn't find a suitable volume up alternative.
sk8tingusmc said:
Made the Search Button the camera button just for you. I have not tested this on the Froyo build but I do enjoy this configuration better than the other. I have also tested the camera button on the up volume button, but couldn't find a suitable volume up alternative.
Click to expand...
Click to collapse
which zip do I download to get the search as camera key?
Sent from my SCH-I510 using XDA App
Can the search key act as a search key normally, except when in camera mode?
kolosok17 said:
Can the search key act as a search key normally, except when in camera mode?
Click to expand...
Click to collapse
I can experiment with it, but not sure.
EDIT: I am not having any luck; I am not saying it is impossible, but it looks like you will have to wait for Knyghtryda to release a modified camera app with with the search button shutter, with the system keymap still set as Search. That may solve your problem! I wish I knew how to make longpress of search do camera and shortpress do search, if it is even possible. I will still look into it, I have just given up for the night.
jkat797 said:
which zip do I download to get the search as camera key?
Sent from my SCH-I510 using XDA App
Click to expand...
Click to collapse
The search_shutter.zip or search_shutter_GB.zip depending what version you are running.
The key mapper seemed to be working at first but I noticed that if my phone sat idle for awhile the search button (now the power button) wouldn't start the phone back up. I would have to use the power button (modded to be the new shutter button) and THEN press the search button to get the screen to come back on.
PKizzo36 said:
The key mapper seemed to be working at first but I noticed that if my phone sat idle for awhile the search button (now the power button) wouldn't start the phone back up. I would have to use the power button (modded to be the new shutter button) and THEN press the search button to get the screen to come back on.
Click to expand...
Click to collapse
Which build are you on? It may have left out the WAKE flag or something. Thanks for letting me know.
Mapping the volume up/down buttons to reflect 'next track' and 'previous track' while the screen is off would be my biggest request.
Can the home button mapped to wake up the phone instead of power? this is my top of the wish list, pretty plzzz
sangweb said:
Can the home button mapped to wake up the phone instead of power? this is my top of the wish list, pretty plzzz
Click to expand...
Click to collapse
That shouldn't be a problem, but I think that I forgot to edit an extra file that effects the bottom row buttons and it seems to be on Froyo builds. I am updating this file to test reliability right now.
sk8tingusmc said:
Which build are you on? It may have left out the WAKE flag or something. Thanks for letting me know.
Click to expand...
Click to collapse
I am on froyo
Sent from my SCH-I510 using XDA App
Please
sk8tingusmc said:
That shouldn't be a problem, but I think that I forgot to edit an extra file that effects the bottom row buttons and it seems to be on Froyo builds. I am updating this file to test reliability right now.
Click to expand...
Click to collapse
I'll be your quality test as guinnea pig if you need one. I know I can use other widget to accomplish this but prefer to avoid 3rd party lock widget because sometime I have to unlock twice. You will be my "God" if you can get it working, Thx.
So I started looking at modding the Camera.apk.. decompiled into byte code.. doesn't look that bad, if I get some time I'll run some diffs on it and the original get what he changed.. and then I'll try to modify it for using the search button. That way search only does Camera if your in Camera.
Here I am Sharing the way to use Clockwork Mod Recovery v5.0.2.0 Using Alternate Keys! (other than volume/power keys)
OFFCOURSE This is not a trick, Infact this facility is present in Clockwork Mod Itself
For Many Users it's a pain to Scroll through using Volume Keys, So This is Rather a Easiest way now to choose the Rom You want to Install, and no need to use volume up and down keys to scroll through..So let's Began!
I Made this Thread only for those who don't know about this yet, So if anyone knows, Please don't Say that this is a old method or something like that
1) To Scroll Up, Hit "HOME" Key.
2) To Scroll Down, Hit "MENU" Key.
3) To Go Back (To Previous Menu), Hit "BACK" Key.
4) And To Select (For Example ROM/OPTIONS Etc) Hit "SEARCH" Key.
Hope This Will do a world of good to NOT ALL BUT MOST Users, (LIKE IT DID TO ME Because before I know this, I was afraid that one day, I'll loose My volume keys during Clockwork mod Operations
Thank you.
I just figured this out today -_________- Would've been nice if you posted sooner!!
KAwAtA said:
I just figured this out today -_________- Would've been nice if you posted sooner!!
Click to expand...
Click to collapse
I figured it out yesterday as well, when I accidentialy pressed home key, and it scrolled up , so I tested other keys and found them working too
I found this out the first time i installed the recovery.
sevag00 said:
I found this out the first time i installed the recovery.
Click to expand...
Click to collapse
+1 2 years ago
Sent from my HTC Sensation XE with Beats Audio
I figured this out when I accidentially touched them (using for the first time) a few months ago.
I hate it because of the haptic feedback, would like to disable it.
Ok this is a good idea for a thread, it can help spread the word to noobs about using the soft keys to navigate and make selections in Clockwork Mod Recovery. But I feel like this should be said because the OP said the following.
Alipk52 said:
For Many Users it's a pain to Scroll through using Volume Keys, So This is Rather a Easiest way now to choose the Rom You want to Install, and no need to use volume up and down keys to scroll through..So let's Began!
Click to expand...
Click to collapse
Now with the up coming new version of Android, Ice Cream Sandwich, the soft keys will be gone and you will have virtual keys at the bottom of the screen for the home, back, menu, and search buttons like you do in Honeycomb with the exception of the search button that is. So you will have no choice but to use the external volume up and down rocker and the power button to select. Also tablets do not have any hard or soft keys so you have to use the volume rocker and the power button to select. Matter of fact Clockwork Mod Recovery on a tablet has a extra option in each menu at the bottom. it is a back option because you have no hard or soft keys to go back with. So if you ask me the soft keys may be easier, but it will not be a option for long.
T-Macgnolia said:
Ok this is a good idea for a thread, it can help spread the word to noobs about using the soft keys to navigate and make selections in Clockwork Mod Recovery. But I feel like this should be said because the OP said the following.
Now with the up coming new version of Android, Ice Cream Sandwich, the soft keys will be gone and you will have virtual keys at the bottom of the screen for the home, back, menu, and search buttons like you do in Honeycomb with the exception of the search button that is. So you will have no choice but to use the external volume up and down rocker and the power button to select. Also tablets do not have any hard or soft keys so you have to use the volume rocker and the power button to select. Matter of fact Clockwork Mod Recovery on a tablet has a extra option in each menu at the bottom. it is a back option because you have no hard or soft keys to go back with. So if you ask me the soft keys may be easier, but it will not be a option for long.
Click to expand...
Click to collapse
This is why I wanted to share, coz lots of people still unaware about it, however, sadly, I don't have enough knowledge about tablets, currently I have used devices with said keys only , I think I've posted this on sensation forum, which offcourse has keys, and you're right, I'll mention this in op as well, coz indeed honeycomb/tablets are future, agree with you mate ,thanx a lot for providing me additional knowledge about it, I highly appreciate it