yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] appelflap:
Great, thanks! now I see the problem with the Captivates (and maybe Vibrants)... The home button for the Galaxy S isn't changed in the melfas-touchkey file but in the other file.. The home button entry in the melfas file was redundant so I leave it out for the Galaxy S.

Thanks for your feedback.. Compatible version for Captivate and Vibrant will be up soon!
[Android Apps and Games] tiuk:
Cool stuff. I do think an app that makes this easy to do (without having to edit the kl files by hand) is a good idea, makes it a lot easier for the average user to tweak their layout the way they want to.

Oh, quick question: Am I missing it, or is there no way to exit the KeynrTracker app? I had to use a folder organizer notification that I already had setup to launch task manager and kill it, home/back/etc didn't exit because they're being caught by the program. Maybe add a feature so if the screen is tapped twice or something it pops up a dialog asking if it should exit?
[Android Apps and Games] appelflap:
The big challenge was to come up with a general method that could identify the used keylayout files that are used by a particular device. That is the general idea behind the generic buttonremapper app.

It's a pity I have to fall back to device specific methods with the latest galaxy apps.

Good idea. I will build in a menu item or button to exit the app. On most devices however the home button isn't trapped by the app.
[Android Apps and Games] kodi82:
Great app man. After upgrading my Dell Streak to Froyo camera button didn't work. With this I was able to remap it and now everything works like a charm! Thanks a lot!!!
[Android Apps and Games] PIRATA!:
Ok...I am a Galasy S user and would like to know a few things.

First of all.......is there a way to change the Home button with the Search button using this app, and then to map my new Search button (fisically the Home one) so to open at single short press the regular menu (launcher)??

If yes, I really can't understand how to act in the buttonremapper app....

I ask this because I have an app that can let me bind the search long press with an app, so I would be able to have single/short search press to open launcher, and long press to open app!! :)

Second thing.......what are the benefits to have power mapped to end call??

And about the power button...what will he do??? will it be a dead button with no use??
[Android Apps and Games] Danji:
I tried the software you linked, but i was impossible to set search button (long-press to soft "menu" button in galaxy s) with app. I would like to set also as a "quick dial contact" but the app not have this option. Do you have 2.2.1 JPY?

Power button is just a double function in android: turn on/off phone and display (and of course menu for silent/vibration mode).

If you set power button with "end call" option, you will have three function:

- turn on/off phone

- turn off/block display

- refuse call (without reply)

- close call (during call or at the end of it) (but this option is also available in "accessibility")

So, i need this functions: i use smartphone also as a PHONE ;)

I always reply with home button (i really hate slide or tap on screen). I sometime refuse call without reply (i don't like to mute sound becouse i don't like to make people waiting for my no-answer) and i usually close call and off screen with double press on power (1 press = end + 1 press = off screen).

I come from many device with hardware key (HD2 for example) and android device with phone key (call and end). I have a particular love for hardware button and i like to feel it without look screen (i receive about 1/2 hours of call at day from many customers not in phonebook list). Particular needs, but almost fill with this great app.

I just now need for double and long press option and then will be perfect.

I'd like also to bind long press or double press for a quick dial number (headquarters call).

I use it for work, so i need android not only for play angrybirds ;)
[Android Apps and Games] appelflap:
Thanks for this info! Didn't know that the end call button could also serve as a power button. You are right (together with the call button) it will turn the device into a full blown phone (yay)
[Android Apps and Games] Danji:
I had the first Google phone and i used hard phone-keys as usual.

I've always used the combo of double "end call" to close the call and turn off the screen in the same time. With SGS I was a bit confused with the lack of many physical keys (camera... WTF)

Do you think it possible to add the support for double-press or long-press, for mapping to application, activity or quick dial?

The new devices seem want to be used always with two hands and they can do anything instead call. I've always loved the physical keys and particularly hate the soft touch button. It even seems (today's news) that HTC will probably release a device without keys. Really crazy!
[Android Apps and Games] mackdaddy187:
Is it possible to remap the trackball click as the back button on a HTC Dream/G1? I thought it was the DPAD Center line but it didn't work. my back key is broken and I never use the trackball.

BTW awesome app
[Android Apps and Games] amujee:
Remap Capacitive Buttons for Droid 2

Delete post
[Android Apps and Games] ggonsalv:
I was wondering if a long press on the green call pickup button can be remapped to answer the call in speakerphone mode on my rooted G1?
[Android Apps and Games] wombat2003:
Remapping Power button, LG Optimus One

Problem using remapping

Using this app I was able to remap any button except for power.

Any ideas?
[Android Apps and Games] appelflap:
No, but that's a great idea for a separate app! Thanks
[Android Apps and Games] appelflap:
What device do you have?
[Android Apps and Games] wombat2003:
LG Optimus One. P500
[Android Apps and Games] thelegendofpiter:
hi, i have a defy (with no camera button) so can i remap the volume button only when i'm using the camera?

something like this:

long press -> take the picture

single press -> zoom

can i?
[Android Apps and Games] MOW77:
Hey folks,

has anybody tried it already with a Defy? I just did, but it didn't work. I also pulled the battery during reboot... :confused: Any ideas?

Thanks!
[Android Apps and Games] alew182:
Any way we could see this on the evo shift? Dam volume locker is a pain lol
[Android Apps and Games] l.m.prowse:
This Is Awesome, Just What I've Been Looking For. Thanks :)
[Android Apps and Games] mzoljom:
Is there a way to use back button (xperia x8) to end call?

Thank you!
[Android Apps and Games] jackofalltrades:
is there a reason why this app doesnt work with nook color? Thanks
[Android Apps and Games] appelflap:
The app uses a "heuristic" to trace which button definition files are used by a system. This works for, I think, 70% of the devices. For other devices the app does nothing. I hope to come up with a better heuristic in the future.
[Android Apps and Games] appelflap:
Don't know, just try. As long as you make sure that the "boot monitor" is turned on in the settings of the app (enabled by default), nothing can happen.
[Android Apps and Games] mzoljom:
I ran the app but there was no back button on the list...
[Android Apps and Games] appelflap:
Okay, thanks for noticing. This means that the X8 is partly supported right now.
[Android Apps and Games] wombat2003:
In my case - remaping of Menu, Home, Back, and Search - works great. The only button i can't remap - is Power.
[Android Apps and Games] avvopado:
This apps is working in Nand Android ROM in HTC Leo?
[Android Apps and Games] Krzysiec:
Great app! Anyway i tried to remap Volume Up in HTC Desire HD to POWER. Everything is fine right after remaping Volume UP is ON/OFF my device like power button. But when i use Vulume UP (as a power) few times or leave device for a while untouched device don`t want to wake up and i must use POWER anyway :/ Don`t know if somebody else got this behaviuor but i decided to ask U ;) Anyway GREAT APP! ;)

ARGHHH Why Desire HD have only 3 hardware buttons ;) (VOL UP, VOL DOWN, POWER - in ****y place :/)

How I understand i cant map touch buttons to wake my device up? ;)
[Android Apps and Games] ronensand:
must have root?
[Android Apps and Games] Krzysiec:
It drives me crazy ... Why You people don`t read 1st POST ??!! Do U think This post is for fun there? At the start there is something like that:

I can`t imagine how more clear it can be said. ;) (maybe size 7 and bold in RED color ;) )
[Android Apps and Games] tixed:
Hey there! Great app.

Trying to assign Focus on my Search button. In the camera app it for sure do auto-focus when I press and hold, but when I release... nothing happens. So I can't really use it to shoot photos. It there any workaround for that? Phone is LG P500.

P.S. Sorry if that question was already answered somewhere in here.
[Android Apps and Games] appelflap:
Have you tried playing with the state of the key. The power button has the state WAKE_DROPPED, while the volume keys have the state WAKE

According to the android docs:

WAKE: When this key is pressed while the device is asleep, the device will wake up and the key event gets sent to the app.

WAKE_DROPPED: When this key is pressed while the device is asleep, the device will wake up and the key event does not get sent to the app.

The reason the soft buttons can't be used to wake up the device is because ... they are soft buttons :) They work when the device is turned on.
[Android Apps and Games] appelflap:
Don't know for sure, but doesn't the camera button also work as a focus button? I know it does work as a shutter when the camera app is open, maybe it also works as a focus button.
[Android Apps and Games] tixed:
It apparently works when I assign Search > Focus, then VolDown > Camera. So Search hold + VolDown press take a shot. That's it. Not as good as using only one button though...
[Android Apps and Games] Krzysiec:
Sure i tried :( Nothing changed :/ Still after few hits or leaving device for a while untouched ... Volume stopped working as a POWER and needed to wake it up via REAL POWER - and after that wake up Volume started working again for a few times (or leaving untouched for a while) :/ Don`t know why at start it works but than stops :( It looks like something is killing remap until i wake up with REAL POWER and than it wokrs again for a sec and stops working again .. etc... Tried every single combination in program (with all possible state)
[Android Apps and Games] appelflap:
Have you tried to remap it to the call-end button? Search in this thread for it. The call end seems to be a very powerful function that also acts like a power switch. Just an idea..
[Android Apps and Games] palmertech:
Hi! I am trying to use this application to remap/disable the back key on my LG Ally, as it keeps pressing itself because of a hardware problem.

The only thing is, I cannot get it to work! :( The only keys that show up in Button Remapper are Headphone Hook, End Call, and Menu. None of my other keys show up! Is there any way to fix this? I really need the help, I can hardly use my phone at the moment because the back key keeps repeatedly pressing itself.

Thank you in advance for any help!
[Android Apps and Games] appelflap:
You can still do it manually. All you need to do is to find the keymap file in which the back button is defined (should be a file in the directory /system/usr/keylayout directory) I suggest mapping it to FOCUS.. This will disable your button as long as you are not in the camera app.

Make sure you don't mess up the file, otherwise the buttons will do nothing on the next reboot. Only replace BACK with FOCUS (watch out for typos)

Look at the first link in the first post for some background info.

Tag: FAQ

(just here to give users an option to search for some FAQs that are answered in this thread. Use FAQ as a search term when you search through this thread)
[Android Apps and Games] Krzysiec:
The problem is HTC Desire HD do not have Call-end button :/ (i miss them so much in last devices from every single manufacturer :/ Thay do not mount hardware button to start end call now :( - for capactive screen it`s suicide in the winter :/ )
[Android Apps and Games] appelflap:
I meant the call-end function. You can pick that function from the list and assign it to the volume up (btw there are plenty of volume control apps in the market that can replace the volume controls. You can assign such an app with launchKey to the long press search button)

Edit: just tested it on my phone (galaxy s) and it works like a charm. EndCall is a real powerful function (acts as a power button and evidently as a end call)
[Android Apps and Games] Krzysiec:
Ok tried Endcall function ... but still the same ... It works for a few hits than it stop (or after we leave it for a while). When Wake up with REAL POWER it works again for a while and than again stop. (looks like somtehing is killing that remap until we wake up with POWER again:/ )

EDIT:

Found something strange: When i connected to USB to make a logcat remap was working fine event after 20 hits or longer wait ... (maybe beacuse of USB debugging was on when connected) But after disconnect from USB after few hits or little wait it stoped working again as before. (will try to make a video - uploading to YT now)

EDIT2:

Here is a viedo: http://www.youtube.com/watch?v=gCkiSb4rrX8
[Android Apps and Games] appelflap:
I see (literaly :) ) what you mean. This doesn't occur on the Galaxy S. Maybe it has something to do with the "hibernate" function of the Desire HD? I remember from the time I had a DHD that there was an option to disable the "quick reboot" (or whatever it is called) function.
[Android Apps and Games] Krzysiec:
Unfortunately "Fastboot" has nothing to it. Turned it off but still the same :/ Argghhh Could be so beautiful ;) But have no more idea what else can i do to get this work :( Anyway thanks for assistance ;) ONLY solution for now is plug USB :D :D :D (YEAH Mobile phone) IT`s definitely something with sleep mode after turn off screen. Case when i hit fast (do not allow screen goes off for longer time its work) But after a while some precess need to be closed and it doesnt work anymore until POWER ... But whats the process ? :D Can`t do logcat because when i plug USB everything is OK :D
[Android Apps and Games] appelflap:
There are apps on the market with which you can inspect the log file directly on the device. I myself use catlog. Great app.

I assume it has something to do with the whole fastboot functionality that is implemented on the dhd. Maybe you can ask one of the dhd rom developers what's going on here?
[Android Apps and Games] Krzysiec:
Here is LOGCAT if it can help in anyway ;)
[Android Apps and Games] Enhanced:
I successfully mapped my search key on my Captivate to the power button but had to manually change the melfas-touchkey.kl file in order to reactivate my home button. Like the user said in the previous post, this was lost when mapping the buttons using this app.

Everything is great now, but the only very very very small issue is that pressing the search button to lock the phone has no haptic feedback vibration. I assume this cannot be edited anywhere to make it work?

Secondly, between the endcall function and the power function, is the only major difference that the former has is that it can end a call as well? I'm just curious considering you said it was a very powerful function. I currently have it as power and just don't want to be missing out on some mystery feature that I have yet to discover. :)
[Android Apps and Games] appelflap:
I plan to update the app for the captivate and vibrant tomorrow.

Can you test it?

Concerning the issues:

1. I don't think so. Btw with which function do you lock your phone?

2. Yes. But to make sure, search this thread for it. Someone posted it as a tip. Maybe I missed something also.
[Android Apps and Games] appelflap:
Thanks I will take a look at it later... Love to peek in log files :D
[Android Apps and Games] appelflap:
Btw Yoshi_523 pm-ed me a great tip for gamers. Thought it was worthwhile to share.

If you want to disable a button (like for example the home button) because accidentally hitting that button can throw you out of a game, temporarily remap it to "FOCUS" to disable the button. The focus function will do nothing as long as your not in the camera app.

Tag: FAQ, disable button
[Android Apps and Games] Krzysiec:
Sure no rush ;) Actually i can`t see there anything :D:D So ... ;)

P.S.

Why this great app works on SGS where POWER button is placed like it should in every single device :D:D:D TOP of the phone is like HEADSHOT. I`m jelous of it :D
[Android Apps and Games] Danji:
Hi appelflap. About camera app: do you think is possible to map a button just for a single APK? I mean: you know how much i like "end call" function instead power, but would be great if i will able to set still power button also as a camera button (only in this app).

Another things: after kernel flash (speedmod) i applied the lag fix on my SGS after wipe all. After first booting, the keys didn't restored to default function, but still with my remap. After re-installed you app, the default funcion of power is now "end call". This app may change some deep system data? I don't remember if this was also before restoring backup.

Maybe full wipe will restore default key?

Thank you :)

EDIT:

i tried to set a power for while and now i not see any key on my galaxy s an no one key work... there is a solution?

EDIT 2:

:confused:: just open the app, no one key to set. click apply (with hot reboot) and still not working. open notification, tap over "set default" and now working.
[Android Apps and Games] hezahonker:
Is this working on the EVO?

Bought from the Market, installed, opened asked for permission and I granted. Go to Search key setting and changed to Wake- keeping on Search as action. Asked to reboot (note that i have hot reboot ticked but that didn't seem to work either). Did a battery pull /replace. Press the search key and it does not wake the device.

Please advise I would really like for this to work. I note that the volume keys are already set to wake but do not either. Please don't tell me I wasted my money...sigh.
[Android Apps and Games] Zoandroid:
THANK YOU!!!!! THANK YOU!!!!! THANK YOU!!!!!

I have wanted for SOOOO long to be able to remap the Home key on my Ally's qwerty keyboard to stop if from bailing out of an email or forum post when I accidentally pressed it while using the backspace to fix a typo!! I followed your suggestions above. First I tried the qwerty.kl file I found there (opened with Text Editor) but it lists only one Home key and changing it to SPACE didn't do anything.

There are 3 other files in that folder, so I next tried "aloha_keypad.kl". It shows both a HOME key as # 102 and another as # 243. Experimenting, I found that 102 is the one on the keyboard, and 243 is the one on the face of the phone.

Changing key 102 to read "SPACE" instead of HOME turns that key into a harmless spacebar! YAY!!!!!!

Thanks so much for telling how to do this!!! I hope any other users who want to remap their keys will find this info just as useful.

Cheers!
[Android Apps and Games] fronc:
Has this been resolved? I see a million choices,but when i try to swap Search with Back (reverse the keys since the back button stopped working on my Droid) i get no effect (search still searches..)

EDIT: To clarify, this was in regard to capacitive button support on the Droid 1.

EDIT 2: To further clarify, swapping "Back" and "Search" made it so the physical keyboard "Search" button now performs a "Back" action. Capacitive buttons have remained unchanged though. Any way of accomplishing my goal?
[Android Apps and Games] keyboardr:
I'm not able to remap the trackball on my Nexus One running MIUI. keynrTracker is showing it as key "0" for all directions and click. Even editing the .kls doesn't do it.
[Android Apps and Games] wizzbang3:
Trying to get this app working so my HTC HD2 will have the end call (red hang up) to be LOCK not END call.

I can remap it to not end call but it also won't lock the phone then.

Is there any way around that?

Can I map it to a custom (non existing) button and then make that non existing button always be lock?
[Android Apps and Games] yelo3:
I'm wondering if it's possible to remap a combination of 2 buttons, such as menu+vol_up
[Android Apps and Games] rummelnutte:
htc legend button remapper

I am trying to remap the power button functionality (the original button is broken).

but I can't get it to work. change of settings made with button remapper will not affect the behavior and revert back to standard after reboot. I tried changing /system/user/keylayout/legend-keypad.kl but couldn't give my texteditor root (how do I do that anyways? or do I need a special texteditor for rooted devices? can I use the adb shell to alter files like nano does for linux?).

is it even possible to map power on a softkey? (preferably search, but volume etc. is fine as well)

is it not possible because my phone is a legend, or maybe the ROM?

my legend is rooted and rom is B 0.7

thanks in advance
[Android Apps and Games] ickyboo:
This app works GREAT! I thought the SGS version was broken but its fine as i'm not using stock samsung rom but rather CM7 so went and got the normal version.
[Android Apps and Games] bob1369:
extremely bizarre bug after reboot advent vega turned upside down turning game mode off and on fixed it probably a vega bug but just thought id let u know
[Android Apps and Games] cescof:
Please help me with my desire

As above i'm in stuck with my desire because vol- , menu and trackball keys are gone... so my desire now boots just in safe mode and i'm not able to install any app .....

Maybe if i could in someway change that's key maybe i could solve my problem...

Any suggets please??
[Android Apps and Games] B Dizzle:
Any chance of an update for the Motorola Xoom? Would like to wake the Xoom with one of the volume buttons. Maybe a long hold to wake.
[Android Apps and Games] abuciuceanu:
ZTE BLADE

Hello,

I tried this application on ZTE BLADE and it didn't work. I set WAKE_DROPPED for the Home button and didn't work.

Do you have any ideas what is the problem?

Many Thanks!
[Android Apps and Games] feloccio:
I am on a hd2 running imilkas vivo 1.0.

I wanted to remap the endcall to power and the call to camera to avoid accidently end calls.

In Button remapper endcall and call is listed twice so i remapped it twice but after reboot nothing changed. Call still launches the dailer.

What am i doing wrong?
[Android Apps and Games] bigsupersquid:
um, just a thought...

if you made a backup before making the changes, what about extracting your backup system.img (with unyaffs) to get the original keymap file and ADB PUSH it back to your handset?

since I have an optimus v, I can't just post the unfragged file or I would :rolleyes:

good luck!

@OP: This info is great. Even though I didn't make a current backup before editing my thunder_keypad.kl and lost access to my menu button from a bad guess, I was able to use ADB and pull/edit/push the file for repair. Thanks!
[Android Apps and Games] samgr:
htc evo shift

thanks works %100 :)
[Android Apps and Games] RavenSEAL:
How do i remap my voice search button? What do i look for?

It's functionality was removed in the aospCM7 mod and i need it to text while i drive! :(
[Android Apps and Games] footballer62:
anyway to get HTC Thunderbolt support?

I try to get it to work on the thunderbolt, but the phone locks up when applying and I have to battery pull.

Edit: I got the program to work after turning of Hot Reboot.

Question though: I cant get the search button to turn into a power button at all, neither locked or unlocked, anyone have an idea?
[Android Apps and Games] mini_robot:
can u add a function for opening the "APP DRAWER"??
[Android Apps and Games] arvin2212:
Would this work on the dell streak capacitive button if the device's screen is off?

For example, i would press the power button and the screen would lock and the display would turn off.

If i do not want to wear out the power button, could i use this program to remap the capactive button to turn on the streak's screen?